Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

[JSF + Rich Faces + Facelets] - problem with including code fragment

 
Karol Kornecki
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
I've some problem with including some piece of code. I describe it...

I've created page with <rich:panelTab> with 3 tabs. I also define one page something like



I need to include the page above to every tabs in tabPanel, but the problem is: when i try to include (using <ui:include src"my_page.xhtml" />)I get an error, that i try to use tags with the same id more than once.
Could you give me tip how to omit this problem.

Thanks.
 
Karol Kornecki
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I wouldn't like to create new topic so I ask here

I need to create custom tag which generate something like:



According to JSF spec. I write method like below:



but it generates ony pure html input tag

Could somebody help me how to write it? is it possible to do it , in that way I've tried?



Sorry for my English
 
This will take every ounce of my mental strength! All for a tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!