You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Maciej Rosiek <ma...@insert.com.pl> on 2008/07/09 16:37:14 UTC

[CForms] multipage problem

Hi
I'm working with Cocoon 2.1.11 and trying to make multipage form. I have 
problem with "next" and "prev" buttons. If I press one of the buttons it 
gets disabled and the form goes to another page. Everything works fine. 
But the problem is that when I quickly press two buttons, one by one, 
before request is done, I get "java.lang.IllegalStateException: Submit 
widget already set to Submit 'prev'. Cannot set also Submit 'next'". 
This happens only when I use firefox, I tried to repeat this in opera or 
ie but it worked well. Also when I turn off javascript in firefox it works.
Is there any solution to this? My idea is to disable both button with 
javascript but maybe there is other, better solution?

Thanks in advance

Maciej


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org