Hi, I have three model objects Engagementform,Areasimpacted,Webappssystem. I have many to many mapping in Engagementform & Areasimpacted and Engagementform & Webappssystem. I have used following in Engagementform.java Set<Webappssystem> systems; Set<Areasimpacted> areasImpacted;
I want to take the data for this two sets from the jsp of Engagementform not from separate jsps generated by maven for these two sets. I have customized the jsp for Engagementform generated by appfuse/maven by adding <select/> tag for these two sets as <li> <appfuse:label styleClass="desc" key="engagementform.systems"/> <spring:bind path="engagementform.systems"> <select name="systems" multiple="true"> <option value="BPAYBiller">BPAY Biller </option> <option value="DocumentGenerationSystem">Document Generation System</option> <option value="RelationshipPricingModel">Relationship Pricing Model</option> <option value="Business Banking">Business Banking</option> <option value="BisTracker">BisTracker</option> <option value="EventTracker">Event Tracker</option> <option value="Other:">Other:</option> </select> </spring:bind> </li> But when i tried to select from the list and save the Engagementform object i am getting error Failed to convert property value of type [java.lang.String[]] to required type [java.util.Set] for property areasImpacted; nested exception is java.lang.IllegalArgumentException: Cannot convert value of type [java.lang.String] to required type [au.com.suncorp.model.Areasimpacted] for property areasImpacted[0]: no matching editors or conversion strategy found Failed to convert property value of type [java.lang.String[]] to required type [java.util.Set] for property systems; nested exception is java.lang.IllegalArgumentException: Cannot convert value of type [java.lang.String] to required type [au.com.suncorp.model.Webappssystem] for property systems[0]: no matching editors or conversion strategy found I tried to change setter for these two properties manually but i am getting test cases failure. can anybody please tell me what should i do.... -- View this message in context: http://www.nabble.com/Problem-with-ManyToMany-Mapping-tf4009715s2369.html#a11387191 Sent from the AppFuse - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]