Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Order of Execution? Tag Handler or ManagedBean

 
Prash Singh
Ranch Hand
Posts: 103
jQuery Netbeans IDE Notepad
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I have made a custom component in JSF 1.2.
The Tag Handler for my component is taking attribute values using ValueExpressions.
Sample



I am using prop field to set some value in field attribute.

the problem is that the constructor of the managed Bean which I am using is called after the Tag Handler's
setProperties(UIComponent) method, so prop Property is not set to the value I want to set in the managed
bean constructor.

How to resolve this issue?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic