Only 48 hours left in the trailboss' kickstarter!

New rewards and stretch goals. CLICK HERE!



  • Post Reply Bookmark Topic Watch Topic
  • New Topic

jsf components inside the tag view  RSS feed

 
Jorge Martinez
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hy,

In some examples I see jsf components inside the tag view, other times dont.

- Is it important to put all jsf components inside "the view" tag?
- What would be the difference not putting them inside this tag?

Thanks
 
Tim Holloway
Bartender
Posts: 18531
61
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally, if you didn't wrap all the JSF elements in a view tag, you would have serious problems. That was back when JSF View Definitions were built on JSPs instead of being an independent template.

I'm not clear on the exact need for a view tag these days, but if you do have one, all of your elements should be within the body of that tag. Better yet, consult the JSF documentation appropriate for the JSF version that you are using.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!