public String buildRadio ( String propName ) throws CmsException { String propVal = readProperty ( propName ) ; StringBuffer result = new StringBuffer ( "<table border=\"0\"><tr>" ) ; result . append ( "<td><input type=\"radio\" value=\"true\" onClick=\"checkNoIntern()\" name=\"" ) . append ( propName ) . append ( "\" " ) . append ( Boolean . valueOf ( propVal ) . booleanValue ( ) ? "checked=\"checked\"" : "" ) . append ( "/></td><td id=\"tablelabel\">" ) . append ( key ( Messages . GUI_LABEL_TRUE_0 ) ) . append ( "</td>" ) ; result . append ( "<td><input type=\"radio\" value=\"false\" onClick=\"checkNoIntern()\" name=\"" ) . append ( propName ) . append ( "\" " ) . append ( Boolean . valueOf ( propVal ) . booleanValue ( ) ? "" : "checked=\"checked\"" ) . append ( "/></td><td id=\"tablelabel\">" ) . append ( key ( Messages . GUI_LABEL_FALSE_0 ) ) . append ( "</td>" ) ; result . append ( "<td><input type=\"radio\" value=\"\" onClick=\"checkNoIntern()\" name=\"" ) . append ( propName ) . append ( "\" " ) . append ( CmsStringUtil . isEmpty ( propVal ) ? "checked=\"checked\"" : "" ) . append ( "/></td><td id=\"tablelabel\">" ) . append ( getPropertyInheritanceInfo ( propName ) ) . append ( "</td></tr></table>" ) ; return result . toString ( ) ; }
Builds the radio input to set the export and secure property .