You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Caroline Lauferon <ca...@cgey.com> on 2003/10/30 15:01:53 UTC
Re: Shouldn't this work?
> <html:select property="errorLogTypeID"
> onchange="document.forms["logFortrykkForm"].submit()" >
> ---
> ---
> </html:select>
I think it shouldn't have even compiled the JSP, because of the bad parsing
of the double quotes. It works with me if I replace the inner double quotes
by single quotes:
<html:select
property="errorLogTypeID"onchange="document.forms['logFortrykkForm'].submit(
)" > [...]
Hope it helps
Caroline
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org
Re: Shouldn't this work?
Posted by Bjørn T Johansen <bt...@havleik.no>.
Yes, I did some trying back and forth and discovered that... :)
But now I have another problem. I found another article that said that I
could not use this event and at the same time have a submit button.. And
that looks to be correct?
But when I need the submit button to submit the rest of the form, how do
I solve this? (I just need submit one the onchange event to fill another
combobox...)
BTJ
On Thu, 2003-10-30 at 15:01, Caroline Lauferon wrote:
> > <html:select property="errorLogTypeID"
> > onchange="document.forms["logFortrykkForm"].submit()" >
> > ---
> > ---
> > </html:select>
>
> I think it shouldn't have even compiled the JSP, because of the bad parsing
> of the double quotes. It works with me if I replace the inner double quotes
> by single quotes:
> <html:select
> property="errorLogTypeID"onchange="document.forms['logFortrykkForm'].submit(
> )" > [...]
>
> Hope it helps
>
> Caroline
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org