/** * Set the file table fixed height. Set it to null if you don't want fixed height * with overflow, and to a valid CSS measure if you want it instead. * Default value is "25em" * @param height */ public void setFileTableHeight(String height) { fileTable.setTableHeight(height); }
/** * Action undertaken as a directory is clicked. Default behavior is to drill down into * the directory. * @param file * @param target */ protected void directoryClicked(File file, AjaxRequestTarget target) { // explicitly change the root model, inform the other components the model has changed GeoServerFileChooser.this.file.setObject(file); fileTable.getProvider().setDirectory(new Model(file)); breadcrumbs.setSelection(file); target.addComponent(fileTable); target.addComponent(breadcrumbs); }
fileTable.setOutputMarkupId(true); add(fileTable);
/** * Action undertaken as a directory is clicked. Default behavior is to drill down into the * directory. * * @param file * @param target */ protected void directoryClicked(File file, AjaxRequestTarget target) { // explicitly change the root model, inform the other components the model has changed GeoServerFileChooser.this.file.setObject(file); fileTable.getProvider().setDirectory(new Model<File>(file)); breadcrumbs.setSelection(file); target.add(fileTable); target.add(breadcrumbs); }
fileTable.setOutputMarkupId(true); add(fileTable);
/** * Set the file table fixed height. Set it to null if you don't want fixed height with overflow, * and to a valid CSS measure if you want it instead. Default value is "25em" * * @param height */ public void setFileTableHeight(String height) { fileTable.setTableHeight(height); }