@Deprecated
public class ValidationHelper
extends java.lang.Object
@Deprecated public static ValidationInfo getValidationInfo(SlingHttpServletRequest request)
ValidationInfo.createValidationInfo(SlingHttpServletRequest)
request
- The current request@Deprecated public static boolean hasValidationInfo(HttpServletRequest request)
ValidationInfo.getValidationInfo(HttpServletRequest)
request
- The curren t request.true
if there are validation errors.@Deprecated public static java.lang.String getRequiredMessage(Resource resource)
FieldDescription
instead.resource
- The form element resource.@Deprecated public static java.lang.String getConstraintMessage(Resource resource)
resource
- The form element resource.@Deprecated public static boolean checkRequired(SlingHttpServletRequest request, Resource resource)
request
- requestresource
- The form element resource.@Deprecated public static void checkConstraint(SlingHttpServletRequest request, SlingHttpServletResponse response, Resource resource) throws java.io.IOException, ServletException
FieldHelper.checkConstraint(SlingHttpServletRequest, SlingHttpServletResponse, FieldDescription)
request
- requestresponse
- responseresource
- The form element resource.java.io.IOException
- if check caused an error
$throws ServletException if check caused an errorServletException
@Deprecated public static void writeRequiredCheck(SlingHttpServletRequest request, Resource resource, javax.servlet.jsp.JspWriter out) throws java.io.IOException
FieldHelper.writeClientRequiredCheck(SlingHttpServletRequest, SlingHttpServletResponse, FieldDescription)
request
- requestresource
- resourceout
- outjava.io.IOException
- if write caused an error@Deprecated public static java.lang.String getFormElementQualifier(SlingHttpServletRequest request, Resource resource)
request
- requestresource
- resource@Deprecated public static void writeConstraintCheck(SlingHttpServletRequest request, SlingHttpServletResponse response, Resource resource, javax.servlet.jsp.JspWriter out) throws java.io.IOException, ServletException
FieldHelper.writeClientConstraintCheck(SlingHttpServletRequest, SlingHttpServletResponse, FieldDescription)
request
- requestresponse
- responseresource
- resourceout
- outjava.io.IOException
- if write caused an errorServletException
- if write caused an error@Deprecated public static void writeRegexpText(SlingHttpServletRequest request, Resource resource, java.lang.String regexp, javax.servlet.jsp.JspWriter out) throws java.io.IOException
FieldHelper.writeClientRegexpText(SlingHttpServletRequest, SlingHttpServletResponse, FieldDescription, String)
request
- requestresource
- resourceregexp
- regexpout
- outjava.io.IOException
- if write caused an errorCopyright © 2010 - 2020 Adobe. All Rights Reserved