* configclients.jsp: Handle clients with no args

This commit is contained in:
zzz
2008-10-19 21:45:04 +00:00
parent 50c93e25c7
commit af630e9559

View File

@ -35,7 +35,8 @@ public class ConfigClientsHelper {
List clients = ClientAppConfig.getClientApps(_context);
for (int cur = 0; cur < clients.size(); cur++) {
ClientAppConfig ca = (ClientAppConfig) clients.get(cur);
renderForm(buf, ""+cur, ca.clientName, false, !ca.disabled, "webConsole".equals(ca.clientName), ca.className + " " + ca.args);
renderForm(buf, ""+cur, ca.clientName, false, !ca.disabled, "webConsole".equals(ca.clientName),
ca.className + ((ca.args != null) ? " " + ca.args : ""));
}
buf.append("</table>\n");