}
private void doGetRemoteClients() throws PageException {
RemoteClient[] clients = config.getRemoteClients();
RemoteClient client;
ProxyData pd;
railo.runtime.type.Query qry=new QueryImpl(new String[]{"label","usage","securityKey","adminPassword","serverUsername","serverPassword","type","url",
"proxyServer","proxyUsername","proxyPassword","proxyPort"},clients.length,"query");
int row=0;
for(int i=0;i<clients.length;i++) {
client=clients[i];
pd=client.getProxyData();
row=i+1;
qry.setAt("label",row,client.getLabel());
qry.setAt("usage",row,client.getUsage());
qry.setAt("securityKey",row,client.getSecurityKey());
qry.setAt("adminPassword",row,client.getAdminPassword());
qry.setAt("ServerUsername",row,client.getServerUsername());
qry.setAt("ServerPassword",row,client.getServerPassword());
qry.setAt("type",row,client.getType());
qry.setAt("url",row,client.getUrl());
qry.setAt("proxyServer",row,pd==null?"":pd.getServer());
qry.setAt("proxyUsername",row,pd==null?"":pd.getUsername());
qry.setAt("proxyPassword",row,pd==null?"":pd.getPassword());
qry.setAt("proxyPort",row,pd==null?"":Caster.toString(pd.getPort()));
}
pageContext.setVariable(getString("admin",action,"returnVariable"),qry);
}