Questions tagged [uicomponents]
179 questions
0
votes
4 answers
Issue with setFocus method of UIComponent in Flex
I am facing one issue related to setFocus() method of UIComponent. I have one textinput and I have written textInput.setFocus() on creationComplete of application i.e.
private function onCreationComplete():void
{
// 1st approach
…

Devesh
- 1
- 2
0
votes
1 answer
JSF Custom Image Component Problem to display multiple Image
Created a Tag Library Descriptor File:

Tuhin Das
- 1
- 2
0
votes
1 answer
JSF 2.1 - Dynamic UIComponents and Links
I'm using JSF 2.1 on Tomcat6 with the el2.2 libraries.
I have created a template layout with a header, menubar and footer common to all pages, with only the content changing. Each section is in its own div tags. Everything works fine and the menubar…

Gordon Little
- 141
- 1
- 2
- 16
0
votes
2 answers
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…

thorseye
- 237
- 6
- 16
0
votes
1 answer
JSF lifecycle. Using panelGrid for nested component (with ui:include)
I have common form with panelGrid:
…

Olga
- 3,705
- 1
- 20
- 23
0
votes
1 answer
JSF - Update model in invoke application phase
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 =…

mgamer
- 13,580
- 25
- 87
- 145
0
votes
1 answer
Applying gradient coloring with one parameter
I have differnet boxes that have a certain double parameter. This parameter should determine what color the box has. The coloring should start with one color for the double value 0.0 (perhaps blue) and should end with another color for 1.0 (perhaps…

gimba
- 511
- 1
- 9
- 28
0
votes
1 answer
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…

Neil
- 7,861
- 4
- 53
- 74
0
votes
1 answer
How to get the value of an uicomponent slider on Matlab when a key is pressed?
How to get the value of a uicomponent slider on Matlab when a key is pressed?
I'm using this in the GUI code:
% --- Executes just before teste is made visible.
function teste_OpeningFcn(hObject, eventdata, handles, varargin)
% Choose default…

Cleiton
- 271
- 2
- 5
- 14
0
votes
1 answer
ActionScript 3: UIScrollBar bug(?) - width of container returns +85px
Using Flash CS5 I came across something odd today.
The UIScrollBar component has the rigid width of 15px. When you add it to a container such as a Sprite, you'd expect the width of the sprite to return 15, but it returns 100 instead!
Here's an…

inhan
- 7,394
- 2
- 24
- 35
-1
votes
2 answers
How to scale the button text based on screen design swift?
In my project, i am using scaling for UI components. I am able to scale the text for UIlabel like below and it's working in all device:
1. Autoshrinks - minimum font scale set it to 0.5
2. No of lines - 0
3. Enable dynamic type in attribute…

HariKarthick
- 1,369
- 1
- 19
- 47
-1
votes
1 answer
PrimeFaces view with dynamic added component
I need a very dynamic View in PrimeFaces. The View must build to runtime and add PrimeFaces components.
In my View I had a panelgrid and added Elements from backing Bean. My Problem is that no setter is called. I added a ValueExpression and the…

Andreas
- 31
- 4
-1
votes
1 answer
Primefaces DragDropEvent on JSF UIComponent returns java.lang.NullPointerException
I am trying to use primefaces drag and drop on a UIComponent but the DragDropEvent returns NullPointerException. What am I probably doing wrong.
@Named(value = "dynaComponentController")
@RequestScoped
public class DynaComponentController {
private…

Cocoa Butter
- 265
- 2
- 4
- 13
-2
votes
1 answer
Can I use web worker for ui components?
I am getting my head around to understand serviceWorkers, web workers and indexedDB. I understand their usage in a web application. I have 2 questions.
I am developing jquery widgets like color picker, date picker, token field, etc... Is it a good…

vbrin27
- 723
- 1
- 6
- 25