• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

facelets modalPanel template question

 
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am hoping that this is a good place to ask this question, if not I apologize. Here is my scenario, I have a datagrid where a user can browse a list of records. I want a modalPanel to appear where the user can enter information to filter the list. I would also like to template my modalPanel pages using facelets and ui:include to make them appear. For example, say the list page is called list.xhtml, the template page is called modal_template.xhtml and the modal page is called filter.xhtml. What do I need to surround the content in the modal_template.xhtml and filter.xhtml with; should it be UI:composition in both .xhtml pages or is this not the case. I cannot find any examples on how this should be done. Could someone provide an example of what this should look like?
 
Saloon Keeper
Posts: 27807
196
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This is a generic RichFaces modal dialog where the dialog body text comes from a backing bean.

Here's how it's called:


And this is the dialog itself:

 
reply
    Bookmark Topic Watch Topic
  • New Topic