I have an xpage with a dojo picklist (a view in a dojo dialog widget - Getting Creative With Domino Web Development: Xpages: How to create a view picklist!!).
There is a pger attached to the view (by id), and when I want to use the pager, the Xpage validation fires, and the pager doesn’t work!
If I fill in the required fields, the pager starts working.
This is a very annoying problem, since we have some selectors that are to big for @DbLookup & @DbColumn, and we need to fill more fields (just like why we used a picklist in notes)…
Thanks for the help
Subject: Re: Xpage validation fires in unwanted cases
Is your pager doing a partial or full refresh? You may need to play around with event the options on the pager.
Subject: Yes
Yes, it is on partial refresh, and it is attached to the view.
It seems that this problem comes from JSF.
Just a short test:
Create an xpage, add a view, and add a field, that is required. Try to use the pager (I’m using 8.5 FP1 server)… It won’t work.
Subject: Re: Pager and Partial Refresh
Unfortunately I haven’t got an 8.5 server verson to test on any more.
I know there were problems with 8.5 and partial refresh. A number are listed in the fix list for 8.5.1 http://www-10.lotus.com/ldd/r5fixlist.nsf?OpenDatabase&Start=2.161.8&Count=30&Expand=2.161. I myself encountered a problem where partial refresh wasn’t setting scoped variables.
It sounds like this is one of those problems - I’ve tested in 8.5.1 and the pager works.
As you’ll see from the fix list, there were quite a number of fixes for XPages in 8.5.1, not to mention the performance improvements and enhancements. If you can, it’s best to upgrade your server to 8.5.1.