3 Replies Latest reply on Oct 13, 2008 10:57 AM by Charls Cross

    Import messages into simple java classes

    Charls Cross Newbie

      Can I do this in a simple class??


      @In("#{messages['Hello']}") private String helloMessage;


      My Simple Class:


      public class AlarmaShow implements java.io.Serializable {


          private String name;
          @In(#{messages['Hello']}) private String helloMessage;
          public AlarmaShow(){


          }