Forums Register Login

Order of Execution? Tag Handler or ManagedBean

+Pie Number of slices to send: Send

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?
If you're gonna buy things, buy this thing and I get a fat kickback:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 1155 times.
Similar Threads
NullPointerException in getter method
InputText field validation based on DropDown value selected
How do I initialize this managed property?
Classic Tag please help?
<h:inputText tag in JSF not updating the managed bean values when attribute is readonly=true.
More...

All times above are in ranch (not your local) time.
The current ranch time is
Apr 16, 2024 09:20:33.