[ http://issues.apache.org/jira/browse/ADFFACES-155?page=all ]
Gabrielle Crawford updated ADFFACES-155:
----------------------------------------
Summary: client validation: use keys to look up message strings (was:
client validation: write out default message strings in translation map)
Description:
At runtime converters and validators should use translation keys to get strings
from a js lib. See issue 106 for information on where to get translations.
This will greatly reduce the size of constructors as we will only need to send
custom strings, the default strings will be looked up using known keys on the
client.
was:
write out message strings to map written out in getClientScript. At runtime
converters and validators will use translation keys to get strings fron this
map.
This is preparation for a fix to issue 106 where the strings will be sent down
in a separate js lib, at that point we can stop writing the map in
getClientScript and get the strings from the lib.
> client validation: use keys to look up message strings
> ------------------------------------------------------
>
> Key: ADFFACES-155
> URL: http://issues.apache.org/jira/browse/ADFFACES-155
> Project: MyFaces ADF-Faces
> Issue Type: Improvement
> Reporter: Gabrielle Crawford
> Priority: Minor
>
> At runtime converters and validators should use translation keys to get
> strings from a js lib. See issue 106 for information on where to get
> translations.
> This will greatly reduce the size of constructors as we will only need to
> send custom strings, the default strings will be looked up using known keys
> on the client.
--
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