This content has been marked as final.
Show 3 replies
-
1. Re: How obtaining data from a select box
pmuir Dec 4, 2007 3:16 PM (in response to haefti)Why do you need the id? Sounds like you don't to me.
itemValue is present in CVS, as is the possibility to override the output from s:convertEntity so will be in the 2.0.1 release. -
2. Re: How obtaining data from a select box
haefti Dec 4, 2007 6:07 PM (in response to haefti)"pete.muir@jboss.org" wrote:
Why do you need the id? Sounds like you don't to me.
Hm, but how do I get the selected element?
To compare it to examples from the book (from Michael Yuan), is it injected just like the example with the data table?
So if I have a list of Person objects in the select box, can I refer to the selected Person in the ManagerAction just like the way in the integration example via @DataModelSelection?itemValue is present in CVS, as is the possibility to override the output from s:convertEntity so will be in the 2.0.1 release.
Due to JBoss version restriction I'm forced to use Seam 1.2 at the moment.
Thanks!
Haefti -
3. Re: How obtaining data from a select box
pmuir Dec 4, 2007 7:31 PM (in response to haefti)Take a look at the ui example, it has many examples of using this. It's just like any input componet, you use a value binding to the model, and JSF takes care of updating the model for you.