Hi Newton,

my first form doesn't redirect, it just send some data to action class and
updates targeting div in the page to show updated data from my class, so it
works fine, but it shouldn't redirect from page. But, this second form
should redirect and yes it doesn't have target specified, as I don't want to
specify any part of the page, but I want to show (redirect to) completely
new page. What can I do ?

--
Thanks, Milan


newton.dave wrote:
> 
> --- On Sun, 7/27/08, Milan Milanovic <[EMAIL PROTECTED]> wrote:
>>>> <s:form action="save" validate="false">
>>>>   <s:textfield id="value" tabindex="1" label="Value" name="value"/>
>>>>   <s:submit theme="ajax" tabindex="2" cssStyle="submit"
>>>>             cssClass="submit" align="right" value="Save"/>
>>>> </s:form>
> 
> Do Ajax forms redirect? I thought they submitted in the background via an
> XHR. Since you don't have a target specified, would the result just be
> ignored?
> 
> Dave
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/-S2--Form-doesn%27t-redirect-tp18654630p18688696.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to