fixed adding /removing col in tables
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portlets/user/reports@70996 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
7018ca682e
commit
be1f07644b
|
@ -5,6 +5,9 @@
|
||||||
<wb-resource deploy-path="/" source-path="/src/main/webapp" tag="defaultRootSource"/>
|
<wb-resource deploy-path="/" source-path="/src/main/webapp" tag="defaultRootSource"/>
|
||||||
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src/main/java"/>
|
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src/main/java"/>
|
||||||
<wb-resource deploy-path="/WEB-INF/classes" source-path="/target/generated-sources/gwt"/>
|
<wb-resource deploy-path="/WEB-INF/classes" source-path="/target/generated-sources/gwt"/>
|
||||||
|
<dependent-module archiveName="gcube-docx-generator-1.2.0-SNAPSHOT.jar" deploy-path="/WEB-INF/lib" handle="module:/resource/gcube-docx-generator/gcube-docx-generator">
|
||||||
|
<dependency-type>uses</dependency-type>
|
||||||
|
</dependent-module>
|
||||||
<property name="java-output-path" value="/${module}/target/www/WEB-INF/classes"/>
|
<property name="java-output-path" value="/${module}/target/www/WEB-INF/classes"/>
|
||||||
<property name="context-root" value="reports"/>
|
<property name="context-root" value="reports"/>
|
||||||
</wb-module>
|
</wb-module>
|
||||||
|
|
|
@ -437,7 +437,7 @@ public class GenericTable extends Composite {
|
||||||
ArrayList<TableCell> toReturn = new ArrayList<TableCell>();
|
ArrayList<TableCell> toReturn = new ArrayList<TableCell>();
|
||||||
for (int j = 0; j < myTable.getCellCount(i); j++) {
|
for (int j = 0; j < myTable.getCellCount(i); j++) {
|
||||||
GenTableCell tb = (GenTableCell) myTable.getWidget(i, j);
|
GenTableCell tb = (GenTableCell) myTable.getWidget(i, j);
|
||||||
int colspan = tb.getColspan();
|
int colspan = tb.getColspan();
|
||||||
|
|
||||||
toReturn.add(new TableCell(tb.getText(), colspan, tb.getWidth(), tb.getHeight()));
|
toReturn.add(new TableCell(tb.getText(), colspan, tb.getWidth(), tb.getHeight()));
|
||||||
}
|
}
|
||||||
|
@ -619,5 +619,7 @@ public class GenericTable extends Composite {
|
||||||
toAdd.addClickHandler(cellClicker);
|
toAdd.addClickHandler(cellClicker);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
cols = originalTable.getColsNo();
|
||||||
|
rows = originalTable.getRowCount();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
<inherits name='org.gcube.portlets.user.guidedtour.GuidedTour' />
|
<inherits name='org.gcube.portlets.user.guidedtour.GuidedTour' />
|
||||||
|
|
||||||
<!-- To Comment out -->
|
<!-- To Comment out -->
|
||||||
<set-property name="user.agent" value="gecko1_8" />
|
<!-- <set-property name="user.agent" value="gecko1_8" /> -->
|
||||||
|
|
||||||
<inherits name='org.gcube.portlets.user.workspace.lighttree.WorkspacePortletLightTree' />
|
<inherits name='org.gcube.portlets.user.workspace.lighttree.WorkspacePortletLightTree' />
|
||||||
<inherits name='org.gcube.portlets.user.exporter.Report_exporter_widget' />
|
<inherits name='org.gcube.portlets.user.exporter.Report_exporter_widget' />
|
||||||
|
|
Reference in New Issue