[weld-issues] [JBoss JIRA] Commented: (WELDX-185) Implement an interpolator for strings containing expressions
Dan Allen (JIRA)
jira-events at lists.jboss.org
Mon Nov 8 12:16:01 EST 2010
[ https://jira.jboss.org/browse/WELDX-185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12561947#action_12561947 ]
Dan Allen commented on WELDX-185:
---------------------------------
Sorry for the confusion. Yes, I agree logging should be in Weld X. I'm just suggesting that the generic message bundle facility shouldn't come from logging. Have we considered having a JBoss i18n? That seems to be the best solution to me. That way, JBoss Logging uses it, Weld X logging uses it and i18n can build on it as well.
> Implement an interpolator for strings containing expressions
> ------------------------------------------------------------
>
> Key: WELDX-185
> URL: https://jira.jboss.org/browse/WELDX-185
> Project: Weld Extensions
> Issue Type: Feature Request
> Affects Versions: 1.0.0.Beta1
> Reporter: Dan Allen
> Fix For: TBC
>
>
> Since Weld Extensions has adopted the EL expression resolver, it's fitting that it also provides an interpolator for strings containing EL expression.
> Provide an interpolator that resolves EL expressions and position parameters in strings. This feature was available in Seam 2 [1]. Since it's not provided yet in Seam 3, we see it showing up as a utility in various modules, including the International [2] and REST [3] modules. We should consolidate this to a single, authoritative source.
> It should probably be made an interface with implementations that process specific expression languages, such as EL. For instance, one implementation might interpret MVEL. Just an idea.
> [1] http://anonsvn.jboss.org/repos/seam/branches/community/Seam_2_2/src/main/org/jboss/seam/core/Interpolator.java
> [2] https://github.com/seam/international/raw/master/impl/src/main/java/org/jboss/seam/international/status/builder/Interpolator.java
> [3] https://github.com/seam/rest/raw/master/impl/src/main/java/org/jboss/seam/rest/util/ExpressionLanguageInterpolator.java
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the weld-issues
mailing list