The 2nd constructor, below, takes an id & IModel.
http://wicketstuff.org/wicket13doc/org/apache/wicket/markup/html/list/ListView.html
ListView(java.lang.String id)
ListView(java.lang.String id, IModel model)
ListView(java.lang.String id, java.util.List list)
- Scott
On Fri, Apr 4, 2008 at 9:07 AM, V. Jenks <[EMAIL PROTECTED]> wrote:
>
> I'm having some trouble finding out how to use detached data with a ListView,
> as I would have in Wicket 1.2.
>
> In 1.2 I would have used a detachable model:
>
> IModel model = new LoadableDetachableModel()
> {
> protected Object load()
> {
> return data;
> }
> };
>
> ...but ListView doesn't appear to accept IModel as a parameter anymore. How
> would I pass detached data into a ListView in 1.3?
> --
> View this message in context:
> http://www.nabble.com/ListView-params-from-1.2-to-1.3---detached-data-tp16492707p16492707.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]