Hello Charles, according to PrimaryKeyEncoder's api-doc (http://tapestry.apache.org/tapestry5.1/apidocs/org/apache/tapestry5/PrimaryKeyEncoder.html) a ValueEncoder should be used. See docs here: http://tapestry.apache.org/tapestry5.1/apidocs/org/apache/tapestry5/ValueEncoder.html
I myself have not used loop with textfields yet, only with links. In that case I have not provided the encoder at all, but used the default. I don't know whether this works with looped textfields. Maybe it is at least worth a try leaving the encoder-param out. Regards, nillehammer ----- original Nachricht -------- Betreff: Primary key encoding for a Loop with form components Gesendet: Fr, 19. Jun 2009 Von: Charles Coleman<ccole...@email.unc.edu> > The approach suggested here is to provide a PrimaryKeyEncoder: > > http://tapestry.apache.org/tapestry5/tapestry-core/ref/org/apache/tapestry5/ > corelib/components/Loop.html > > But, PrimaryKeyEncoder is deprecated in the stable 5.1 version. What is > the recommended method currently? > > Thanks, > Charles Coleman > > -- > Charles Coleman > Academic Applications Developer > Office of Arts & Sciences Information Services > University Of North Carolina at Chapel Hill > CB 3056, 06 Howell Hall > Chapel Hill, NC 27599-3056 > 919.448.5005 (Direct Line) > ccole...@email.unc.edu > AIM: oasisccoleman > http://oasis.unc.edu/ > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > > --- original Nachricht Ende ---- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org