incubator-adffaces-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthias Wessendorf" <mat...@apache.org>
Subject Re: Navigation rules not working with Facelets
Date Mon, 11 Sep 2006 10:42:34 GMT
don't you have a form component ?

On 9/11/06, Samba <saasira@gmail.com> wrote:
> Hi!  Matthias,
>
> The following is the code I'm using:
>
> <ui:define name="topmenu">
> <ul>
> <li class="selected"><a href="#">PageOne</a></li>
>
>
> <li><a href="Layout.jsf">Layout</a></li>
> <li><a href="Template.jsf">Template</a></li>
> <li><a href="MultipleTemplateClient.jsf">MultipleTemplateClient</a></li>
>  <af:commandLink text="Home" action="home"/>
> </ul>
>
> </ui:define>
>
> in faces-config.xml,
>  I added the  navigation rule as below:
>
>
>  <navigation-rule>
>     <from-view-id>/PageOne.jspx</from-view-id>
>     <navigation-case>
>       <from-outcome>home</from-outcome>
>       <to-view-id>/Home.jspx</to-view-id>
>     </navigation-case>
>   </navigation-rule>
>
>
> With  direct refence  to the pages it is working and that too with  HTML
> anchor tag it's woking , but not with <af:commandLink>  or
> <af:commandButton>
>
> Is there any  special syntax for getting navigation  rules/ ADF
> CommandLink/Button working?
>
> Thanking you,
> Samba.
>
> On 9/11/06, Matthias Wessendorf <matzew@apache.org> wrote:
> >
> > what are you doing?
> > please provide some code.
> > (it's working for me  ;) )
> >
> > On 9/11/06, Samba <saasira@gmail.com> wrote:
> > > Hi all!
> > >
> > > I'm facing diffculty with page navigation in Facelets Pages.
> > >   I could navigate to the pages if I directly give href attribute of the
> > > HTML link/anchor tags(with .jsf extension). but, I'm not getting the
> > > navigation rules working.
> > >
> > > Is there any special way to get navigation rules working with facelets
> > > pages?
> > >
> > > Thanking you , )(apologising for  that unfortunate  day),
> > > Samba.
> > >
> > >
> >
> >
> > --
> > Matthias Wessendorf
> >
> > further stuff:
> > blog: http://jroller.com/page/mwessendorf
> > mail: mwessendorf-at-gmail-dot-com
> >
>
>
>
> --
> Vuntaanu...
> Samba.
>
>


-- 
Matthias Wessendorf

further stuff:
blog: http://jroller.com/page/mwessendorf
mail: mwessendorf-at-gmail-dot-com

Mime
View raw message