I have a strange thing, I'm using dynamic field binding in a custom control.
The field binding is created like this.
- XPage (Datasource "document" is placed here)
- Custom Control (String passed in)
(to get errors if there are any)
- Repeat (CompositeData is passed to a bean that returns the strings for Rows,columns)
- Repeat (repeat 1 variable used for Columns)
- Custom Control (fieldname is passed in)
- Repeat (repeat 1 variable used for Columns)
- Repeat (CompositeData is passed to a bean that returns the strings for Rows,columns)
- Custom Control (String passed in)
(to get errors if there are any)
field binding is done like this #{document[compositeData.fieldName]}
The problem is that when I save the XPage I get an error in the messages control
Document has been saved by another user - Save created a new document as a response to that modified document.
And all fields are cleared.
Any ideas how to debug this or is there something I'm missing?