I meant just changing the submit to <s:submit/>

And losing ajax...


2008/11/4 Sergio Sánchez González <[EMAIL PROTECTED]>:
> I've found dojo fails when I retreive a page using ajax.
>
> For example, a simple login:
>
>    <div id="myLogin">
>      <s:form action="login"  validate="true">
>
>          <s:textfield name="username" label="Login name"/>
>          <s:password name="password" label="Password"/>
>          <s:combobox label="Companies" name="company" headerValue="--
> Please Select --" headerKey="1" list="companies" />
>          <s:submit targets="myLogin" theme="ajax" />
>
>      </s:form>
>    </div>
>
> The page retreived uses dojo javascript but doesn't work. If I just
> change the submit to: <s:submit targets="myLogin"/> then it works. But
> of course, I lose the retreived page javascript.
>
> Any idea how to keep the javascript getting the page by ajax?
>

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

Reply via email to