Re: problems with stateless forms and radiogroups/checkgroups

2008-05-31 Thread joelhalbert

I was wondering whether this was scheduled for a fix in the next release and
if are any suggested work arounds for using checkbox's within stateless
forms?

Thanks
Joel


alexei.sokolov wrote:
 
 Done.
 https://issues.apache.org/jira/browse/WICKET-1545
 
 Alex
 
 On Tue, Apr 15, 2008 at 11:19 PM, Johan Compagner [EMAIL PROTECTED]
 wrote:
 
 Make a  jira issue for this

 On 4/16/08, Alexei Sokolov [EMAIL PROTECTED] wrote:
  Hello,
  I'm trying to use radiogroup/checkgroup with stateless form, and it is
 not
  possible at the moment. I get the following exception:
 
  submitted http post value [radio4] for RadioGroup component
  [0:form:whatever] is illegal because it does not contain relative path
 to a
  Radio componnet. Due to this the RadioGroup component cannot resolve
 the
  selected Radio component pointed to by the illegal value. A possible
 reason
  is that component hierarchy changed between rendering and form
 submission.
 
  I think the problem lies inside Check  Radio components, which use
  Page.getAutoIndex()  and that value is different before and after page
  submission for Check/Radio components.
 
  Now, it is not possible to override getValue() on Check/Radio
 components, so
  I'm kind of stuck now...
 
  Please tell me how to fix this issue,
 
  Thanks,
  Alex
 

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]


 
 

-- 
View this message in context: 
http://www.nabble.com/problems-with-stateless-forms-and-radiogroups-checkgroups-tp16713120p17580125.html
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: problems with stateless forms and radiogroups/checkgroups

2008-04-16 Thread Johan Compagner
Make a  jira issue for this

On 4/16/08, Alexei Sokolov [EMAIL PROTECTED] wrote:
 Hello,
 I'm trying to use radiogroup/checkgroup with stateless form, and it is not
 possible at the moment. I get the following exception:

 submitted http post value [radio4] for RadioGroup component
 [0:form:whatever] is illegal because it does not contain relative path to a
 Radio componnet. Due to this the RadioGroup component cannot resolve the
 selected Radio component pointed to by the illegal value. A possible reason
 is that component hierarchy changed between rendering and form submission.

 I think the problem lies inside Check  Radio components, which use
 Page.getAutoIndex()  and that value is different before and after page
 submission for Check/Radio components.

 Now, it is not possible to override getValue() on Check/Radio components, so
 I'm kind of stuck now...

 Please tell me how to fix this issue,

 Thanks,
 Alex


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: problems with stateless forms and radiogroups/checkgroups

2008-04-16 Thread Alexei Sokolov
Done.
https://issues.apache.org/jira/browse/WICKET-1545

Alex

On Tue, Apr 15, 2008 at 11:19 PM, Johan Compagner [EMAIL PROTECTED]
wrote:

 Make a  jira issue for this

 On 4/16/08, Alexei Sokolov [EMAIL PROTECTED] wrote:
  Hello,
  I'm trying to use radiogroup/checkgroup with stateless form, and it is
 not
  possible at the moment. I get the following exception:
 
  submitted http post value [radio4] for RadioGroup component
  [0:form:whatever] is illegal because it does not contain relative path
 to a
  Radio componnet. Due to this the RadioGroup component cannot resolve the
  selected Radio component pointed to by the illegal value. A possible
 reason
  is that component hierarchy changed between rendering and form
 submission.
 
  I think the problem lies inside Check  Radio components, which use
  Page.getAutoIndex()  and that value is different before and after page
  submission for Check/Radio components.
 
  Now, it is not possible to override getValue() on Check/Radio
 components, so
  I'm kind of stuck now...
 
  Please tell me how to fix this issue,
 
  Thanks,
  Alex
 

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




problems with stateless forms and radiogroups/checkgroups

2008-04-15 Thread Alexei Sokolov
Hello,
I'm trying to use radiogroup/checkgroup with stateless form, and it is not
possible at the moment. I get the following exception:

submitted http post value [radio4] for RadioGroup component
[0:form:whatever] is illegal because it does not contain relative path to a
Radio componnet. Due to this the RadioGroup component cannot resolve the
selected Radio component pointed to by the illegal value. A possible reason
is that component hierarchy changed between rendering and form submission.

I think the problem lies inside Check  Radio components, which use
Page.getAutoIndex()  and that value is different before and after page
submission for Check/Radio components.

Now, it is not possible to override getValue() on Check/Radio components, so
I'm kind of stuck now...

Please tell me how to fix this issue,

Thanks,
Alex