because it is a link list, not a word list. just chaining strings in an iterator would not be too hard, even for me ;-)
igor.vaynberg wrote: > > if all you are doing is generating a comma separater list of words why > not do that in the model and simply use a label to spit it out instead > of a bunch of labels inside a listview > > -igor > > On Tue, Jul 8, 2008 at 9:46 AM, pixologe <[EMAIL PROTECTED]> wrote: >> >> Hi everybody, >> This is probably quite easy, but I do not seem to be able to find an >> elegant >> solution for this, so if anyone could give me a hint, I would highly >> appreciate it... >> >> I'd like to have a comma-separated link list with variable number of >> items >> generated by wicket. >> The link list is not a problem, just a link in the template and a >> listview >> applied to it: >> # asdf >> >> But what is a neat way to get the commas inbetween? My idea was to have a >> template like this: >> # asdf , >> A listview could be applied to "linklistitem" while "separator" could be >> set >> invisible for the last item in the list... >> >> But this seems quite complicated to me, is there something more elegant >> than >> this? Perhaps a way to add a String between to items of a listview when >> the >> view is being rendered? >> >> Thanks in advance :) >> -- >> View this message in context: >> http://www.nabble.com/Building-a-dynamic-comma-separated-link-list-tp18343730p18343730.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] > > > -- View this message in context: http://www.nabble.com/Building-a-dynamic-comma-separated-link-list-tp18343730p18344681.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]
