You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by rolandpeng <ro...@cht.com.tw> on 2012/01/13 05:32:43 UTC

questions about CheckGroupSelector's behavior?

CheckGroupSelector is very useful to select all/none, but I found there is
one condition that the behavior of CheckGroupSelector becomes strange. I'm
not sure whether it's a bug or not.

When the CheckGroup contains more than two check items, it's fine for any
function.
But when it contains only one check item, CheckGroupSelector becomes checked
status on initial and the one check item is unchecked. I mean,if the
CheckGroupSelector is checked, all of the related check items should be all
checked as well.(only one check item or more)
No matter how many times I press the CheckGroupSelector, it seems
malfunctioned to affect the check item, unless I put two or more check items
on the list.

I have tried org.apache.wicket.examples.compref.CheckGroupPage(in wicket
example) and modify the ComponentReferenceApplication.getPersons() to only
one person. It's the same behavior as what I mentioned above.

The version of my wicket is 1.5.3.

Does anyone has comments for this situation?Thanks.

Roland.

--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/questions-about-CheckGroupSelector-s-behavior-tp4291374p4291374.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: questions about CheckGroupSelector's behavior?

Posted by rolandpeng <ro...@cht.com.tw>.
yes, Sven.

it's the same issue of wicket-4279

https://issues.apache.org/jira/browse/WICKET-4279

I'll download wicket 1.5.4 after release, thank you!

--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/questions-about-CheckGroupSelector-s-behavior-tp4291374p4291630.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: questions about CheckGroupSelector's behavior?

Posted by Sven Meier <sv...@meiers.net>.
WICKET-4279 ?

Am 13.01.2012 05:32, schrieb rolandpeng:
> CheckGroupSelector is very useful to select all/none, but I found there is
> one condition that the behavior of CheckGroupSelector becomes strange. I'm
> not sure whether it's a bug or not.
>
> When the CheckGroup contains more than two check items, it's fine for any
> function.
> But when it contains only one check item, CheckGroupSelector becomes checked
> status on initial and the one check item is unchecked. I mean,if the
> CheckGroupSelector is checked, all of the related check items should be all
> checked as well.(only one check item or more)
> No matter how many times I press the CheckGroupSelector, it seems
> malfunctioned to affect the check item, unless I put two or more check items
> on the list.
>
> I have tried org.apache.wicket.examples.compref.CheckGroupPage(in wicket
> example) and modify the ComponentReferenceApplication.getPersons() to only
> one person. It's the same behavior as what I mentioned above.
>
> The version of my wicket is 1.5.3.
>
> Does anyone has comments for this situation?Thanks.
>
> Roland.
>
> --
> View this message in context: http://apache-wicket.1842946.n4.nabble.com/questions-about-CheckGroupSelector-s-behavior-tp4291374p4291374.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org