cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Timothy Larson <>
Subject Woody sample bug
Date Mon, 10 Nov 2003 17:08:35 GMT
In the first Woody sample, "Various", if you:
  (1) Change the value in the first number field, "Please enter a number"
  (2) Then press "Add contact" or "Remove selected contacts" *before*
      tabbing or clicking into any other field.
Then you will receive an error page with this message:
  java.lang.IllegalStateException: SubmitWidget can only be set once.

It is caused by two widgets submitting at once, specifically the action
button that is pressed and the action attached to the first number field.
The number's action is delayed until editing is complete, which is noticed
when leaving the field.  In this case, leaving the field happens at the
same time as clicking on an action button.

How should we handle this case?

--Tim Larson

Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard

View raw message