Menu

#11 Dynamic fields

open
Core (22)
3
2006-04-26
2006-04-26
No

Dynamic fields should be rendered using a Map. Roma
will treats each entry in the Map as
fieldName/fieldValue pair.

This allow to handle fields dynamically.

Something like this:

ViewClass(dynamicFields="fields")
class Test{
...
private Map<String,Object> fields;
...
}

or by

<class>
<feature dynamicFields="fields" />
</class>

Discussion

  • Luca Garulli

    Luca Garulli - 2006-04-26
    • priority: 5 --> 3
     
  • Luca Garulli

    Luca Garulli - 2007-11-08

    Logged In: YES
    user_id=75115
    Originator: YES

    Use DynaBean instead!

     

Log in to post a comment.