• Post Reply Bookmark Topic Watch Topic
  • New Topic

Custom Component and Update Model Values face  RSS feed

 
Jorge Fiallega
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!