struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jakkampudi, ChandraseKhar" <CJakkamp...@aivia.net>
Subject RE: New Struts User - Pick list help
Date Wed, 27 Feb 2002 21:24:47 GMT
Try 
 <form:options name="list"/>
I am not sure if that is right.

But you can go here for further documentation.
http://jakarta.apache.org/struts/doc-1.0.2/struts-html.html#options

Hope that helps
-JC

-----Original Message-----
From: Honman Lee [mailto:hlee@axcelerant.com]
Sent: Wednesday, February 27, 2002 3:20 PM
To: Struts Users Mailing List
Subject: RE: New Struts User - Pick list help


Thanks Mark...Hopefully people can read this.

Can anyone help me with what I am doing wrong?
The following is part of a form where I am trying to get a dynamic picklist
generated:

<%
java.util.ArrayList list = new java.util.ArrayList();
  list.add("First");
  list.add("Second");
  list.add("Third");
  list.add("Fourth");
  list.add("Fifth");
  pageContext.setAttribute("list", list, PageContext.PAGE_SCOPE);
%>					

 <form:select property="place">
 <form:options property="list"/>
 </form:select>

Any help would be greatly appreciated...
The error message I get is:
javax.servlet.jsp.JspException: Must specify type attribute if name is
specified
void org.apache.struts.taglib.html.FormTag.lookup()
int org.apache.struts.taglib.html.FormTag.doStartTag()
void
_body._provider__statement._providerStatementAdd._jspService(javax.servlet.h
ttp.HttpServletRequest, javax.servlet.http.HttpServletResponse)
[/body/provider_statement/providerStatementAdd.jsp]
void com.orionserver[Oracle9iAS (2.0.0.0) Containers for
J2EE].http.OrionHttpJspPage.service(javax.servlet.ServletRequest,
javax.servlet.ServletResponse)
void oracle.jsp.runtimev2.JspPageTable.compileAndServe(oracle.jsp.runtimev2.
JspPageInfo, javax.servlet.http.HttpServletRequest,
javax.servlet.http.HttpServletResponse)
void
oracle.jsp.runtimev2.JspPageTable.service(javax.servlet.http.HttpServletRequ
est, javax.servlet.http.HttpServletResponse, java.lang.String)
void
oracle.jsp.runtimev2.JspServlet.internalService(javax.servlet.http.HttpServl
etRequest, javax.servlet.http.HttpServletResponse)
void
oracle.jsp.runtimev2.JspServlet.service(javax.servlet.http.HttpServletReques
t, javax.servlet.http.HttpServletResponse)
void javax.servlet.http.HttpServlet.service(javax.servlet.ServletRequest,
javax.servlet.ServletResponse)
void com.evermind[Oracle9iAS (2.0.0.0) Containers for
J2EE].server.http.ServletRequestDispatcher.invoke(javax.servlet.ServletReque
st, javax.servlet.ServletResponse)
void com.evermind[Oracle9iAS (2.0.0.0) Containers for
J2EE].server.http.ServletRequestDispatcher.include(javax.servlet.ServletRequ
est, javax.servlet.ServletResponse)
void com.evermind[Oracle9iAS (2.0.0.0) Containers for
J2EE].server.http.EvermindPageContext.include(java.lang.String)
int s1.struts.taglib.component.InsertTag$InsertHandler.doEndTag()
int s1.struts.taglib.component.InsertTag.doEndTag()
void
_template._mainLayout._jspService(javax.servlet.http.HttpServletRequest,
javax.servlet.http.HttpServletResponse)
[/template/mainLayout.jsp]


-----Original Message-----
From: Galbreath, Mark [mailto:Galbreath@tessco.com]
Sent: Wednesday, February 27, 2002 1:14 PM
To: 'Struts Users Mailing List'
Subject: RE: New Struts User - Pick list help

You are posting in MS PGothic 10-point font and it is difficult to read (and
anyone having HTML turned on will reply in the same font).  Change to Arial,
Helvetica, or other standard web font.

Mark

-----Original Message-----
From: Honman Lee [mailto:hlee@axcelerant.com]
Sent: Wednesday, February 27, 2002 4:02 PM

I am not sure I understand what you mean by "change your font".

-----Original Message-----
From: Galbreath, Mark [mailto:Galbreath@tessco.com]
Sent: Wednesday, February 27, 2002 11:11 AM
To: 'Struts Users Mailing List'
Subject: RE: New Struts User - Pick list help

Yeah, change your font.

Mark

-----Original Message-----
From: Honman Lee [mailto:hlee@axcelerant.com]
Sent: Wednesday, February 27, 2002 1:59 PM

Can anyone help me with what I am doing wrong?

--
To unsubscribe, e-mail:
<mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail:
<mailto:struts-user-help@jakarta.apache.org>

--
To unsubscribe, e-mail:
<mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail:
<mailto:struts-user-help@jakarta.apache.org>

--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message