Revision history [back]

click to hide/show revision 1
initial version

answered 2013-09-23 10:07:16 +0800

cor3000 gravatar image cor3000

You can use form binding, and a form validator, to validate dependent attributes. If you don't want to add a Transient field to your Entity class, you can wrap the Entity by a Ui object (UiUser in the example below).

Please refer to this fiddle where I provide an example putting it all together.

You can use form binding, and a form validator, to validate dependent attributes. If you don't want to add a Transient field to your Entity class, you can wrap the Entity by a Ui object (UiUser in the example below).

Please refer to this fiddle where I provide an example putting it all together.

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