GuideNumericBox.java 861 Bytes
/*
 * Decompiled with CFR 0_118.
 * 
 * Could not load the following classes:
 *  com.day.cq.wcm.foundation.forms.FormsHelper
 *  org.apache.sling.api.SlingHttpServletRequest
 *  org.apache.sling.api.resource.Resource
 */
package com.adobe.aemds.guide.common;

import com.adobe.aemds.guide.common.GuideField;
import com.day.cq.wcm.foundation.forms.FormsHelper;
import org.apache.sling.api.SlingHttpServletRequest;
import org.apache.sling.api.resource.Resource;

public class GuideNumericBox
extends GuideField {
    public String[] getValues() {
        String[] values = FormsHelper.getValues((SlingHttpServletRequest)this.slingRequest, (Resource)this.getResource());
        if (values == null) {
            values = new String[]{""};
        }
        return values;
    }

    public String getGuideFieldType() {
        return "guideNumericBox";
    }
}