Author: tan_pham_dinh
Date: 2010-03-04 05:26:50 -0500 (Thu, 04 Mar 2010)
New Revision: 1970
Modified:
portal/trunk/portlet/exoadmin/src/main/java/org/exoplatform/applicationregistry/webui/component/UICategorySelector.java
portal/trunk/web/portal/src/main/webapp/groovy/webui/form/UIFormUploadInput.gtmpl
Log:
- GTNPORTAL-797: Can not add gadget to category in Applicaton REgistry
- GTNPORTAL-579: Fix width for UIUpload in Linux base OS
Modified:
portal/trunk/portlet/exoadmin/src/main/java/org/exoplatform/applicationregistry/webui/component/UICategorySelector.java
===================================================================
---
portal/trunk/portlet/exoadmin/src/main/java/org/exoplatform/applicationregistry/webui/component/UICategorySelector.java 2010-03-04
09:52:16 UTC (rev 1969)
+++
portal/trunk/portlet/exoadmin/src/main/java/org/exoplatform/applicationregistry/webui/component/UICategorySelector.java 2010-03-04
10:26:50 UTC (rev 1970)
@@ -137,6 +137,9 @@
}
UIGadgetInfo gadgetInfo = selector.getParent();
gadgetInfo.getChild(UICategorySelector.class).setRendered(false);
+ UIApplicationRegistryPortlet uiPortlet =
gadgetInfo.getAncestorOfType(UIApplicationRegistryPortlet.class);
+ UIApplicationOrganizer uiOrganizer =
uiPortlet.getChild(UIApplicationOrganizer.class);
+ uiOrganizer.reload();
event.getRequestContext().addUIComponentToUpdateByAjax(gadgetInfo);
}
Modified:
portal/trunk/web/portal/src/main/webapp/groovy/webui/form/UIFormUploadInput.gtmpl
===================================================================
---
portal/trunk/web/portal/src/main/webapp/groovy/webui/form/UIFormUploadInput.gtmpl 2010-03-04
09:52:16 UTC (rev 1969)
+++
portal/trunk/web/portal/src/main/webapp/groovy/webui/form/UIFormUploadInput.gtmpl 2010-03-04
10:26:50 UTC (rev 1970)
@@ -9,7 +9,7 @@
<div class="LimitMessage" style="display: none;"><%=
_ctx.appRes("UIFormUploadInput.msg.limit"); %></div>
<input type="hidden" id="input$uploadId"
name="<%=uicomponent.getName();%>" value="false"/>
<div id="<%=uploadId;%>UploadIframe"
class="UploadIframe">
- <iframe height="23px" allowTransparency="true"
scrolling="no" frameborder="0" framespacing="0"
id="<%=uploadId;%>uploadFrame"></iframe>
+ <iframe height="23px" width="100%"
allowTransparency="true" scrolling="no" frameborder="0"
framespacing="0"
id="<%=uploadId;%>uploadFrame"></iframe>
</div>
<div id="<%=uploadId;%>ProgressIframe"
class="ProgressIframe" style="display: none;"></div>
<div class="ProgressBarFrame" style="display: none;">
Show replies by date