aspose file tools*
The moose likes JSF and the fly likes Order of Execution? Tag Handler or ManagedBean Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Order of Execution? Tag Handler or ManagedBean" Watch "Order of Execution? Tag Handler or ManagedBean" New topic
Author

Order of Execution? Tag Handler or ManagedBean

Prash Singh
Ranch Hand

Joined: Aug 23, 2009
Posts: 102


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?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Order of Execution? Tag Handler or ManagedBean
 
Similar Threads
Classic Tag please help?
NullPointerException in getter method
<h:inputText tag in JSF not updating the managed bean values when attribute is readonly=true.
How do I initialize this managed property?
InputText field validation based on DropDown value selected