This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread 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


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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: STRUTS Passing parameter to DHTMLSuite.modalMessage()
 
It's not a secret anymore!