[ http://issues.apache.org/jira/browse/COCOON-1450?page=all ]

Ralph Goers updated COCOON-1450:
--------------------------------

    Bugzilla Id:   (was: 33637)
      Component: * Cocoon Core
                     (was: Blocks: (Undefined))
    Description: 
I've tried using i18n tags in the XSL for required fields to no avail. The 
other validation messages work when i18n tags used in form definitions but 
localized messages for required fields no joy under any conditions. 

Ideally I'd be submitting a patch with this but haven't nail exactly where the 
problem is. The problem is also in the samples.. You can get localised 
messages working when you define them with i18n tags in the form def, but a 
simple test using Packages.....ValidationError("mykey.inmessages",true) fails. 

I've got as far as System.outs in I18nMessage.toSax() but haven't worked out a 
means of debuging a contentHandler as yet.

  was:
I've tried using i18n tags in the XSL for required fields to no avail. The 
other validation messages work when i18n tags used in form definitions but 
localized messages for required fields no joy under any conditions. 

Ideally I'd be submitting a patch with this but haven't nail exactly where the 
problem is. The problem is also in the samples.. You can get localised 
messages working when you define them with i18n tags in the form def, but a 
simple test using Packages.....ValidationError("mykey.inmessages",true) fails. 

I've got as far as System.outs in I18nMessage.toSax() but haven't worked out a 
means of debuging a contentHandler as yet.


> i18n messages don't work for required fields
> --------------------------------------------
>
>          Key: COCOON-1450
>          URL: http://issues.apache.org/jira/browse/COCOON-1450
>      Project: Cocoon
>         Type: Bug
>   Components: * Cocoon Core
>     Versions: 2.1.8-dev (Current SVN)
>  Environment: Operating System: Windows XP
> Platform: All
>     Reporter: Mark
>     Assignee: Cocoon Developers Team

>
> I've tried using i18n tags in the XSL for required fields to no avail. The 
> other validation messages work when i18n tags used in form definitions but 
> localized messages for required fields no joy under any conditions. 
> Ideally I'd be submitting a patch with this but haven't nail exactly where 
> the 
> problem is. The problem is also in the samples.. You can get localised 
> messages working when you define them with i18n tags in the form def, but a 
> simple test using Packages.....ValidationError("mykey.inmessages",true) 
> fails. 
> I've got as far as System.outs in I18nMessage.toSax() but haven't worked out 
> a 
> means of debuging a contentHandler as yet.

-- 
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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to