Hey Dave, That helps a lot, thanks!
Do you know if the childCollectionProperty has to be a Set, or can it be anything that implements the Collection interface? Also, is there any way to force childCollectionProperty to look in the action class containing the rootNode object, or does the set of children *have* to be a property of the rootNode object? -Brian On 3/19/07, Dave Newton <[EMAIL PROTECTED]> wrote:
--- Brian Thompson <[EMAIL PROTECTED]> wrote: > [... <s:tree.../> issues] <s:tree theme="ajax" rootNode="%{rootNode}" childCollectionProperty="children" nodeIdProperty="id" nodeTitleProperty="name" treeSelectedTopic="treeSelected" toggle="explode" toggleDuration="0" cssClass="bptree" id="bptree"> </s:tree> In my case, rootNode is a Hibernate POJO that has a <set name="children".../> mapping element with each element being the same type as the rootNode. So the pseudo-class for rootNode is: public class MyPojo { // <s:tree.../> nodeIdProperty attribute @property Long id; // <s:tree.../> nodeTitleProperty attribute @property String name; // <s:tree.../> childCollectionProperty attribute @property Set<MyPojo> children; } Does that help? d.