Login Register

dijit.Editor

How do you make dijit.Editor a required form field ?

Any way to make dijit.Editor form elements "required" ? Have it trigger an invalidMessage call if nothing is entered ?

i.e. like validationTextBox ?

required="true"
invalidMessage="Please enter a value."

I can write my own form validation script for just this one field, but since I am already using validationTextBox it would be nice to have all the validation messages on the form look the same.

Could I have struts taglib injected into the editing area of dijit.Editor

I know I could specify a stylesheet for the editing area of the dijit.Editor. But is it possible to have it access Struts taglib?

Syndicate content