And it was as simple as that.
Thank you so much.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/CheckGroup-and-ListView-tp1886879p2197959.html
Sent from the Wicket - User mailing list archive at Nabble.com.
Hi,
Was any one able to test the quick start?
Thanks.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/CheckGroup-and-ListView-tp1886879p2196464.html
Sent from the Wicket - User mailing list archive at Nabble.com.
QuickStart project added. BTW thanks for the instructions for creating the
quick start. If any one else needs the instructions then they can be found
at:
http://www.jeremythomerson.com/blog/2008/11/wicket-quickstart-tutorial/#more-99
Well, I hope the quick start works for others too.
Thanks
Well, I have tried using ListModel as following:
selectableValues = new ListViewSelectableValue(selectableValuesList, new
ListModelSelectableValue(list))
{
..
}
and then:
selectableValues.getModelObject().add(new
SelectableValue(newId, value
+ newId++));
without any
When using ajax you do have to add the listview again..
2010/5/6 msalman mohammad_sal...@yahoo.com:
Well, I have tried using ListModel as following:
selectableValues = new ListViewSelectableValue(selectableValuesList, new
ListModelSelectableValue(list))
{
..
}
and then:
Well, I have tried removing and then adding the ListView to the CheckGroup,
but that does not work either.
I have tried to debug this as much as I could and I do see that there are
the right values in the java objects of ListView and the wrapped list. To
me it looks like that the code that
create a quickstart and post it somewhere where we can get to it and someone
will help you
--
Jeremy Thomerson
http://www.wickettraining.com
On Thu, May 6, 2010 at 7:12 PM, msalman mohammad_sal...@yahoo.com wrote:
Well, I have tried removing and then adding the ListView to the CheckGroup,
I have not heard anything on this one. I will be very thankful if I can get
some help on this one. To help reproduce the problem I have attached simple
code files.
http://n4.nabble.com/file/n2131672/App.java App.java .
http://n4.nabble.com/file/n2131672/PageCheckGroup.html
I haven't looked at it in detail, but you shouldn't be doing that
removeAll() and setList() stuff - it comes from a lack of using Models
properly - which is the most common mistake I see in Wicket users. Instead,
you should give the ListView constructor an instance of some
: Jeremy Thomerson [via Apache Wicket]
ml-node+2131687-1413056525-229...@n4.nabble.com
To: msalman mohammad_sal...@yahoo.com
Sent: Wed, May 5, 2010 2:08:06 PM
Subject: Re: CheckGroup and ListView
I haven't looked at it in detail, but you shouldn't be doing that
removeAll() and setList() stuff - it comes
10 matches
Mail list logo