Ignore:
Timestamp:
2015-07-22T20:27:19+12:00 (9 years ago)
Author:
ak19
Message:

Installer language selection now uses a dropdown in place of radio buttons to accomodate additional language translations submitted for the gsinstaller module. To get the dropdown <large-select> to work like the radio buttons <select>, Dr Bainbridge figured out that Oran had made some code changes to <select> in AntInstaller's LoadConfigFilter.java. Added the same change in for the <large-select> and then needed to port Oran's additional changes to SelectInput.java into LargeSelectInput.java (didn't put the changes in the superclass InputField.java since a lot of other AntInstaller classes inherit from that).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/release-kits/shared/core/ant-installer/src/org/tp23/antinstaller/runtime/exe/LoadConfigFilter.java

    r17514 r30052  
    345345
    346346            String s = field.getAttribute("useAsLocale");
    347             if ( s != null || !s.equals("") ) {
     347            if ( s != null && s.equals("true") ) {
    348348                sInput.setUseAsLocale(true);
    349349            }
     
    383383            sInput.setOptions(optionArr);
    384384
     385            String s = field.getAttribute("useAsLocale");
     386            if ( s != null && s.equals("true") ) {
     387                sInput.setUseAsLocale(true);
     388            }
    385389            return sInput;
    386390        }
Note: See TracChangeset for help on using the changeset viewer.