Earlier today I wrote a very frustrated complaint post about how with multiple different documents on a single XPage, the validation events would fire off on all of them no matter which document you clicked a button for. I also posted on Stack Overflow with details of the problem. I thought I'd tried everything, and I'd searched the web and found only comments about "IBM knows about this and..."
Well, I hadn't tried everything. Paul Withers pointed me toward this fix: I just had to check this box on the button event (in addition to setting the refresh mode and scope, which I'd already done).
So....I've updated the original post, and this is me eating some crow. Given that this makes my application work the way I want it to, the crow doesn't taste too bad at all.
Thanks, Paul.
Comment Entry |
Please wait while your document is saved.
actually, note the checkbox above it!!), we've probably forgot more than we
shoulda.
BTW -- note the one above this one, too. Sometimes it's really useful to just
shut off validation when communicating with the server. It's used less often --
but like your current situation, when you need it, you need it badly.
I'm so not jaded with all the ajax work that it would take to process
partial-execution of the code elements. I've had to do that before.
I just wish we could toss an event more than one control, so we could patch
more than one control at a time on a form.