Issue:
How to remove default value ('---'/'~NOTHING~') value from Single select list of values.
Resolution:
This is not configurable and needs customization.
Will need to modify TIBCO JasperReports® Server source code to make the change.
The affected Java class is com/jaspersoft/jasperserver/war/cascade/handlers/InputControlHandler.java
/** * Label substitution for empty selection in multiselect controls and for empty value in single-value controls * which sent from or to UI. * @see {@link BasicInputControlHandler#fillStateValue} */ public static final String NOTHING_SUBSTITUTION_LABEL = "---";
Additionally need to do the change in SingleSelectListInputControlHandler.class.
Need to recompile the class and package it again.
Recommended Comments
There are no comments to display.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now