faces
faces copied to clipboard
Make SelectItem#value generic
Can SelectItem's value be added as a generic of SelectItem? I think it would come in handy. If a good idea can this make it into 1.2.1?
Mike
Environment
Operating System: All Platform: All
Affected Versions
[1.2]
- Issue Imported From: https://github.com/javaee/javaserverfaces-spec/issues/206
- Original Issue Raised By:@glassfishrobot
- Original Issue Assigned To: Unassigned
@glassfishrobot Commented Reported by youngm
@glassfishrobot Commented @edburns said: I'm sorry, Mike, I don't understand what you mean. Can you please be more explicit?
Thanks,
Ed
@glassfishrobot Commented youngm said: Change SelectItem's definition to:
public class SelectItem<V> { private V value = null; public SelectItem(V value)
{...} public V getValue() {...}
public void setValue(V value)
{...}
}
So that I could access the value contained in SelectItem without having to cast it.
Mike
@glassfishrobot Commented @edburns said: Move to unscheduled target milestone
@glassfishrobot Commented @edburns said: Prepare to delete api subcomponent
@glassfishrobot Commented @edburns said: cat2
@glassfishrobot Commented @edburns said: javadoc
@glassfishrobot Commented @edburns said: These are targeted at 2.1.
@glassfishrobot Commented sheetalv said: triage
@glassfishrobot Commented @edburns said: rogerk
@glassfishrobot Commented rogerk said: triage
@glassfishrobot Commented rogerk said: triage
@glassfishrobot Commented @edburns said: Set priority to baseline ahead of JSF 2.3 triage. Priorities will be assigned accurately after this exercise.
@glassfishrobot Commented @edburns said: Higher priority.
@glassfishrobot Commented This issue was imported from java.net JIRA JAVASERVERFACES_SPEC_PUBLIC-206
Breaking change. Let's do 5.0.