Author: hfnukal
Date: 2011-08-02 01:55:47 -0400 (Tue, 02 Aug 2011)
New Revision: 6971
Modified:
epp/portal/branches/EPP_5_1_Branch/web/portal/src/main/webapp/groovy/webui/core/UIRepeater.gtmpl
Log:
JBEPP-365 PageManagement
Modified:
epp/portal/branches/EPP_5_1_Branch/web/portal/src/main/webapp/groovy/webui/core/UIRepeater.gtmpl
===================================================================
---
epp/portal/branches/EPP_5_1_Branch/web/portal/src/main/webapp/groovy/webui/core/UIRepeater.gtmpl 2011-08-02
05:53:57 UTC (rev 6970)
+++
epp/portal/branches/EPP_5_1_Branch/web/portal/src/main/webapp/groovy/webui/core/UIRepeater.gtmpl 2011-08-02
05:55:47 UTC (rev 6971)
@@ -13,6 +13,7 @@
UIForm uiForm = uicomponent.getAncestorOfType(UIForm.class);
DateFormat dateFormat = null;
+ EntityEncoder entityEncoder = EntityEncoder.FULL;
%>
<div id="$uicomponent.id">
<table class="UIGrid" cellspacing="0">
@@ -56,8 +57,11 @@
if(dateFormat == null) dateFormat = new SimpleDateFormat("HH:mm:ss
yyyy-MM-dd");
cssClass = "Datetime" ;
fieldValue = dateFormat.format(fieldValue);
- }
- else cssClass = "Text" ;
+ }
+ else {
+ cssClass = "Text" ;
+ fieldValue = entityEncoder.encode(fieldValue.toString());
+ }
} else {
fieldValue = "";
}
Show replies by date