Author: ndkhoiits
Date: 2010-05-20 12:04:25 -0400 (Thu, 20 May 2010)
New Revision: 3160
Modified:
portal/trunk/testsuite/webuibasedsamples/src/main/java/org/exoplatform/sample/webui/component/UISampleMultiValueInputSet.java
Log:
Improve some codes in MultivalueInputset Sample
Modified:
portal/trunk/testsuite/webuibasedsamples/src/main/java/org/exoplatform/sample/webui/component/UISampleMultiValueInputSet.java
===================================================================
---
portal/trunk/testsuite/webuibasedsamples/src/main/java/org/exoplatform/sample/webui/component/UISampleMultiValueInputSet.java 2010-05-20
12:47:28 UTC (rev 3159)
+++
portal/trunk/testsuite/webuibasedsamples/src/main/java/org/exoplatform/sample/webui/component/UISampleMultiValueInputSet.java 2010-05-20
16:04:25 UTC (rev 3160)
@@ -126,7 +126,7 @@
msgBuild.append("<br/>");
}
- return new ApplicationMessage(msgBuild.toString(), null);
+ return new ApplicationMessage(msgBuild.toString().replace(".",
"*"), null);
}
private void makeDateInputMsg(UIFormMultiValueInputSet multiInput, StringBuilder
msgBuild)
@@ -154,7 +154,7 @@
UploadResource uploadResource =
((UIFormUploadInput)multiInputChild).getUploadResource();
if (uploadResource != null)
{
- msgBuild.append(" " +
uploadResource.getFileName().replace(".", "*"));
+ msgBuild.append(" " + uploadResource.getFileName());
}
else
{
Show replies by date