You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "venkat ramanan (JIRA)" <de...@myfaces.apache.org> on 2010/05/25 06:25:25 UTC

[jira] Created: (TRINIDAD-1815) Navigation Handler does not work as expected

Navigation Handler does not work as expected
--------------------------------------------

                 Key: TRINIDAD-1815
                 URL: https://issues.apache.org/jira/browse/TRINIDAD-1815
             Project: MyFaces Trinidad
          Issue Type: Bug
    Affects Versions: 2.0.0-alpha-2
            Reporter: venkat ramanan


Unable to Naviagate using h:button and h:link using Trinidad Navigation Handler .  Also faces-redirect does not work as expected

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (TRINIDAD-1815) Navigation Handler does not work as expected

Posted by "Matthias Weßendorf (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TRINIDAD-1815?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12897694#action_12897694 ] 

Matthias Weßendorf commented on TRINIDAD-1815:
----------------------------------------------

Can you give me a concrete example. 
Also what JSF implementation are you using ?

> Navigation Handler does not work as expected
> --------------------------------------------
>
>                 Key: TRINIDAD-1815
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-1815
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>    Affects Versions: 2.0.0-alpha-2
>            Reporter: venkat ramanan
>
> Unable to Naviagate using h:button and h:link using Trinidad Navigation Handler .  Also faces-redirect does not work as expected

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (TRINIDAD-1815) Navigation Handler does not work as expected

Posted by "Matthias Weßendorf (JIRA)" <de...@myfaces.apache.org>.
     [ https://issues.apache.org/jira/browse/TRINIDAD-1815?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matthias Weßendorf resolved TRINIDAD-1815.
------------------------------------------

    Fix Version/s: 2.0.0.3-core
       Resolution: Cannot Reproduce

used myfaces 2.0.2-SNAPSHOT (built from trunk) and Trinidad 2.0.0.3 (trunk)

The following worked fine.

tester.xhtml:
<?xml version="1.0" encoding="UTF-8"?>
<!--
  Licensed to the Apache Software Foundation (ASF) under one
  or more contributor license agreements.  See the NOTICE file
  distributed with this work for additional information
  regarding copyright ownership.  The ASF licenses this file
  to you under the Apache License, Version 2.0 (the
  "License"); you may not use this file except in compliance
  with the License.  You may obtain a copy of the License at

  http://www.apache.org/licenses/LICENSE-2.0

  Unless required by applicable law or agreed to in writing,
  software distributed under the License is distributed on an
  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  KIND, either express or implied.  See the License for the
  specific language governing permissions and limitations
  under the License.
-->
<html xmlns="http://www.w3.org/1999/xhtml"
       xmlns:h="http://java.sun.com/jsf/html"
       xmlns:tr="http://myfaces.apache.org/trinidad"
       xmlns:trh="http://myfaces.apache.org/trinidad/html">

<trh:head>
       <title>Some title</title>
       <tr:importScript></tr:importScript>
</trh:head>

<trh:body>
<tr:form>

<h:link outcome="tester2.xhtml">
Jo...
</h:link>

</tr:form>
</trh:body>

</html>


==========================================
tester2.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<tr:document xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http://java.sun.com/jsf/html"
       xmlns:tr="http://myfaces.apache.org/trinidad"
       xmlns:trh="http://myfaces.apache.org/trinidad/html" title="Apache Trinidad Demo Index">
       <tr:form>

<h:button outcome="tester.xhtml" value="BACK" />

      </tr:form>
</tr:document> 


==> Note that you don't have to configure Trinidad's NavigationHandler. The framework sets up the pieces for yo

> Navigation Handler does not work as expected
> --------------------------------------------
>
>                 Key: TRINIDAD-1815
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-1815
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>    Affects Versions: 2.0.0-alpha-2
>            Reporter: venkat ramanan
>             Fix For: 2.0.0.3-core
>
>
> Unable to Naviagate using h:button and h:link using Trinidad Navigation Handler .  Also faces-redirect does not work as expected

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.