[opencms-dev] Contentload-tag: create new element is creating the wrong filename

Marc Schlegel my.mailing.lists at gmx.de
Wed Jun 25 23:52:48 CEST 2008


Thanks a lot.

I didn't see the first reply

Sebastian Himberger schrieb:
> Hi,
>
> i think Andy Savin already tried to answer:
>
>   
>> Hi,
>>
>> You need to use %(number) instead of ${number}.  I believe this changed
>> when expression language was introduced but the documentation hasn't been
>> update to reflect this as far as I am aware.
>>
>> Regards,
>>
>> Andy
>>     
>
> Marc Schlegel schrieb:
>   
>> Nobody any idea on this.
>>
>> Marc Schlegel schrieb:
>>   
>>     
>>> Hello Everyone
>>>
>>> I am having trouble with my contentload-tag which is this one
>>> <cms:contentload collector="allInFolderPriorityTitleDesc" 
>>> param="/_modules/teams/team_${number}.html|team|20" editable="true">
>>>
>>> So, since it is "editable" I would like to have my people be able to 
>>> create new content without going to the backend. The problem now is, 
>>> that the file which is created when I am doing this is "team_.html" but 
>>> it should add an incremental number like "team_03.html" if it is the 
>>> third file.
>>>
>>> What am I missing here?
>>>
>>> Thanks
>>>
>>>
>>>       




More information about the opencms-dev mailing list