Code seems fine. What is the hrml output?

On 5/12/08, freak182 <[EMAIL PROTECTED]> wrote:
>
> Hello,
> I having problem integrating AjaxFormChoiceComponentUpdatingBehavior. my
> code snippet:
>
> final WebMarkupContainer container = new WebMarkupContainer("wmc");
> final CheckGroup chkGrp = new CheckGroup("chkGrp",new ArrayList<Chk>());
>
> final ListView list = new ListView("listBcs",listChk){
>                       @Override
>                       protected void populateItem(ListItem item) {            
>                 
>                               item.add(new Check("fltId",item.getModel()));
>                               ...
>                       }                       
>               };
>
> chkGrp.add(new AjaxFormChoiceComponentUpdatingBehavior(){
>                       @Override
>                       protected void onUpdate(AjaxRequestTarget target) {
>                               System.out.println("here 
> AjaxFormChoiceComponentUpdatingBehavior");
>
>                               target.addComponent(amtChk);
>                               target.addComponent(cntChk);
>                       }
>               });
>
> ...it not getting hit inside the onUpdate method..any idea..
> Thanks a lot..Cheers
>
>
> --
> View this message in context:
> http://www.nabble.com/How-to-use-AjaxFormChoiceComponentUpdatingBehavior-in-Check-CheckGroup-tp17184651p17184651.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]
>
>

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

Reply via email to