On Jul 3, 2005, at 8:17 PM, Scott F. Walter wrote:
ValidatorsBinding vb = (ValidatorsBinding) component.getBinding("validators"); Collection collection = (Collection) vb.getObject();for(Iterator it = collection.iterator();it.hasNext();){ Validator validatorObject = (Validator) it.next();System.out.println("Validator" + validatorObject.getClass ().getName());}So in your case if you would check tat the class name of a validator is "org.apache.tapestry.form.validator.Required", then you can put the required field marker.
Thanks Scott, this indeed worked (well, I had to add a few null checks in there). Not as nice a solution as I was hoping for, but it's got me going now anyway.
Thanks again, Kevin --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
