There are a few options (Drew and Jason are both correct). Another
option is to use the so-called "HTTP 204 trick":

Using the HttpHeaderResult (included in WebWork, but not yet in
webwork-default.xml), you can respond with a 204 code which tells the
browser to submit the form but then not change the URL. 

-Pat

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Jan-Peter Hagenmüller
Sent: Wednesday, December 10, 2003 3:19 PM
To: [EMAIL PROTECTED]
Subject: [OS-webwork] pointing action calling pages

Hi,

any form at any page can call any actions - but how can i point the
calling page
with a result desciption like below?

<action name="helpSearchAction" class="action.HelpSearchAction">
     <result name="success" type="dispatcher">  "current page"
</result>
</action>

with no <result...s an empty page is shown,
empty "current page" ends with NPE
(see bug report
http://jira.opensymphony.com/secure/ViewIssue.jspa?key=WW-331)

thanks for hints!

jp






-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to