3 Replies Latest reply on May 31, 2012 9:17 AM by Enno

    Back button disapears when resource bundle is used

    Enno
      I created a header containing a OutputText. The value of the OutputText is defined by a ResourceBundle. Now, when I start the application, the back-button appears to be under the OutputText, even if the value defined in the ResourceBundle is a really small string.

      This is what I have defined in the AMX file:

      <amx:facet name="header">
      <amx:outputText id="outputText1" value="#{viewcontrollerBundle.ORDER}"/>
      <amx:commandButton id="commandButton1" action="__back" text="#{viewcontrollerBundle.BACK}"/>
      </amx:facet>

      This is what I have defined in the ResourceBundle:

      <trans-unit id="ORDER">
      <source>B</source>
      <target/>

      Even if I put only one character in there, the back button is nearly not visible.