(1) AFAIK This is a bug with the Facelets user manual - it says comments are 
skipped by default, when in fact they aren't.  You need to explicitly set it to 
false.

http://wiki.java.net/bin/view/Projects/FaceletsFAQ#How_do_I_prevent_HTML_comments_f

(3) I would propose the alternative of using immediate="true" on the button but 
keeping it in the form. Both solutions will of course mean the model (entity 
beans) aren't updated. If you just want to cancel out you can just use a button 
with a logical (navigation) outcome for the button e.g. 

<h:commandButton action="home" value="Cancel" />
  | 
  | 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3985352#3985352

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3985352
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to