By the way, is there a central page somewhere that explains the repeater
package, or should I just dig through the javadocs and code? I figured I'd
ask before I get too involved with the latter.
On 2/5/07, Kevin Galligan <[EMAIL PROTECTED]> wrote:
That was the general impression I got. Repeaters. Harder to grasp, but
better overall.
I didn't know they indexed by id. Sweet.
I have the "Pro Wicket" book. For the most part I thought it was well
written. The section on ListView, however, brought on a level of confusion
that almost landed the book on the other side of the room. I think it needs
a diagram or two. The interaction between the list model, list elements,
ListItem callback, and the page are bit tough to grasp and are generally
unlike most everything else out there. If not in theory, at least in how
they're coded.
I was just turning back to the project as your message came in, so the
timing couldn't be better. Hopefully I can sort out the repeater concepts
without too much pain.
Thanks,
-Kevin
On 2/5/07, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
>
> > I'm also really interested in how people model tables and lists in
> Wicket.
> > I had a very similar problem in JSF. Specifically the issue that
> arises
> > when you have a table type of component with links, backed by index
> instead
> > of ID. That's an issue I have to look into. Any thoughts? I'm using
> a
> > ListModel and PropertyListView do display a list of links. They're
> not the
> > BookmarkableLink type, so if the data behind the list changes between
> the
> > initial display and the user clicking the link, I'm going to run into
> > trouble. My thought was to keep the list in the Model between the
> request,
> > and fill it with detachable model objects rather than real data
> objects.
> > Any thoughts? Does that make sense?
>
> Lately, we are encouraging people to use components from the repeater
> packages rather than ListView and friends. They might be a little bit
> harder to grok at first, but they allow for better flexibility when it
> comes to which items are used when (e.g. backed by an ID rather than
> the index). See the 'repeaters' example in the wicket-examples
> project.
>
> Eelco
>
> -------------------------------------------------------------------------
>
> Using Tomcat but need to do more? Need to support web services,
> security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier.
> Download IBM WebSphere Application Server v.1.0.1 based on Apache
> Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user