Hey, Thankyou Mat...., I really forgot to keep those components(commandLink, and commandButton) inside <af:form>, Thankyou for reminding me,, It worked normally,now. But I'm not able to get the methods that I write in the backing beans invoked! How to get that done ?
Regards, Samba. On 9/11/06, Matthias Wessendorf <[EMAIL PROTECTED]> wrote:
don't you have a form component ? On 9/11/06, Samba <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> wrote: > > > > what are you doing? > > please provide some code. > > (it's working for me ;) ) > > > > On 9/11/06, Samba <[EMAIL PROTECTED]> 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
-- Vuntaanu... Samba.
