I have
<navigation-case>
            <from-outcome>nav_createProject</from-outcome>
            <to-view-id>/project/createProject.jsp</to-view-id>
</navigation-case>
And I have a menu with :
<x:navigationMenuItem id = "nav_2_1_1" itemLabel="#{messages['nav_createProject']}" action="">
But I get :
2005-10-04 12:00:16 StandardContext[/hamyar]No Renderer found for component {Component-Path : [Class: javax.faces.component.UIViewRoot,ViewId: /project/createProject.jsp]} (component-family=javax.faces.ViewRoot, renderer-type=javax.faces.Grid)

typing the /project/createProject.jsf at the address bar working perfect!



On 9/29/05, Simon Kitching <[EMAIL PROTECTED]> wrote:
Arash Bijanzadeh wrote:
> I could not figure out what shall I use in the action tag of jscookmenu?
> I couldn't figure out what nav_page1 or go_page1 means in the config
> file and the menu handlers!

The action string in jscookmenu can be a literal string, in which case
you write a navigation rule in the faces-config.xml:

<navigation-rule>
   <navigation-case>
     <from-outcome>go_page1</from-outcome>
     <to-view-id>/jsp/pages/page1.jsp</to-view-id>
   </navigation-case>
</snavigation-rule>

It can also be a binding to an action method:
   action=""
where the menuBean  managed bean has:
   public String navigate() {
     // calculate destination
     return "go_page1";
   }

Regards,

Simon



--
from debian manifesto:
Debian Linux is a brand-new kind of Linux distribution.
Rather than being developed by one isolated individua
l or group, as other distributions of Linux have been developed in the
past, Debian is being developed openly in the spirit of Linux and GNU.

Reply via email to