refs 6548: TDM - Migrate TabMan to new PortalContext
Task-Url: https://support.d4science.org/issues/6548 Updated to new PortalContext git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-codelistmapping-import-widget@142126 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
c937d56635
commit
03d7ae1885
|
@ -80,16 +80,15 @@ public class CodelistMappingFileUploadPanel extends FormPanel {
|
|||
|
||||
StringBuilder actionUrl = new StringBuilder();
|
||||
actionUrl.append(GWT.getModuleBaseURL());
|
||||
actionUrl.append(Constants.CODELIST_MAPPING_UPLOAD_SERVLET);
|
||||
actionUrl.append(Constants.CODELIST_MAPPING_UPLOAD_SERVLET + "?"
|
||||
+ Constants.CURR_GROUP_ID + "="
|
||||
+ GCubeClientContext.getCurrentContextId());
|
||||
setAction(actionUrl.toString());
|
||||
|
||||
Log.info("Start Upload action Url " + actionUrl.toString());
|
||||
|
||||
|
||||
setWidth("100%");
|
||||
|
||||
|
||||
|
||||
setEncoding(Encoding.MULTIPART);
|
||||
setMethod(Method.POST);
|
||||
}
|
||||
|
@ -154,7 +153,6 @@ public class CodelistMappingFileUploadPanel extends FormPanel {
|
|||
|
||||
add(content);
|
||||
|
||||
|
||||
btnUpload.addSelectHandler(new SelectHandler() {
|
||||
|
||||
public void onSelect(SelectEvent event) {
|
||||
|
|
Loading…
Reference in New Issue