[opencms-dev] ${number} not working with cms:contenload?

Nikolaus Bauman nbauman at dynamicquest.com
Mon Mar 24 20:19:30 CET 2008


Hi,

I have a list of items for sale that I'm creating using code based off of
the xmlContentDemo. It works as intended, except when I create new items.
When I click on the plus symbol to add an xml item it creates an xml doc,
but ignores the fact that I have the macro ${number} in the filename. For
instance, when I load the content I use the code below:

<cms:contentload collector="allInFolderDateReleasedDesc"
param="/usedequipment/pneumatic_${number}.html|xmlcontent" editable="true">

Instead of creating pneumatic_000x.html, it simply creates pneumatic_.html;
this prevents me from creating more than one document. Any insight as to how
this macro could be ignored?

Thank,
Nikolaus 






More information about the opencms-dev mailing list