You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by bo...@apache.org on 2008/03/13 13:26:32 UTC
svn commit: r636740 -
/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/internal/taglib/TagUtils.java
Author: bommel
Date: Thu Mar 13 05:26:27 2008
New Revision: 636740
URL: http://svn.apache.org/viewvc?rev=636740&view=rev
Log:
(TOBAGO-637) Generate Components, JSP Tags from annotations
Just commited current state. I think 60% of the work is done.
Modified:
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/internal/taglib/TagUtils.java
Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/internal/taglib/TagUtils.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/internal/taglib/TagUtils.java?rev=636740&r1=636739&r2=636740&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/internal/taglib/TagUtils.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/internal/taglib/TagUtils.java Thu Mar 13 05:26:27 2008
@@ -163,7 +163,8 @@
public static void setActionMethodBinding(UIComponent component, String value, Class[] args) {
if (value != null) {
if (UIComponentTag.isValueReference(value)) {
- MethodBinding methodBinding = FacesContext.getCurrentInstance().getApplication().createMethodBinding(value, args);
+ MethodBinding methodBinding =
+ FacesContext.getCurrentInstance().getApplication().createMethodBinding(value, args);
((ActionSource) component).setAction(methodBinding);
} else {
((ActionSource) component).setAction(new ConstantMethodBinding(value));