[CONF] Confluence Changes in the last 24 hours
- This is a daily summary of all recent changes in Confluence. - Updated Spaces: - Apache Directory Server v1.5 (DIRxSRVx11) http://cwiki.apache.org/confluence/display/DIRxSRVx11 | |-Pages Added or Edited in This Space |-- Protocol Provider RFCs was created by erodriguez (05:11 PM). | http://cwiki.apache.org/confluence/display/DIRxSRVx11/Protocol+Provider+RFCs |-- OSGi and ApacheDS was last edited by jconlon (03:47 PM). | http://cwiki.apache.org/confluence/display/DIRxSRVx11/OSGi+and+ApacheDS |-- Schema Subsystem Redesign was last edited by akarasulu (12:08 PM). | http://cwiki.apache.org/confluence/display/DIRxSRVx11/Schema+Subsystem+Redesign Apache Roller (ROLLER) http://cwiki.apache.org/confluence/display/ROLLER | |-Pages Added or Edited in This Space |-- Testing Roller 3.1 was last edited by snoopdave (08:12 AM). | http://cwiki.apache.org/confluence/display/ROLLER/Testing+Roller+3.1 | |-New Comments in This Space |-- http://cwiki.apache.org/confluence/display/ROLLER/What%27s+new+in+Roller+3.1 (1) Apache Geronimo v1.1 (GMOxDOC11) http://cwiki.apache.org/confluence/display/GMOxDOC11 | |-Pages Added or Edited in This Space |-- geronimo-ra.xml was last edited by [EMAIL PROTECTED] (01:37 AM). | http://cwiki.apache.org/confluence/display/GMOxDOC11/geronimo-ra.xml Apache Struts 2 Documentation (WW) http://cwiki.apache.org/confluence/display/WW | |-Pages Added or Edited in This Space |-- ajax div template was last edited by musachy (05:52 PM). | http://cwiki.apache.org/confluence/display/WW/ajax+div+template |-- Performance Tuning was created by phil (05:58 AM). | http://cwiki.apache.org/confluence/display/WW/Performance+Tuning |-- Core Developers Guide was last edited by phil (05:23 AM). | http://cwiki.apache.org/confluence/display/WW/Core+Developers+Guide |-- Action Configuration was last edited by phil (12:13 AM). | http://cwiki.apache.org/confluence/display/WW/Action+Configuration Apache Cayenne Documentation (CAYDOC) http://cwiki.apache.org/confluence/display/CAYDOC | |-Pages Added or Edited in This Space |-- Accessing PK and FK values was last edited by ari (04:57 PM). | http://cwiki.apache.org/confluence/display/CAYDOC/Accessing+PK+and+FK+values Apache Cayenne (CAY) http://cwiki.apache.org/confluence/display/CAY | |-Pages Added or Edited in This Space |-- Cocoa Cayenne was last edited by blacknext (05:54 AM). | http://cwiki.apache.org/confluence/display/CAY/Cocoa+Cayenne Felix (FELIX) http://cwiki.apache.org/confluence/display/FELIX | |-Pages Added or Edited in This Space |-- Apache Felix Commons was last edited by erodriguez (01:37 PM). | http://cwiki.apache.org/confluence/display/FELIX/Apache+Felix+Commons Apache Geronimo Website (GMOxSITE) http://cwiki.apache.org/confluence/display/GMOxSITE | |-Pages Added or Edited in This Space |-- Index was last edited by hcunico (01:56 PM). | http://cwiki.apache.org/confluence/display/GMOxSITE/Index |-- Studencki Festiwal Informatyczny - March 8-10, 2007 was created by hcunico (01:25 PM). | http://cwiki.apache.org/confluence/display/GMOxSITE/2007/02/26/Studencki+Festiwal+Informatyczny+-+March+8-10%2C+2007 |-- Software Development GigaCon - March 22-23, 2007 was created by hcunico (01:28 PM). | http://cwiki.apache.org/confluence/display/GMOxSITE/2007/02/26/Software+Development+GigaCon+-+March+22-23%2C+2007 Apache HiveMind 2 (HIVEMIND2) http://cwiki.apache.org/confluence/display/HIVEMIND2 | |-Pages Added or Edited in This Space |-- Index was last edited by ahuegen (01:24 PM). | http://cwiki.apache.org/confluence/display/HIVEMIND2/Index |-- NewIn2AnnotatedModules was last edited by ahuegen (01:23 PM). | http://cwiki.apache.org/confluence/display/HIVEMIND2/NewIn2AnnotatedModules |-- Registry definition and construction was last edited by ahuegen (12:45 PM). | http://cwiki.apache.org/confluence/display/HIVEMIND2/Registry+definition+and+construction Apache ActiveMQ (ACTIVEMQ) http://cwiki.apache.org/confluence/display/ACTIVEMQ | |-Pages Added or Edited in This Space |-- ActiveMQ C Development was last edited by tabish121 (09:10 AM). | http://cwiki.apache.org/confluence/display/ACTIVEMQ/ActiveMQ+C+++Development |-- ActiveMQ CPP 1.1 Release was last edited by nmittler (08:36 AM). | http://cwiki.apache.org/confluence/display/ACTIVEMQ/ActiveMQ+CPP+1.1+Release |-- ActiveMQ CPP 1.0 Release was last edited by nmittler (08:36 AM). | http://cwiki.apache.org/confluence/display/ACTIVEMQ/ActiveMQ+CPP+1.0+Release |-- Blob Messages was last edited by jstrachan (08:25 AM). | http://cwiki.apache.org/confluence/display/ACTIVEMQ/Blob+Messages |-- SiteMap was last edited by jstrachan (08:21 AM). | http://cwiki.apache.org/confluence/display/ACTIVEMQ/SiteMap |-- New
[Struts Wiki] Trivial Update of "StrutsManualActionClasses" by MichaelJouravlev
Dear Wiki user, You have subscribed to a wiki page or wiki category on "Struts Wiki" for change notification. The following page has been changed by MichaelJouravlev: http://wiki.apache.org/struts/StrutsManualActionClasses -- The goal of an Action class is to either implement a stateless ''service'' like "Search", or to manage a stateful ''business object'' like "Customer". - An Action class handles a request and returns an !ActionForward object, which represents a logical outcome of processing a request. An action mapping in {{{struts-config.xml}}} file associates !ActionForward object with either another Action (see [:ActionChaining:action chaining]), or with a presentation page, or with any arbitrary URL. By not defining a specific target location in Java code, it is possible to separate logical outcome of an action from its visual representation. + An Action class handles a request and returns an !ActionForward object, which represents a logical outcome of processing a request. An action mapping in {{{struts-config.xml}}} file associates !ActionForward object with either another Action (see [:ActionChaining:action chaining]) or with a presentation page. By not defining a specific target location in Java code, it is possible to separate logical outcome of an action from its visual representation. Struts is agnostic to presentation technology, so response can be generated using JSP file, Tile definition, Velocity template, XSLT stylesheet or other rendering engine. @@ -24, +24 @@ == Using Action To Display A Web Page == - JSP is default view technology used when developing with Struts. JSP file creates dynamic web content by reading information from various Java objects stored in page, request, session or application scope. In a Model 1 application these objects are stored in a scope by the code that resides in JSP page itself. + JSP is default presentation technology used when developing with Struts. JSP file creates dynamic web content by reading information from various Java objects stored in page, request, session or application scope. A standard practice to display a dynamic page in a Struts application is to use Action class "in front" of a JSP page (see [http://java.sun.com/blueprints/guidelines/designing_enterprise_applications_2e/web-tier/web-tier5.html Model 2 web application architecture]). Action class creates needed beans, puts them in an appropriate context, and forwards control to a JSP page that reads information from these beans and displays it. Action class has access to all standard J2EE contexts except JSP-specific page context. - As a concequence of Model 2 architecture, JSP pages are not directly navigated with browser when programming with Struts. Applications developed with Struts or with other similar web frameworks like !WebWork or Stripes are often called ''action-based''. This is different from so called ''page-based'' frameworks like ASP.NET, where web page is accessed directly from browser. In ASP.NET a web page usually delegates events processing and page lifecycle-related tasks to a code-behind class. + As a concequence of Model 2 architecture, JSP pages are not directly accessible from browser when programming with Struts. Applications developed with Struts or with other similar web frameworks like !WebWork or Stripes are often called ''action-based''. This is different from so called ''page-based'' frameworks like ASP.NET, where web page is accessed directly from browser. In ASP.NET a web page usually delegates events processing and page lifecycle-related tasks to a ''code-behind'' class. In Microsoft parlance, Struts Action class can be called ''code-in-front''. The following picture illustrates a "render page" use case implemented with Struts and ASP.NET. @@ -38, +38 @@ The most common use case in an interactive web application is submitting of HTML form. A user expects that if input data is not valid then the form is redisplayed keeping information entered by the user, and displaying relevant error messages. - This input/output process is traditionally implemented in Struts with setup/submit pattern: + The input/output process is traditionally implemented in Struts with setup/submit pattern: * ''setup action'' (''pre-action'', ''output action'', ''render action'') prepares output data for display. It loads data from database, queues it into one or more arbitrary objects located in the request or session scope, then forwards to a view, usually a JSP page. * ''submit action'' (''post-action'', ''input action'', ''accept action'', ''event action'') processes input data from web form and redisplays the web form if errors has been found. If input does not contain errors, submit action updates application state and forwards to a success page. @@ -57, +57 @@ * Update the server-side
svn commit: r512578 - /struts/struts2/branches/STRUTS_2_0_X/core/src/main/java/org/apache/struts2/components/DateTimePicker.java
Author: musachy Date: Tue Feb 27 18:44:58 2007 New Revision: 512578 URL: http://svn.apache.org/viewvc?view=rev&rev=512578 Log: WW-1777 DateTimePicker now supports expressions in the property "displayFormat" Modified: struts/struts2/branches/STRUTS_2_0_X/core/src/main/java/org/apache/struts2/components/DateTimePicker.java Modified: struts/struts2/branches/STRUTS_2_0_X/core/src/main/java/org/apache/struts2/components/DateTimePicker.java URL: http://svn.apache.org/viewvc/struts/struts2/branches/STRUTS_2_0_X/core/src/main/java/org/apache/struts2/components/DateTimePicker.java?view=diff&rev=512578&r1=512577&r2=512578 == --- struts/struts2/branches/STRUTS_2_0_X/core/src/main/java/org/apache/struts2/components/DateTimePicker.java (original) +++ struts/struts2/branches/STRUTS_2_0_X/core/src/main/java/org/apache/struts2/components/DateTimePicker.java Tue Feb 27 18:44:58 2007 @@ -299,13 +299,13 @@ // try to parse a date String dateStr = obj.toString(); if(dateStr.equalsIgnoreCase("today")) -return RFC3339_FORMAT.format(new Date()); +return RFC3339_FORMAT.format(new Date()); try { Date date = null; if(this.displayFormat != null) { SimpleDateFormat format = new SimpleDateFormat( -this.displayFormat); +(String) getParameters().get("displayFormat")); date = format.parse(dateStr); return RFC3339_FORMAT.format(date); } else {
svn commit: r512580 - /struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/DateTimePicker.java
Author: musachy Date: Tue Feb 27 18:48:06 2007 New Revision: 512580 URL: http://svn.apache.org/viewvc?view=rev&rev=512580 Log: WW-1777 DateTimePicker now supports expressions in the property "displayFormat" Modified: struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/DateTimePicker.java Modified: struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/DateTimePicker.java URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/DateTimePicker.java?view=diff&rev=512580&r1=512579&r2=512580 == --- struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/DateTimePicker.java (original) +++ struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/DateTimePicker.java Tue Feb 27 18:48:06 2007 @@ -299,13 +299,13 @@ // try to parse a date String dateStr = obj.toString(); if(dateStr.equalsIgnoreCase("today")) -return RFC3339_FORMAT.format(new Date()); +return RFC3339_FORMAT.format(new Date()); try { Date date = null; if(this.displayFormat != null) { SimpleDateFormat format = new SimpleDateFormat( -this.displayFormat); +(String) getParameters().get("displayFormat")); date = format.parse(dateStr); return RFC3339_FORMAT.format(date); } else {