[KULRICE-7563] Easy display of List<String> NEW control(s) Created: 27/Jun/12 Updated: 19/Jan/15
|Project:||Kuali Rice Development|
|Component/s:||User Experience (UX), User Interface|
|Security Level:||Public (Public: Anyone can view)|
|Reporter:||Brian Smith (Inactive)||Assignee:||Unassigned|
|Labels:||DeopdownControl, Old, Uif-InputField|
|Remaining Estimate:||Not Specified|
|Time Spent:||Not Specified|
|Original Estimate:||Not Specified|
|KAI Review Status:||Not Required|
|KTI Review Status:||Not Required|
Right now there is no way to easily display a List/Array of strings to the user (without using a wrapping object and collection components).
This control would be the automatic choice for fields whose property path point to a list of string for readOnly content.
Possibly include a default for this type when NOT readOnly (as a seperate control - some kind of freeform string list entry, this needs research).
In many cases, List<String> has a set of input for the non-readOnly case (examples being checkbox and multiselect - these both must be backed by List<String>).
To reiterate: jira is for easy List<String> readOnly display control (and IN ADDITION, another control that allows freeform string list content). readOnly control is higher priority, but both should be supported.
|Comment by Jerry Neal (Inactive) [ 04/Sep/12 ]|
Adding message from Venkat:
Looks like it's a KRAD issue in M3.
When we use DropdownControl (multiple select) and if it's readonly, looks like we're having issue with spring evaluating the value. If we use, readOnlyDisplayReplacementPropertyName for that propety, would fix this issue
<bean parent="Uif-InputField" p:propertyName="features" p:label="Features">
Here, property 'features' defined as List in the form.
|Comment by Brian Smith (Inactive) [ 05/Nov/12 ]|
readOnly lists are resolved using a different approach, see readOnlyListDisplayType and readOnlyListDelimiter options on DataField in 2.2 rc1. Note this includes automatic readOnly conversion for MultiValueControl types as well and any DataFields that use List<?> where ? is a simple type.
|Comment by Brian Smith (Inactive) [ 15/Apr/13 ]|
Ones we are considering