Author: metskem
Date: Tue Dec 15 18:08:53 2009
New Revision: 890924
URL: http://svn.apache.org/viewvc?rev=890924&view=rev
Log:
* make JCRWikiPage.DATEFORMAT_ISO8601_2000 public again
* PreviewContent.jsp now uses wikiText instead of text parameter (we still need
an Append parameter somewhere ?)
* minor compile warning in AttachmentInfoTab.jsp
Modified:
incubator/jspwiki/trunk/src/WebContent/templates/default/AttachmentInfoTab.jsp
incubator/jspwiki/trunk/src/WebContent/templates/default/PreviewContent.jsp
incubator/jspwiki/trunk/src/java/org/apache/wiki/content/jcr/JCRWikiPage.java
Modified:
incubator/jspwiki/trunk/src/WebContent/templates/default/AttachmentInfoTab.jsp
URL:
http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/WebContent/templates/default/AttachmentInfoTab.jsp?rev=890924&r1=890923&r2=890924&view=diff
==============================================================================
---
incubator/jspwiki/trunk/src/WebContent/templates/default/AttachmentInfoTab.jsp
(original)
+++
incubator/jspwiki/trunk/src/WebContent/templates/default/AttachmentInfoTab.jsp
Tue Dec 15 18:08:53 2009
@@ -62,7 +62,7 @@
int pagesize = 20;
int startitem = itemcount-1; /* itemcount==1-20 -> startitem=0-19 ... */
- String parm_start = (String)request.getParameter( "start" );
+ String parm_start = request.getParameter( "start" );
if( parm_start != null ) startitem = Integer.parseInt( parm_start ) ;
/* round to start of block: 0-19 becomes 0; 20-39 becomes 20 ... */
Modified:
incubator/jspwiki/trunk/src/WebContent/templates/default/PreviewContent.jsp
URL:
http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/WebContent/templates/default/PreviewContent.jsp?rev=890924&r1=890923&r2=890924&view=diff
==============================================================================
--- incubator/jspwiki/trunk/src/WebContent/templates/default/PreviewContent.jsp
(original)
+++ incubator/jspwiki/trunk/src/WebContent/templates/default/PreviewContent.jsp
Tue Dec 15 18:08:53 2009
@@ -46,7 +46,7 @@
<s:hidden name="page" />
<s:hidden name="remember" />
<s:hidden name="startTime" />
- <s:hidden name="text" />
+ <s:hidden name="wikiText" />
<%-- Spam detection fields --%>
<wiki:SpamProtect />
</p>
Modified:
incubator/jspwiki/trunk/src/java/org/apache/wiki/content/jcr/JCRWikiPage.java
URL:
http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/java/org/apache/wiki/content/jcr/JCRWikiPage.java?rev=890924&r1=890923&r2=890924&view=diff
==============================================================================
---
incubator/jspwiki/trunk/src/java/org/apache/wiki/content/jcr/JCRWikiPage.java
(original)
+++
incubator/jspwiki/trunk/src/java/org/apache/wiki/content/jcr/JCRWikiPage.java
Tue Dec 15 18:08:53 2009
@@ -77,7 +77,7 @@
/** The ISO8601:2000 dateformat */
- private static final String DATEFORMAT_ISO8601_2000 =
"yyyy-MM-dd'T'HH:mm:ss.SSS'Z'";
+ public static final String DATEFORMAT_ISO8601_2000 =
"yyyy-MM-dd'T'HH:mm:ss.SSS'Z'";
private WikiPath m_path;