Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
srinivas srini
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • 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




 
Tim Holloway
Saloon Keeper
Pie
Posts: 18157
53
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • 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:
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic