• 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

setting value for ID attribute dynamically for rich:modalpanel (for templating overlay)

 
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have to pass value for id for a rich:modalPanel dynamically , as of now i am passing it as <ui:param.../> but that is not working.
My requirement is that I should have a overlay template with a specified dimensions and the body(content) of the overlay will change depending on different pages , I do not want to repeat the overlay code in all pages execpt the overlay content part. The code for template part of overlay and the implementation of template is here below. It would be great if you could suggest me a solution on this or any other alternative approach.

Thanks in advance


Template.jspx


using the above template here in myoverlay.jspx




 
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
I've done this, but I used the ui:include tag, not ui:decorate.

In fact, I've even done things like this:
 
reply
    Bookmark Topic Watch Topic
  • New Topic