Hello,
one minor problem:
I have a message bundle with e.g:
page1.1 = hello page1.2 = bye
According to seam-reference, it should be allowed to say:
<s:label value="#{messages.createUser.3}"/>
In the most cases, this is right. But not in this case!
Caused by: javax.el.ELException: Error Parsing: #{messages.page1.1} at org.jboss.el.lang.ExpressionBuilder.createNodeInternal(ExpressionBuilder.java:130) at org.jboss.el.lang.ExpressionBuilder.build(ExpressionBuilder.java:151) at org.jboss.el.lang.ExpressionBuilder.createValueExpression(ExpressionBuilder.java:206) at org.jboss.el.ExpressionFactoryImpl.createValueExpression(ExpressionFactoryImpl.java:68) at org.jboss.seam.el.SeamExpressionFactory.createValueExpression(SeamExpressionFactory.java:98) at com.sun.facelets.tag.TagAttribute.getValueExpression(TagAttribute.java:256) ... 91 more Caused by: org.jboss.el.parser.ParseException: Encountered ".3" at line 1, column 22. Was expecting one of: "." ... "}" ... "[" ... ">" ... "gt" ... "<" ... "lt" ... ">=" ... "ge" ... "<=" ... "le" ... "==" ... "eq" ... "!=" ... "ne" ... "&&" ... "and" ... "||" ... "or" ... "*" ... "+" ... "-" ... "?" ... "/" ... "div" ... "%" ... "mod" ... "(" ...
So I have to say this:
<s:label value="#{messages['page1.1']}"/>
I mean you have to say:
<s:label value="#{messages['page1.1']}"/>
instead of:
<s:label value="#{messages.page1.1}"/>