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/08/07 12:05:52 UTC
svn commit: r683571 -
/myfaces/tobago/branches/tobago-1.0.x/extension/facelets/src/main/java/org/apache/myfaces/tobago/facelets/AttributeHandler.java
Author: bommel
Date: Thu Aug 7 03:05:51 2008
New Revision: 683571
URL: http://svn.apache.org/viewvc?rev=683571&view=rev
Log:
(TOBAGO-693) Allow setting the converter with tc:attribute in facelets, similar setting the action or actionlistener
Modified:
myfaces/tobago/branches/tobago-1.0.x/extension/facelets/src/main/java/org/apache/myfaces/tobago/facelets/AttributeHandler.java
Modified: myfaces/tobago/branches/tobago-1.0.x/extension/facelets/src/main/java/org/apache/myfaces/tobago/facelets/AttributeHandler.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/branches/tobago-1.0.x/extension/facelets/src/main/java/org/apache/myfaces/tobago/facelets/AttributeHandler.java?rev=683571&r1=683570&r2=683571&view=diff
==============================================================================
--- myfaces/tobago/branches/tobago-1.0.x/extension/facelets/src/main/java/org/apache/myfaces/tobago/facelets/AttributeHandler.java (original)
+++ myfaces/tobago/branches/tobago-1.0.x/extension/facelets/src/main/java/org/apache/myfaces/tobago/facelets/AttributeHandler.java Thu Aug 7 03:05:51 2008
@@ -160,7 +160,8 @@
}
}
- private void setConverter(FaceletContext faceletContext, UIComponent parent, String nameValue, ValueExpression expression) {
+ private void setConverter(FaceletContext faceletContext, UIComponent parent, String nameValue,
+ ValueExpression expression) {
if (expression.isLiteralText()) {
Converter converter =
faceletContext.getFacesContext().getApplication().createConverter(expression.getExpressionString());