• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

JSF Component Tree

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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,
SriHarsha.
 
Everybody! Do the Funky Monkey! Like this tiny ad!
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic