Enhancement Request: Retire DualListModel

UI Components for JSF
Post Reply
cj91
Posts: 96
Joined: 04 Feb 2010, 00:07

25 Sep 2011, 22:11

I would like to retire DualListModel. Under the scenes, it does nothing but hold a reference to two lists. It creates a compile dependency on PrimeFaces jar (Cagatay, you're big on "on dependencies" for better/worse) and could easily be accomplished by have the component declaration maybe look like this instead:

Code: Select all

<p:pickList
					source="#{jobFunctionsMB.allPossibleRoles}"
					target="#{jobFunctionsMB.selectedRoles}"
					var="job"
					itemLabel="#{job.name}"
					itemValue="#{job}"
					converter="RoleConverter" />

Thank you!

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

26 Sep 2011, 11:23

Do we need to retire TreeNode, ScheduleModel, GMapModel, *Event, ChartModels, StreamedContent, MenuModel, UploadedFile, CroppedImage and more as well because they add compile time dependency?

cj91
Posts: 96
Joined: 04 Feb 2010, 00:07

28 Sep 2011, 19:51

No, Cagatay, and please don't take my suggestion as a harsh criticism of your work. As one of your veteran users, I very much enjoy your framework and appreciate your efforts.

I was pointing out in this instance, the DualListModel does not add much value considering the code underneath the covers.

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

29 Sep 2011, 08:13

Of course, I haven't got it as a harsh criticism :)

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 24 guests