myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sylvain Vieujot (JIRA)" <incubator-...@incubator.apache.org>
Subject [jira] Commented: (MYFACES-125) processDecodes in AliasBean not implemented
Date Thu, 10 Mar 2005 15:22:54 GMT
     [ http://issues.apache.org/jira/browse/MYFACES-125?page=comments#action_60593 ]
     
Sylvain Vieujot commented on MYFACES-125:
-----------------------------------------

The processDecodes has been added.

But I didn't remove the calls to makeAlias() and removeAlias() in method queueEvent(FacesEvent)
as it breaks the webapp.
Try removing them, and then in the example-webapp, click on the toUpperCase button. You'll
get an exception.

Maybe we need to implement something a bite more sophisticated for this.

Thanks for your help.

Sylvain.

> 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
>      Fix For: Nightly Build

>
> 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