* configclients.jsp: Handle clients with no args
This commit is contained in:
@ -35,7 +35,8 @@ public class ConfigClientsHelper {
|
|||||||
List clients = ClientAppConfig.getClientApps(_context);
|
List clients = ClientAppConfig.getClientApps(_context);
|
||||||
for (int cur = 0; cur < clients.size(); cur++) {
|
for (int cur = 0; cur < clients.size(); cur++) {
|
||||||
ClientAppConfig ca = (ClientAppConfig) clients.get(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");
|
buf.append("</table>\n");
|
||||||
|
Reference in New Issue
Block a user