Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Component tree parsing in PhaseListener  RSS feed

Ranadhir Nag
Ranch Hand
Posts: 138
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!