<h:commandButton action="displayRegPart" value="#{agency.lwbackword}"/>

where displayRegPart is an outcome defined in your faces-config.xml file
as leading to /regpart.jsf:

<from-outcome>displayRegPart</from-outcome>
<to-view-id>/regpart.jsf</to-view-id>

- Brendan

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Monday, October 24, 2005 6:29 PM
To: users@myfaces.apache.org
Subject: command button for link



What is the correct usage of command button for a link?

<h:commandButton action="/regpart.jsf" value="#{agency.lwbackword}" />

does not work.

Reply via email to