Hi

I read a Wiki page on MyFaces :
http://wiki.apache.org/myfaces/Custom_Navigation_Handler, 

When I attempted to try this receipe, I ran into a couple of issues:

In the Wiki entry it states that I should be able to declare a navigation
rule as follows:

<navigation-rule>
    <from-view-id>/view.jsp</from-view-id>
    <navigation-case>
      <from-outcome>edit</from-outcome>
      <to-view-id>/view.jsp?objectId=#{view.objectId}</to-view-id>
      <redirect />
    </navigation-case>
  </navigation-rule>

However when I tried this with a Shale variant I got errors. First I tried
the following:

<navigation-rule>
  <from-view-id>open$arrangement</from-view-id>
  <navigation-case>
    <from-outcome>marathonside</from-outcome>
 
<to-view-id>/open/marathonside.xml?arrid=#{open$arrangement.arrid}</to-view-
id>
    <redirect />
  </navigation-case>
</navigation-rule>

This gave me: java.lang.RuntimeException: Unable to find file
/open/open/marathonside.xml.

So next I changed to-view-id to:
/marathonside.xml?arrid=#{open$arrangement.arrid}

Which gave me: java.lang.RuntimeException: Unable to find file
/marathonside.xml.

Also, will it resolve the open$arrangement.arrid into a value?

Hermod


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

Reply via email to