Hello, I want to make a form to edit a complex ProductType object.
ProudctType has a list of properties and each property has a list of values. The form displays an input for the ProductType name, a list of inputs for product type property names, and inside each of property section - a list of property value names. User is able to change dynamically the data in the form using JavaScript/AJAX. For example: delete some values, delete some properties (with values) and add few new properties with new values then press save button and all changes are applied in the ActionBean method (removed properties are deleted from the passed ProductType object, new properties with new values added) and the validation is done on new inputs. Is it possible to do such form with Stripes Framework? I managed to add new inputs to HTML dynamically, but data binding and error messages binding are not trivial here. I thought to use indexed properties for the nested inputs, but how to add indexes for dynamically created inputs? Using just "[]" will not bind validation errors on new inputs. There is an exact solution described in http://www.joe- stevens.com/2011/06/06/editing-and-binding-nested-lists-with-asp-net-mvc-2/ but it is valid for Microsoft ASP.NET MVC 3 only. How do you manage to make such dynamic editable form with multilevel entities in it? Thanks, Alex ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Stripes-users mailing list Stripes-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/stripes-users