Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Overriding default labels of referenced object in @Tab

2013-07-24
2013-07-24
  • florian_adler
    florian_adler
    2013-07-24

    Hello,

    I have the following code

    @Tab(
    properties=
    " name "
    +", notes "
    +", status "
    +", creationDate "
    +", timeToStart "
    +", timeToEnd "
    +", environment.name "
    +", releaser.identifier "
    +", validator.identifier "
    )

    This gives twice Identifier label.
    What I would like is to have for releaser.identifier -> 'Releaser Identifier' and for validator.identifier -> 'Validator identifier'.

    Is there a way to override the default labeling of reference entity attribute?

    Thanks,

    Florian.

     
    • florian_adler
      florian_adler
      2013-07-24

      Ooops,
      I got it,
      In the properties file of your i18n just add
      releaser.identifier=Releaser Identifier
      validator.identifier=Validator identifier

      Regards,

      Florian.