[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 Development Process was last edited by techhusky (07:52 AM). | http://cwiki.apache.org/confluence/display/openjpa/JPA+2.0+Development+Process Apache Camel (CAMEL) http://cwiki.apache.org/confluence/display/CAMEL | |-Pages Added or Edited in This Space |-- MINA was last edited by davsclaus (10:46 PM). | http://cwiki.apache.org/confluence/display/CAMEL/MINA |-- Camel Run Maven Goal was last edited by davsclaus (10:23 PM). | http://cwiki.apache.org/confluence/display/CAMEL/Camel+Run+Maven+Goal |-- JMS was last edited by davsclaus (09:44 PM). | http://cwiki.apache.org/confluence/display/CAMEL/JMS Apache Geronimo Project Management (GMOxPMGT) http://cwiki.apache.org/confluence/display/GMOxPMGT | |-Pages Added or Edited in This Space |-- Geronimo Component Release Process was last edited by linsun@gmail.com (10:39 AM). | http://cwiki.apache.org/confluence/display/GMOxPMGT/Geronimo+Component+Release+Process |-- Geronimo 2.2 Release Status was last edited by jbohn (07:49 AM). | http://cwiki.apache.org/confluence/display/GMOxPMGT/Geronimo+2.2+Release+Status Apache Geronimo v2.2 (GMOxDOC22) http://cwiki.apache.org/confluence/display/GMOxDOC22 | |-Pages Added or Edited in This Space |-- Developing and Deploying a Geronimo GBean was last edited by sophia (11:39 PM). | http://cwiki.apache.org/confluence/display/GMOxDOC22/Developing+and+Deploying+a+Geronimo+GBean |-- LDAP Realm was last edited by chirun...@gmail.com (10:30 PM). | http://cwiki.apache.org/confluence/display/GMOxDOC22/LDAP+Realm |-- Developing bean managed persistence with JPA was last edited by sophia (06:16 PM). | http://cwiki.apache.org/confluence/display/GMOxDOC22/Developing+bean+managed+persistence+with+JPA 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:52 AM). | http://cwiki.apache.org/confluence/display/S2WIKI/Troubleshooting+guide+migrating+from+Struts+2.0.x+to+2.1.x Apache Wicket (WICKET) http://cwiki.apache.org/confluence/display/WICKET | |-Pages Added or Edited in This Space |-- Index was last edited by danelav (03:07 PM). | http://cwiki.apache.org/confluence/display/WICKET/Index |-- Windows Guide to Installing Wicket on Eclipse with Maven was last edited by danelav (11:23 AM). | http://cwiki.apache.org/confluence/display/WICKET/Windows+Guide+to+Installing+Wicket+on+Eclipse+with+Maven Apache Archiva (ARCHIVA) http://cwiki.apache.org/confluence/display/ARCHIVA | |-Pages Added or Edited in This Space |-- High Availability Archiva was last edited by axismundi (12:20 AM). | http://cwiki.apache.org/confluence/display/ARCHIVA/High+Availability+Archiva Apache Qpid (qpid) http://cwiki.apache.org/confluence/display/qpid | |-Pages Added or Edited in This Space |-- FAQ was last edited by cctrieloff (07:30 PM). | http://cwiki.apache.org/confluence/display/qpid/FAQ |-- Connect was last edited by agazzarini (06:15 AM). | http://cwiki.apache.org/confluence/display/qpid/Connect Apache ServiceMix NMR (SMX4NMR) http://cwiki.apache.org/confluence/display/SMX4NMR | |-Pages Added or Edited in This Space |-- 11. Clustering was created by gnodet (12:25 AM). | http://cwiki.apache.org/confluence/display/SMX4NMR/11.+Clustering Tuscany Wiki (TUSCANYWIKI) http://cwiki.apache.org/confluence/display/TUSCANYWIKI | |-Pages Added or Edited in This Space |-- Conformance Testing was last edited by emilyliu (11:55 PM). | http://cwiki.apache.org/confluence/display/TUSCANYWIKI/Conformance+Testing |-- OSOA SCA vs OASIS SCA was last edited by kujun...@gmail.com (10:28 PM). | http://cwiki.apache.org/confluence/display/TUSCANYWIKI/OSOA+SCA+vs+OASIS+SCA |-- Backward Compatibility was created by slaws (09:22 AM). | http://cwiki.apache.org/confluence/display/TUSCANYWIKI/Backward+Compatibility |-- Home was last edited by slaws (09:21 AM). | http://cwiki.apache.org/confluence/display/TUSCANYWIKI/Home Apache Continuum (CONTINUUM) http://cwiki.apache.org/confluence/display/CONTINUUM | |-Pages Added or Edited in This Space |-- Continuum 1.3 Roadmap was last edited by wsmoak (01:03 PM). | http://cwiki.apache.org/confluence/display/CONTINUUM/Continuum+1.3+Roadmap |-- Development Roadmap was created by wsmoak (12:42 PM). | http://cwiki.apache.org/confluence/display/CONTINUUM/Development+Roadmap |-- Continuum 2.0 Roadmap was created by wsmoak (12:41 PM). | http://cwiki.apache.org/confluence/displa
svn commit: r750604 - in /struts/sandbox/trunk/struts2-jquery-plugin/src/main: java/org/apache/struts2/jquery/ java/org/apache/struts2/jquery/components/ resources/ resources/org/ resources/org/apache
Author: wesw Date: Thu Mar 5 21:41:13 2009 New Revision: 750604 URL: http://svn.apache.org/viewvc?rev=750604&view=rev Log: migrating tags to allow new themes and for users to customize themes Changing utils.js and validation.js to be JQuery-ified not yet working Added: struts/sandbox/trunk/struts2-jquery-plugin/src/main/java/org/apache/struts2/jquery/JQueryPluginConstants.java - copied, changed from r750456, struts/sandbox/trunk/struts2-jquery-plugin/src/main/java/org/apache/struts2/jquery/JQueryPluginStatics.java struts/sandbox/trunk/struts2-jquery-plugin/src/main/resources/org/ struts/sandbox/trunk/struts2-jquery-plugin/src/main/resources/org/apache/ struts/sandbox/trunk/struts2-jquery-plugin/src/main/resources/org/apache/struts2/ struts/sandbox/trunk/struts2-jquery-plugin/src/main/resources/org/apache/struts2/static/ 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/validation.js Removed: struts/sandbox/trunk/struts2-jquery-plugin/src/main/java/org/apache/struts2/jquery/JQueryPluginStatics.java Modified: struts/sandbox/trunk/struts2-jquery-plugin/src/main/java/org/apache/struts2/jquery/components/JQueryForm.java struts/sandbox/trunk/struts2-jquery-plugin/src/main/java/org/apache/struts2/jquery/components/JQueryHead.java struts/sandbox/trunk/struts2-jquery-plugin/src/main/java/org/apache/struts2/jquery/components/JQueryReset.java struts/sandbox/trunk/struts2-jquery-plugin/src/main/java/org/apache/struts2/jquery/components/JQuerySubmit.java struts/sandbox/trunk/struts2-jquery-plugin/src/main/java/org/apache/struts2/jquery/components/JQueryTextField.java struts/sandbox/trunk/struts2-jquery-plugin/src/main/resources/struts-plugin.xml 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-validate.ftl struts/sandbox/trunk/struts2-jquery-plugin/src/main/resources/template/jquery/head.ftl Copied: struts/sandbox/trunk/struts2-jquery-plugin/src/main/java/org/apache/struts2/jquery/JQueryPluginConstants.java (from r750456, struts/sandbox/trunk/struts2-jquery-plugin/src/main/java/org/apache/struts2/jquery/JQueryPluginStatics.java) URL: http://svn.apache.org/viewvc/struts/sandbox/trunk/struts2-jquery-plugin/src/main/java/org/apache/struts2/jquery/JQueryPluginConstants.java?p2=struts/sandbox/trunk/struts2-jquery-plugin/src/main/java/org/apache/struts2/jquery/JQueryPluginConstants.java&p1=struts/sandbox/trunk/struts2-jquery-plugin/src/main/java/org/apache/struts2/jquery/JQueryPluginStatics.java&r1=750456&r2=750604&rev=750604&view=diff == --- struts/sandbox/trunk/struts2-jquery-plugin/src/main/java/org/apache/struts2/jquery/JQueryPluginStatics.java (original) +++ struts/sandbox/trunk/struts2-jquery-plugin/src/main/java/org/apache/struts2/jquery/JQueryPluginConstants.java Thu Mar 5 21:41:13 2009 @@ -7,7 +7,7 @@ * Time: 1:22:20 PM * To change this template use File | Settings | File Templates. */ -public class JQueryPluginStatics { - -public static final String THEME_NAME = "jquery"; +public class JQueryPluginConstants { + +public static final String DEFAULT_THEME = "struts.jquery.default.theme"; } Modified: struts/sandbox/trunk/struts2-jquery-plugin/src/main/java/org/apache/struts2/jquery/components/JQueryForm.java URL: http://svn.apache.org/viewvc/struts/sandbox/trunk/struts2-jquery-plugin/src/main/java/org/apache/struts2/jquery/components/JQueryForm.java?rev=750604&r1=750603&r2=750604&view=diff == --- struts/sandbox/trunk/struts2-jquery-plugin/src/main/java/org/apache/struts2/jquery/components/JQueryForm.java (original) +++ struts/sandbox/trunk/struts2-jquery-plugin/src/main/java/org/apache/struts2/jquery/components/JQueryForm.java Thu Mar 5 21:41:13 2009 @@ -3,8 +3,9 @@ import org.apache.struts2.components.Form; import org.apache.struts2.views.annotations.StrutsTagAttribute; import org.apache.struts2.views.annotations.StrutsTag; -import org.apache.struts2.jquery.JQueryPluginStatics; +import org.apache.struts2.jquery.JQueryPluginConstants; import com.opensymphony.xwork2.util.ValueStack; +import com.opensymphony.xwork2.inject.Inject; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; @@ -32,6 +33,12 @@ } @Override +@Inject(JQueryPluginConstants.DEFAULT_THEME) +public void setDefaultUITheme(String theme) { +this.defaultUITheme = theme; +} + +@Override public void evaluateParams() { super.evaluateParams(); @@ -43,11 +50,6 @@ } } -@Override -public String getTheme()
svn commit: r750605 - in /struts/sandbox/trunk/s2-jquery-showcase: ./ src/main/java/org/apache/struts2/jquery/actions/form/ src/main/resources/ src/main/webapp/WEB-INF/content/ src/main/webapp/WEB-INF
Author: wesw Date: Thu Mar 5 21:42:10 2009 New Revision: 750605 URL: http://svn.apache.org/viewvc?rev=750605&view=rev Log: further conventionalizing, added another selenium test Added: struts/sandbox/trunk/s2-jquery-showcase/src/main/webapp/WEB-INF/content/form/FormWithResetGetReqAjaxResp-input.jsp - copied, changed from r750456, struts/sandbox/trunk/s2-jquery-showcase/src/main/webapp/WEB-INF/content/form/SimpleFormWithResetGetAjaxResp-input.jsp struts/sandbox/trunk/s2-jquery-showcase/src/main/webapp/WEB-INF/content/form/FormWithResetGetReqAjaxResp.jsp - copied unchanged from r750456, struts/sandbox/trunk/s2-jquery-showcase/src/main/webapp/WEB-INF/content/form/SimpleFormWithResetGetAjaxResponse.jsp struts/sandbox/trunk/s2-jquery-showcase/src/main/webapp/WEB-INF/content/form/FormWithResetPostReqAjaxResp-input.jsp struts/sandbox/trunk/s2-jquery-showcase/src/main/webapp/WEB-INF/content/form/FormWithResetPostReqAjaxResp.jsp struts/sandbox/trunk/s2-jquery-showcase/src/test/resources/selenium/FormWithResetPostReqAjaxResp Removed: struts/sandbox/trunk/s2-jquery-showcase/src/main/webapp/WEB-INF/content/form/SimpleFormWithResetGetAjaxResp-input.jsp struts/sandbox/trunk/s2-jquery-showcase/src/main/webapp/WEB-INF/content/form/SimpleFormWithResetGetAjaxResponse.jsp Modified: struts/sandbox/trunk/s2-jquery-showcase/pom.xml struts/sandbox/trunk/s2-jquery-showcase/src/main/java/org/apache/struts2/jquery/actions/form/MessageAction.java struts/sandbox/trunk/s2-jquery-showcase/src/main/resources/struts.xml struts/sandbox/trunk/s2-jquery-showcase/src/main/webapp/WEB-INF/content/index.jsp struts/sandbox/trunk/s2-jquery-showcase/src/test/resources/selenium/FormWithResetGetReqAjaxResp struts/sandbox/trunk/s2-jquery-showcase/src/test/resources/selenium/SimpleFormGetAjaxResponse struts/sandbox/trunk/s2-jquery-showcase/src/test/resources/selenium/SimpleFormGetNonAjaxResponse struts/sandbox/trunk/s2-jquery-showcase/src/test/resources/selenium/SimpleFormPostAjaxResponse struts/sandbox/trunk/s2-jquery-showcase/src/test/resources/selenium/SimpleFormPostNonAjaxResponse struts/sandbox/trunk/s2-jquery-showcase/src/test/resources/selenium/s2-jquery-plugin-selenium-tests Modified: struts/sandbox/trunk/s2-jquery-showcase/pom.xml URL: http://svn.apache.org/viewvc/struts/sandbox/trunk/s2-jquery-showcase/pom.xml?rev=750605&r1=750604&r2=750605&view=diff == --- struts/sandbox/trunk/s2-jquery-showcase/pom.xml (original) +++ struts/sandbox/trunk/s2-jquery-showcase/pom.xml Thu Mar 5 21:42:10 2009 @@ -65,6 +65,14 @@ 1.5 + +org.mortbay.jetty +maven-jetty-plugin +6.1.14 + +10 + + Modified: struts/sandbox/trunk/s2-jquery-showcase/src/main/java/org/apache/struts2/jquery/actions/form/MessageAction.java URL: http://svn.apache.org/viewvc/struts/sandbox/trunk/s2-jquery-showcase/src/main/java/org/apache/struts2/jquery/actions/form/MessageAction.java?rev=750605&r1=750604&r2=750605&view=diff == --- struts/sandbox/trunk/s2-jquery-showcase/src/main/java/org/apache/struts2/jquery/actions/form/MessageAction.java (original) +++ struts/sandbox/trunk/s2-jquery-showcase/src/main/java/org/apache/struts2/jquery/actions/form/MessageAction.java Thu Mar 5 21:42:10 2009 @@ -15,12 +15,12 @@ private String msg; @Actions({ -@Action("SimpleFormWithResetGetAjaxResponse"), -@Action("SimpleFormGetAjaxResponse"), @Action("SimpleFormGetAjaxResponse"), @Action("SimpleFormPostAjaxResponse"), @Action("SimpleFormGetNonAjaxResponse"), -@Action("SimpleFormPostNonAjaxResponse") +@Action("SimpleFormPostNonAjaxResponse"), +@Action("FormWithResetGetReqAjaxResp"), +@Action("FormWithResetPostReqAjaxResp") }) public String execute() { return ActionSupport.SUCCESS; Modified: struts/sandbox/trunk/s2-jquery-showcase/src/main/resources/struts.xml URL: http://svn.apache.org/viewvc/struts/sandbox/trunk/s2-jquery-showcase/src/main/resources/struts.xml?rev=750605&r1=750604&r2=750605&view=diff == --- struts/sandbox/trunk/s2-jquery-showcase/src/main/resources/struts.xml (original) +++ struts/sandbox/trunk/s2-jquery-showcase/src/main/resources/struts.xml Thu Mar 5 21:42:10 2009 @@ -8,9 +8,5 @@ /WEB-INF/content/index.jsp - -/WEB-INF/content/form/SimpleFormWithResetGetAjaxResp-input.jsp - /WEB-INF/content/form/SimpleFormWithResetGetAjaxResponse.jsp - \ No newline at en
svn commit: r750768 - in /struts/sandbox/trunk/struts2-jquery-plugin/src/main/resources: org/apache/struts2/static/jqueryUtils.js template/jquery/validation.js
Author: wesw Date: Fri Mar 6 04:43:42 2009 New Revision: 750768 URL: http://svn.apache.org/viewvc?rev=750768&view=rev Log: jquery-ifying javascript files 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/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=750768&r1=750767&r2=750768&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 04:43:42 2009 @@ -50,6 +50,7 @@ } }; +/* StrutsJQueryUtils.firstElement = function(parentNode, tagName) { var node = parentNode.firstChild; while(node && node.nodeType != 1){ @@ -85,7 +86,7 @@ } return node; }; - +*/ StrutsJQueryUtils.addOnLoad = function(func) { $().ready(func); }; Modified: struts/sandbox/trunk/struts2-jquery-plugin/src/main/resources/template/jquery/validation.js URL: http://svn.apache.org/viewvc/struts/sandbox/trunk/struts2-jquery-plugin/src/main/resources/template/jquery/validation.js?rev=750768&r1=750767&r2=750768&view=diff == --- struts/sandbox/trunk/struts2-jquery-plugin/src/main/resources/template/jquery/validation.js (original) +++ struts/sandbox/trunk/struts2-jquery-plugin/src/main/resources/template/jquery/validation.js Fri Mar 6 04:43:42 2009 @@ -41,6 +41,16 @@ } function addErrorJquery(e, errorText) { +var parentRow = $(e).parent("tr").get(0); +$(parentRow).before( +$("").attr("errorFor", e).html( +$("").attr("colspan", "2").html( +$("").addClass("errorMessage").html(errorText) +) +) +); +$("label[for="+ e +"]").addClass('errorLabel'); +/* try { var row = (e.type ? e : e[0]); while(row.nodeName.toUpperCase() != "TR") { @@ -73,4 +83,5 @@ } catch (e) { alert(e); } +*/ }