0 Replies Latest reply on Dec 14, 2005 3:15 AM by Pieter-Jan Malfait

    Design question : default values

    Pieter-Jan Malfait Newbie


      for my application i need to map a series of default values for input fields over the application, these default values are company-specific, so i have to keep track of them on the server, not on the client.

      so i want to create a mapping between a field name (fe "vatValueOrderInput") and a value (fe "6"). The problem is that this value can have different types, sometimes it can be a String, sometimes an Entity, or sometimes just a primitive value..

      If tought of making an entity DefaultValue, but i don't think i can map it to a database without specifiyng the type of the value..

      anyone has any idea how to implement this?