[jboss-cvs] jboss-seam/seam-gen/src ...
Gavin King
gavin.king at jboss.com
Thu Dec 14 05:40:33 EST 2006
User: gavin
Date: 06/12/14 05:40:33
Modified: seam-gen/src FormActionBean.java
Log:
use methodcontext
Revision Changes Path
1.3 +2 -2 jboss-seam/seam-gen/src/FormActionBean.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: FormActionBean.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/seam-gen/src/FormActionBean.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- FormActionBean.java 20 Nov 2006 20:38:53 -0000 1.2
+++ FormActionBean.java 14 Dec 2006 10:40:33 -0000 1.3
@@ -25,8 +25,8 @@
public String @methodName@()
{
//implement your business logic here
- log.info("@componentName at .@methodName@() action called with: #0", value);
- facesMessages.add( "@methodName@ #0", (Object) value );
+ log.info("@componentName at .@methodName@() action called with: #{@componentName at .value}");
+ facesMessages.add("@methodName@ #{@componentName at .value}");
return "success";
}
More information about the jboss-cvs-commits
mailing list