[OFBiz] SVN: r4961 - trunk/framework/webtools/webapp/webtools/datafile

jonesde at svn.ofbiz.org jonesde at svn.ofbiz.org
Thu May 5 02:13:49 EDT 2005


Author: jonesde
Date: 2005-05-05 01:13:46 -0500 (Thu, 05 May 2005)
New Revision: 4961

Modified:
   trunk/framework/webtools/webapp/webtools/datafile/viewdatafile.jsp
Log:
Fixed bug reported by Luke Prentice; was caused by search and replace of various single quotes to double quotes; fixed by escaping the double quotes

Modified: trunk/framework/webtools/webapp/webtools/datafile/viewdatafile.jsp
===================================================================
--- trunk/framework/webtools/webapp/webtools/datafile/viewdatafile.jsp	2005-05-05 05:14:18 UTC (rev 4960)
+++ trunk/framework/webtools/webapp/webtools/datafile/viewdatafile.jsp	2005-05-05 06:13:46 UTC (rev 4961)
@@ -77,25 +77,25 @@
 
   <hr>
 
-  <%if(messages.size() > 0) {%>
+  <%if (messages.size() > 0) {%>
     <H4>The following occurred:</H4>
     <UL>
     <%Iterator errMsgIter = messages.iterator();%>
-    <%while(errMsgIter.hasNext()) {%>
+    <%while (errMsgIter.hasNext()) {%>
       <LI><%=errMsgIter.next()%>
     <%}%>
     </UL>
   <%}%>
 
-  <%if(dataFile != null && modelDataFile != null) {%>
+  <%if (dataFile != null && modelDataFile != null) {%>
     <FORM method="post" action='<ofbiz:url>/viewdatafile</ofbiz:url>'>
-      <INPUT name='DATAFILE_LOCATION' type="hidden" value='<%=UtilFormatOut.checkNull(dataFileLoc)%>'>
-      <%=dataFileIsUrl?"<INPUT type="hidden" name='DATAFILE_IS_URL' value='true'>":""%>
-      <INPUT name='DEFINITION_LOCATION' type="hidden" value='<%=UtilFormatOut.checkNull(definitionLoc)%>'>
-      <%=definitionIsUrl?"<INPUT type="hidden" name='DEFINITION_IS_URL' value='true'>":""%>
-      <INPUT name='DEFINITION_NAME' type="hidden" value='<%=UtilFormatOut.checkNull(definitionName)%>'>
-      Save to file: <INPUT name='DATAFILE_SAVE' type="text" size='60' value='<%=UtilFormatOut.checkNull(dataFileSave)%>'>
-      <INPUT type="submit" value='Save'>
+      <INPUT name="DATAFILE_LOCATION" type="hidden" value="<%=UtilFormatOut.checkNull(dataFileLoc)%>">
+      <%=dataFileIsUrl?"<INPUT type=\"hidden\" name=\"DATAFILE_IS_URL\" value=\"true\">":""%>
+      <INPUT name="DEFINITION_LOCATION" type="hidden" value='<%=UtilFormatOut.checkNull(definitionLoc)%>'>
+      <%=definitionIsUrl?"<INPUT type=\"hidden\" name=\"DEFINITION_IS_URL\" value=\"true\">":""%>
+      <INPUT name="DEFINITION_NAME" type="hidden" value="<%=UtilFormatOut.checkNull(definitionName)%>">
+      Save to file: <INPUT name="DATAFILE_SAVE" type="text" size="60" value="<%=UtilFormatOut.checkNull(dataFileSave)%>"/>
+      <INPUT type="submit" value="Save"/>
     </FORM>
     <BR>
 



More information about the Svn mailing list