2 Replies Latest reply on Apr 28, 2009 1:35 PM by Ingo Wurzer

    why s:button doesn't work

    Ingo Wurzer Newbie


      I've a here a code snipplet which doesn't work - but I dont know why...
      The target is to cancel a action and go back to the index.xhtml view.
      Neither the button inside the form nor the one outside works. But the s:link works?!?!?!
      (And I need a button design)

      <h:form id="location" style="width: 700px;">
              <s:button view="/index.xhtml"  value="cancel1" propagation="end"/>
      <s:button view="/index.xhtml" value="cancel2" propagation="end" />
      <s:link view="/index.xhtml" value="cancel3" propagation="end" />

      Thanks a lot!