6 Replies Latest reply on May 13, 2009 5:26 PM by tiger zhao

    international problem:'edit' 'add' in messages_XX.properties

    tiger zhao Newbie
      I used seam jboss tool to reverse generate the database,everything is ok. But when I try to change message of 'edit' and 'add' in XXXXEdit.xhtml, I do not know how to do. I've already added messages.edit and messages.add in the messages_XX.properties.


      For example
      orignal message in the TblAreaEdit.xhtml
      <f:facet name="header">#{tblAreaHome.managed ? 'Edit' : 'Add'} Tbl area</f:facet>

      I try
      <f:facet name="header">#{tblAreaHome.managed ?  #{messages.edit} : #{messages.add}} Tbl area</f:facet>
      <f:facet name="header">#{tblAreaHome.managed ?  '#{messages.edit}' : '#{messages.add}'} Tbl area</f:facet>

      An Error Occurred:
      Error Parsing: #{tblAreaHome.managed ? #{messages.edit}




      please give me some clues. thanks all.