in progress

This commit is contained in:
Francesco Mangiacrapa 2021-03-08 18:28:25 +01:00
parent 79e51db104
commit 3a9ac6eecc
2 changed files with 6 additions and 8 deletions

View File

@ -13,7 +13,6 @@ import com.github.gwtbootstrap.client.ui.AccordionGroup;
import com.github.gwtbootstrap.client.ui.Alert;
import com.github.gwtbootstrap.client.ui.Button;
import com.github.gwtbootstrap.client.ui.constants.AlertType;
import com.github.gwtbootstrap.client.ui.constants.ButtonType;
import com.google.gwt.core.client.GWT;
import com.google.gwt.event.dom.client.ClickEvent;
import com.google.gwt.event.dom.client.ClickHandler;
@ -97,10 +96,10 @@ public class SelectResourceByWEMainPanel extends Composite {
//is file
wsRootId= initialBean.getParent()!=null? initialBean.getParent().getOriginalIdInWorkspace():null;
}
//loads the WE only if the root is not null
if(wsRootId!=null) {
WorkspaceResourcesExplorerPanel workspaceExplorerPanel = new WorkspaceResourcesExplorerPanel(wsRootId,false,null, null,false,null,displayFields);
WorskpaceExplorerSelectNotificationListener wsResourceExplorerListener = new WorskpaceExplorerSelectNotificationListener() {

View File

@ -21,17 +21,16 @@
<b:PageHeader subtext="Resources">Selected</b:PageHeader>
<b:Alert ui:field="showAlert" visible="false"></b:Alert>
<g:VerticalPanel ui:field="selectResourcesContainer"></g:VerticalPanel>
</g:HTMLPanel>
<g:HTMLPanel ui:field="containerPickResources"
addStyleNames="{style.max-height-250}">
</g:HTMLPanel>
<g:HTMLPanel ui:field="containerPickResources">
<b:AccordionGroup ui:field="buttPickResources"
heading="Pick Resources" defaultOpen="true">
<b:FluidRow>
<b:FluidRow addStyleNames="{style.max-height-250}">
<g:VerticalPanel ui:field="wsContainer">
</g:VerticalPanel>
<b:Button ui:field="buttSelectResource">Select</b:Button>
</b:FluidRow>
<b:Button ui:field="buttSelectResource">Select</b:Button>
</b:AccordionGroup>
</g:HTMLPanel>