[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-674) h:commandLink and action in pages.xml

Gavin King (JIRA) jira-events at jboss.com
Wed Jan 24 20:56:57 EST 2007


    [ http://jira.jboss.com/jira/browse/JBSEAM-674?page=comments#action_12351588 ] 
            
Gavin King commented on JBSEAM-674:
-----------------------------------

I tried this in the booking example and it worked perfectly for me. Are you sure about this??


In hotel.xhtml:

      <h:commandLink id="foo" action="foo" value="Foo"/>

In pages.xml:

	<page view-id="/hotel.xhtml" 
          conversation-required="true">
          
        <description>View hotel: #{hotel.name}</description>
        
        <navigation from-action="#{hotelBooking.bookHotel}">
            <redirect view-id="/book.xhtml"/>
        </navigation>
        
        <navigation>
            <rule if-outcome="foo">
                <end-conversation/>
                <redirect view-id="/main.xhtml"/>
            </rule>
        </navigation>
        
    </page>


> h:commandLink and action in pages.xml
> -------------------------------------
>
>                 Key: JBSEAM-674
>                 URL: http://jira.jboss.com/jira/browse/JBSEAM-674
>             Project: JBoss Seam
>          Issue Type: Bug
>    Affects Versions: 1.1.1.GA
>         Environment: Jboss AS 4.0.5 (MyFaces 1.1.4)
>            Reporter: Peter Muir
>         Assigned To: Gavin King
>             Fix For: 1.1.5.GA
>
>
> <h:commandLink action="foo">Foo</h:commandLink>	doesn't (seem) to work if you have the navigation rule in pages.xml whilst <s:link action="foo">Foo</s:link> does

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the seam-issues mailing list