0

Multi Custom Validator in One Component

asked 2015-07-13 11:26:13 +0800

ghostomg gravatar image ghostomg flag of Indonesia
15 3

Hi all,

Let say I have custom validator cvalidatorA. is that possible to implement this custom validator along with beanValidator. I've tried this but it return an error.

<doublebox value="@bind(fx.percentage) 
        @validator('com.my.app.allowfractional',allowed=fx.allowedfractional)
        @validator('beanValidator')"
                errorMessage="@load(vmsgs[dbpercentage])"/>

It say: Allow only one validator for value of ..... Please kindly help. Thank you.

Regards

delete flag offensive retag edit

Comments

Or perhaps there'is workround for this problem?

ghostomg ( 2015-07-14 02:24:49 +0800 )edit
Be the first one to answer this question!
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow
1 follower

RSS

Stats

Asked: 2015-07-13 11:26:13 +0800

Seen: 10 times

Last updated: Jul 13 '15

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More