On Fri, Apr 18, 2008 at 5:17 AM, i ii <[EMAIL PROTECTED]> wrote: > ... > add(new Label("attendee-names", new StringResourceModel("attendees.names", > this, null, new Object[]{ attendees }))); > > desired output: > All attendees include: Attendee 1 Attendee 2 Attendee 3
Cool, I just had to do something similar yesterday. I ended up extending Label and in the super() call I pass in a new StringResourceModel, where the StringResourceModel's model is another Model that performs custom text processing, in your case a concat. Since I use this new Label extension in numerous places, custom String processing is nicely encapsulated. Enrique --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]