Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

STRUTS Passing parameter to DHTMLSuite.modalMessage()

 
Imre Tokai
Ranch Hand
Posts: 130
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic