You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Tekin Biçer <te...@gmail.com> on 2006/02/19 11:55:08 UTC

Tree2 navigation problem.

Hello,
I've trouble at Tree2 component. I integrated Struts(with Tiles) JSF and
started to reimplement project.I want to use Tree2 component at a page
(body_list.jsp) which extends template.jsp (defined at tiles). but when i
wanted to navigate at tree, it takes me to template.jsp.

I looked source of the html page and i saw that

<form id="bodySub:foo" name="bodySub:foo" method="post"
                action="/project/faces/template.jsp"
                enctype="application/x-www-form-urlencoded">

action attribute shows template.jsp which is the base page of project.
i think action attribute shows wrong page...

Here is my tiles:

<tiles-definitions>
<definition name=".base_Def" path="/faces/template.jsp">
<put name="header" value="/header.jsp"/>
</definition>

<definition name=".list_Def" extends=".base_Def">
<put name="body-content" value="/body_list.jsp"></put>
</definition>

How can i solve the problem, any idea?
Best regards.

Struts 1.3
MyFaces 1.1.1

Tekin Biçer

Re: Tree2 navigation problem.

Posted by Tekin Biçer <te...@gmail.com>.
It is same as the tree2 example code (TreeBacker.java)..Also at my jsp page
i use the same code as Tree2 example jsp. I think main difference is tiles.

I can see the
[+]Inbox (2)
 but when i clicked plus sign, it takes me to template.jsp page where all
pages extend.

On 2/20/06, Sean Schofield <se...@gmail.com> wrote:
>
> What does your tree code look like?  Specifically the navigation code?
>
> Sean
>

Re: Tree2 navigation problem.

Posted by Sean Schofield <se...@gmail.com>.
What does your tree code look like?  Specifically the navigation code?

Sean

On 2/20/06, Tekin Biçer <te...@gmail.com> wrote:
> Sorry, it was received...
>  No answer to my problem?
>

Re: Tree2 navigation problem.

Posted by Tekin Biçer <te...@gmail.com>.
Sorry, it was received...
No answer to my problem?

Tree2 navigation problem.

Posted by Tekin Biçer <te...@gmail.com>.
Hello,
I've trouble at Tree2 component. I integrated Struts(with Tiles) JSF and
started to reimplement project.I want to use Tree2 component at a page
(body_list.jsp) which extends template.jsp (defined at tiles). but when i
wanted to navigate at tree, it takes me to template.jsp.

I looked source of the html page and i saw that

<form id="bodySub:foo" name="bodySub:foo" method="post"
                action="/project/faces/template.jsp"
                enctype="application/x-www-form-urlencoded">

action attribute shows template.jsp which is the base page of project.
i think action attribute shows wrong page...

Here is my tiles:

<tiles-definitions>
<definition name=".base_Def" path="/faces/template.jsp">
<put name="header" value="/header.jsp"/>
</definition>

<definition name=".list_Def" extends=".base_Def">
<put name="body-content" value="/body_list.jsp"></put>
</definition>

How can i solve the problem, any idea?
Best regards.

Struts 1.3
MyFaces 1.1.1



-This is the second time, i'm sending this mail.I think it isn't received at
first.

Tekin Biçer