You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by wiki <wa...@hotmail.com> on 2008/03/01 14:01:32 UTC
How to view Set like ListView uses List
Hi I have a set of questionaires
I know how to display List of Quesitonaires
{
List<Questionaire> a=user.getQuestionaire();
ListView v=new ListView()
implemented abstract methods
};
but don't know if i have Set<Questionaire> q=user.getQuestionaire();
how to display them.
Thanks
--
View this message in context: http://www.nabble.com/How-to-view-Set%3CQuestionaire%3E-like-ListView-uses-List-tp15773242p15773242.html
Sent from the Wicket - User 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: How to view Set like ListView uses List
Posted by Ned Collyer <ne...@gmail.com>.
Just on Set's. if its unordered - then you can have a potential problem for
your users.
In the domain model it might make perfect sense that something is a Set -
but just be wary that a user generally expects order, not randomness.
wiki wrote:
>
> Hi I have a set of questionaires
> I know how to display List of Quesitonaires
> {
> List<Questionaire> a=user.getQuestionaire();
> ListView v=new ListView()
> implemented abstract methods
> };
> but don't know if i have Set<Questionaire> q=user.getQuestionaire();
> how to display them.
> Thanks
>
--
View this message in context: http://www.nabble.com/How-to-view-Set%3CQuestionaire%3E-like-ListView-uses-List-tp15773242p15782596.html
Sent from the Wicket - User 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: How to view Set like ListView uses List
Posted by Thomas Kappler <tk...@googlemail.com>.
Hi,
you need a repeater. See http://wicketstuff.org/wicket13/repeater/
for examples.
Thomas
On Sat, Mar 1, 2008 at 2:01 PM, wiki <wa...@hotmail.com> wrote:
>
> Hi I have a set of questionaires
> I know how to display List of Quesitonaires
> {
> List<Questionaire> a=user.getQuestionaire();
> ListView v=new ListView()
> implemented abstract methods
> };
> but don't know if i have Set<Questionaire> q=user.getQuestionaire();
> how to display them.
> Thanks
> --
> View this message in context: http://www.nabble.com/How-to-view-Set%3CQuestionaire%3E-like-ListView-uses-List-tp15773242p15773242.html
> Sent from the Wicket - User 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