Hi,
I am trying to implement the else part of the logical && relation. Can
somebody help me with this ?
<%--
<logic:equal name="sectionName" value="M" >
<logic:notEqual name="questionFieldAnswer" value="Y" >
<td colspan="3"><input type='text' name='<bean:write
name="nameChoice" />' value='0' /></td>
<bean:define id="firstTimeEntry" name="ac"
property="firstTimeEntry" value="true"></bean:define>
</logic:notEqual>
</logic:equal>
<logic:notEqual name="sectionName" value="M" >
<=============================?????????????????????
<logic:equal name="questionFieldAnswer" value="Y" >
</logic:notEqual>
--%>
<%//if questionFieldAnswer from DB is not "y" for 1st
question then show textbox to enter values in.
if ( ((String)sectionName).equalsIgnoreCase("M") &&
!((String)questionFieldAnswer).equalsIgnoreCase("Y")) { //show 1 textbox
for section M only and let user enter no of conditions to enter -
%>
<td colspan="3"><input type='text' name='<bean:write
name="nameChoice" />' value='0' /></td>
<%
ac.setFirstTimeEntry("true");
//break; //show only 1st question
}else{ //I am having a problem with the else part of the
check.<==========================??????????????????
%>
<td width="1" class="tableoutline"><img
src="/images/blank.gif" border="0" height="1" width="1"></td>
<td width="25">
<input type='radio' name='<bean:write name="nameChoice"
/>' value='Y' <%if ( ((String)questionFieldAnswer).equalsIgnoreCase("Y"))
{%>checked <%}%> >Yes<br>
<input type='radio' name='<bean:write name="nameChoice"
/>' value="N" <%if (!((String)questionFieldAnswer).equalsIgnoreCase("Y"))
{%>checked <%}%>>No</td>
<td width="5"><img src="/images/blank.gif" border="0"
height="1" width="5"></td>
<%}%>
Thanx a ton,
Vijay
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>