Forums Register Login

Component tree parsing in PhaseListener

+Pie Number of slices to send: Send
In the afterphase of the RESPONSE_RENDER of our phaselistener,we parse the component tree to collect some event-specific data.
This data needs to be rendered/dispatched along with the requested page .
A javascript parser on the client will ectract this data to perform certain actions on the components.
How can this data be sent back along with the document?
Can a phaselistener modify the component tree to add a hidden field?
Any help/suggestion in dispatching this data from the phaselistener along with the requested view,will be much appreciated.
Create symphonies in seed and soil. For this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 1070 times.
Similar Threads
AJAX and PhaseListener
Change component attributes at RENDER_RESPONSE
Setting component attributes through viewhandler
Accessing each component value in Apply Request Values Phase
can I write filter that validate the html component tree if im using jsp?
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 03:49:37.