We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Review the following code. The setter in bind(...) call is not called like other components. Hint: no value changed listener is assigned.
private EnhancedDateRangePicker coverageDateRange;
...
coverageDateRange = new EnhancedDateRangePicker( "Policy Dates" ); coverageDateRange.setAutoOpen( false ); coverageDateRange.setClearButtonVisible( true ); coverageDateRange.setParsers( "mmddyy" , "mmddyyyy" , "mm/dd/yy" , "mm/dd/yyyy" );
binder.forField( getSidePanel().getCoverageDateRange() ) .bind( _healthInsuranceCoverage -> new DateRange( _healthInsuranceCoverage.getEffectiveDate( CurrentTenantContext.getTimezone() ) , _healthInsuranceCoverage.getUntilDate( CurrentTenantContext.getTimezone() ) ) , ( _healthInsuranceCoverage, _dateRange ) -> { _healthInsuranceCoverage.setEffectiveDate( _dateRange.getStartDate() , CurrentTenantContext.getTimezone() ); _healthInsuranceCoverage.setUntilDate( _dateRange.getEndDate() , CurrentTenantContext.getTimezone() ); } ) ;
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Review the following code. The setter in bind(...) call is not called like other components. Hint: no value changed listener is assigned.
private EnhancedDateRangePicker coverageDateRange;
...
coverageDateRange = new EnhancedDateRangePicker( "Policy Dates" );
coverageDateRange.setAutoOpen( false );
coverageDateRange.setClearButtonVisible( true );
coverageDateRange.setParsers(
"mmddyy"
, "mmddyyyy"
, "mm/dd/yy"
, "mm/dd/yyyy"
);
...
binder.forField( getSidePanel().getCoverageDateRange() )
.bind(
_healthInsuranceCoverage -> new DateRange(
_healthInsuranceCoverage.getEffectiveDate(
CurrentTenantContext.getTimezone()
)
, _healthInsuranceCoverage.getUntilDate(
CurrentTenantContext.getTimezone()
)
)
, ( _healthInsuranceCoverage, _dateRange ) ->
{
_healthInsuranceCoverage.setEffectiveDate(
_dateRange.getStartDate()
, CurrentTenantContext.getTimezone()
);
_healthInsuranceCoverage.setUntilDate(
_dateRange.getEndDate()
, CurrentTenantContext.getTimezone()
);
}
)
;
The text was updated successfully, but these errors were encountered: