Been having problems getting anywhere with this, so any help would be gratefully received.
The basic premise is I have a repeat, bound to a multi-value item on a document, and I want to check that the values entered add up to 100 (it's a percentage).
So, I need to write a validator that sums the multi-value item and returns true or false.
The premise seems easy, and if I create a document which has values equalling 100 (or not) and then open with the xPage with a validator checking the document values this works fine and returns the error I want, or passes if the values are 100.
However if the values are changed the submit button doesn't pick up the fact that the values have been changed at all and will just continue to return the same result for the validation as if it was first opened.
I realise this has something to do with the repeat, and also I'm using the tableWalker code from here http://www-10.lotus.com/ldd/ddwiki.nsf/dx/Tutorial-Introduction-to-XPages-Exercise-23 but I don't think has a particular influence (I might be wrong)
Anyone got any ideas?
Thanks