First off, I've been using primefaces for 2 years now (back when it used YUI!) and have enjoyed the journey. I have a suggestion that will help PrimeFaces live up to it's "lightweight" promise.
I think like DualListModel should be avoided. It couples your Java Code to PrimeFaces components; coupled code is the opposite of lightweight. It's certainly necessary for some components, but it should be used a last ditch option.
This mirrors the strategy of SpringFramework. You can write an entire "Spring Application" without ever importing Java classes from the org.springframework.* package.
Thanks!
-Jonathan
Primefaces Suggestion to make it more lightweight
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
List<List<?>,List<?>> model then? Isn't it ugly?
I like dualListModel as it defines things fine grained. Get Source and Get Target.
Spring does not have imports in bean but does a hell of imports in your xml.
I like dualListModel as it defines things fine grained. Get Source and Get Target.
Spring does not have imports in bean but does a hell of imports in your xml.
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
sourceValue and targetValue seems a better approach but then user needs to define two values in bean.
-
- PrimeFaces Core Developer
- Posts: 3979
- Joined: 03 Dec 2010, 14:11
- Location: Bavaria, DE
- Contact:
sourceValue and targetValue would be great!
Will it be accepted for future releases? Then i would create feature request!
Will it be accepted for future releases? Then i would create feature request!
Thomas Andraschko
PrimeFaces | PrimeFaces Extensions
Apache Member | OpenWebBeans, DeltaSpike, MyFaces, BVal, TomEE
Sponsor me: https://github.com/sponsors/tandraschko
Blog: http://tandraschko.blogspot.de/
Twitter: https://twitter.com/TAndraschko
PrimeFaces | PrimeFaces Extensions
Apache Member | OpenWebBeans, DeltaSpike, MyFaces, BVal, TomEE
Sponsor me: https://github.com/sponsors/tandraschko
Blog: http://tandraschko.blogspot.de/
Twitter: https://twitter.com/TAndraschko
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
Yes, please do so and we monitor the user votes. 15+ votes is fine from me point of view.
-
- PrimeFaces Core Developer
- Posts: 3979
- Joined: 03 Dec 2010, 14:11
- Location: Bavaria, DE
- Contact:
All right, thanks!
Issue created: http://code.google.com/p/primefaces/iss ... il?id=3108
Issue created: http://code.google.com/p/primefaces/iss ... il?id=3108
Thomas Andraschko
PrimeFaces | PrimeFaces Extensions
Apache Member | OpenWebBeans, DeltaSpike, MyFaces, BVal, TomEE
Sponsor me: https://github.com/sponsors/tandraschko
Blog: http://tandraschko.blogspot.de/
Twitter: https://twitter.com/TAndraschko
PrimeFaces | PrimeFaces Extensions
Apache Member | OpenWebBeans, DeltaSpike, MyFaces, BVal, TomEE
Sponsor me: https://github.com/sponsors/tandraschko
Blog: http://tandraschko.blogspot.de/
Twitter: https://twitter.com/TAndraschko
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
What we can do is adding source and target attributes that point to Lists and keep value for sometime to keep backward compatibility as deprecated. Accepted the enhancement request, thanks for your feedback.
-
- Information
-
Who is online
Users browsing this forum: Google [Bot] and 44 guests