Thanks brother!  Is this "old school" technique still used in S2?  I would
have guessed S2 would hold on to previous request information in the
ActionContext so developers would no longer have to do this riff raff.

On 5/2/07, Musachy Barroso <[EMAIL PROTECTED]> wrote:

Struts never knows what is *the page* that failed. The action gets an http
request, but it doesn't know what was the page, with the submit in it,
that
caused the request. You can pass a hidden field with the name of the
page(let's say "inputPage"), and then have a result like this:

<result name="input"
           type="tiles">
           ${#parameters.inputPage}
</result>

musachy

On 5/2/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> How do I get the Action input to return to *the* page that failed the
> validation?  It could be addPage, UpdatePage, or deletePage.
>
> <result name="input"
>             type="tiles">
>             *_tileThatFailedValidation_*
> </result>
>
> --
> Scott
> [EMAIL PROTECTED]
>



--
"Hey you! Would you help me to carry the stone?" Pink Floyd




--
Scott
[EMAIL PROTECTED]

Reply via email to