The parameter action="somewhere" is referring to an <from-outcome> defined in your faces-config.xml, therefore you can't directly address your regpart.jsf.
A navigation rule like

        <navigation-rule>
                <from-view-id>*</from-view-id>
                <navigation-case>
                        <from-outcome>regpart</from-outcome>
                        <to-view-id>/regpart.jsf</to-view-id>
                        <redirect />
                </navigation-case>
        </navigation-rule>

with an commandButton like

<h:commandButton action="regpart" value="your text"/>

should work.

[EMAIL PROTECTED] wrote:
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