<%@ page language="java" %> <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %> <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %> <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>

<%if(testQuestion.getStudentSubQuestions().size()<=1 || (testQuestion.getItemId()!=null && subQuestion.getItemId()!=null && testQuestion.getItemId().equals(subQuestion.getItemId()))){%> <%if(((Integer)questionType).intValue()==1 ){ %> <% } %> <%if(testQuestion.getStudentSubQuestions().size()<=1 || itemIndex.equals(new Integer(0))){%> <%}%> <%if(testQuestion.getStudentSubQuestions().size()<=1 || itemIndex.equals(new Integer(0))){%> <%} if(testQuestion.getStudentSubQuestions().size()>1){ if(itemIndex.equals(new Integer(0))){%> <%}%> <%}%> <%if(((Integer)testType).intValue()!=3){%> "/> "/> <%}%>

">
: 

 
 
<%if (((String)questionLabel).startsWith("image/")){%> <%} else if (((String)questionLabel).equals("image_label")){%>

<%}else if (((String)questionLabel).equals("flow")){%>
<%}else{%> <%}%>
<%if (((String)questionLabel).startsWith("image/")){%> <%} else if (((String)questionLabel).equals("image_label")){%>

<%}else if (((String)questionLabel).equals("flow")){%>
<%}else{%> <%}%>
<%if (((String)optionLabel).startsWith("image/")){ %> <%}else if (((String)optionLabel).equals("image_label")){%>

<%}else if (((String)optionLabel).equals("response_label")){ %> <%if(((Integer)testType).intValue()!=1){%> <%}%> <%if(((Integer)questionType).intValue()==1 ){ %> <%--QuestionType.LID--%>
<%if(((Integer)testType).intValue()!=3 && ((Integer)formula).intValue()==1){%> <%-- Not TestType.INQUIRY and CorrectionFormula.FENIX--%> <bean:message key=" /> <bean:message key=" />
<%if(((Integer)cardinality).intValue()==1 ){ %> <%--CardinalityType.SINGLE--%> <bean:message key=" /> <bean:message key=" /> <%}else if(((Integer)cardinality).intValue()==2 ){ %> <%--CardinalityType.MULTIPLE--%> <bean:message key=" /> <bean:message key=" /> <%}%> <%}else{%>
<%}%>
<%if(((Integer)cardinality).intValue()==1 ){ %> <%--CardinalityType.SINGLE--%>
<%}else if(((Integer)cardinality).intValue()==2 ){ %> <%--CardinalityType.MULTIPLE--%> <% String[] a = (String[])request.getAttribute(questionValue); if(a!=null){ for(int i=0; i <% } } } %>
<%}%> <%}else{%> <%--QuestionType.STR or QuestionType.NUM --%> " maxlength="<%=maxchars.toString()%>" size="<%=cols.toString()%>" value="<%=questionValue.toString()%>" property='<%="question"+ optionOrder%>' disabled="<%=new Boolean(checkDisable).booleanValue()%>"/> " maxlength="<%=maxchars.toString()%>" size="<%=textBoxSize%>" value="<%=questionValue.toString()%>" property='<%="question"+ optionOrder%>' disabled="<%=new Boolean(checkDisable).booleanValue()%>"/> " rows="<%=rows.toString()%>" cols="<%=cols.toString()%>" value="<%=questionValue.toString()%>" property='<%="question"+ optionOrder%>' readonly="<%=new Boolean(checkDisable).booleanValue()%>"/> " rows="<%=rows.toString()%>" value="<%=questionValue.toString()%>" property='<%="question"+ optionOrder%>' readonly="<%=new Boolean(checkDisable).booleanValue()%>"/> " cols="<%=cols.toString()%>" value="<%=questionValue.toString()%>" property='<%="question"+ optionOrder%>' readonly="<%=new Boolean(checkDisable).booleanValue()%>"/> <%}%> <%}else if (((String)optionLabel).equals("flow")){%>
<%}else {%> <%}%>
<%if((((Integer)testType).intValue()!=3) &&(((Integer)formula).intValue()==1)){%> <%-- Not TestType.INQUIRY and CorrectionFormula.FENIX--%> <%if(((Integer)questionType).intValue()==1 ){ %> <%--QuestionType.LID--%> <bean:message key=" /> <bean:message key=" /> <%}else{%> <%--QuestionType.STR or QuestionType.NUM --%> <bean:message key=" /> <bean:message key=" /> <%}%> <%} else if((((Integer)testType).intValue()!=3) &&(((Integer)formula).intValue()!=1)){%> <%-- Not TestType.INQUIRY and CorrectionFormula.IMS--%> <%if(((Integer)questionType).intValue()==1 ){ %> <%--QuestionType.LID--%> <%}%> <%if (((String)feedbackLabel).startsWith("image/")){%> <%} else if (((String)feedbackLabel).equals("image_label")){%>

<%}else if (((String)feedbackLabel).equals("flow")){%>
<%}else{%> <%}%>
<%} else if(((Integer)testType).intValue()==3) {%> <%-- TestType.INQUIRY--%> <%if(((Integer)questionType).intValue()==1 ){ %> <%--QuestionType.LID--%> <%} }%> <%}%>