aspose file tools
The moose likes JSF and the fly likes [JSF + Rich Faces + Facelets] - problem with including code fragment Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » JSF
Reply Bookmark "[JSF + Rich Faces + Facelets] - problem with including code fragment " Watch "[JSF + Rich Faces + Facelets] - problem with including code fragment " New topic
Author

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

Karol Kornecki
Greenhorn

Joined: Nov 03, 2009
Posts: 14
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.


Sun Certified Programmer for Java Platform 6.0 (96%)
Karol Kornecki
Greenhorn

Joined: Nov 03, 2009
Posts: 14
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
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: [JSF + Rich Faces + Facelets] - problem with including code fragment
 
Similar Threads
how do i differentiate two instance or client
Composite Components with ViewScoped bean
Unable to access message resources through <bean:message> in included jsp
Creating Tabs in JSP using xml file
Can't get to the bean methods