jspwiki-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ajaqu...@apache.org
Subject svn commit: r912165 - in /incubator/jspwiki/trunk/src/WebContent: admin/Install.jsp templates/default/Comment.jsp templates/default/Edit.jsp
Date Sat, 20 Feb 2010 17:59:57 GMT
Author: ajaquith
Date: Sat Feb 20 17:59:56 2010
New Revision: 912165

URL: http://svn.apache.org/viewvc?rev=912165&view=rev
Log:
Removed posteditor. Moved Stripes AJAX function to jspwiki-common.js. Light cleanup of unneeded
functions in prefs/edit JS.

Modified:
    incubator/jspwiki/trunk/src/WebContent/admin/Install.jsp
    incubator/jspwiki/trunk/src/WebContent/templates/default/Comment.jsp
    incubator/jspwiki/trunk/src/WebContent/templates/default/Edit.jsp

Modified: incubator/jspwiki/trunk/src/WebContent/admin/Install.jsp
URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/WebContent/admin/Install.jsp?rev=912165&r1=912164&r2=912165&view=diff
==============================================================================
--- incubator/jspwiki/trunk/src/WebContent/admin/Install.jsp (original)
+++ incubator/jspwiki/trunk/src/WebContent/admin/Install.jsp Sat Feb 20 17:59:56 2010
@@ -37,7 +37,6 @@
     <title><fmt:message key="install.title" /></title>
     <link rel="stylesheet" media="screen, projection" type="text/css" href='<wiki:Link
format="url" templatefile="jspwiki.css" />' />
     <script type="text/javascript" src="<wiki:Link format='url' jsp='scripts/mootools.js'
/>"></script>
-    <script type="text/javascript" src="<wiki:Link format='url' jsp='scripts/stripes-support.js'
/>"></script>
   </head>
   <body class="view">
     <div id="wikibody">
@@ -156,7 +155,7 @@
                   <s:checkbox name="properties.jspwiki.ldap_ssl" />
                   <div class="description"><fmt:message key="ldap.ssl.description"
/></div>
                 </div>
-                <s:button name="testLdapConnection" onclick="Stripes.executeEvent(form,
this.name, 'ldapConnResults');" />
+                <s:button name="testLdapConnection" onclick="Stripes.submitFormEvent(form,
this.name, 'ldapConnResults', null);" />
                 <div class="description" id="ldapConnResults"></div>
                 <!-- LDAP authentication settings and test button -->
                 <div>
@@ -171,7 +170,7 @@
                   <s:errors field="bindPassword" />
                   <div class="description"><fmt:message key="ldap.bindPassword.description"
/></div>
                 </div>
-                <s:button name="testLdapAuthentication" onclick="Stripes.executeEvent(form,
this.name, 'ldapAuthResults');" />
+                <s:button name="testLdapAuthentication" onclick="Stripes.submitFormEvent(form,
this.name, 'ldapAuthResults', null);" />
                 <div class="description" id="ldapAuthResults"></div>
                 <!-- LDAP user database settings and test button -->
                 <div>
@@ -180,7 +179,7 @@
                   <s:errors field="properties.jspwiki.ldap_userBase" />
                   <div class="description"><fmt:message key="ldap.userBase.description"
/></div>
                 </div>
-                <s:button name="testLdapUsers" onclick="Stripes.executeEvent(form, this.name,
'ldapUserResults');" />
+                <s:button name="testLdapUsers" onclick="Stripes.submitFormEvent(form,
this.name, 'ldapUserResults', null);" />
                 <div class="description" id="ldapUserResults"></div>
                 <!-- LDAP authorizer settings and test button -->
                 <div>
@@ -189,7 +188,7 @@
                   <s:errors field="properties.jspwiki.ldap_roleBase" />
                   <div class="description"><fmt:message key="ldap.roleBase.description"
/></div>
                 </div>
-                <s:button name="testLdapRoles" onclick="Stripes.executeEvent(form, this.name,
'ldapRoleResults');" />
+                <s:button name="testLdapRoles" onclick="Stripes.submitFormEvent(form,
this.name, 'ldapRoleResults', null);" />
                 <div class="description" id="ldapRoleResults"></div>
               </div>
               

Modified: incubator/jspwiki/trunk/src/WebContent/templates/default/Comment.jsp
URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/WebContent/templates/default/Comment.jsp?rev=912165&r1=912164&r2=912165&view=diff
==============================================================================
--- incubator/jspwiki/trunk/src/WebContent/templates/default/Comment.jsp (original)
+++ incubator/jspwiki/trunk/src/WebContent/templates/default/Comment.jsp Sat Feb 20 17:59:56
2010
@@ -35,9 +35,6 @@
   <s:layout-component name="script">
     <script type="text/javascript" src="<wiki:Link format='url' jsp='scripts/jspwiki-edit.js'
/>"></script>
     <script type="text/javascript" src="<wiki:Link format='url' jsp='scripts/dialog.js'
/>"></script>
-    <%--
-    <script type="text/javascript" src="<wiki:Link format='url' jsp='scripts/posteditor.js'
/>"></script>
-    --%>
   </s:layout-component>
 
   <s:layout-component name="content">

Modified: incubator/jspwiki/trunk/src/WebContent/templates/default/Edit.jsp
URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/WebContent/templates/default/Edit.jsp?rev=912165&r1=912164&r2=912165&view=diff
==============================================================================
--- incubator/jspwiki/trunk/src/WebContent/templates/default/Edit.jsp (original)
+++ incubator/jspwiki/trunk/src/WebContent/templates/default/Edit.jsp Sat Feb 20 17:59:56
2010
@@ -35,7 +35,6 @@
   <s:layout-component name="script">
     <script type="text/javascript" src="<wiki:Link format='url' jsp='scripts/jspwiki-edit.js'
/>"></script>
     <script type="text/javascript" src="<wiki:Link format='url' jsp='scripts/dialog.js'
/>"></script>
-    <script type="text/javascript" src="<wiki:Link format='url' jsp='scripts/stripes-support.js'
/>"></script>
   </s:layout-component>
 
   <s:layout-component name="content">
@@ -43,7 +42,7 @@
     
       <%-- View tab --%>
       <wiki:Tab id="view" titleKey="view.tab" accesskey="v"
-        onclick="Stripes.executeEvent('editform', 'preview', 'previewContent');">
+        onclick="Stripes.submitFormEvent('editform', 'preview', 'previewContent', null);">
         <div class="information">
           <fmt:message key="preview.info" />
         </div>



Mime
View raw message