• 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
  • Tim Cooke
  • paul wheaton
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

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

 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
She's out of the country right now, toppling an unauthorized dictatorship. Please leave a message with this tiny ad:
Clean our rivers and oceans from home
https://www.kickstarter.com/projects/paulwheaton/willow-feeders
reply
    Bookmark Topic Watch Topic
  • New Topic