cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Carlos Chávez (JIRA) <>
Subject [jira] Updated: (COCOON-1758) Form locale never used in JXMacros
Date Mon, 31 Jul 2006 18:37:14 GMT
     [ ]

Carlos Chávez updated COCOON-1758:

    Attachment: patch1.txt

Hi to all.

the first patch try to get correctly the locale parameter from the sitemap parameters, if
the locale parameter does not exists we pass a empty string.

the second patch fix the method to test against empty string not only null value, for example
from the jx-macro we pass a empty string if the locale parameter does not exists, so we want
to use the default Locale.

Carlos Chávez.

> Form locale never used in JXMacros
> ----------------------------------
>                 Key: COCOON-1758
>                 URL:
>             Project: Cocoon
>          Issue Type: Bug
>          Components: Blocks: Forms
>    Affects Versions: 2.1.8, 2.2-dev (Current SVN), 2.1.9
>            Reporter: Philippe Gassmann
>         Attachments: 20060201-cocoon-forms-1758, patch.txt, patch1.txt
> The JXMacroHelper is created with : <jx:set var="cformsHelper" value="#{org.apache.cocoon.forms.generation.JXMacrosHelper.createHelper($cocoon/consumer,$cocoon/request,$cocoon/parameters/locale)}"/>
> So the locale is get from sitemap parameters. 
> the locale attribute of the form is then never used.
> I will provide a patch as soon as possible

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


View raw message