You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by Istvan Zakar <is...@gmail.com> on 2005/12/05 12:53:42 UTC

Contrib:tree render problem

Hello!

I hope i'm sending this message to the right place. I've tried to
figure out how to use contrib:tree in tapestry 4. I've managed to
display a tree, and I can expand the root node, but when I try to
expand the following node the whole tree collapses.

Please help me :)

Best Regards,
   Istvan

---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org


Re: Contrib:tree render problem

Posted by Jesse Kuhnert <jk...@gmail.com>.
Don't use that tree, use the one at http://tacos.sourceforge.net.

On 12/5/05, Istvan Zakar <is...@gmail.com> wrote:
>
> Hi again! I've forgotten to paste the code, maybe someone can help me
> solve the problem, thanks.
>
> Home.html:
> <html jwcid="@Shell" title="Using The Tapestry Tree Control">
> <body jwcid="@Body">
>     <h1>First Tree</h1>
>
>                 <span class="tree" jwcid="treeView">
>                     <span jwcid="treeDataView">
>                         <span jwcid="treeNodeView"/>
>                     </span>
>                 </span>
>                                 <span jwcid="info"/>
>
> </body>
> </html>
>
> Home.page:
> <?xml version="1.0"?>
> <!DOCTYPE page-specification PUBLIC
>         "-//Apache Software Foundation//Tapestry Specification 4.0//EN"
>         "http://jakarta.apache.org/tapestry/dtd/Tapestry_4_0.dtd">
>
> <page-specification class="com.ttdev.newtree3v4.FirstTreePage">
>
>     <component id="treeView" type="contrib:TreeView">
>         <binding name="treeModel" value="treeModel"/>
>         <binding name="treeStateListener" value="treeStateListener"/>
>     </component>
>
>     <component id="treeDataView" type="contrib:TreeDataView">
>         <binding name="treeView" value="components.treeView"/>
>         <binding name="value" value="value"/>
>     </component>
>
>     <component id="treeNodeView" type="contrib:TreeNodeView">
>         <binding name="treeDataView" value="components.treeDataView"/>
>         <binding name="makeNodeDirect" value="true"/>
>                 <binding name="nodeRenderFactory" value="renderFactory"/>
>                 <binding name="showNodeImages" value="false"/>
>     </component>
>
>         <component id="info" type="Insert">
>                 <binding name="value" value="lastNodeSelectedMsg"/>
>         </component>
>
> </page-specification>
>
> FirstTreePage.java:
> public class FirstTreePage extends BasePage implements ITreeStateListener
> {
>         private ITreeDataModel treeDataModel;
>
>         private ITreeModel treeModel;
>
>         private Object value;
>
>         public FirstTreePage() {
>                 treeModel=null;
>         }
>         public INodeRenderFactory getRenderFactory()
>     {
>         //System.out.println("getRenderFactory");
>         return new SimpleNodeRenderFactory();
>     }
>
>         public void attach(IEngine value,IRequestCycle cycle) {
>                 super.attach(value,cycle);
>         }
>
>         public void detach() {
>                 super.detach();
>                 treeDataModel = null;
>                 value = null;
>         }
>
>         public ITreeStateListener getTreeStateListener() {
>                 System.out.println("getTreeStateListener");
>                 return this;
>         }
>
>         /*
>          * @see
> org.apache.tapestry.contrib.tree.model.ITreeStateListener#treeStateChanged
> (org.apache.tapestry.contrib.tree.model.TreeStateEvent)
>          */
>         public void treeStateChanged(TreeStateEvent objEvent) {
>                 System.out.println("TreeStateChanged");
>         // Get the StringTreeNode object that was selected
>         TreeView treeView = (TreeView)getComponent("treeView");
>         if(treeView != null){
>             ITreeDataModel thisTreeDataModel =
> treeView.getTreeModel().getTreeDataModel();
>             Object selectedNode =
> thisTreeDataModel.getObject(objEvent.getNodeUID());
>             if(selectedNode instanceof StringTreeNode){
>
>                lastNodeSelectedValue =
> ((StringTreeNode)selectedNode).getValue();
>
>             }
>         } else { // This shouldn't happen
>             lastNodeSelectedValue = objEvent.getNodeUID().toString();
>         }
>         }
>
>     String lastNodeSelectedValue;
>     public String getLastNodeSelectedMsg()
>     {
>         if(lastNodeSelectedValue==null){
>             return null;
>         }
>         return lastNodeSelectedValue + " was the last node selected.";
>     }
>    /**
>      * Get the TreeModel that contains the nodes to be rendered
>      *
>      * @return ITreeModel
>      */
>      public ITreeModel getTreeModel() {
>          System.out.println("GetTreeModell");
>          if (treeModel == null) {
>
>
>             // Create and "connect" all the nodes
>             TreeNode node1 = new StringTreeNode("Root Node",1);
>             TreeNode node2 = new StringTreeNode("Child One",2);
>             TreeNode node2a = new StringTreeNode("Grandchild One",3);
>             node2.insert(node2a);
>             node1.insert(node2);
>             TreeNode node3 = new StringTreeNode("Child Two",4);
>             TreeNode node3a = new StringTreeNode("GrandChild Two",5);
>             node3.insert(node3a);
>             TreeNode node3a1 = new StringTreeNode("Great Grandchild
> One",6);
>             node3a.insert(node3a1);
>             node1.insert(node3);
>
>             // Wrap the root node in a SimpleTreeDataModel
>             treeDataModel = new SimpleTreeDataModel(node1);
>             // Wrap the SimpleTreeDataModel in a SimpleTreeModel
>             treeModel = new SimpleTreeModel(treeDataModel);
>          }
>          return treeModel;
>      }
> }
>
>
>
> 2005/12/5, Istvan Zakar <is...@gmail.com>:
> > Hello!
> >
> > I hope i'm sending this message to the right place. I've tried to
> > figure out how to use contrib:tree in tapestry 4. I've managed to
> > display a tree, and I can expand the root node, but when I try to
> > expand the following node the whole tree collapses.
> >
> > Please help me :)
> >
> > Best Regards,
> >    Istvan
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org
>
>

Re: Fwd: Contrib:tree render problem

Posted by Viktor Matic <vi...@inge-mark.hr>.
I'am having exactly same problem. Did you managed to resolve this issue? 




---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org


Fwd: Contrib:tree render problem

Posted by Istvan Zakar <is...@gmail.com>.
Hello!

On the dev list suggested me to ask this question here. Can somebody
help me, how the contrib:tree works? If somebody was able to render a
contrib:tree properly pls tell me what I am doing wrong.

> I've tried to
> figure out how to use contrib:tree in tapestry 4. I've managed to
> display a tree, and I can expand the root node, but when I try to
> expand the following node the whole tree collapses.
>
> Please help me :)
>
> Best Regards,
>    Istvan


Hi again! I've forgotten to paste the code, maybe someone can help me
solve the problem, thanks.

Home.html:
<html jwcid="@Shell" title="Using The Tapestry Tree Control">
<body jwcid="@Body">
    <h1>First Tree</h1>

                <span class="tree" jwcid="treeView">
                    <span jwcid="treeDataView">
                        <span jwcid="treeNodeView"/>
                    </span>
                </span>
                                <span jwcid="info"/>

</body>
</html>

Home.page:
<?xml version="1.0"?>
<!DOCTYPE page-specification PUBLIC
        "-//Apache Software Foundation//Tapestry Specification 4.0//EN"
        "http://jakarta.apache.org/tapestry/dtd/Tapestry_4_0.dtd">

<page-specification class="com.ttdev.newtree3v4.FirstTreePage">

    <component id="treeView" type="contrib:TreeView">
        <binding name="treeModel" value="treeModel"/>
        <binding name="treeStateListener" value="treeStateListener"/>
    </component>

    <component id="treeDataView" type="contrib:TreeDataView">
        <binding name="treeView" value="components.treeView"/>
        <binding name="value" value="value"/>
    </component>

    <component id="treeNodeView" type="contrib:TreeNodeView">
        <binding name="treeDataView" value="components.treeDataView"/>
        <binding name="makeNodeDirect" value="true"/>
                <binding name="nodeRenderFactory" value="renderFactory"/>
                <binding name="showNodeImages" value="false"/>
    </component>

        <component id="info" type="Insert">
                <binding name="value" value="lastNodeSelectedMsg"/>
        </component>

</page-specification>

FirstTreePage.java:
public class FirstTreePage extends BasePage implements ITreeStateListener {
        private ITreeDataModel treeDataModel;

        private ITreeModel treeModel;

        private Object value;

        public FirstTreePage() {
                treeModel=null;
        }
        public INodeRenderFactory getRenderFactory()
    {
        //System.out.println("getRenderFactory");
        return new SimpleNodeRenderFactory();
    }

        public void attach(IEngine value,IRequestCycle cycle) {
                super.attach(value,cycle);
        }

        public void detach() {
                super.detach();
                treeDataModel = null;
                value = null;
        }

        public ITreeStateListener getTreeStateListener() {
                System.out.println("getTreeStateListener");
                return this;
        }

        /*
         * @see
org.apache.tapestry.contrib.tree.model.ITreeStateListener#treeStateChanged(org.apache.tapestry.contrib.tree.model.TreeStateEvent)
         */
        public void treeStateChanged(TreeStateEvent objEvent) {
                System.out.println("TreeStateChanged");
        // Get the StringTreeNode object that was selected
        TreeView treeView = (TreeView)getComponent("treeView");
        if(treeView != null){
            ITreeDataModel thisTreeDataModel =
treeView.getTreeModel().getTreeDataModel();
            Object selectedNode =
thisTreeDataModel.getObject(objEvent.getNodeUID());
            if(selectedNode instanceof StringTreeNode){

               lastNodeSelectedValue =
((StringTreeNode)selectedNode).getValue();

            }
        } else { // This shouldn't happen
            lastNodeSelectedValue = objEvent.getNodeUID().toString();
        }
        }

    String lastNodeSelectedValue;
    public String getLastNodeSelectedMsg()
    {
        if(lastNodeSelectedValue==null){
            return null;
        }
        return lastNodeSelectedValue + " was the last node selected.";
    }
   /**
     * Get the TreeModel that contains the nodes to be rendered
     *
     * @return ITreeModel
     */
     public ITreeModel getTreeModel() {
         System.out.println("GetTreeModell");
         if (treeModel == null) {


            // Create and "connect" all the nodes
            TreeNode node1 = new StringTreeNode("Root Node",1);
            TreeNode node2 = new StringTreeNode("Child One",2);
            TreeNode node2a = new StringTreeNode("Grandchild One",3);
            node2.insert(node2a);
            node1.insert(node2);
            TreeNode node3 = new StringTreeNode("Child Two",4);
            TreeNode node3a = new StringTreeNode("GrandChild Two",5);
            node3.insert(node3a);
            TreeNode node3a1 = new StringTreeNode("Great Grandchild One",6);
            node3a.insert(node3a1);
            node1.insert(node3);

            // Wrap the root node in a SimpleTreeDataModel
            treeDataModel = new SimpleTreeDataModel(node1);
            // Wrap the SimpleTreeDataModel in a SimpleTreeModel
            treeModel = new SimpleTreeModel(treeDataModel);
         }
         return treeModel;
     }
}

---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org


Re: Contrib:tree render problem

Posted by Istvan Zakar <is...@gmail.com>.
Hi again! I've forgotten to paste the code, maybe someone can help me
solve the problem, thanks.

Home.html:
<html jwcid="@Shell" title="Using The Tapestry Tree Control">
<body jwcid="@Body">
    <h1>First Tree</h1>

                <span class="tree" jwcid="treeView">
                    <span jwcid="treeDataView">
                        <span jwcid="treeNodeView"/>
                    </span>
                </span>
				<span jwcid="info"/>

</body>
</html>

Home.page:
<?xml version="1.0"?>
<!DOCTYPE page-specification PUBLIC
	"-//Apache Software Foundation//Tapestry Specification 4.0//EN"
	"http://jakarta.apache.org/tapestry/dtd/Tapestry_4_0.dtd">

<page-specification class="com.ttdev.newtree3v4.FirstTreePage">

    <component id="treeView" type="contrib:TreeView">
        <binding name="treeModel" value="treeModel"/>
        <binding name="treeStateListener" value="treeStateListener"/>
    </component>

    <component id="treeDataView" type="contrib:TreeDataView">
        <binding name="treeView" value="components.treeView"/>
        <binding name="value" value="value"/>
    </component>

    <component id="treeNodeView" type="contrib:TreeNodeView">
        <binding name="treeDataView" value="components.treeDataView"/>
        <binding name="makeNodeDirect" value="true"/>
		<binding name="nodeRenderFactory" value="renderFactory"/>
		<binding name="showNodeImages" value="false"/>
    </component>
	
	<component id="info" type="Insert">
		<binding name="value" value="lastNodeSelectedMsg"/>
	</component>

</page-specification>

FirstTreePage.java:
public class FirstTreePage extends BasePage implements ITreeStateListener {
	private ITreeDataModel treeDataModel;

	private ITreeModel treeModel;

	private Object value;
	
	public FirstTreePage() {
		treeModel=null;
	}
	public INodeRenderFactory getRenderFactory()
    {
    	//System.out.println("getRenderFactory");
        return new SimpleNodeRenderFactory();
    }
	
	public void attach(IEngine value,IRequestCycle cycle) {
		super.attach(value,cycle);
	}

	public void detach() {
		super.detach();
		treeDataModel = null;
		value = null;
	}

	public ITreeStateListener getTreeStateListener() {
		System.out.println("getTreeStateListener");
		return this;
	}

	/*
	 * @see org.apache.tapestry.contrib.tree.model.ITreeStateListener#treeStateChanged(org.apache.tapestry.contrib.tree.model.TreeStateEvent)
	 */
	public void treeStateChanged(TreeStateEvent objEvent) {
		System.out.println("TreeStateChanged");
        // Get the StringTreeNode object that was selected
        TreeView treeView = (TreeView)getComponent("treeView");
        if(treeView != null){
            ITreeDataModel thisTreeDataModel =
treeView.getTreeModel().getTreeDataModel();
            Object selectedNode =
thisTreeDataModel.getObject(objEvent.getNodeUID());
            if(selectedNode instanceof StringTreeNode){
            	
               lastNodeSelectedValue =
((StringTreeNode)selectedNode).getValue();

            }
        } else { // This shouldn't happen
            lastNodeSelectedValue = objEvent.getNodeUID().toString();
        }
	}

    String lastNodeSelectedValue;
    public String getLastNodeSelectedMsg()
    {
        if(lastNodeSelectedValue==null){
            return null;
        }
        return lastNodeSelectedValue + " was the last node selected.";
    }
   /**
     * Get the TreeModel that contains the nodes to be rendered
     *
     * @return ITreeModel
     */
     public ITreeModel getTreeModel() {
    	 System.out.println("GetTreeModell");
         if (treeModel == null) {


            // Create and "connect" all the nodes
            TreeNode node1 = new StringTreeNode("Root Node",1);
            TreeNode node2 = new StringTreeNode("Child One",2);
            TreeNode node2a = new StringTreeNode("Grandchild One",3);
            node2.insert(node2a);
            node1.insert(node2);
            TreeNode node3 = new StringTreeNode("Child Two",4);
            TreeNode node3a = new StringTreeNode("GrandChild Two",5);
            node3.insert(node3a);
            TreeNode node3a1 = new StringTreeNode("Great Grandchild One",6);
            node3a.insert(node3a1);
            node1.insert(node3);

            // Wrap the root node in a SimpleTreeDataModel
            treeDataModel = new SimpleTreeDataModel(node1);
            // Wrap the SimpleTreeDataModel in a SimpleTreeModel
            treeModel = new SimpleTreeModel(treeDataModel);
         }
         return treeModel;
     }
}



2005/12/5, Istvan Zakar <is...@gmail.com>:
> Hello!
>
> I hope i'm sending this message to the right place. I've tried to
> figure out how to use contrib:tree in tapestry 4. I've managed to
> display a tree, and I can expand the root node, but when I try to
> expand the following node the whole tree collapses.
>
> Please help me :)
>
> Best Regards,
>    Istvan
>

---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org


Re: Contrib:tree render problem

Posted by Norbert Sándor <de...@erinors.com>.
+1 :)
The contrib library seems to be very obsolete (Tree, FormConditional, etc.).

This depends on how 4.1 will support AJAX as a core service. (Some 
components in tacos are "copy-pasted" from the framework/contrib library 
(like Form, Palette) which may make future synchronization of the 
development very difficult!)

BR,
Norbi

----- Original Message ----- 
From: "Leonardo Quijano Vincenzi" <le...@dtqsoftware.com>
To: "Tapestry development" <ta...@jakarta.apache.org>
Sent: Monday, December 05, 2005 3:53 PM
Subject: Re: Contrib:tree render problem


>I really really really think we should consolidate core Tapestry component 
>support in one project!
>
> my 2 cents,
>
> -- 
> Ing. Leonardo Quijano Vincenzi
> DTQ Software
>
>
> Istvan Zakar wrote:
>> But I had a big problem with tacos tree. It really often ran out of
>> memory, think I made something wrong, but I wasn't able to figure out
>> what...
>>
>> So there is no way to make contrib:tree work?
>>
>> Istvan
>>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org
>
>
>
>
>
> -- 
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.1.362 / Virus Database: 267.13.11/191 - Release Date: 2005. 12. 
> 02.
>
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org


Re: Contrib:tree render problem

Posted by Leonardo Quijano Vincenzi <le...@dtqsoftware.com>.
I really really really think we should consolidate core Tapestry 
component support in one project!

my 2 cents,

-- 
Ing. Leonardo Quijano Vincenzi
DTQ Software


Istvan Zakar wrote:
> But I had a big problem with tacos tree. It really often ran out of
> memory, think I made something wrong, but I wasn't able to figure out
> what...
>
> So there is no way to make contrib:tree work?
>
> Istvan
>   



---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org


Re: Contrib:tree render problem

Posted by Norbert Sándor <de...@erinors.com>.
I tried contrib:tree very long ago. Sorry...

But I have no memory problem with tacos:tree.
In the demo app it creates a huge filesystem tree which works fine in a JVM 
with 64M heap. (Tested only with 1 user ;)

BR,
Norbi

----- Original Message ----- 
From: "Istvan Zakar" <is...@gmail.com>
To: "Tapestry development" <ta...@jakarta.apache.org>
Sent: Monday, December 05, 2005 3:43 PM
Subject: Re: Contrib:tree render problem


But I had a big problem with tacos tree. It really often ran out of
memory, think I made something wrong, but I wasn't able to figure out
what...

So there is no way to make contrib:tree work?

Istvan

2005/12/5, Norbert Sándor <de...@erinors.com>:
> Use Tacos:Tree instead of Contrib:Tree.
> Tacos is more actively maintained and supports AJAX, etc...
>
> BR,
> Norbi
>
> ----- Original Message -----
> From: "Istvan Zakar" <is...@gmail.com>
> To: <ta...@jakarta.apache.org>
> Sent: Monday, December 05, 2005 12:53 PM
> Subject: Contrib:tree render problem
>
>
> Hello!
>
> I hope i'm sending this message to the right place. I've tried to
> figure out how to use contrib:tree in tapestry 4. I've managed to
> display a tree, and I can expand the root node, but when I try to
> expand the following node the whole tree collapses.
>
> Please help me :)
>
> Best Regards,
>    Istvan
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org
>
>
>
>
>
> --
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.1.362 / Virus Database: 267.13.11/191 - Release Date: 2005. 12.
> 02.
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org





-- 
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.362 / Virus Database: 267.13.11/191 - Release Date: 2005. 12. 
02.


---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org


Re: Contrib:tree render problem

Posted by Norbert Sándor <de...@erinors.com>.
You should send your question to the user list, not the development.
Maybe somebody uses contrib:tree and can answer your question...

BR,
Norbi

----- Original Message ----- 
From: "Istvan Zakar" <is...@gmail.com>
To: "Tapestry development" <ta...@jakarta.apache.org>
Sent: Monday, December 05, 2005 3:43 PM
Subject: Re: Contrib:tree render problem


But I had a big problem with tacos tree. It really often ran out of
memory, think I made something wrong, but I wasn't able to figure out
what...

So there is no way to make contrib:tree work?

Istvan

2005/12/5, Norbert Sándor <de...@erinors.com>:
> Use Tacos:Tree instead of Contrib:Tree.
> Tacos is more actively maintained and supports AJAX, etc...
>
> BR,
> Norbi
>
> ----- Original Message -----
> From: "Istvan Zakar" <is...@gmail.com>
> To: <ta...@jakarta.apache.org>
> Sent: Monday, December 05, 2005 12:53 PM
> Subject: Contrib:tree render problem
>
>
> Hello!
>
> I hope i'm sending this message to the right place. I've tried to
> figure out how to use contrib:tree in tapestry 4. I've managed to
> display a tree, and I can expand the root node, but when I try to
> expand the following node the whole tree collapses.
>
> Please help me :)
>
> Best Regards,
>    Istvan
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org
>
>
>
>
>
> --
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.1.362 / Virus Database: 267.13.11/191 - Release Date: 2005. 12.
> 02.
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org





-- 
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.362 / Virus Database: 267.13.11/191 - Release Date: 2005. 12. 
02.


---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org


Re: Contrib:tree render problem

Posted by Istvan Zakar <is...@gmail.com>.
But I had a big problem with tacos tree. It really often ran out of
memory, think I made something wrong, but I wasn't able to figure out
what...

So there is no way to make contrib:tree work?

Istvan

2005/12/5, Norbert Sándor <de...@erinors.com>:
> Use Tacos:Tree instead of Contrib:Tree.
> Tacos is more actively maintained and supports AJAX, etc...
>
> BR,
> Norbi
>
> ----- Original Message -----
> From: "Istvan Zakar" <is...@gmail.com>
> To: <ta...@jakarta.apache.org>
> Sent: Monday, December 05, 2005 12:53 PM
> Subject: Contrib:tree render problem
>
>
> Hello!
>
> I hope i'm sending this message to the right place. I've tried to
> figure out how to use contrib:tree in tapestry 4. I've managed to
> display a tree, and I can expand the root node, but when I try to
> expand the following node the whole tree collapses.
>
> Please help me :)
>
> Best Regards,
>    Istvan
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org
>
>
>
>
>
> --
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.1.362 / Virus Database: 267.13.11/191 - Release Date: 2005. 12.
> 02.
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org


Re: Contrib:tree render problem

Posted by Norbert Sándor <de...@erinors.com>.
Use Tacos:Tree instead of Contrib:Tree.
Tacos is more actively maintained and supports AJAX, etc...

BR,
Norbi

----- Original Message ----- 
From: "Istvan Zakar" <is...@gmail.com>
To: <ta...@jakarta.apache.org>
Sent: Monday, December 05, 2005 12:53 PM
Subject: Contrib:tree render problem


Hello!

I hope i'm sending this message to the right place. I've tried to
figure out how to use contrib:tree in tapestry 4. I've managed to
display a tree, and I can expand the root node, but when I try to
expand the following node the whole tree collapses.

Please help me :)

Best Regards,
   Istvan

---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org





-- 
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.362 / Virus Database: 267.13.11/191 - Release Date: 2005. 12. 
02.



---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org