This week's book giveaway is in the Spring forum.
We're giving away four copies of Spring Boot in Practice and have Somnath Musib on-line!
See this thread for details.
Win a copy of Spring Boot in Practice this week in the Spring forum!
  • 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
  • Tim Cooke
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Liutauras Vilda
  • Henry Wong
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Mikalai Zaikin
  • Himai Minh

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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic