[Struts Wiki] Update of "Shale/Resources" by NiallPemberton

2006-05-16 Thread Apache Wiki
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 NiallPemberton:
http://wiki.apache.org/struts/Shale/Resources

The comment on the change is:
Add new Shale Articles

--
  === Articles (most recent first) ===
  
  
- 
  || '''Title''' || '''Source''' || '''Date''' ||
+ || [http://www.javaworld.com/javaworld/jw-05-2006/jw-0515-jsf.html JSF 
frameworks: Shale and Seam] || !JavaWorld || May 2006 ||
+ || [http://www-128.ibm.com/developerworks/java/library/j-shale05126/ All Hail 
Shale: Anatomy of a Shale application] || IBM !DeveloperWorks || May 2006 ||
  || 
[http://www-128.ibm.com/developerworks/library/j-shale0228/?ca=dgr-lnxw07Shale 
All Hail Shale: Shale isn't Struts] || IBM !DeveloperWorks || Feb. 2006 ||
  || [http://jroller.com/page/dgeary?entry=shale_approaches_1_0_simplifies 
Shale Simplifies Remoting] || David Geary's Blog || Jan 2006 ||
  || 
[http://blogs.sun.com/roller/page/wilfred?entry=building_shale_javaone_demo 
Building JavaOne Shale Demo] || Wilfred's Blog || Sept 2005 ||


[Struts Wiki] Update of "Shale/Resources" by NiallPemberton

2006-05-16 Thread Apache Wiki
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 NiallPemberton:
http://wiki.apache.org/struts/Shale/Resources

The comment on the change is:
add devx.com article

--
  || '''Title''' || '''Source''' || '''Date''' ||
  || [http://www.javaworld.com/javaworld/jw-05-2006/jw-0515-jsf.html JSF 
frameworks: Shale and Seam] || !JavaWorld || May 2006 ||
  || [http://www-128.ibm.com/developerworks/java/library/j-shale05126/ All Hail 
Shale: Anatomy of a Shale application] || IBM !DeveloperWorks || May 2006 ||
+ || [http://www.devx.com/Java/Article/31419?trk=DXRSS_JAVA Apache Shale Takes 
JSF to the Next Level] || DevX.com || May 2006 ||
  || 
[http://www-128.ibm.com/developerworks/library/j-shale0228/?ca=dgr-lnxw07Shale 
All Hail Shale: Shale isn't Struts] || IBM !DeveloperWorks || Feb. 2006 ||
  || [http://jroller.com/page/dgeary?entry=shale_approaches_1_0_simplifies 
Shale Simplifies Remoting] || David Geary's Blog || Jan 2006 ||
  || 
[http://blogs.sun.com/roller/page/wilfred?entry=building_shale_javaone_demo 
Building JavaOne Shale Demo] || Wilfred's Blog || Sept 2005 ||


svn commit: r406967 - /struts/action2/trunk/core/src/main/java/org/apache/struts/action2/dispatcher/HttpHeaderResult.java

2006-05-16 Thread tmjee
Author: tmjee
Date: Tue May 16 08:14:57 2006
New Revision: 406967

URL: http://svn.apache.org/viewcvs?rev=406967&view=rev
Log:
update javadoc


Modified:

struts/action2/trunk/core/src/main/java/org/apache/struts/action2/dispatcher/HttpHeaderResult.java

Modified: 
struts/action2/trunk/core/src/main/java/org/apache/struts/action2/dispatcher/HttpHeaderResult.java
URL: 
http://svn.apache.org/viewcvs/struts/action2/trunk/core/src/main/java/org/apache/struts/action2/dispatcher/HttpHeaderResult.java?rev=406967&r1=406966&r2=406967&view=diff
==
--- 
struts/action2/trunk/core/src/main/java/org/apache/struts/action2/dispatcher/HttpHeaderResult.java
 (original)
+++ 
struts/action2/trunk/core/src/main/java/org/apache/struts/action2/dispatcher/HttpHeaderResult.java
 Tue May 16 08:14:57 2006
@@ -33,7 +33,7 @@
 /**
  * 
  *
- * A custom Result type for evaluating HTTP headers against the ValueStack.
+ * A custom Result type for setting HTTP headers and status by optionally 
evaluating against the ValueStack.
  * 
  * 
  * 




[Struts Wiki] Update of "StrutsUpgradeNotes12to13" by JoeGermuska

2006-05-16 Thread Apache Wiki
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 JoeGermuska:
http://wiki.apache.org/struts/StrutsUpgradeNotes12to13

The comment on the change is:
warn against specifying processorClass unless specifically necessary

--
  
  === 4.2 Original Request Processors ===
  
- If you want to continue using either of the existing Request Processors (i.e. 
RequestProcessor or TilesRequestProcessor) then you need to specify this in the 
controller element of the ''struts-config.xml''
+ If you want to continue using either of the existing Request Processors (i.e. 
RequestProcessor or TilesRequestProcessor) then you need to specify this in the 
controller element of the ''struts-config.xml''  
+ 
  
  {{{
  
@@ -72, +73 @@

  {{{
  
  }}}
+ 
+ '''NOTE''' You should only do this if you specifically know you need to use 
one of these request processors.  If you're not sure, do not set this.  If you 
want to use Tiles, there is a different way to specify this in Struts 1.3.x 
which does not require changing the ''processorClass'' (see the next section)  
Also note that if you have specified any other ''processorClass'' and you 
continue to use it, you will not be able to take advantage of certain new 
features which are only implemented as chain commands (e.g. per-action-mapping 
command execution).  You are encouraged to adapt the logic in your custom 
RequestProcessor into chain commands and configure those commands in a custom 
chain-config.xml 
+ 
  
  === 4.3 Tiles ===
  


svn commit: r407143 - /struts/action2/trunk/core/src/main/java/org/apache/struts/action2/components/UIBean.java

2006-05-16 Thread tmjee
Author: tmjee
Date: Tue May 16 20:55:46 2006
New Revision: 407143

URL: http://svn.apache.org/viewcvs?rev=407143&view=rev
Log:
- replace e.printStackTrace() with LOG.error("...", e);

Modified:

struts/action2/trunk/core/src/main/java/org/apache/struts/action2/components/UIBean.java

Modified: 
struts/action2/trunk/core/src/main/java/org/apache/struts/action2/components/UIBean.java
URL: 
http://svn.apache.org/viewcvs/struts/action2/trunk/core/src/main/java/org/apache/struts/action2/components/UIBean.java?rev=407143&r1=407142&r2=407143&view=diff
==
--- 
struts/action2/trunk/core/src/main/java/org/apache/struts/action2/components/UIBean.java
 (original)
+++ 
struts/action2/trunk/core/src/main/java/org/apache/struts/action2/components/UIBean.java
 Tue May 16 20:55:46 2006
@@ -596,7 +596,7 @@
 super.end(writer, body, false);
 mergeTemplate(writer, buildTemplateName(template, 
getDefaultTemplate()));
 } catch (Exception e) {
-e.printStackTrace();
+LOG.error("error when rendering", e);
 }
 finally {
popComponentStack();




svn commit: r407152 - /struts/action2/trunk/core/src/main/resources/template/simple/submit.ftl

2006-05-16 Thread hermanns
Author: hermanns
Date: Tue May 16 21:58:10 2006
New Revision: 407152

URL: http://svn.apache.org/viewcvs?rev=407152&view=rev
Log:
Fixing missing id parameter
See: http://forums.opensymphony.com/thread.jspa?messageID=60164#60164

Modified:
struts/action2/trunk/core/src/main/resources/template/simple/submit.ftl

Modified: 
struts/action2/trunk/core/src/main/resources/template/simple/submit.ftl
URL: 
http://svn.apache.org/viewcvs/struts/action2/trunk/core/src/main/resources/template/simple/submit.ftl?rev=407152&r1=407151&r2=407152&view=diff
==
--- struts/action2/trunk/core/src/main/resources/template/simple/submit.ftl 
(original)
+++ struts/action2/trunk/core/src/main/resources/template/simple/submit.ftl Tue 
May 16 21:58:10 2006
@@ -1,5 +1,8 @@
 <#if parameters.type?exists && parameters.type=="button">
 
+<#if parameters.id?exists>
+ id="${parameters.id?html}"<#rt/>
+
 <#if parameters.name?exists>
  name="${parameters.name?html}"<#rt/>
 
@@ -17,6 +20,9 @@
 <#else>
 <#if parameters.type?exists && parameters.type=="image">
 
+<#if parameters.id?exists>
+ id="${parameters.id?html}"<#rt/>
+
 <#if parameters.label?exists>
  alt="${parameters.label?html}"<#rt/>
 
@@ -25,6 +31,9 @@
 
 <#else>
 
+
+<#if parameters.id?exists>
+ id="${parameters.id?html}"<#rt/>
 
 <#if parameters.name?exists>
  name="${parameters.name?html}"<#rt/>




svn commit: r407157 - /struts/action2/trunk/core/src/main/resources/template/simple/submit.ftl

2006-05-16 Thread hermanns
Author: hermanns
Date: Tue May 16 22:07:36 2006
New Revision: 407157

URL: http://svn.apache.org/viewcvs?rev=407157&view=rev
Log:
ups, fixing double id param for input type submit and button...

Modified:
struts/action2/trunk/core/src/main/resources/template/simple/submit.ftl

Modified: 
struts/action2/trunk/core/src/main/resources/template/simple/submit.ftl
URL: 
http://svn.apache.org/viewcvs/struts/action2/trunk/core/src/main/resources/template/simple/submit.ftl?rev=407157&r1=407156&r2=407157&view=diff
==
--- struts/action2/trunk/core/src/main/resources/template/simple/submit.ftl 
(original)
+++ struts/action2/trunk/core/src/main/resources/template/simple/submit.ftl Tue 
May 16 22:07:36 2006
@@ -20,9 +20,6 @@
 <#else>
 <#if parameters.type?exists && parameters.type=="image">
 
-<#if parameters.id?exists>
- id="${parameters.id?html}"<#rt/>
-
 <#if parameters.label?exists>
  alt="${parameters.label?html}"<#rt/>