<%@ taglib uri="/webwork" prefix="ww" %>

<div class="fieldArea required">
    <ww:if test="parameters['warning'] != null">
        <div class="errorBox">
            <ww:property value="parameters['warning']" escape="true"/>
        </div>
    </ww:if>

    <label class="fieldLabelArea" <ww:if test="parameters['valueid'] != null">for="<ww:property value="parameters['valueid']" escape="false"/>"</ww:if>>
        <ww:property value="parameters['label']" escape="false"/>:
    </label>

    <div <ww:if test="parameters['valueid'] != null">id="<ww:property value="parameters['valueid']" escape="false"/>"</ww:if> class="fieldValueArea">
        <%-- escapeValue or escapeDescription can be set to 'false' if you have already performed escaping (example:
        there is a hyperlink) --%>
        <ww:if test="parameters['escapeValue'] == false">
            <ww:property value="parameters['value']" escape="false" />
        </ww:if>
        <ww:else>
            <ww:property value="parameters['value']"/>
        </ww:else>

        <div class="fieldDescription">
            <ww:if test="parameters['escapeDescription'] == false">
                <ww:property value="parameters['description']" escape="false" />
            </ww:if>
            <ww:else>
                <ww:property value="parameters['description']"/>
            </ww:else>
        </div>
    </div>
</div>