1 16 17 package org.apache.commons.latka.jelly.validators; 18 19 import org.apache.commons.latka.Validator; 20 import org.apache.commons.latka.validators.StatusTextValidator; 21 22 import org.apache.log4j.Category; 23 24 30 public class StatusTextTag extends HttpValidatorTagSupport { 31 32 protected String _statusText = null; 33 34 protected static final Category _log = Category.getInstance(StatusTextTag.class); 35 36 41 public Validator getValidator() { 42 StatusTextValidator validator = 43 new StatusTextValidator(_label, _statusText); 44 45 return validator; 46 } 47 48 public void setText(String statusText) { 49 _statusText = statusText; 50 } 51 52 } 53 | Popular Tags |