[CONF] Confluence Changes in the last 24 hours
- This is a daily summary of all recent changes in Confluence. - Updated Spaces: - OpenJPA (openjpa) http://cwiki.apache.org/confluence/display/openjpa | |-Pages Added or Edited in This Space |-- JPA 2.0 Roadmap was last edited by techhusky (10:35 AM). | http://cwiki.apache.org/confluence/display/openjpa/JPA+2.0+Roadmap |-- New Release Instructions (BETA) was last edited by michael.d.d...@gmail.com (07:31 AM). | http://cwiki.apache.org/confluence/display/openjpa/New+Release+Instructions+%28BETA%29 Apache Camel (CAMEL) http://cwiki.apache.org/confluence/display/CAMEL | |-Pages Added or Edited in This Space |-- MINA was last edited by nico...@bouil.org (01:56 AM). | http://cwiki.apache.org/confluence/display/CAMEL/MINA |-- CXF was last edited by njiang (12:39 AM). | http://cwiki.apache.org/confluence/display/CAMEL/CXF | |-New Comments in This Space |-- http://cwiki.apache.org/confluence/display/CAMEL/Why+do+Camel+throw+so+many+NoClassDefFoundException+on+startup (2) Apache Directory Server v1.5 (DIRxSRVx11) http://cwiki.apache.org/confluence/display/DIRxSRVx11 | |-Pages Added or Edited in This Space |-- 0.2. Building trunks was last edited by elecharny (05:15 PM). | http://cwiki.apache.org/confluence/display/DIRxSRVx11/0.2.+Building+trunks Apache Geronimo v2.2 (GMOxDOC22) http://cwiki.apache.org/confluence/display/GMOxDOC22 | |-Pages Added or Edited in This Space |-- GBean Annotations was created by sophia (01:13 AM). | http://cwiki.apache.org/confluence/display/GMOxDOC22/GBean+Annotations |-- Developing and Deploying a Geronimo GBean was last edited by sophia (12:05 AM). | http://cwiki.apache.org/confluence/display/GMOxDOC22/Developing+and+Deploying+a+Geronimo+GBean Apache Shindig (SHINDIG) http://cwiki.apache.org/confluence/display/SHINDIG | |-Pages Added or Edited in This Space |-- Index was last edited by vsiveton (03:30 PM). | http://cwiki.apache.org/confluence/display/SHINDIG/Index Apache VCL (VCL) http://cwiki.apache.org/confluence/display/VCL | |-Pages Added or Edited in This Space |-- Operating System Module Inheritance was created by arkurth (06:40 AM). | http://cwiki.apache.org/confluence/display/VCL/Operating+System+Module+Inheritance Apache ServiceMix Kernel (SMX4KNL) http://cwiki.apache.org/confluence/display/SMX4KNL | |-Pages Added or Edited in This Space |-- Kernel Overview was last edited by gnodet (05:36 AM). | http://cwiki.apache.org/confluence/display/SMX4KNL/Kernel+Overview Apache Pivot (PIVOT) http://cwiki.apache.org/confluence/display/PIVOT | |-Pages Added or Edited in This Space |-- Apache Pivot was last edited by gkbr...@mac.com (12:27 PM). | http://cwiki.apache.org/confluence/display/PIVOT/Apache+Pivot Apache Struts 2 Wiki (S2WIKI) http://cwiki.apache.org/confluence/display/S2WIKI | |-Pages Added or Edited in This Space |-- Troubleshooting guide migrating from Struts 2.0.x to 2.1.x was last edited by glindh...@yahoo.com (10:23 AM). | http://cwiki.apache.org/confluence/display/S2WIKI/Troubleshooting+guide+migrating+from+Struts+2.0.x+to+2.1.x Apache Directory Website (DIRxSITE) http://cwiki.apache.org/confluence/display/DIRxSITE | |-Pages Added or Edited in This Space |-- Apache Directory Studio finalist at the Eclipse Community Awards 2009 was created by pamarcelot (05:01 AM). | http://cwiki.apache.org/confluence/display/DIRxSITE/2009/03/05/Apache+Directory+Studio+finalist+at+the+Eclipse+Community+Awards+2009 Apache Archiva (ARCHIVA) http://cwiki.apache.org/confluence/display/ARCHIVA | |-Pages Added or Edited in This Space |-- Archiva 1.2 was created by brettporter (09:19 PM). | http://cwiki.apache.org/confluence/display/ARCHIVA/Archiva+1.2 |-- Archiva Roadmap was last edited by brettporter (09:20 PM). | http://cwiki.apache.org/confluence/display/ARCHIVA/Archiva+Roadmap Apache Felix (FELIX) http://cwiki.apache.org/confluence/display/FELIX | |-Pages Added or Edited in This Space |-- Download was last edited by clement.escoffier (08:08 AM). | http://cwiki.apache.org/confluence/display/FELIX/Download Apache Qpid (qpid) http://cwiki.apache.org/confluence/display/qpid | |-Pages Added or Edited in This Space |-- Qpid Management Framework was last edited by tross (11:44 AM). | http://cwiki.apache.org/confluence/display/qpid/Qpid+Management+Framework |-- QMF Protocol was created by tross (09:14 AM). | http://cwiki.apache.org/confluence/display/qpid/QMF+Protocol |-- How to Use JNDI was last edited by ritchiem (08:08 AM). | http://cwiki.apache.org/confluence/display/qpid/How+to+Use+JNDI Apache Jackrabbit (JCR) http://cwiki.apache.org/confluence/display/JCR | |-Pages Added or Edited in This Space |-- Jackrabbit Team was last edited by jukka (01:47 AM). | http://cwiki.apache.org/confl
Issues Closed: week of 2009-03-06
Struts2 - Friday, March 6, 2009 4 closed in last 7 days [WW-3014] Message from xml file does not get localise if using Struts 2.1's ajax validation (dojo dependant) - Type: Bug - Assignee: Unassigned - Components: [Plugin - Dojo Tags] - Fix Versions: [] - http://issues.apache.org/struts/browse/WW-3014 [WW-2967] [Filter [struts2]: could not be initialized]: java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 0 - Type: Bug - Assignee: Unassigned - Components: [Plugin - Convention] - Fix Versions: [] - http://issues.apache.org/struts/browse/WW-2967 [WW-3018] Type conversion for dates and doubles - Type: Bug - Assignee: Unassigned - Components: [Core Interceptors] - Fix Versions: [] - http://issues.apache.org/struts/browse/WW-3018 [WW-2684] Exception while registering Interceptor class org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor - Type: Bug - Assignee: Rainer Hermanns - Components: [Core Interceptors] - Fix Versions: [2.1.3] - http://issues.apache.org/struts/browse/WW-2684
svn commit: r750961 - in /struts/sandbox/trunk/struts2-jquery-plugin/src/main/resources: org/apache/struts2/static/jqueryUtils.js template/jquery/form-close-validate.ftl template/jquery/form.ftl templ
Author: wesw Date: Fri Mar 6 16:27:58 2009 New Revision: 750961 URL: http://svn.apache.org/viewvc?rev=750961&view=rev Log: closer to having a working jquery-ified jqueryUtils.js and validation.js Modified: struts/sandbox/trunk/struts2-jquery-plugin/src/main/resources/org/apache/struts2/static/jqueryUtils.js struts/sandbox/trunk/struts2-jquery-plugin/src/main/resources/template/jquery/form-close-validate.ftl struts/sandbox/trunk/struts2-jquery-plugin/src/main/resources/template/jquery/form.ftl struts/sandbox/trunk/struts2-jquery-plugin/src/main/resources/template/jquery/validation.js Modified: struts/sandbox/trunk/struts2-jquery-plugin/src/main/resources/org/apache/struts2/static/jqueryUtils.js URL: http://svn.apache.org/viewvc/struts/sandbox/trunk/struts2-jquery-plugin/src/main/resources/org/apache/struts2/static/jqueryUtils.js?rev=750961&r1=750960&r2=750961&view=diff == --- struts/sandbox/trunk/struts2-jquery-plugin/src/main/resources/org/apache/struts2/static/jqueryUtils.js (original) +++ struts/sandbox/trunk/struts2-jquery-plugin/src/main/resources/org/apache/struts2/static/jqueryUtils.js Fri Mar 6 16:27:58 2009 @@ -38,55 +38,18 @@ // shows validation errors using functions from xhtml/validation.js // or css_xhtml/validation.js StrutsJQueryUtils.showValidationErrors = function(form, errors) { - StrutsJQueryUtils.clearValidationErrors(form, errors); + StrutsJQueryUtils.clearValidationErrors(form); if(errors.fieldErrors) { for(var fieldName in errors.fieldErrors) { for(var i = 0; i < errors.fieldErrors[fieldName].length; i++) { -addErrorJquery( $("#"+form+" > input[name="+fieldName+"]"), +addErrorJquery( $("input[name=\""+fieldName+"\"]").attr("id"), errors.fieldErrors[fieldName][i]); } } } }; -/* -StrutsJQueryUtils.firstElement = function(parentNode, tagName) { - var node = parentNode.firstChild; - while(node && node.nodeType != 1){ -node = node.nextSibling; - } - if(tagName && node && node.tagName && node.tagName.toLowerCase() != tagName.toLowerCase()) { -node = StrutsJQueryUtils.nextElement(node, tagName); - } - return node; -}; - -StrutsJQueryUtils.nextElement = function(node, tagName) { - if(!node) { return null; } - do { -node = node.nextSibling; - } while(node && node.nodeType != 1); - - if(node && tagName && tagName.toLowerCase() != node.tagName.toLowerCase()) { -return StrutsJQueryUtils.nextElement(node, tagName); - } - return node; -}; - -StrutsJQueryUtils.previousElement = function(node, tagName) { - if(!node) { return null; } - if(tagName) { tagName = tagName.toLowerCase(); } - do { -node = node.previousSibling; - } while(node && node.nodeType != 1); - - if(node && tagName && tagName.toLowerCase() != node.tagName.toLowerCase()) { -return StrutsJQueryUtils.previousElement(node, tagName); - } - return node; -}; -*/ StrutsJQueryUtils.addOnLoad = function(func) { $().ready(func); }; Modified: struts/sandbox/trunk/struts2-jquery-plugin/src/main/resources/template/jquery/form-close-validate.ftl URL: http://svn.apache.org/viewvc/struts/sandbox/trunk/struts2-jquery-plugin/src/main/resources/template/jquery/form-close-validate.ftl?rev=750961&r1=750960&r2=750961&view=diff == --- struts/sandbox/trunk/struts2-jquery-plugin/src/main/resources/template/jquery/form-close-validate.ftl (original) +++ struts/sandbox/trunk/struts2-jquery-plugin/src/main/resources/template/jquery/form-close-validate.ftl Fri Mar 6 16:27:58 2009 @@ -73,6 +73,7 @@ }); $.get("${parameters.action}", formData, ${parameters.ajaxResultHandler} ); <#else> +var form = document.getElementById("${parameters.id}"); form.submit(); } Modified: struts/sandbox/trunk/struts2-jquery-plugin/src/main/resources/template/jquery/form.ftl URL: http://svn.apache.org/viewvc/struts/sandbox/trunk/struts2-jquery-plugin/src/main/resources/template/jquery/form.ftl?rev=750961&r1=750960&r2=750961&view=diff == --- struts/sandbox/trunk/struts2-jquery-plugin/src/main/resources/template/jquery/form.ftl (original) +++ struts/sandbox/trunk/struts2-jquery-plugin/src/main/resources/template/jquery/form.ftl Fri Mar 6 16:27:58 2009 @@ -23,7 +23,7 @@ <#include "/${parameters.templateDir}/jquery/form-validate.ftl" /> <#include "/${parameters.templateDir}/simple/form-common.ftl" /> <#if parameters.validate?default(true) == true> - onreset="${parameters.onreset?default('clearErrorMessages(this);clearErrorLabels(this);')}" + onreset="${parameters.onreset?default('clearErrorMessages(\'${parameters.id}\');clearErrorLabels(\'${parameters.id}\');')}" <#else> <#if parameters.onreset??> onreset="${param
svn commit: r750963 - /struts/sandbox/trunk/s2-jquery-showcase/src/test/resources/selenium/FormWithResetPostReqAjaxResp
Author: wesw Date: Fri Mar 6 16:30:32 2009 New Revision: 750963 URL: http://svn.apache.org/viewvc?rev=750963&view=rev Log: fixed copy/paste error Modified: struts/sandbox/trunk/s2-jquery-showcase/src/test/resources/selenium/FormWithResetPostReqAjaxResp Modified: struts/sandbox/trunk/s2-jquery-showcase/src/test/resources/selenium/FormWithResetPostReqAjaxResp URL: http://svn.apache.org/viewvc/struts/sandbox/trunk/s2-jquery-showcase/src/test/resources/selenium/FormWithResetPostReqAjaxResp?rev=750963&r1=750962&r2=750963&view=diff == --- struts/sandbox/trunk/s2-jquery-showcase/src/test/resources/selenium/FormWithResetPostReqAjaxResp (original) +++ struts/sandbox/trunk/s2-jquery-showcase/src/test/resources/selenium/FormWithResetPostReqAjaxResp Fri Mar 6 16:30:32 2009 @@ -1,19 +1,112 @@ http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";> http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en"> - - - Test Suite +http://selenium-ide.openqa.org/profiles/test-case";> + +http://localhost:8080/s2-jquery-showcase/form/FormWithResetPostReqAjaxResp-input"; /> +FormWithResetPostReqAjaxResp - -Test Suite -SimpleFormPostNonAjaxResponse -SimpleFormGetNonAjaxResponse -SimpleFormPostAjaxResponse -SimpleFormGetAjaxResponse -FormWithResetGetReqAjaxResp -FormWithResetPostReqAjaxResp + + +FormWithResetPostReqAjaxResp + + + open + /s2-jquery-showcase/form/FormWithResetPostReqAjaxResp-input + + + + click + indexForm_0 + + + + pause + 500 + + + + verifyTextPresent + You must enter a message. + + + + type + indexForm_msg + a message + + + click + indexForm_0 + + + + pause + 500 + + + + verifyTextPresent + a message + + + + click + //inp...@value='Reset'] + + + + pause + 500 + + + + verifyTextNotPresent + You must enter a message + + + + type + indexForm_msg + another message + + + click + indexForm_0 + + + + pause + 500 + + + + verifyTextPresent + another message + + + + click + //inp...@value='Reset'] + + + + click + indexForm_0 + + + + pause + 500 + + + + verifyTextPresent + You must enter a message. + + +
svn commit: r750965 - in /struts/struts2/trunk/plugins/convention/src: main/java/org/apache/struts2/convention/ConventionsServiceImpl.java test/java/org/apache/struts2/convention/PackageBasedActionCon
Author: musachy Date: Fri Mar 6 16:36:22 2009 New Revision: 750965 URL: http://svn.apache.org/viewvc?rev=750965&view=rev Log: WW-3023 Use ClassLoaderUtils to resolve the class in ConcentionServiceImpl thanks to Travis Rein for the patch Modified: struts/struts2/trunk/plugins/convention/src/main/java/org/apache/struts2/convention/ConventionsServiceImpl.java struts/struts2/trunk/plugins/convention/src/test/java/org/apache/struts2/convention/PackageBasedActionConfigBuilderTest.java Modified: struts/struts2/trunk/plugins/convention/src/main/java/org/apache/struts2/convention/ConventionsServiceImpl.java URL: http://svn.apache.org/viewvc/struts/struts2/trunk/plugins/convention/src/main/java/org/apache/struts2/convention/ConventionsServiceImpl.java?rev=750965&r1=750964&r2=750965&view=diff == --- struts/struts2/trunk/plugins/convention/src/main/java/org/apache/struts2/convention/ConventionsServiceImpl.java (original) +++ struts/struts2/trunk/plugins/convention/src/main/java/org/apache/struts2/convention/ConventionsServiceImpl.java Fri Mar 6 16:36:22 2009 @@ -26,6 +26,7 @@ import org.apache.struts2.convention.annotation.AnnotationTools; import org.apache.struts2.convention.annotation.ResultPath; +import org.apache.struts2.util.ClassLoaderUtils; import com.opensymphony.xwork2.config.ConfigurationException; import com.opensymphony.xwork2.config.entities.ActionConfig; @@ -94,7 +95,7 @@ } try { -return determineResultPath(Class.forName(actionConfig.getClassName())); +return determineResultPath(ClassLoaderUtils.loadClass(actionConfig.getClassName(), this.getClass())); } catch (ClassNotFoundException e) { throw new RuntimeException("Invalid action class configuration that references an unknown " + "class named [" + actionConfig.getClassName() + "]", e); Modified: struts/struts2/trunk/plugins/convention/src/test/java/org/apache/struts2/convention/PackageBasedActionConfigBuilderTest.java URL: http://svn.apache.org/viewvc/struts/struts2/trunk/plugins/convention/src/test/java/org/apache/struts2/convention/PackageBasedActionConfigBuilderTest.java?rev=750965&r1=750964&r2=750965&view=diff == --- struts/struts2/trunk/plugins/convention/src/test/java/org/apache/struts2/convention/PackageBasedActionConfigBuilderTest.java (original) +++ struts/struts2/trunk/plugins/convention/src/test/java/org/apache/struts2/convention/PackageBasedActionConfigBuilderTest.java Fri Mar 6 16:36:22 2009 @@ -287,6 +287,7 @@ mockContainer.setConventionsService(new ConventionsServiceImpl("")); PackageBasedActionConfigBuilder builder = new PackageBasedActionConfigBuilder(configuration, mockContainer ,of, "false", "struts-default"); +builder.setFileProtocols("jar"); if (actionPackages != null) { builder.setActionPackages(actionPackages); }
[OSS Bamboo] Struts 2 SVN - Main Build (Java 6) build 753 has FAILED (0 tests failed). Change made by Musachy Barroso
--- STRUTS-MAINJ6-753 failed. --- Code has been updated by Musachy Barroso. No failed tests found, a possible compilation error. http://opensource.bamboo.atlassian.com/browse/STRUTS-MAINJ6-753/ -- Code Changes -- Musachy Barroso (750965): >WW-3023 Use ClassLoaderUtils to resolve the class in ConcentionServiceImpl > >thanks to Travis Rein for the patch > > -- Error Summary -- [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Unable to find artifact. Embedded error: Unable to download the artifact from any repository Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=com.opensymphony -DartifactId=xwork -Dversion=2.1.3-SNAPSHOT -Dclassifier=sources -Dpackaging=jar -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=com.opensymphony -DartifactId=xwork -Dversion=2.1.3-SNAPSHOT -Dclassifier=sources -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] com.opensymphony:xwork:jar:2.1.3-SNAPSHOT from the specified remote repositories: apache.snapshots (http://people.apache.org/maven-snapshot-repository), central (https://m2proxy.atlassian.com/repository/public) [INFO] [INFO] For more information, run Maven with the -e switch -- This message is automatically generated by Atlassian Bamboo
[OSS Bamboo] Struts 2 SVN - Main Build build 1040 has FAILED (0 tests failed). Change made by Musachy Barroso
--- STRUTS-MAIN-1040 failed. --- Code has been updated by Musachy Barroso. No failed tests found, a possible compilation error. http://opensource.bamboo.atlassian.com/browse/STRUTS-MAIN-1040/ -- Code Changes -- Musachy Barroso (750965): >WW-3023 Use ClassLoaderUtils to resolve the class in ConcentionServiceImpl > >thanks to Travis Rein for the patch > > -- Error Summary -- [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Failed to resolve artifact. GroupId: com.opensymphony ArtifactId: xwork Version: 2.1.3-SNAPSHOT Reason: Unable to download the artifact from any repository Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=com.opensymphony -DartifactId=xwork -Dversion=2.1.3-SNAPSHOT -Dclassifier=sources -Dpackaging=jar -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=com.opensymphony -DartifactId=xwork -Dversion=2.1.3-SNAPSHOT -Dclassifier=sources -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] com.opensymphony:xwork:jar:2.1.3-SNAPSHOT from the specified remote repositories: central (https://m2proxy.atlassian.com/repository/public), apache.snapshots (http://people.apache.org/maven-snapshot-repository) [INFO] [INFO] For more information, run Maven with the -e switch -- This message is automatically generated by Atlassian Bamboo
svn commit: r751038 - in /struts/sandbox/trunk/struts2-jquery-plugin: ./ src/main/java/org/apache/struts2/jquery/ src/main/java/org/apache/struts2/jquery/components/ src/main/java/org/apache/struts2/j
Author: wesw Date: Fri Mar 6 19:14:23 2009 New Revision: 751038 URL: http://svn.apache.org/viewvc?rev=751038&view=rev Log: Changing properties (turning on keywords) jqueryUtils.js and validation.js switched to jquery Modified: struts/sandbox/trunk/struts2-jquery-plugin/LICENSE.txt (props changed) struts/sandbox/trunk/struts2-jquery-plugin/NOTICE.txt (props changed) struts/sandbox/trunk/struts2-jquery-plugin/README.txt (props changed) struts/sandbox/trunk/struts2-jquery-plugin/pom.xml (props changed) struts/sandbox/trunk/struts2-jquery-plugin/src/main/java/org/apache/struts2/jquery/JQueryPluginConstants.java (props changed) struts/sandbox/trunk/struts2-jquery-plugin/src/main/java/org/apache/struts2/jquery/components/JQueryForm.java (props changed) struts/sandbox/trunk/struts2-jquery-plugin/src/main/java/org/apache/struts2/jquery/components/JQueryHead.java (props changed) struts/sandbox/trunk/struts2-jquery-plugin/src/main/java/org/apache/struts2/jquery/components/JQueryReset.java (props changed) struts/sandbox/trunk/struts2-jquery-plugin/src/main/java/org/apache/struts2/jquery/components/JQuerySubmit.java (props changed) struts/sandbox/trunk/struts2-jquery-plugin/src/main/java/org/apache/struts2/jquery/components/JQueryTextField.java (props changed) struts/sandbox/trunk/struts2-jquery-plugin/src/main/java/org/apache/struts2/jquery/views/jsp/ui/JQueryFormTag.java (props changed) struts/sandbox/trunk/struts2-jquery-plugin/src/main/java/org/apache/struts2/jquery/views/jsp/ui/JQueryHeadTag.java (props changed) struts/sandbox/trunk/struts2-jquery-plugin/src/main/java/org/apache/struts2/jquery/views/jsp/ui/JQueryResetTag.java (props changed) struts/sandbox/trunk/struts2-jquery-plugin/src/main/java/org/apache/struts2/jquery/views/jsp/ui/JQuerySubmitTag.java (props changed) struts/sandbox/trunk/struts2-jquery-plugin/src/main/java/org/apache/struts2/jquery/views/jsp/ui/JQueryTextFieldTag.java (props changed) struts/sandbox/trunk/struts2-jquery-plugin/src/main/resources/org/apache/struts2/static/jqueryUtils.js (props changed) struts/sandbox/trunk/struts2-jquery-plugin/src/main/resources/struts-plugin.xml (props changed) struts/sandbox/trunk/struts2-jquery-plugin/src/main/resources/template/jquery/empty.ftl (props changed) struts/sandbox/trunk/struts2-jquery-plugin/src/main/resources/template/jquery/form-close-validate.ftl (props changed) struts/sandbox/trunk/struts2-jquery-plugin/src/main/resources/template/jquery/form-close.ftl (props changed) struts/sandbox/trunk/struts2-jquery-plugin/src/main/resources/template/jquery/form-validate.ftl (props changed) struts/sandbox/trunk/struts2-jquery-plugin/src/main/resources/template/jquery/form.ftl (props changed) struts/sandbox/trunk/struts2-jquery-plugin/src/main/resources/template/jquery/head.ftl (props changed) struts/sandbox/trunk/struts2-jquery-plugin/src/main/resources/template/jquery/reset.ftl (props changed) struts/sandbox/trunk/struts2-jquery-plugin/src/main/resources/template/jquery/submit-close.ftl (props changed) struts/sandbox/trunk/struts2-jquery-plugin/src/main/resources/template/jquery/submit.ftl (props changed) struts/sandbox/trunk/struts2-jquery-plugin/src/main/resources/template/jquery/text.ftl (props changed) struts/sandbox/trunk/struts2-jquery-plugin/src/main/resources/template/jquery/validation.js (contents, props changed) struts/sandbox/trunk/struts2-jquery-plugin/src/site/docs/form.html (props changed) struts/sandbox/trunk/struts2-jquery-plugin/src/site/docs/head.html (props changed) struts/sandbox/trunk/struts2-jquery-plugin/src/site/docs/submit.html (props changed) struts/sandbox/trunk/struts2-jquery-plugin/src/site/docs/textfield.html (props changed) Propchange: struts/sandbox/trunk/struts2-jquery-plugin/LICENSE.txt -- svn:keywords = on Propchange: struts/sandbox/trunk/struts2-jquery-plugin/NOTICE.txt -- svn:keywords = on Propchange: struts/sandbox/trunk/struts2-jquery-plugin/README.txt -- svn:keywords = on Propchange: struts/sandbox/trunk/struts2-jquery-plugin/pom.xml -- svn:keywords = on Propchange: struts/sandbox/trunk/struts2-jquery-plugin/src/main/java/org/apache/struts2/jquery/JQueryPluginConstants.java -- svn:keywords = on Propchange: struts/sandbox/trunk/struts2-jquery-plugin/src/main/java/org/apache/struts2/jquery/components/JQueryForm.java -
svn commit: r751086 - in /struts/sandbox/trunk/struts2-jquery-plugin/src/main/resources: org/apache/struts2/static/ template/jquery-simple/ template/jquery/
Author: wesw Date: Fri Mar 6 21:43:24 2009 New Revision: 751086 URL: http://svn.apache.org/viewvc?rev=751086&view=rev Log: Creating a jquery-simple theme Added: struts/sandbox/trunk/struts2-jquery-plugin/src/main/resources/template/jquery-simple/ struts/sandbox/trunk/struts2-jquery-plugin/src/main/resources/template/jquery-simple/empty.ftl - copied unchanged from r751038, struts/sandbox/trunk/struts2-jquery-plugin/src/main/resources/template/jquery/empty.ftl struts/sandbox/trunk/struts2-jquery-plugin/src/main/resources/template/jquery-simple/form-close-validate.ftl - copied, changed from r751038, struts/sandbox/trunk/struts2-jquery-plugin/src/main/resources/template/jquery/form-close-validate.ftl struts/sandbox/trunk/struts2-jquery-plugin/src/main/resources/template/jquery-simple/form-close.ftl (contents, props changed) - copied, changed from r751038, struts/sandbox/trunk/struts2-jquery-plugin/src/main/resources/template/jquery/form-close.ftl struts/sandbox/trunk/struts2-jquery-plugin/src/main/resources/template/jquery-simple/form-validate.ftl (props changed) - copied unchanged from r751038, struts/sandbox/trunk/struts2-jquery-plugin/src/main/resources/template/jquery/form-validate.ftl struts/sandbox/trunk/struts2-jquery-plugin/src/main/resources/template/jquery-simple/form.ftl - copied, changed from r751038, struts/sandbox/trunk/struts2-jquery-plugin/src/main/resources/template/jquery/form.ftl struts/sandbox/trunk/struts2-jquery-plugin/src/main/resources/template/jquery-simple/head.ftl - copied, changed from r751038, struts/sandbox/trunk/struts2-jquery-plugin/src/main/resources/template/jquery/head.ftl struts/sandbox/trunk/struts2-jquery-plugin/src/main/resources/template/jquery-simple/reset.ftl - copied, changed from r751038, struts/sandbox/trunk/struts2-jquery-plugin/src/main/resources/template/jquery/reset.ftl struts/sandbox/trunk/struts2-jquery-plugin/src/main/resources/template/jquery-simple/submit-close.ftl - copied, changed from r751038, struts/sandbox/trunk/struts2-jquery-plugin/src/main/resources/template/jquery/submit-close.ftl struts/sandbox/trunk/struts2-jquery-plugin/src/main/resources/template/jquery-simple/submit.ftl - copied, changed from r751038, struts/sandbox/trunk/struts2-jquery-plugin/src/main/resources/template/jquery/submit.ftl struts/sandbox/trunk/struts2-jquery-plugin/src/main/resources/template/jquery-simple/text.ftl - copied, changed from r751038, struts/sandbox/trunk/struts2-jquery-plugin/src/main/resources/template/jquery/text.ftl struts/sandbox/trunk/struts2-jquery-plugin/src/main/resources/template/jquery/form-close.ftl Removed: struts/sandbox/trunk/struts2-jquery-plugin/src/main/resources/template/jquery/form-validate.ftl Modified: struts/sandbox/trunk/struts2-jquery-plugin/src/main/resources/org/apache/struts2/static/jqueryUtils.js struts/sandbox/trunk/struts2-jquery-plugin/src/main/resources/template/jquery/form-close-validate.ftl struts/sandbox/trunk/struts2-jquery-plugin/src/main/resources/template/jquery/form.ftl struts/sandbox/trunk/struts2-jquery-plugin/src/main/resources/template/jquery/head.ftl struts/sandbox/trunk/struts2-jquery-plugin/src/main/resources/template/jquery/reset.ftl struts/sandbox/trunk/struts2-jquery-plugin/src/main/resources/template/jquery/submit-close.ftl struts/sandbox/trunk/struts2-jquery-plugin/src/main/resources/template/jquery/submit.ftl struts/sandbox/trunk/struts2-jquery-plugin/src/main/resources/template/jquery/text.ftl struts/sandbox/trunk/struts2-jquery-plugin/src/main/resources/template/jquery/validation.js Modified: struts/sandbox/trunk/struts2-jquery-plugin/src/main/resources/org/apache/struts2/static/jqueryUtils.js URL: http://svn.apache.org/viewvc/struts/sandbox/trunk/struts2-jquery-plugin/src/main/resources/org/apache/struts2/static/jqueryUtils.js?rev=751086&r1=751085&r2=751086&view=diff == --- struts/sandbox/trunk/struts2-jquery-plugin/src/main/resources/org/apache/struts2/static/jqueryUtils.js (original) +++ struts/sandbox/trunk/struts2-jquery-plugin/src/main/resources/org/apache/struts2/static/jqueryUtils.js Fri Mar 6 21:43:24 2009 @@ -43,8 +43,7 @@ if(errors.fieldErrors) { for(var fieldName in errors.fieldErrors) { for(var i = 0; i < errors.fieldErrors[fieldName].length; i++) { -addErrorJquery( $("input[name=\""+fieldName+"\"]").attr("id"), - errors.fieldErrors[fieldName][i]); +addError( $("input[name=\""+fieldName+"\"]").attr("id"), errors.fieldErrors[fieldName][i]); } } } @@ -61,3 +60,11 @@ element.attachEvent('on' + name, observer); } }; + +StrutsJQueryUtils.keyValueizeForm = function(formId) { +var formData = { }; +$("#"+formId).find("input").each( function() { + formData