[
https://issues.jboss.org/browse/JBIDE-11551?page=com.atlassian.jira.plugi...
]
Denis Maliarevich edited comment on JBIDE-11551 at 5/23/12 10:56 AM:
---------------------------------------------------------------------
{quote}
ERROR: In VPE is displayed text "#{Message.key.dot" instead of
"key.dot". EL variable is not properly evaluated.
{quote}
"#{Message.key.dot}" is a correct string in source part. Because the dialog uses
1) resource bundle name "Message" then 2) property key value from this bundle
"key.dot".
The problem is that if the key are composed of multilple word separated by ‘dot’(.),that
key should be represented in the JSP page using the format #{msg['key']}. In our
case "#{Message['key.dot']}".
So the problem is that in visual part bundle value should be used but it's not.
Because of wrong bundle message declaration format.
{quote}
ERROR: OpenOn doesn't work in source editor when part after "." of property
key is selected.
{quote}
"#{Message['key.dot']}" should be used. But OpenOn works only for
#{msg['key']} construction. Compound key breaks it here.
was (Author: dmaliarevich):
{quote}
ERROR: In VPE is displayed text "#{Message.key.dot" instead of
"key.dot". EL variable is not properly evaluated.
{quote}
"#{Message.key.dot}" is a correct string in source part. Because the dialog uses
1) resource bundle name "Message" then 2) property key value from this bundle
"key.dot".
The problem is that if the key are composed of multilple word separated by ‘dot’(.),that
key should be represented in the JSP page using the format #{msg['key']}. In our
case "#{Message['key.dot']}".
So the problem is that in visual part bundle value should be used but it's not.
Because of wrong bundle message declaration format.
{quote}
ERROR: OpenOn doesn't work in source editor when part after "." of property
key is selected.
{quote}
"#{Message['key.dot']}" should be used. And then OpenOn will work fine.
"Externalize strings" dialog does not support entering a
dot(.) symbol in "Property key" field
----------------------------------------------------------------------------------------------
Key: JBIDE-11551
URL:
https://issues.jboss.org/browse/JBIDE-11551
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Visual Page Editor core
Affects Versions: 3.3.0.Beta2
Reporter: Denis Maliarevich
Assignee: Denis Maliarevich
Fix For: 3.4.x
I use Jboss tools for JSF 2 project, it would be perfect use "Externalize selected
string" but I cannot write there "operator.firstName" the 'dot' not
appear.
See the corresponding [community
thread|https://community.jboss.org/message/730237]
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira