File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSF and the fly likes Custom Component and Update Model Values face Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » JSF
Reply Bookmark "Custom Component and Update Model Values face" Watch "Custom Component and Update Model Values face" New topic
Author

Custom Component and Update Model Values face

Jorge Fiallega
Greenhorn

Joined: May 27, 2005
Posts: 12
Hello.
I am a little confused on how a custom component plays with the "Update Model Values" face of the Request Processing Lifecycle.
I have created a custom component which has a property, let's say the property "color" which comes from one of the parameter in the tag. when it gets to the decode method I set the "color" property of the component to the color parameter that was passed in. I have also created a valuebinding "color" in the component.
By the time I get to the encodeBegin() method in the render phase I would expect that the valuebinding "color" has been updated with the value of the color property. I tried to test it but the value coming from the browser never makes it to the valuebinding.
Can anybody tell me what connections do I need to make so that the Update Model Values face does its job in a custom component.

Thanks

Jorge Luis
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Custom Component and Update Model Values face
 
Similar Threads
How to do URLEncoding with HtmlOutputLink
UIDateInput Custom Component
I need a conceptual understanding of the JavaServer Faces framework.
Spring MVC and an empty combo box
repaint and update