You can use an expression there, like this:
<result name="success" type="dispatcher">${currentPage}</result>
Which will evaluate currentPage against the value stack
> -----Original Message-----
> From: Jan-Peter Hagenm�ller [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, December 10, 2003 6: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