Meaningless Drivel is fun!
The moose likes Struts and the fly likes logic:iterate Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Reply locked New topic


sanju sreedharan
Ranch Hand

Joined: Nov 25, 2008
Posts: 48
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">
<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>
<td colspan=3 align=middle class="type1"><a href="javascript:void()" onklick="javascript:return resumesearch()"> Candidates for Interview</a></td>


</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

Joined: Jan 10, 2002
Posts: 63865

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.

[Asking smart questions] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: logic:iterate
jQuery in Action, 3rd edition