• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Custom Component and Update Model Values face

 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic