Re: Chosen label from an HtmlSelectOneMenu?

2007-09-05 Thread Rob99
. Note that this iteration will call the various EL associated with your select menu child components. This is because JSF never cache EL results. Rob99 a écrit : Hello, I have bound an HtmlSelectOneMenu to my backing bean using binding=... on the tag. I can get the chosen value easily

Chosen label from an HtmlSelectOneMenu?

2007-09-04 Thread Rob99
Hello, I have bound an HtmlSelectOneMenu to my backing bean using binding=... on the tag. I can get the chosen value easily enough with: HtmlSelectOneMenu m; ... String chosenValue = m.getValue(); Is there any way to get the label of the chosen item instead of the value from the

Re: Setter not called for value binding

2006-07-05 Thread Rob99
I'll investigate if bypassing the UPDATE_MODEL phase could be the issue. -- View this message in context: http://www.nabble.com/Setter-not-called-for-value-binding-tf1887301.html#a5191741 Sent from the MyFaces - Users forum at Nabble.com.

Setter not called for value binding

2006-07-03 Thread Rob99
I'm adding an HtmlSelectOneMenu component programmatically like this HtmlSelectOneMenu menu = new HtmlSelectOneMenu(); menu.setId(123); menu.setValueBinding(value, app.createValueBinding(#{MyBacking.x})); menu.setConverter(new IntegerConverter()); Backing bean MyBacking has a