Understood. 

Is there an easy way for checkboxselector to select the users from the paged
list on the visible page and update the checkgroup with all these "visible"
users on the server side?



igor.vaynberg wrote:
> 
> well, the purpose of the checkboxselector is to be a client side widget to
> select all visible checkboses.
> 
> there is no automatic way to select all checkboxes on the serverside and
> that is why it doesnt do that. imagine a paged list of users with a
> checkbox
> to select all users. without user intervention you can only select the
> users
> on the visible page, but that might not be what the perceived behavior of
> the selector is.
> 
> -igor
> 
> 
> On 1/1/07, TH Lim <[EMAIL PROTECTED]> wrote:
>>
>>
>> Thanks. I replaced checkgroupselector with checkbox like what you have
>> described and had it working. However, I find it strange not to extend
>> checkgroupselector to cover server side. Can you share with me what is
>> the
>> reason for the team not to cover that? Or is it irrelevant to do so?
>>
>>
>>
>> igor.vaynberg wrote:
>> >
>> > actually when you override wantonselectionchangednotification() it is
>> not
>> > an
>> > ajax request, it is a regular request that repaints the page.
>> >
>> > checkgroupselector was made to select checkboxes on the clientside only
>> > exclusively, if you want to do it via a roundtrip it is actually simple
>> >
>> > add a checkbox with wantonselectionchangednotification() set to true,
>> and
>> > in
>> > the handler add all the possible model objects into the collection that
>> > controls the checkgroup, so when the page repaints next all checkboxes
>> > will
>> > be selected for you
>> >
>> > -igor
>> >
>> >
>> > On 12/31/06, TH Lim <[EMAIL PROTECTED]> wrote:
>> >>
>> >>
>> >> Hi,
>> >>
>> >> I have a similar situation where I have CheckGroupSelector to select /
>> >> unselect all checkboxes in the list view. I have overrided
>> >> CheckGroup.wantOnSelectionChangedNotifications() to return true.
>> >> Therefore,
>> >> checking and unchecking each checkboxes sends an AJAX respond back to
>> the
>> >> server. However, if I check on the CheckGroupSelector to check /
>> uncheck
>> >> all
>> >> the checkboxes there is no AJAX respond sent and CheckGroup is not
>> >> updated.
>> >> How do I make the CheckGroupSelector to send an AJAX respond so that
>> the
>> >> selection in CheckGroup reflects the selection on the web front?
>> Thanks.
>> >>
>> >>
>> >> Johan Compagner wrote:
>> >> >
>> >> > can't you override:
>> >> >
>> >> > protected boolean wantOnSelectionChangedNotifications()
>> >> >     {
>> >> >         return false;
>> >> >     }
>> >> >
>> >> > of CheckGroup?
>> >> >
>> >> > johan
>> >> >
>> >> >
>> >> > On 9/27/06, Decebal Suiu <[EMAIL PROTECTED]> wrote:
>> >> >>
>> >> >> Can I use CheckGroupSelector with CheckBox (instead
>> >> >> Check) ?
>> >> >> Because I want to be notified when a selection was
>> >> >> changed (CheckBox.onSelectionChanged)?
>> >> >>
>> >> >> Thanks,
>> >> >> Decebal
>> >> >>
>> >> >> __________________________________________________
>> >> >> Do You Yahoo!?
>> >> >> Tired of spam?  Yahoo! Mail has the best spam protection around
>> >> >> http://mail.yahoo.com
>> >> >>
>> >> >>
>> >>
>> -------------------------------------------------------------------------
>> >> >> Take Surveys. Earn Cash. Influence the Future of IT
>> >> >> Join SourceForge.net's Techsay panel and you'll get the chance to
>> >> share
>> >> >> your
>> >> >> opinions on IT & business topics through brief surveys -- and earn
>> >> cash
>> >> >>
>> >>
>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>> >> >> _______________________________________________
>> >> >> Wicket-user mailing list
>> >> >> [email protected]
>> >> >> https://lists.sourceforge.net/lists/listinfo/wicket-user
>> >> >>
>> >> >
>> >> >
>> >>
>> -------------------------------------------------------------------------
>> >> > Take Surveys. Earn Cash. Influence the Future of IT
>> >> > Join SourceForge.net's Techsay panel and you'll get the chance to
>> share
>> >> > your
>> >> > opinions on IT & business topics through brief surveys -- and earn
>> cash
>> >> >
>> >>
>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>> >> > _______________________________________________
>> >> > Wicket-user mailing list
>> >> > [email protected]
>> >> > https://lists.sourceforge.net/lists/listinfo/wicket-user
>> >> >
>> >> >
>> >>
>> >> --
>> >> View this message in context:
>> >>
>> http://www.nabble.com/CheckGroupSelector-with-CheckBox-tf2346680.html#a8107326
>> >> Sent from the Wicket - User mailing list archive at Nabble.com.
>> >>
>> >>
>> >>
>> -------------------------------------------------------------------------
>> >> Take Surveys. Earn Cash. Influence the Future of IT
>> >> Join SourceForge.net's Techsay panel and you'll get the chance to
>> share
>> >> your
>> >> opinions on IT & business topics through brief surveys - and earn cash
>> >>
>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>> >> _______________________________________________
>> >> Wicket-user mailing list
>> >> [email protected]
>> >> https://lists.sourceforge.net/lists/listinfo/wicket-user
>> >>
>> >
>> >
>> -------------------------------------------------------------------------
>> > Take Surveys. Earn Cash. Influence the Future of IT
>> > Join SourceForge.net's Techsay panel and you'll get the chance to share
>> > your
>> > opinions on IT & business topics through brief surveys - and earn cash
>> >
>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>> > _______________________________________________
>> > Wicket-user mailing list
>> > [email protected]
>> > https://lists.sourceforge.net/lists/listinfo/wicket-user
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/CheckGroupSelector-with-CheckBox-tf2346680.html#a8112767
>> Sent from the Wicket - User mailing list archive at Nabble.com.
>>
>>
>> -------------------------------------------------------------------------
>> Take Surveys. Earn Cash. Influence the Future of IT
>> Join SourceForge.net's Techsay panel and you'll get the chance to share
>> your
>> opinions on IT & business topics through brief surveys - and earn cash
>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>> _______________________________________________
>> Wicket-user mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/wicket-user
>>
> 
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Wicket-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wicket-user
> 
> 

-- 
View this message in context: 
http://www.nabble.com/CheckGroupSelector-with-CheckBox-tf2346680.html#a8115550
Sent from the Wicket - User mailing list archive at Nabble.com.


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to