Re: How to handle different div's and 1 or more ActionForms

2008-10-21 Thread Joris Kimpe
Thanks Lukasz, I just found the cause... I was using the same form id in the different divs. I had a jsp included in both divs, and it contained the form bean (which needs to be different for both divs). Lukasz Lenart wrote: There is some problem with div's inside form, when you want to

Re: How to handle different div's and 1 or more ActionForms

2008-10-20 Thread Joris Kimpe
, 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

Re: How to handle different div's and 1 or more ActionForms

2008-10-20 Thread Joris Kimpe
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. Do you know whether this can be done? If not, what's the best way to create the application I want? Joris Lukasz Lenart wrote:

Re: How to handle different div's and 1 or more ActionForms

2008-10-20 Thread Joris Kimpe
=changeCostItemState(this); bean:write name=status property=description/ nbsp;nbsp; /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

How to handle different div's and 1 or more ActionForms

2008-10-17 Thread Joris Kimpe
Hello, I have an application with 2 buttons. Each button hides/shows a div. In each div I want to use the same ActionForm, but different Actions. Maybe this can't be done, but I also have problems using a different ActionForm for each div. A short overview: - my initial jsp looks like this: