1 Reply Latest reply: Jan 16, 2013 3:22 AM by 811561 RSS

    How to Set label of a button in arabic by writting code.


      I have created a button by writtin following code in controller.

      OAButtonBean oasb = (OAButtonBean)createWebBean(oapagecontext, OAWebBeanConstants.BUTTON_BEAN, null, "Add");
      if ( oapagecontext.getCurrentLanguage().equals("US"))
      oasb.setText("Add Previous Objectives");;
      oasb.setText("إضافة أهداف المرحلة السابقة");

      Its creating a button with the given label. When i check from english login it shows label as "Add Previous Objectives" But when i check the same from arabic login it shows "???????????????"

      Please suggest me how can i set arabic text for the same button.

      Thanks in advance