uicomponents

What is the Best UI Component Set for WPF?

Looking for a general purpose WPF toolset. Currently looking at Telerik and Infragistics. Are there better options out there? Of those two, which is better? ...

JSF ResponseWriter custom components

I know about startElement, endElement, and writeAttribute methods on ResponseWriter. My problem is that I want to for example output a h:commandLink by declaring it like HtmlCommandLink link = new HtmlCommandLink(); . How can I output other UIComponents like this in my own component? I might want to use some RichFaces ajax stuff in my c...

How to add existing JSF components to my own custom components?

Hello! I have a tag class which extends UIComponent and UIOutput. In this class I have encodeBegin and encodeEnd which I can use my contextWriter to output any kinda html tag I want too by using writer.startElement("div", myComponent) and so on. My problem now is that I need to insert for example a instead of using the writer.startEl...

JSF MethodExpression isn't triggering my backing bean action

Hello everyone! I have the problem that my code isn't triggering the action in my backing bean. The code is as follows: HtmlCommandButton replyCommentButton = new HtmlCommandButton(); replyCommentButton.setId("replyCommentButton" + commentCounter); replyCommentButton.setValue("Create reply"); String action = "#{Handler.action_replyToCom...

Adding LegendItems in Flex places horizontally not vertically (as it's supposed to)

I'm dynamically inserting LegendItems into a Legend using the following code: signalLegend.removeAllChildren(); signalLegend.direction = "vertical"; for (var i:int = 0; i < numItems - 1; i++) { signalLegend.addChild(new LegendItem()); legendItem = signalLegend.getChildAt(i) as LegendItem; legendItem.label = "Title here"; ...

What kind of controls are used in the Windows Security Center?

Control Panel -> Security Center I really like the components/controls which are used to show if a firewall or the Automatic Updates are enabled. Are these reusable controls in C# or Delphi? ...

.NET Query Builder component

Can anyone reccomend a free .NET libary which allows you to expose a SQL Query builder to your users in a windows form app? I'd like my users to be able to run relatively straight forward SELECT statements, including some JOINS and other multi-table operations without getting into the real nitty-gritty of SQL. Thanks, sweeney ...

Clear validation on textInput when validation is not enabled

Hi, I've created a custom textInput componenet that handles it's own validation using a private validator. The validation is enabled depending on the state of the component i.e. validation is enable when the components state is "edit". However, when the state changes from edit the internal validator is set to not enabled but the vali...

[Flex] get width of dynamically created custom uicomponent

Hello! I have some custom components, that derived from UIComponent. I overloaded the updateDisplayList so they have custom look. I've created a layouter that lays out these custom components, but to place them correctly, I have to know the custom componets width, height. They are created dynamically. After all of them created (creation...

Free or open source Diagram component for C#?

Is there any Diagramming component that is freely available for a C# project? If possible one that allows you to click and edit the diagram nodes. ...

Flex Custom UIComponents

I have created a graph component in AS3 which extends UIComponent. I created an mxml component which is just a Label. The idea is to use the label component to show the values on the graph when you hover over points. I have tried two approaches. Create the Label component using ClassFactory inside the graph so it gets created in the g...

JSF - Update model in invoke application phase

Hello, in my JSF application i need to update ui component during invoke application phase. Can it be done? Here's the code i've produced so far: public void resetDataScroller(ActionEvent actionEvent) { final FacesContext ctx = FacesContext.getCurrentInstance(); ctx.getViewRoot().invokeOnComponent(ctx, "paginator_and_tabl...

How can I fill an actionscript 3 polygon with a solid color?

I'm building a map editor for a project and need to draw a hexagon and fill it with a solid color. I have the shape correct but for the life of me can't figure out how to fill it. I suspect it may be due to whether the thing is a Shape, Sprite or UIComponent. Here is what I have for the polygon itself: import com.Polygon; import mx.c...

JSF - UISelectItems problem

Strange error i received from compiler: Expected a child component type of UISelectItem/UISelectItems for component type javax.faces.SelectOne(siachoice). Found javax.faces.component.UISelectItems. So, if he was expecting UISelectItems, and found UISelectItems, then where is the error? My JSP implementation: <h:selectOneMenu id="s...

Width/Height of dynamically loaded Image

I've been struggling with this problem for far to long now, and I'm guessing the solution is quite easy. In my Flex application, I've got a component that extends UIComponent where I'm loading images at runtime and try to display them. I've tried lots of different approaches (using beginBitmapFill(), using different containers), but I ...

JSF Custom Image Component Problem to display multiple Image

Created a Tag Library Descriptor File: <?xml version="1.0" encoding="UTF-8"?> <taglib version="2.0" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee web-jsptaglibrary_2_0.xsd"> <tlib-version>1.0</tlib-version> <short-name>im...

Simpliest ancestor for a clickable, hand-drawn component?

I am creating a component that will be a large plus or a large minus. I don't want to use a bitmap because even I can draw this using the Graphics class, but the component must be clickable (the Shape class is not). It will be part of an item renderer, so I want it to be as light-weight as possible. UIComponent does not seem to sent CLI...

Keyboard Actions on UIC - C#

i have a login form what i want is that after i have filled the password field when i press "Enter", it performs some action, some set of lines of code, in my case the same that the "Login button does". how to do it ...

Flex 3 custom ItemRenderer and Editor Issue

Hi, I've created a custom ItemRenderer extending UIComponent and implementing IListItemRenderer. This renderer contains a Text-Object to display the value. For editing I'm using the standard ItemEditor (TextInput). Now, when I want to edit a value, I click on a cell and the editor is created. But instead of displaying the value which ...

FlashCS4: dynamic text is not being contained within the text box

I have a dynamic text box which is of the size 300 x 300. However, when I load in text from an external file it just ignores this size and keeps on going vertically. The width remains the same which is fine. What I really want to do is use the uiscroller to go through the remaining text. Instead, the text just goes on past the bottom of ...