myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mathias Broekelmann (JIRA)" <incubator-...@incubator.apache.org>
Subject [jira] Created: (MYFACES-125) processDecodes in AliasBean not implemented
Date Thu, 10 Mar 2005 10:47:54 GMT
processDecodes in AliasBean not implemented
-------------------------------------------

         Key: MYFACES-125
         URL: http://issues.apache.org/jira/browse/MYFACES-125
     Project: MyFaces
        Type: Bug
    Versions: Nightly Build    
    Reporter: Mathias Broekelmann


This bug prevents nested components which need the aliased value in the decode phase to work
right.

I´ve a fix for that:

Index: AliasBean.java
===================================================================
RCS file: /home/cvspublic/incubator-myfaces/src/components/org/apache/myfaces/custom/aliasbean/AliasBean.java,v
retrieving revision 1.7
diff -u -r1.7 AliasBean.java
--- AliasBean.java	27 Jan 2005 16:00:30 -0000	1.7
+++ AliasBean.java	10 Mar 2005 10:36:57 -0000
@@ -202,6 +202,13 @@
         super.processValidators(context);
         removeAlias(context);
     }
+    
+    public void processDecodes(FacesContext context) {
+      log.debug("processDecodes");
+      makeAlias(context);
+      super.processDecodes(context);
+      removeAlias(context);
+    }
 
     public void processUpdates(FacesContext context) {
         log.debug("processUpdates");


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


Mime
View raw message