<%@page import="com.ardeo.entities.autoforms.FormField"%>
<%@ include file="/includes.jsp" %>
<%@ taglib prefix="smvc" uri="http://www.springframework.org/tags/form"%>
<tiles:importAttribute /><%--This imports all tiles atributes to page --%>
<%
	FormField field=(FormField)pageContext.getAttribute("field");
%>
<%-- START TEXT EDIT --%>
<c:if  test="${field.fieldType eq 100}">
	<smvc:input disabled="${disabled}" path='<%="value[" + field.getName() + "]"%>' size="${field.width}" id='<%=field.getName()%>' readonly="${readOnly}"/>
</c:if>
<c:if  test="${field.fieldType eq 101}">
	<smvc:textarea disabled="${disabled}" readonly="${readOnly}" path='<%="value[" + field.getName() + "]"%>' id='<%=field.getName()%>' cols='<%="" +field.getWidth()%>' rows='<%="" +field.getHeight()%>' />
</c:if>
<%-- END TEXT EDIT --%>