WarnerJan Veldhuis wrote:

Now comes the anti-climax: when that form is submitted, there is no way
to manually set the value for that field. Since the name of the Field
will look like "SA_15", the Ognl lib will look for a property
ModelObjectVO#setSA_15(Object) which is obviously not going to work,
since the value needs to be set on the AttributeVO.
I immediately wanted to override FieldColum#setValue(), but there was
none :(.


Hmm to handle your use case it seems FieldColumn will need a new method setProperty which by default uses OGNL to copy the value to the Object. For more complex use cases it can then be overridden.

Would that work for you?

kind regards

bob

Reply via email to