[opencms-dev] modifing properties of resources returned by contentload

eal at kb.dk eal at kb.dk
Wed Aug 2 16:20:19 CEST 2006


Hi 

I load some resources from the vfs

<cms:contentload collector="${property.collector}" 
param="/my_dir/${property.xml-content}.html|my_artikel" editable="true">

        <h3><cms:contentshow element="Title" /></h3></br>
        <cms:contentshow element="Intro" />
 
</cms:contentload>

But i would like to obtain the priority property  for each resource, and 
modify it by means of a pulldown menu, is this posible?
Like this!!
<cms:contentload collector="${property.collector}" 
param="/my_dir/${property.xml-content}.html|my_artikel" editable="true">

        <h3><cms:contentshow element="Title" /></h3></br>
        <cms:contentshow element="Intro" />
        <form action="list_all">
                <select name="collector.priority">
                        <option value="5">5</option>
                        <option value="4">4</option>
                        <option value="3">3</option>
                        <option value="2">2</option>
                        <option value="1">1</option>
                </select>
                <input type="submit" value="Submit" />
        </form>
        </td></tr><tr><td>
</cms:contentload>

Thanks Eric 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20060802/c5f0f9fc/attachment.htm>


More information about the opencms-dev mailing list