File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
    Bookmark Topic Watch Topic
  • New Topic

logic:iterate

 
sanju sreedharan
Ranch Hand
Posts: 48
  • 0
  • Mark post as helpful
  • send pies
  • Report post to moderator
this is my jsp file....and when i run this program all my feilds get hidden and when i remove the present and iterate logic it comes visible...can you help me


<logic resent name="SelectionForm" >
<logic:iterate id="notify_dept_interview_time" name="SelectionForm" property="notify_dept_interview_time" >

<table width="100%" border=0 class="type1" cellspacing="2" cellpadding="5">
<logic:equal name="User" property="notify_dept_interview_time" value="1">
<tr>
<td width="15%" align=right class="type1"><a href="javascript:showMe(document.Selection.place_interview)">Interview Place& Comments</a></td>
<td width="22%" class="type1"> <html:textarea property="place_interview" indexed="true"
<td width="15%" align=right class="type1"> Date/Time : </td>
<td width="22%" class="type1"><html:text property="date_interview" indexed="true" readonly="true" styleClass="input_medium" /><html:img src="../images/cal.gif" onklick="return showCalendar('date_interview','%d/%m/%Y %H:%M', '12', true);" style="cursor:hand;" width="16" height="16"/></td>
<td width="15%" align=right class="type1">Userid </td>
<td width="22%" class="type1"> <html:text property="interview_schedule_userid" indexed="true" readonly="true" styleClass="input_medium"/></td>
</tr>
<tr>
<td colspan=3 align=middle class="type1"><a href="javascript:void()" onklick="javascript:return resumesearch()"> Candidates for Interview</a></td>
</tr>

</logic:equal>
</table>

</logic:iterate>
</logic resent>

my selection form looks like this

public class SelectionDetails {
private String vacancy_refno="";
private String recycle_no="";
private String place_interview="";
private String date_interview="";

public String getVacancy_refno() {
return vacancy_refno;
}
public void setVacancy_refno(String vacancy_refno) {
this.vacancy_refno = vacancy_refno;
}

public String getRecycle_no() {
return recycle_no;
}
public void setRecycle_no(String recycle_no) {
this.recycle_no = recycle_no;
}

public String getPlace_interview() {
return place_interview;
}
public void setPlace_interview(String place_interview) {
this.place_interview = place_interview;
}

public String getDate_interview() {
return date_interview;
}

public void setDate_interview(String date_interview) {
this.date_interview = date_interview;
}
can you help me to solve this
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64171
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Report post to moderator
Please do not cross-post the same question in multiple forums. It wastes people's time when multiple redundant conversations take place. Please read this for more information.
 
Don't get me started about those stupid light bulbs.
    Bookmark Topic Watch Topic
  • New Topic