private RepositoryManager repositoryManager;
@SuppressWarnings("unchecked")
public RemotePortletAppDeployer()
{
deployer = new JetspeedPortletDeployer();
Form form = new Form("form");
repositories = getRepositoryManager().getRepositories();
form.add(new DropDownChoice("repositorySelection", new PropertyModel(
this, "selectedRepository"), repositories, new ChoiceRenderer(
"name", "name")));