Hello,
Everytime i want to initialize the select tag in my jsp. Tomcat or
rather struts produces an infinite loop.
It always executes the getPlanningperiodid - Method of the
PlanningPeriodHelper Class. As you see i have hardcoded the list, which
has to be used for the select tag. But the problem still stands.

Hope you can help me. Here's the code of my small jsp.

Thanx a lot for your help.

Bjoern

...
<%
  java.util.ArrayList pplist = new java.util.ArrayList();
  pplist.add(new
actions.helper.PlanningPeriodHelper("666","1234","5678"));
  pplist.add(new
actions.helper.PlanningPeriodHelper("777","1234","5678"));
  pageContext.setAttribute("pplist", pplist);
%>

<html:html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body bgcolor="#FFFFFF" text="#000000">
<html:form action="selectPP.do">
<table width="400" border="1">
        <tr>
                <td>
                        <html:select property="planningperiod">
                                <html:options
                                         collection="pplist"
                                         property="planningperiodid"
        
labelProperty="planningperiodid"
                                />
                        </html:select>
                </td>
        </tr>   
</table>
</html:form>
</body>
</html:html>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to