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 JSF Component Tree 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 "JSF Component Tree" Watch "JSF Component Tree" New topic

JSF Component Tree

sriharsha Udupi

Joined: Jul 10, 2008
Posts: 3
Hi all,

I am writing an application which needs to set one Custom Component as a Parent tag( or Parent component) for all other components in a page. But i don't want to specify / add Custom Component in a web page.
Instead I am trying to add this component at createView method of Custom ViewHandler.

Here are the problems I am facing.
- I am unable to get the Custom Component which I have added in createView of ViewHandler class as the first component in the web page. Instead it is getting rendered at last (As a last tag/component).

-How exactly JSF constructs ViewTree?

-How exactly it adds first tag (tag which appears after <f:view/>) as first children to the Component tree.

Expecting your suggestions.

Thanks in advance,
I agree. Here's the link:
subject: JSF Component Tree
Similar Threads
What is an efficient way to implement an entirely AJAX based web app using JSF2?
Conditional wrapping with tag
How to set the icon for JSF Tree Node in the backing bean
Custom viewhandler and component tree
Generating <script> tag from Custom JSF Tag