Hi Eric,
If you change a field value, you need to save it too. This is not trivial, but have a look in the mailing list archives and you should be able to find examples of this.
Regards, Serge Huber.
Eric Petit wrote:
Hello,
I'm using the Document listing template.
I add a field in which I store result from another template.
I would like to do a sort using the values of this field.
The problem is that the values used in the template to sort the result are the values entered during the creation of the field.
I tried to use the method setValue(String fieldValue) to change the value of the corresponding field. The value is changed but the sort is made on the value entered during the creation of the field. So the setValue() method does not solve my problem.
Is there any method which will allow me to change the value entered during the creation of the field without using admin interface ?
Thanks .
