Re: [appfuse-user] Drop down list population

2007-07-10 Thread Michael Horwitz
t; >> < >>> >>> http://static.springframework.org/spring/docs/2.0.x/reference/spring-form.tld.html > >>> >>> >> >>> >> >>> >> So your JSP would look something like: >>>

Re: [appfuse-user] Drop down list population

2007-07-10 Thread Aled Rhys Jones
MAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>> wrote: >> >> m4, wanted to finish off some functionality before updating to m5. >> >> >> Cheers >> >> Aled >> >> >> >>

Re: [appfuse-user] Drop down list population

2007-07-10 Thread Aled Rhys Jones
;> >> >> Cheers >> >> Aled >> >> >> >> >> >> *From:* Michael Horwitz [mailto: [EMAIL PROTECTED] <mailto:[EMAIL

Re: [appfuse-user] Drop down list population

2007-07-10 Thread Aled Rhys Jones
ish off some functionality before updating to m5. >> >> >> Cheers >> >> Aled >> >> >> >> >> >>

Re: [appfuse-user] Drop down list population

2007-07-09 Thread Michael Horwitz
gt;> >> >> Cheers >> >> Aled >> >> >> >> >> >> *From:* Michael Horwitz [mailto:[EMAIL PROTECTED] >> <mailto:[EMAIL PROTECTED]>] >> *Sent

Re: [appfuse-user] Drop down list population

2007-07-08 Thread Matt Raible
PROTECTED] >> <mailto:[EMAIL PROTECTED]>> wrote: >> >> m4, wanted to finish off some functionality before updating to m5. >> >> >> Cheers >> >> Aled >> >> >> >> --

Re: [appfuse-user] Drop down list population

2007-07-08 Thread Aled Rhys Jones
*From:* Michael Horwitz [mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>] *Sent:* 06 July 2007 08:39 *To:* users@appfuse.dev.java.net <mailto:users@appfuse.dev.java.net> *Subject:* Re: [appfuse-user] Drop down list population Which version of AppFuse are yo

Re: [appfuse-user] Drop down list population

2007-07-07 Thread Aled Rhys Jones
efore updating to m5. Cheers Aled *From:* Michael Horwitz [mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>] *Sent:* 06 July 2007 08:39 *To:* users@appfuse.dev.java.net <mailto:users@appfuse.dev.java.net> *Subject:*

Re: [appfuse-user] Drop down list population

2007-07-06 Thread Michael Horwitz
ROTECTED]> wrote: m4, wanted to finish off some functionality before updating to m5. Cheers Aled -- *From:* Michael Horwitz [mailto:[EMAIL PROTECTED] *Sent:* 06 July 2007 08:39 *To:* users@appfuse.dev.java.net *Subject:* Re: [appfuse-user] Drop down list

RE: [appfuse-user] Drop down list population

2007-07-06 Thread Aled Rhys Jones
m4, wanted to finish off some functionality before updating to m5. Cheers Aled _ From: Michael Horwitz [mailto:[EMAIL PROTECTED] Sent: 06 July 2007 08:39 To: users@appfuse.dev.java.net Subject: Re: [appfuse-user] Drop down list population Which version of AppFuse are you

Re: [appfuse-user] Drop down list population

2007-07-06 Thread Michael Horwitz
Which version of AppFuse are you using Aled? On 7/5/07, Tsung <[EMAIL PROTECTED]> wrote: Aled - Rather than having setCountryManager method, pass the CountryManager referene in CountryEditor's constructor. -- View this message in context: http://www.nabble.com/Add-ManyToOne-relationship-betw

Re: [appfuse-user] Drop down list population

2007-07-05 Thread Tsung
Aled - Rather than having setCountryManager method, pass the CountryManager referene in CountryEditor's constructor. -- View this message in context: http://www.nabble.com/Add-ManyToOne-relationship-between-user-and-a-new-pojo-tf3993393s2369.html#a11454095 Sent from the AppFuse - User mailing

Re: [appfuse-user] Drop down list population

2007-07-05 Thread Aled Rhys Jones
Any ideas with this one guys? I can't work out why the custom editor's setAsText and getAsText aren't being called... Aled Rhys Jones wrote: Seems I spoke too soon. Although the list of countries displays correctly, it never gets saved. I have a CountryEditor that has the methods required. p

Re: [appfuse-user] Drop down list population

2007-07-02 Thread Aled Rhys Jones
Seems I spoke too soon. Although the list of countries displays correctly, it never gets saved. I have a CountryEditor that has the methods required. public class CountryEditor extends PropertyEditorSupport { private GenericManager countryManager = null; public void setCountryManager

Re: [appfuse-user] Drop down list population

2007-07-02 Thread Aled Rhys Jones
Nice one Mike, finally got it working after spending most of yesterday scratching my head and cursing google for not finding exactly what I wanted ;-) Cheers Aled Michael Horwitz wrote: You are going to need to provide Spring MVC with a way to get from an id to a country and vice-versa. As yo

Re: [appfuse-user] Drop down list population

2007-07-01 Thread Michael Horwitz
You are going to need to provide Spring MVC with a way to get from an id to a country and vice-versa. As you correctly point out this is done by registering a custom property editor in your controller. To do this you need to: 1) Extend the class PropertyEditorSupport to create the property edito

[appfuse-user] Drop down list population

2007-07-01 Thread Aled Rhys Jones
Hi peeps Could someone recommend the best way of populating a drop down list in edit/add forms? New to spring mvc and not sure of the correct way of going about it. I have a list of countries stored in the database. Access to these are provided by a Generic Manager for crud. One of my edi