This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JSF and the fly likes Setting component attributes through viewhandler Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Setting component attributes through viewhandler" Watch "Setting component attributes through viewhandler" New topic

Setting component attributes through viewhandler

Ranadhir Nag
Ranch Hand

Joined: Mar 09, 2006
Posts: 138
We need to tag each component in a view with a specific attribute.
We are not allowed to inherit and customize the encoding of the components through custom renderer.
Is it possible to tag the components in the tree ,through a custom viewhandler or phaselistener, prior to the rendering?
We find that the phaselistener can get the entire component tree only after the RENDER_RESPONSE phase.
Is ther any other way of achieving this objective?
Matt Cannon

Joined: Aug 06, 2008
Posts: 1

It's been a long while since you added this post, but I've come up against the same problem and was wondering if you found a solution?


[ August 07, 2008: Message edited by: Matt Cannon ]
subject: Setting component attributes through viewhandler
Similar Threads
Setting hidden field attributes through custom viewhandler
AJAX Request
JSF Component Tree
Component tree parsing in PhaseListener
Custom viewhandler and component tree