Xpage: Server Side Validation in Tabbed Panel

Hello,

I have an XPage and am running server-side validation which works fine.

However, now that I have split my fields between tabs in a tabbed panel I am having problems. When saving, the server-side validation is only checking the current tab I am on (as if the other values have not loaded until I browse to the tab).

Does anyone know a way around this or a fix?

Thank you,

Ian

Subject: This is working as designed…

…which doesn’t help you much. The contents of the tabs aren’t rendered until the all the tabs are selectedMaybe the way around this is to disable the ‘save’ button until all tabs have been selected.

Subject: I don’t like the design!

I’m struggling to see why it was setup to now allow validation across tabs.

Either way, I have looked at your suggestion of having them all ‘selected’ but this doesn’t work either. Do you mean simply opening each tab once and then trying to test the server side validation? This didn’t work for me…

Without this feature working, I can’t see any way of enforcing the validation across an XPage if a tabbed panel is used.

Hope someone can help or suggest a workaround

Cheers,

Ian

Subject: *I agree, validation has to happen across all tabs

Subject: Sorry to bear that and your use case is a valid one…

… so I’ve logged an enhancement request ‘PHAN82BLDU’ to render all tabs on page load so that validation will take in everything on all tabs.

p.

Subject: Thank you

Hi Paul,

Thanks - Hopefully we can see this in 8.5.2

Ian