wood burning stoves 2.0*
The moose likes JSF and the fly likes setting value for ID attribute dynamically for rich:modalpanel (for templating overlay) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "setting value for ID attribute dynamically for rich:modalpanel (for templating overlay)" Watch "setting value for ID attribute dynamically for rich:modalpanel (for templating overlay)" New topic
Author

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

srinivas srini
Greenhorn

Joined: Feb 03, 2004
Posts: 23
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

Joined: Jun 25, 2001
Posts: 15956
    
  19

I've done this, but I used the ui:include tag, not ui:decorate.

In fact, I've even done things like this:


Customer surveys are for companies who didn't pay proper attention to begin with.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: setting value for ID attribute dynamically for rich:modalpanel (for templating overlay)
 
Similar Threads
What would be best way to handle how clicking on something changes a content pane...
Navigation Problem
IE only : Destination page loses style after clicking on commandbutton (x-posted in jboss.org forum)
why isnt this page showing three content panes where I am trying to put them?
Problem getting richfaces tree to display