Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
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
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!