NEWBIE - How to submit form and display results in popup window with no browser decorations.

2004-06-29 Thread Adam Lipscombe
Folks, From browsing the list archive I can see that this sort of questions gets asked frequently. I looked at the solutions but none seem, to fit my case: I am trying to implement a popup window context-sensitive help system for a struts app. My solution so far is to have a help button in

RE: NEWBIE - How to submit form and display results in popup window with no browser decorations.

2004-06-29 Thread Anirudh Jayanth
You could use a javascript function to achieve this.. function Help(document,val) { window.open('Action.do_contextId='+val,'win','toolbar=no,location=no,di rectories=no,status=no,menubar=no,scrollbars=yes,resizable=no,width=400, height=210,left=0,top=0') } In the action retrieve the context id

RE: NEWBIE - How to submit form and display results in popup window with no browser decorations.

2004-06-29 Thread Adam Lipscombe
Thanks Anirudh, Do you mean that the form should have no ActionForm associated with it? (Currently I am using an ActionForm to pass the value of the contextID) I did not know that one could pass params to an action with the action.do?p1=valuep2=value technique. Where does one place the call

RE: NEWBIE - How to submit form and display results in popup window with no browser decorations.

2004-06-29 Thread Anirudh Jayanth
The help function is for the button onclick method... Or for a a href tag... You don't need a form for this approach.. All you need to do is to pass the contextId to the action which you can pass as a request parameter. I have used this technique successfully to pass params.. I guess that if you