Seems like it has something to do with this part of the code:
<logic:iterate name="statusList" id="status"
type="be.get.xtremis.web.base.util.SelectOption">
<input type=radio name="statusGroup"
value="<%= status.getId()%>"
onchange="changeCostItemState(this);" ><bean:write name="status"
property="description"/>
</logic:iterate>
If I remove this, the code works... What is wrong here? It is inside the
form in one of my divs.
Joris
Joris Kimpe wrote:
>
> The submit action is present... However, I don't use a submit button, I
> use a button which performs the action using an Ajax call. I overruled
> the submit, by using onsubmit="return false;" as an form attribute. Is
> this the reason?
>
> You are sure it has nothing to do with a div containing the form, and
> inside this form, there are some more divs?
>
> Thanks!
>
>
> Lukasz Lenart wrote:
>>
>> 2008/10/20 Joris Kimpe <[EMAIL PROTECTED]>:
>>> I know I can use the same form for different actions. That's what I was
>>> trying to do. But I'm afraid it has something to do with the different
>>> div
>>> sections.
>>
>> No, it shouldn't, div's are used only for display and are not
>> submitted to the actions. So check if you defined to separated action,
>> with the same form, also did you created jsp page with two separated
>> html forms with submit inside each
>>
>> <html:form action="/firstAction">
>> <html:submit/>
>> </html:form>
>>
>> <html:form action="/secondAction">
>> <html:submit/>
>> </html:form>
>>
>>
>> Regards
>> --
>> Lukasz
>> http://www.lenart.org.pl/
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>>
>
>
--
View this message in context:
http://www.nabble.com/How-to-handle-different-div%27s-and-1-or-more-ActionForms-tp20032791p20067496.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]