[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-2237) Namespace or alias of messages' key

Pierre Raoul (JIRA) jira-events at lists.jboss.org
Sun Nov 11 15:29:58 EST 2007


Namespace or alias of messages' key
-----------------------------------

                 Key: JBSEAM-2237
                 URL: http://jira.jboss.com/jira/browse/JBSEAM-2237
             Project: JBoss Seam
          Issue Type: Feature Request
          Components: Core
            Reporter: Pierre Raoul


To be able to defined messages alias in components.xml:

  | <component name="org.jboss.seam.international.messages">
  | 		<property name="abbrs">
  | 			 <value>*:btn=lacewiki.button</value>
  |                          <value>*:lb=lacewiki.label</value>
  |                <value>/admin.xhtml:_=lacewiki.button.adminHome.</value>
  | 			<value>/login.xhtml:ur.=lacewiki.button.userRegister.</value>
  | 		</property>
  | </component>
  | 
  | 

Now in /admin.xhtml  instead of writing something like 

#{"messages['lacewiki.button.adminHome.Remove']"} 

it's possible to write

 #{"msg._Remove"}

And in /login.xhtml:

#{msg['ur.Register]}


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the seam-issues mailing list