cancel
Showing results for 
Search instead for 
Did you mean: 

Validate on multiple widget fields

lindsay_
Champ in-the-making
Champ in-the-making

Hi there.

I'm writing a edit page for a document that requires a combination of two fields to be unique. Is there a way of validating a component based on multiple widget fields in the layouts-contrib.xml file?

1 ACCEPTED ANSWER

Anahide_Tchertc
Elite Collaborator
Elite Collaborator

Hi,

You can take example on what's been done in the default user layout to perform password confirm validation. The generic explanation on how to perform cross validation is here: http://blogs.nuxeo.com/dev/2009/03/cross-validation-with-jsf.html

You can take example on the default nuxeo implementation (layout configuration, custom widget template, and java code of the validation method):

View answer in original post

1 REPLY 1

Anahide_Tchertc
Elite Collaborator
Elite Collaborator

Hi,

You can take example on what's been done in the default user layout to perform password confirm validation. The generic explanation on how to perform cross validation is here: http://blogs.nuxeo.com/dev/2009/03/cross-validation-with-jsf.html

You can take example on the default nuxeo implementation (layout configuration, custom widget template, and java code of the validation method):

Getting started

Attention: Blogs & Forums are in READ-ONLY mode from Oct 9-19 as we transition to our new platform. Learn more.

Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.