This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach 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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets 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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: STRUTS Passing parameter to DHTMLSuite.modalMessage()
 
Similar Threads
JSF 2.0 cannot rech out-come page
struts 2 validation - error message even after entering a value
Ajax Dialog - Parameters passing
core java communicates with servlet or jsp?
how to submit form parameters using window.open