[Helma-user] Small patch for loop macro
Maksim Lin for technical support mailling lists
maksim_lin at ngv.vic.gov.au
Thu May 10 10:07:06 CEST 2007
Hi,
Ever since I discovered the loop macro (via the new reference docs) I've
found it *very* handy but one thing I missed was the ability to set a
prefix/suffix on each individual items skin render. So I've attached a
small patch to add this functionality to HopObject loop macro.
I find it very handy since sometimes I'm rendering items of a collection
as HTML list items, sometimes as options in a select element, sometimes
as just a comma seperated list and this way I can do it all with one
very simple skin.
Maks.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: HopObject-betterloop-patch.diff
Type: application/octet-stream
Size: 1166 bytes
Desc: HopObject-betterloop-patch.diff
Url : http://helma.org/pipermail/helma-user/attachments/20070510/921f2939/attachment.obj
More information about the Helma-user
mailing list