Menu

How to order fields

Developers
2010-08-30
2013-04-29
  • Nobody/Anonymous

    Hi all,
    how can I order fields in the filter mask and in the results list(listable) ? For exampre I need the input field 'Name' is located before the field 'Country'

    Thank you,
    Mario

     
  • Luigi Dell'Aquila

    Hi Mario,

    to order fields in Roma you can use the @CoreClass(orderFields="field1 field2") annotation on your class.
    An alternative is to explicitly write fields in the xml annotation of your class ; in that case Roma will display fields in the order they appear in the xml

    Luigi

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.