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
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » JSF
Reply 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: 100


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
InputText field validation based on DropDown value selected
Classic Tag please help?
<h:inputText tag in JSF not updating the managed bean values when attribute is readonly=true.
NullPointerException in getter method
How do I initialize this managed property?