http://www.springframework.org/docs/reference/spring-form.tld.html#spring-form.tld.options

<form:options items="customers" itemValue="id" labelValue="name"/>

Matt

On 10/10/07, George.Francis <[EMAIL PROTECTED]> wrote:
>
> Sorry, can you be more specific regarding what I need to change?
>
>
> mraible wrote:
> >
> > I believe it should be a Map unless you specify label and value
> > properties.
> >
> > Matt
> >
> > On 10/10/07, George.Francis <[EMAIL PROTECTED]> wrote:
> >>
> >> I tried the following in my JSP:
> >>
> >>     <li>
> >>         <appfuse:label styleClass="desc" key="application.customer"/>
> >>         <form:errors path="customer" cssClass="fieldError"/>
> >>         <form:select path="customer">
> >>                 <form:options items="customer"/>
> >>         </form:select>
> >>     </li>
> >>
> >> and I get:
> >>
> >> [ismid] ERROR [btpool0-7] OptionsTag.doStartTag(80) | Type
> >> [java.lang.String] is not valid for option items
> >>
> >>
> >> mraible wrote:
> >> >
> >> > What's the problem? What are you using and what's not working? Are you
> >> > seeing an error?
> >> >
> >> > Matt
> >> >
> >> > On 10/10/07, George.Francis <[EMAIL PROTECTED]> wrote:
> >> >>
> >> >> Hello,
> >> >> I have made a SpringMVC application and defined two beans, Customer
> >> and
> >> >> Application.  One of the members of the Application bean is a
> >> Customer.
> >> >> I'm
> >> >> having trouble getting the applicationform.jsp page to display a list
> >> of
> >> >> existing Customers to associate with the Application. Is it simply a
> >> >> matter
> >> >> of using a different tag than the <form:input> tag?
> >> >> --
> >> >> View this message in context:
> >> >>
> >> http://www.nabble.com/editing-bean-associations-tf4602749s2369.html#a13142252
> >> >> Sent from the AppFuse - User mailing list archive at Nabble.com.
> >> >>
> >> >> ---------------------------------------------------------------------
> >> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
> >> >> For additional commands, e-mail: [EMAIL PROTECTED]
> >> >>
> >> >>
> >> >
> >> >
> >> > --
> >> > http://raibledesigns.com
> >> >
> >> > ---------------------------------------------------------------------
> >> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> >> > For additional commands, e-mail: [EMAIL PROTECTED]
> >> >
> >> >
> >> >
> >>
> >> --
> >> View this message in context:
> >> http://www.nabble.com/editing-bean-associations-tf4602749s2369.html#a13142842
> >> Sent from the AppFuse - User mailing list archive at Nabble.com.
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
> >> For additional commands, e-mail: [EMAIL PROTECTED]
> >>
> >>
> >
> >
> > --
> > http://raibledesigns.com
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
>
> --
> View this message in context: 
> http://www.nabble.com/editing-bean-associations-tf4602749s2369.html#a13143571
> Sent from the AppFuse - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
http://raibledesigns.com

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

Reply via email to