[ 
https://issues.apache.org/jira/browse/WICKET-1271?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dipu C Seminlal updated WICKET-1271:
------------------------------------

    Description: 
The script in the renderHead method of AjaxFormChoiceComponentUpdatingBehavior 
assumes that the  Radio Component will be the immediate child of the RadioGroup 
Component, But in some or in most of the cases that is not correct.

That is not the case even in the Wicket Examples, in examples the hierarchy is 
RadioGroup/ListView/Radio.

I have maodied the rendered script to work for RadioGroup/ListView/Radio 
hierarchy. 

And the Patch is attached.

Regards
Dipu




  was:
The script in the renderHead method of AjaxFormChoiceComponentUpdatingBehavior 
assumes that the  Radio Component will be the immediate child of the RadioGroup 
Component, But in some or in most of the cases that is not correct.

That is not the case even in the Wicket Examples, in examples the hierarchy is 
RadioGroup/ListView/Radio.



    Environment:     (was: any)

> Script in RenderHead method of AjaxFormChoiceComponentUpdatingBehavior needs 
> fixing
> -----------------------------------------------------------------------------------
>
>                 Key: WICKET-1271
>                 URL: https://issues.apache.org/jira/browse/WICKET-1271
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.3.0-final
>            Reporter: Dipu C Seminlal
>         Attachments: 
> AjaxFormChoiceComponentUpdatingBehavior_patch_revision_610340.txt
>
>
> The script in the renderHead method of 
> AjaxFormChoiceComponentUpdatingBehavior assumes that the  Radio Component 
> will be the immediate child of the RadioGroup Component, But in some or in 
> most of the cases that is not correct.
> That is not the case even in the Wicket Examples, in examples the hierarchy 
> is RadioGroup/ListView/Radio.
> I have maodied the rendered script to work for RadioGroup/ListView/Radio 
> hierarchy. 
> And the Patch is attached.
> Regards
> Dipu

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to