I use this

<h:commandButton value="#{bundle.back}"
onclick="javascript:history.back();return false;"/>

It works fine for me.


Nitin

--- dancantong <[EMAIL PROTECTED]> wrote:

> 
> Hi!
> I wonder if it's possible to create a JSF button
> that redirects to a link
> and doesn't submit the form.
> I need this because I'm using ICEFaces and I would
> like to include a back
> button that doesn't submit the form (the form is
> validated in real time with
> AJAX).
> I know there is an outputLink tag that does it but I
> would like to have a
> button instead.
> -- 
> View this message in context:
>
http://www.nabble.com/How-to-create-a-button-that-doesn%27t-submit-a-form-tp15732524p15732524.html
> Sent from the MyFaces - Users mailing list archive
> at Nabble.com.
> 
> 



      
____________________________________________________________________________________
Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  
http://tools.search.yahoo.com/newsearch/category.php?category=shopping

Reply via email to