13 Replies Latest reply on Feb 14, 2008 7:15 AM by Daniel Daniel

    commandLink/commandButton problem

    Daniel Daniel Newbie

      Hello. I am in a portal environment. I am trying to create a link to a new page in my portlet using commandLink or commandButton. My files :

      faces-config


      <navigation-rule>
      <navigation-case>
      <from-outcome>newdocument</from-outcome>
      <to-view-id>/portlets/myportlet/jsf/newdocument.jspx</to-view-id>
      </navigation-case>
      </navigation-rule>


      in my file were the button reside:


      <a4j:form>
      <h:commandLink action="newdocument">
      <h:outputText value="Document nou" />
      </h:commandLink>
      </a4j:form>


      When i click on the link nothing happens. Someone have any idea?