Hi everyone, There is, in my opinion, one main existing flaw in the widget system which is ease of customization / extension.
Adding a new HTML element or modifying the behavior of forms should not be as difficult as it is right now. I remember having to track the Java code on building the models from XML and altering the xsd files and whatnot. I like the idea of widgets being platform independent but realistic implementations seem to be hard, especially for form widgets. So, to avoid replacing widgets with HTML code, I need an easy way to replace "<platform-specific><html>" and an easy way to add custom components to form widgets. Perhaps something like a <custom-widget> element that I can easily link to an FTL template without going through Java or XSD files. my 2 cents. Taher Alkhateeb ----- Original Message ----- From: "Jacques Le Roux" <jacques.le.r...@les7arts.com> To: dev@ofbiz.apache.org Sent: Saturday, 16 May, 2015 10:38:50 AM Subject: Re: Widget or not Widget? [Was Re: Addons for OFBiz] Le 16/05/2015 04:09, Ean Schuessler a écrit : >> From: "Jacques Le Roux" <jacques.le.r...@les7arts.com> >> Subject: Widget or not Widget? [Was Re: Addons for OFBiz] >> Actually maybe I'm misunderstanding you and I also want to clarify with >> everybody. I will try to be brief and right to the point! >> >> Do you (we) want to replace the widgets by something like Ean and Anil >> proposed >> many times, or do we want to improve them using these new tools? > I did not propose that we "replace the widgets". I proposed that we > re-implement the widget rendering in Javascript on the client. There is > a big difference. > Thanks for clarifying Ean, So it seems we are all (I guess Anil wants the same) on the same page and want to improve the widget rendering, not replace it. Jacques