This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Struts and the fly likes STRUTS Passing parameter to DHTMLSuite.modalMessage()    Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "STRUTS Passing parameter to DHTMLSuite.modalMessage()    " Watch "STRUTS Passing parameter to DHTMLSuite.modalMessage()    " New topic
Author

STRUTS Passing parameter to DHTMLSuite.modalMessage()

Imre Tokai
Ranch Hand

Joined: Jun 04, 2008
Posts: 130
Hello!

I'm displaying a message when i click on an icon


I call this event with:

messageObj = new DHTMLSuite.modalMessage();// We only create one object of this class
messageObj.setWaitMessage('Loading message - please wait....');
messageObj.setShadowOffset(7);// Large shadow

DHTMLSuite.commonObj.setCssCacheStatus(false);

function displayMessage(url,cssClass)
{
messageObj.setSource(url);
messageObj.setCssClassMessageBox(cssClass);
messageObj.setSize(400,200);
messageObj.setShadowDivVisible(true);// Enable shadow for these boxes
messageObj.display();
}


Everything is fine.
Now i want to pass parameters to that new page (message).

How can i pass 2 parameters' values?


Regards

P.S. I tried to attach it on

but no success

P.P.S.
I provided only pseudocode
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: STRUTS Passing parameter to DHTMLSuite.modalMessage()