private void appendInputOrSelect ( ActionInputParameter parentInputParameter , String paramName , ActionInputParameter childInputParameter , Object [ ] possibleValues ) throws IOException { if ( possibleValues . length > 0 ) { if ( childInputParameter . isArrayOrCollection ( ) ) { // TODO multiple formatted callvalues appendSelectMulti ( paramName , possibleValues , childInputParameter ) ; } else { appendSelectOne ( paramName , possibleValues , childInputParameter ) ; } } else { appendInput ( paramName , childInputParameter , childInputParameter . getValue ( ) , parentInputParameter . isReadOnly ( paramName ) ) ; } }
Appends simple input or select depending on availability of possible values .