Is there an easy way to get the data for my tree widget from XML instead of a 
file
structure? I'm reading 
http://cocoon.apache.org/2.1/userdocs/widgets/widget_tree.html
and looking at the samples, and while I think basing a tree on an xml structure 
is
a very cocoon thing to do, I'm getting the impression I'd have to write that
tree-model myself.

What I'd like to be able to do is something like:

    <fd:tree id="foo" selection="multiple|single">
      <fd:tree-model type="xml" src="cocoon://tree.xml">
        <fd:nodes xpath="//node" label="@name"/>
      </fd:tree-model>
    </fd:tree>

Or something along those lines. Doesn't sound too unreasonable, but it looks
like it doesn't exist yet. Or am I wrong?


mcv.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to