<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:www.nabble.com,2006:forum-16324</id>
	<title>Nabble - Stripes</title>
	<updated>2009-07-06T13:17:12Z</updated>
	<link rel="self" type="application/atom+xml" href="http://www.nabble.com/Stripes-f16324.xml" />
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Stripes-f16324.html" />
	<subtitle type="html">&lt;a href=&quot;http://stripes.mc4j.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Stripes&lt;/a&gt;&amp;nbsp;is a Java framework with the goal of making Servlet/JSP based web development in Java as easy, intuitive and straight-forward as it should be. It's stripey and it doesn't suck.</subtitle>
	
<entry>
	<id>tag:www.nabble.com,2006:post-24362147</id>
	<title>Re: Stripes 1.5 and JBOSS 5</title>
	<published>2009-07-06T13:17:12Z</published>
	<updated>2009-07-06T13:17:12Z</updated>
	<author>
		<name>george_bancos</name>
	</author>
	<content type="html">I am having the same problem and I want to know if there is a known solution other than using exploded war/ear.
&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;Dag-6 wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message shrinkable-quote&quot;&gt;Hi!
&lt;br&gt;&lt;br&gt;Tried to deploy my Stripes app to a JBoss 5 app server, but for some reason none
&lt;br&gt;of the action beans are found. 
&lt;br&gt;&lt;br&gt;This seems to be a known issue:
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/ResolverUtil-not-able-to-read-package-structure-in-war-located-in-an-ear-on-JBoss5--td19725852.html&quot; target=&quot;_top&quot;&gt;http://www.nabble.com/ResolverUtil-not-able-to-read-package-structure-in-war-located-in-an-ear-on-JBoss5--td19725852.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;Anybody have a workaround (other than exploding the ear file)?
&lt;br&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
&lt;br&gt;-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
&lt;br&gt;-Strategies to boost innovation and cut costs with open source participation
&lt;br&gt;-Receive a $600 discount off the registration fee with the source code: SFAD
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/XcvMzF8H&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/XcvMzF8H&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Stripes-users mailing list
&lt;br&gt;Stripes-users@lists.sourceforge.net
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/stripes-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/stripes-users&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/stripes-users-f16325.html&quot; embed=&quot;fixTarget[16325]&quot; target=&quot;_top&quot; &gt;stripes-users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Stripes-1.5-and-JBOSS-5-tp22086110p24362147.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-24357967</id>
	<title>Re: Parameters in Actionbean won't save</title>
	<published>2009-07-06T08:23:49Z</published>
	<updated>2009-07-06T08:23:49Z</updated>
	<author>
		<name>John W Newman</name>
	</author>
	<content type="html">&lt;html xmlns:v=&quot;urn:schemas-microsoft-com:vml&quot; xmlns:o=&quot;urn:schemas-microsoft-com:office:office&quot; xmlns:w=&quot;urn:schemas-microsoft-com:office:word&quot; xmlns:m=&quot;http://schemas.microsoft.com/office/2004/12/omml&quot; xmlns=&quot;http://www.w3.org/TR/REC-html40&quot;&gt;

&lt;head&gt;
&lt;meta http-equiv=Content-Type content=&quot;text/html; charset=us-ascii&quot;&gt;
&lt;meta name=Generator content=&quot;Microsoft Word 12 (filtered medium)&quot;&gt;

&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;o:shapedefaults v:ext=&quot;edit&quot; spidmax=&quot;1026&quot; /&gt;
&lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;o:shapelayout v:ext=&quot;edit&quot;&gt;
  &lt;o:idmap v:ext=&quot;edit&quot; data=&quot;1&quot; /&gt;
 &lt;/o:shapelayout&gt;&lt;/xml&gt;&lt;![endif]--&gt;
&lt;/head&gt;

&lt;body lang=EN-US link=blue vlink=purple&gt;

&lt;div class=Section1&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
color:#1F497D'&gt;You&amp;#8217;re redirecting to the jsp which creates a whole new
http request with null parameters.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
color:#1F497D'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
color:#1F497D'&gt;Instead, you&amp;#8217;ll want to stash your jsps under WEB-INF so
they are protected and can&amp;#8217;t be accessed directly; have your action beans
return new ForwardResolution(&amp;#8220;to-the.jsp&amp;#8221;) instead.&amp;nbsp; You&amp;#8217;ll
probably have to convert your first request from a direct jsp to an action bean
which has a @DefaultHandler to forward you to the index jsp.&amp;nbsp; This
approach may initially sound like a bit of extra work but it really is much
nicer once you get comfortable with it.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
color:#1F497D'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
color:#1F497D'&gt;See the preactions paragraph at &lt;a href=&quot;http://www.stripesframework.org/display/stripes/Best+Practices&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.stripesframework.org/display/stripes/Best+Practices&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
color:#1F497D'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
color:#1F497D'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
color:#1F497D'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
color:#1F497D'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
color:#1F497D'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
color:#1F497D'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'&gt;

&lt;p class=MsoNormal&gt;&lt;b&gt;&lt;span style='font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;'&gt;From:&lt;/span&gt;&lt;/b&gt;&lt;span style='font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;'&gt; b l
[mailto:&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=24357967&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;blake1402@...&lt;/a&gt;] &lt;br&gt;
&lt;b&gt;Sent:&lt;/b&gt; Monday, July 06, 2009 11:07 AM&lt;br&gt;
&lt;b&gt;To:&lt;/b&gt; &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=24357967&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;stripes-users@...&lt;/a&gt;&lt;br&gt;
&lt;b&gt;Subject:&lt;/b&gt; [Stripes-users] Parameters in Actionbean won't save&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;p class=MsoNormal&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;I'm having trouble with something that seems very
simple.&amp;nbsp; Here is my ActionBean&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
package ....action;&lt;br&gt;
&lt;br&gt;
import net.sourceforge.stripes.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;div id=&quot;:b6&quot;&gt;

&lt;p class=MsoNormal&gt;action.RedirectResolution;&lt;br&gt;
import net.sourceforge.stripes.action.Resolution;&lt;br&gt;
import net.sourceforge.stripes.action.UrlBinding;&lt;br&gt;
import net.sourceforge.stripes.action.DefaultHandler;&lt;br&gt;
import net.sourceforge.stripes.action.DontValidate;&lt;br&gt;
import net.sourceforge.stripes.action.HandlesEvent;&lt;br&gt;
&lt;br&gt;
import ....pojo.ImgCal;&lt;br&gt;
import ....service.DailyDataImageService;&lt;br&gt;
&lt;br&gt;
import org.apache.log4j.Logger;&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
@UrlBinding(&amp;quot;/DailyData.action&amp;quot;)&lt;br&gt;
public class DailyDataActionBean extends W2BActionBean {&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; private static final Logger logger =
Logger.getLogger(DailyDataActionBean.class);&lt;br&gt;
&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; private DailyDataImageService imgService = new
DailyDataImageService();&lt;br&gt;
&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; private ImgCal imgCal;&lt;br&gt;
&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; private int curMonth;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; private int prevCurMonth;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; private int curYear;&lt;br&gt;
&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; public int getCurMonth() {&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return curMonth;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br&gt;
&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; public void setCurMonth(int curMonth) {&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; this.curMonth = curMonth;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br&gt;
&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; public int getCurYear() {&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return curYear;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br&gt;
&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; public void setCurYear(int curYear) {&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; this.curYear = curYear;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br&gt;
&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; public ImgCal getImgCal() {&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; logger.debug(&amp;quot;GET IMG CAL:
&amp;quot;);&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(this.imgCal == null) {&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
logger.debug(&amp;quot;NULL!&amp;quot;);&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; this.imgCal
= imgService.getImageCalendar(getCurMonth(), getCurYear());&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return imgCal;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br&gt;
&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; public void setImgCal(ImgCal imgCal) {&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; this.imgCal = imgCal;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br&gt;
&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; public int getPrevCurMonth() {&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return prevCurMonth;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br&gt;
&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; public void setPrevCurMonth(int prevCurMonth) {&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; this.prevCurMonth = prevCurMonth;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; @DontValidate&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; @DefaultHandler&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; public Resolution view() {&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; logger.debug(&amp;quot;VIEW BEING
CALLED&amp;quot;);&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; this.curMonth =
imgService.getCurMonth();&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; this.curYear =
imgService.getCurYear();&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; this.prevCurMonth =
imgService.getCurMonth();&lt;br&gt;
&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; this.imgCal =
imgService.getImageCalendar(getCurMonth(), getCurYear());&lt;br&gt;
&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; logger.debug(&amp;quot;IMG CAL: &amp;quot; +
getImgCal().getMonthHeader());&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return new
RedirectResolution(&amp;quot;/DailyData.jsp&amp;quot;);&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br&gt;
&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; @HandlesEvent(&amp;quot;update&amp;quot;)&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; @DontValidate&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; public Resolution update() {&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; logger.debug(&amp;quot;In Update: month
&amp;quot; + getCurMonth() + &amp;quot; year &amp;quot; + getCurYear());&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; imgCal =
imgService.getImageCalendar(getCurMonth(), getCurYear());&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; prevCurMonth = curMonth;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return new
RedirectResolution(&amp;quot;/DailyData.jsp&amp;quot;);&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br&gt;
}&lt;br&gt;
&lt;br&gt;
When the action is called, view() is called correctly.&amp;nbsp; The imgCal is then
built correctly (I print it out to verify) and then the resolution to the jsp
works right.&amp;nbsp; However, once getImgCal() is called from the jsp, imgCal is
then null (all my bean parameters are then null).&amp;nbsp; I don't understand why
everything is null after I've initialized them in view().&amp;nbsp; If I
reinitialize everything inside their getters then everything works correctly,
but this is extremely inefficient as it takes a long time to build imgCal.&amp;nbsp;
I've also tried using the StripesStuff plugin and the @Session notation, with
the same result.&amp;nbsp; Is there something I'm missing?&amp;nbsp; This seems like
this should be very basic functionality.&amp;nbsp; I have other actions that work,
so to my knowledge, I don't think the problem is with my web.xml or setup in
general.&amp;nbsp; Any ideas?&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;/div&gt;

&lt;/body&gt;

&lt;/html&gt;
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;Stripes-users mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=24357967&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Stripes-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/stripes-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/stripes-users&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/stripes-users-f16325.html&quot; embed=&quot;fixTarget[16325]&quot; target=&quot;_top&quot; &gt;stripes-users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Parameters-in-Actionbean-won%27t-save-tp24357339p24357967.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-24357339</id>
	<title>Parameters in Actionbean won't save</title>
	<published>2009-07-06T08:07:11Z</published>
	<updated>2009-07-06T08:07:11Z</updated>
	<author>
		<name>b l-2</name>
	</author>
	<content type="html">I&amp;#39;m having trouble with something that seems very simple.  Here is my ActionBean&lt;br&gt;&lt;br&gt;&lt;br&gt;package ....action;&lt;br&gt;&lt;br&gt;import net.sourceforge.stripes.&lt;div id=&quot;:b6&quot; class=&quot;ii gt&quot;&gt;action.RedirectResolution;&lt;br&gt;import net.sourceforge.stripes.action.Resolution;&lt;br&gt;

import net.sourceforge.stripes.action.UrlBinding;&lt;br&gt;import net.sourceforge.stripes.action.DefaultHandler;&lt;br&gt;import net.sourceforge.stripes.action.DontValidate;&lt;br&gt;import net.sourceforge.stripes.action.HandlesEvent;&lt;br&gt;
&lt;br&gt;
import ....pojo.ImgCal;&lt;br&gt;import ....service.DailyDataImageService;&lt;br&gt;&lt;br&gt;import org.apache.log4j.Logger;&lt;br&gt;&lt;br&gt;&lt;br&gt;@UrlBinding(&amp;quot;/DailyData.action&amp;quot;)&lt;br&gt;public class DailyDataActionBean extends W2BActionBean {&lt;br&gt;

    private static final Logger logger = Logger.getLogger(DailyDataActionBean.class);&lt;br&gt;&lt;br&gt;    private DailyDataImageService imgService = new DailyDataImageService();&lt;br&gt;&lt;br&gt;    private ImgCal imgCal;&lt;br&gt;&lt;br&gt;    private int curMonth;&lt;br&gt;

    private int prevCurMonth;&lt;br&gt;    private int curYear;&lt;br&gt;&lt;br&gt;    public int getCurMonth() {&lt;br&gt;        return curMonth;&lt;br&gt;    }&lt;br&gt;&lt;br&gt;    public void setCurMonth(int curMonth) {&lt;br&gt;        this.curMonth = curMonth;&lt;br&gt;

    }&lt;br&gt;&lt;br&gt;    public int getCurYear() {&lt;br&gt;        return curYear;&lt;br&gt;    }&lt;br&gt;&lt;br&gt;    public void setCurYear(int curYear) {&lt;br&gt;        this.curYear = curYear;&lt;br&gt;    }&lt;br&gt;&lt;br&gt;    public ImgCal getImgCal() {&lt;br&gt;        logger.debug(&amp;quot;GET IMG CAL: &amp;quot;);&lt;br&gt;

        if(this.imgCal == null) {&lt;br&gt;            logger.debug(&amp;quot;NULL!&amp;quot;);&lt;br&gt;            this.imgCal = imgService.getImageCalendar(getCurMonth(), getCurYear());&lt;br&gt;        }&lt;br&gt;        return imgCal;&lt;br&gt;    }&lt;br&gt;
&lt;br&gt;
    public void setImgCal(ImgCal imgCal) {&lt;br&gt;        this.imgCal = imgCal;&lt;br&gt;    }&lt;br&gt;&lt;br&gt;    public int getPrevCurMonth() {&lt;br&gt;        return prevCurMonth;&lt;br&gt;    }&lt;br&gt;&lt;br&gt;    public void setPrevCurMonth(int prevCurMonth) {&lt;br&gt;

        this.prevCurMonth = prevCurMonth;&lt;br&gt;    }&lt;br&gt;&lt;br&gt;&lt;br&gt;    @DontValidate&lt;br&gt;    @DefaultHandler&lt;br&gt;    public Resolution view() {&lt;br&gt;        logger.debug(&amp;quot;VIEW BEING CALLED&amp;quot;);&lt;br&gt;        this.curMonth = imgService.getCurMonth();&lt;br&gt;

        this.curYear = imgService.getCurYear();&lt;br&gt;        this.prevCurMonth = imgService.getCurMonth();&lt;br&gt;&lt;br&gt;        this.imgCal = imgService.getImageCalendar(getCurMonth(), getCurYear());&lt;br&gt;&lt;br&gt;        logger.debug(&amp;quot;IMG CAL: &amp;quot; + getImgCal().getMonthHeader());&lt;br&gt;

        return new RedirectResolution(&amp;quot;/DailyData.jsp&amp;quot;);&lt;br&gt;    }&lt;br&gt;&lt;br&gt;    @HandlesEvent(&amp;quot;update&amp;quot;)&lt;br&gt;    @DontValidate&lt;br&gt;    public Resolution update() {&lt;br&gt;        logger.debug(&amp;quot;In Update: month &amp;quot; + getCurMonth() + &amp;quot; year &amp;quot; + getCurYear());&lt;br&gt;

        imgCal = imgService.getImageCalendar(getCurMonth(), getCurYear());&lt;br&gt;        prevCurMonth = curMonth;&lt;br&gt;        return new RedirectResolution(&amp;quot;/DailyData.jsp&amp;quot;);&lt;br&gt;    }&lt;br&gt;}&lt;br&gt;&lt;br&gt;When
the action is called, view() is called correctly.  The imgCal is then
built correctly (I print it out to verify) and then the resolution to
the jsp works right.  However, once getImgCal() is called from the jsp,
imgCal is then null (all my bean parameters are then null).  I don&amp;#39;t
understand why everything is null after I&amp;#39;ve initialized them in
view().  If I reinitialize everything inside their getters then
everything works correctly, but this is extremely inefficient as it
takes a long time to build imgCal.  I&amp;#39;ve also tried using the
StripesStuff plugin and the @Session notation, with the same result. 
Is there something I&amp;#39;m missing?  This seems like this should be very
basic functionality.  I have other actions that work, so to my
knowledge, I don&amp;#39;t think the problem is with my web.xml or setup in
general.  Any ideas?&lt;/div&gt;
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;Stripes-users mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=24357339&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Stripes-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/stripes-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/stripes-users&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/stripes-users-f16325.html&quot; embed=&quot;fixTarget[16325]&quot; target=&quot;_top&quot; &gt;stripes-users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Parameters-in-Actionbean-won%27t-save-tp24357339p24357339.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-24328110</id>
	<title>Re: Multiple clicks on submit button</title>
	<published>2009-07-03T12:27:25Z</published>
	<updated>2009-07-03T12:27:25Z</updated>
	<author>
		<name>epanzer</name>
	</author>
	<content type="html">hi,
&lt;br&gt;&lt;br&gt;i have the same problem and i would prefer a server side solution like using
&lt;br&gt;a session token. but as i understood the whole thing, there is no way to do
&lt;br&gt;something like canceling the request cycle for the second, third... request. any suggestions?
&lt;br&gt;&lt;br&gt;erik
&lt;br&gt;&lt;br&gt;&lt;br&gt;Ben Gunter wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; It's not Stripes-specific, but perhaps onclick=&amp;quot;this.disabled=true&amp;quot; on 
&lt;br&gt;&amp;gt; &amp;gt; the button would work. I've also done more elaborate things in the past, 
&lt;br&gt;&amp;gt; &amp;gt; like overlay a translucent div on top of everything else so they can't 
&lt;br&gt;&amp;gt; &amp;gt; click on anything after the form is submitted. I call it a &amp;quot;veil,&amp;quot; so my 
&lt;br&gt;&amp;gt; &amp;gt; forms always look something like
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; &amp;lt;s:form ... onsubmit=&amp;quot;showVeil();return true;&amp;quot;&amp;gt;.
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; I've never done anything server-side to avoid this problem so I don't 
&lt;br&gt;&amp;gt; &amp;gt; have any suggestions on that.
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; -Ben
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; Mark Smith wrote:
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; Hello all.
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; I'm new to stripes and am using it on a project at work. 
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; We have an issue when a user clicks multiple times on a submit button 
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; before the previous request is complete. 
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; Does anyone know of a stripes method or work around to prevent this?
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; Thanks in advance.
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; Mark
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; -------------------------------------------------------------------------
&lt;br&gt;&amp;gt; &amp;gt; This SF.net email is sponsored by: Microsoft 
&lt;br&gt;&amp;gt; &amp;gt; Defy all challenges. Microsoft(R) Visual Studio 2008. 
&lt;br&gt;&amp;gt; &amp;gt; &lt;a href=&quot;http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; &amp;gt; Stripes-users mailing list
&lt;br&gt;&amp;gt; &amp;gt; &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=24328110&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Stripes-users@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/stripes-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/stripes-users&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;/div&gt;&lt;br&gt;-- View this message in context: 
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/Multiple-clicks-on-submit-button-tp17290841p24327548.html&quot; target=&quot;_top&quot;&gt;http://www.nabble.com/Multiple-clicks-on-submit-button-tp17290841p24327548.html&lt;/a&gt;&amp;nbsp;
&lt;br&gt;Sent from the stripes-users mailing list archive at Nabble.com.
&lt;br&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;_______________________________________________
&lt;br&gt;Stripes-users mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=24328110&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Stripes-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/stripes-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/stripes-users&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/stripes-users-f16325.html&quot; embed=&quot;fixTarget[16325]&quot; target=&quot;_top&quot; &gt;stripes-users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Multiple-clicks-on-submit-button-tp17290841p24328110.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-24327548</id>
	<title>Re: Multiple clicks on submit button</title>
	<published>2009-07-03T12:16:40Z</published>
	<updated>2009-07-03T12:16:40Z</updated>
	<author>
		<name>epanzer</name>
	</author>
	<content type="html">hi,
&lt;br&gt;&lt;br&gt;i have the same problem and i would prefer a server side solution like using a session token. but as i understood the whole thing, there is no way to do something like canceling the request cycle for the second, third... request isn't it? any suggestions?
&lt;br&gt;&lt;br&gt;erik
&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;Ben Gunter wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message shrinkable-quote&quot;&gt;It's not Stripes-specific, but perhaps onclick=&amp;quot;this.disabled=true&amp;quot; on 
&lt;br&gt;the button would work. I've also done more elaborate things in the past, 
&lt;br&gt;like overlay a translucent div on top of everything else so they can't 
&lt;br&gt;click on anything after the form is submitted. I call it a &amp;quot;veil,&amp;quot; so my 
&lt;br&gt;forms always look something like
&lt;br&gt;&lt;br&gt;&amp;lt;s:form ... onsubmit=&amp;quot;showVeil();return true;&amp;quot;&amp;gt;.
&lt;br&gt;&lt;br&gt;I've never done anything server-side to avoid this problem so I don't 
&lt;br&gt;have any suggestions on that.
&lt;br&gt;&lt;br&gt;-Ben
&lt;br&gt;&lt;br&gt;Mark Smith wrote:
&lt;br&gt;&amp;gt; Hello all.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I'm new to stripes and am using it on a project at work. 
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; We have an issue when a user clicks multiple times on a submit button 
&lt;br&gt;&amp;gt; before the previous request is complete. 
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Does anyone know of a stripes method or work around to prevent this?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thanks in advance.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Mark
&lt;br&gt;&lt;br&gt;-------------------------------------------------------------------------
&lt;br&gt;This SF.net email is sponsored by: Microsoft 
&lt;br&gt;Defy all challenges. Microsoft(R) Visual Studio 2008. 
&lt;br&gt;&lt;a href=&quot;http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Stripes-users mailing list
&lt;br&gt;Stripes-users@lists.sourceforge.net
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/stripes-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/stripes-users&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/stripes-users-f16325.html&quot; embed=&quot;fixTarget[16325]&quot; target=&quot;_top&quot; &gt;stripes-users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Multiple-clicks-on-submit-button-tp17290841p24327548.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-24319459</id>
	<title>using Validate check for this case?</title>
	<published>2009-07-03T01:23:52Z</published>
	<updated>2009-07-03T01:23:52Z</updated>
	<author>
		<name>sunda tampan</name>
	</author>
	<content type="html">hi, this my first post on this forum and i need help to resolve this problem.
&lt;br&gt;&lt;br&gt;i so stuck on this problem..let me explain :
&lt;br&gt;&lt;br&gt;i have a module registration with 2 page
&lt;br&gt;&lt;br&gt;first page its user will fill a the mandatory textbox (the mandatory could be fill empty), and than user click next button to the second page. (when parsing value from page 1 to page 2 i 'am using @wizard startEvent)
&lt;br&gt;&lt;br&gt;second page, in here user fill the textbox too..after that user click button submit to fullfill registration..
&lt;br&gt;&lt;br&gt;when user click submit system will check all of mandatory text field and show error for the field empty..
&lt;br&gt;its will check mandatory field from page 1 and 2 and will be show on page 2..
&lt;br&gt;&lt;br&gt;if error show from page 1 user could back to page 1 and highlight errors..
&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/stripes-users-f16325.html&quot; embed=&quot;fixTarget[16325]&quot; target=&quot;_top&quot; &gt;stripes-users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/using-Validate-check-for-this-case--tp24319459p24319459.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-24306749</id>
	<title>Re: Empty Paramter Map in LayoutContext</title>
	<published>2009-07-02T05:59:47Z</published>
	<updated>2009-07-02T05:59:47Z</updated>
	<author>
		<name>phil darley</name>
	</author>
	<content type="html">Just to let you know the &amp;lt;dispatcher&amp;gt;FORWARD&amp;lt;/dispatcher&amp;gt; was all I
&lt;br&gt;needed. I can't actually find any documentation on a
&lt;br&gt;&amp;lt;dispatcher&amp;gt;ERROR&amp;lt;/dispatcher&amp;gt; mapping
&lt;br&gt;&lt;br&gt;On Wed, Jul 1, 2009 at 1:43 PM, Ben Gunter&amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=24306749&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gunterben@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Do you have StripesFilter executing on error, something like this?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;filter-mapping&amp;gt;
&lt;br&gt;&amp;gt;   &amp;lt;filter-name&amp;gt;StripesFilter&amp;lt;filter-name&amp;gt;
&lt;br&gt;&amp;gt;   &amp;lt;url-pattern&amp;gt;*.jsp&amp;lt;/url-pattern&amp;gt;
&lt;br&gt;&amp;gt;   &amp;lt;dispatcher&amp;gt;REQUEST&amp;lt;/dispatcher&amp;gt;
&lt;br&gt;&amp;gt;   &amp;lt;dispatcher&amp;gt;FORWARD&amp;lt;/dispatcher&amp;gt;
&lt;br&gt;&amp;gt;   &amp;lt;dispatcher&amp;gt;ERROR&amp;lt;/dispatcher&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;/filter-mapping&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; -Ben
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; On Wed, Jul 1, 2009 at 7:09 AM, phil darley &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=24306749&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;phillip.darley@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Hi Stripes folk,
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I'm getting a 500 internal server error (ironically) when attempting
&lt;br&gt;&amp;gt;&amp;gt; to customise my error pages - specifically the 404 page.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; My error pages use the default template layout-definition for my web
&lt;br&gt;&amp;gt;&amp;gt; app, if I request my 404 jsp directly it works fine but when the
&lt;br&gt;&amp;gt;&amp;gt; servlet container forwards a bad request (a request for a non-existant
&lt;br&gt;&amp;gt;&amp;gt; resource) to my 404 page a StripesJspException is thrown because the
&lt;br&gt;&amp;gt;&amp;gt; LayoutContext contains an empty Map of parameters for the layout
&lt;br&gt;&amp;gt;&amp;gt; componets.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; When does the Parameter Map get set on the LayoutContext? I can only
&lt;br&gt;&amp;gt;&amp;gt; assume it has something to do with the way the servlet container
&lt;br&gt;&amp;gt;&amp;gt; (weblogic 81) is forwarding on the request.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Cheers,
&lt;br&gt;&amp;gt;&amp;gt; Phil
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ------------------------------------------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; Stripes-users mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=24306749&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Stripes-users@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/stripes-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/stripes-users&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;_______________________________________________
&lt;br&gt;Stripes-users mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=24306749&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Stripes-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/stripes-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/stripes-users&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/stripes-users-f16325.html&quot; embed=&quot;fixTarget[16325]&quot; target=&quot;_top&quot; &gt;stripes-users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Empty-Paramter-Map-in-LayoutContext-tp24287995p24306749.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-24303826</id>
	<title>[JIRA] Updated: (STS-696) StripesRuntimeException thrown in AnnotatedClassActionResolver when overriding handler but returning a subclass of the original method</title>
	<published>2009-07-02T02:30:18Z</published>
	<updated>2009-07-02T02:30:18Z</updated>
	<author>
		<name>JIRA jira@stripesframework.org</name>
	</author>
	<content type="html">&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[ &lt;a href=&quot;http://www.stripesframework.org/jira/browse/STS-696?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.stripesframework.org/jira/browse/STS-696?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&lt;/a&gt;&amp;nbsp;]
&lt;br&gt;&lt;br&gt;Paul White updated STS-696:
&lt;br&gt;---------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; Attachment: AnnotatedClassActionResolverTest.java
&lt;br&gt;&lt;br&gt;This test case demonstrates the issue. It passes when the above change to AnnotatedClassActionResolver.java is made.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; StripesRuntimeException thrown in AnnotatedClassActionResolver when overriding handler but returning a subclass of the original method
&lt;br&gt;&amp;gt; --------------------------------------------------------------------------------------------------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Key: STS-696
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; URL: &lt;a href=&quot;http://www.stripesframework.org/jira/browse/STS-696&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.stripesframework.org/jira/browse/STS-696&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: Stripes
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue Type: Bug
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Components: ActionBean Dispatching
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;Affects Versions: Release 1.5, Release 1.5.1
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Environment: Java 1.5.0_19
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: Paul White
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Attachments: AnnotatedClassActionResolverTest.java
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; A net.sourceforge.stripes.exception.StripesRuntimeException is thrown in error at:
&lt;br&gt;&amp;gt; net.sourceforge.stripes.controller.AnnotatedClassActionResolver.processMethods(AnnotatedClassActionResolver.java:226)
&lt;br&gt;&amp;gt; The exception message is &amp;quot;The ActionBean class &amp;lt;classname? declares multiple event handlers for event '&amp;lt;eventname&amp;gt;'&amp;quot;
&lt;br&gt;&amp;gt; This occurs when processing methods for an actionBean that overrides a super class handler with a method returning a subclass of the original method (eg RedirectResolution overriding Resolution). The reason for the error is that AnnotatedClassActionResolver.processMethods is not expecting class.getDeclaredMethods() to include bridge methods. I will attach a test case that displays the problem.
&lt;br&gt;&amp;gt; Workaround is to refactor subclasses to return Resolution rather than ForwardResolution, RedirectResolution etc but it's valid in Java to override methods this way so it should be supported ideally.
&lt;br&gt;&amp;gt; The solution is to change AnnotatedClassActionResolver.java, line 220 as follows:
&lt;br&gt;&amp;gt; if ( Modifier.isPublic(method.getModifiers()) &amp;&amp; !method.isBridge() ) {
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;If you think it was sent incorrectly contact one of the administrators: &lt;a href=&quot;http://www.stripesframework.org/jira/secure/Administrators.jspa&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.stripesframework.org/jira/secure/Administrators.jspa&lt;/a&gt;&lt;br&gt;-
&lt;br&gt;For more information on JIRA, see: &lt;a href=&quot;http://www.atlassian.com/software/jira&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.atlassian.com/software/jira&lt;/a&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;_______________________________________________
&lt;br&gt;Stripes-development mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=24303826&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Stripes-development@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/stripes-development&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/stripes-development&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/stripes-dev-f16326.html&quot; embed=&quot;fixTarget[16326]&quot; target=&quot;_top&quot; &gt;stripes-dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/-JIRA--Created%3A-%28STS-696%29-StripesRuntimeException-thrown-in-AnnotatedClassActionResolver-when-overriding-handler-but-returning-a-subclass-of-the-original-method-tp24304040p24303826.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-24304040</id>
	<title>[JIRA] Created: (STS-696) StripesRuntimeException thrown in AnnotatedClassActionResolver when overriding handler but returning a subclass of the original method</title>
	<published>2009-07-02T02:28:18Z</published>
	<updated>2009-07-02T02:28:18Z</updated>
	<author>
		<name>JIRA jira@stripesframework.org</name>
	</author>
	<content type="html">StripesRuntimeException thrown in AnnotatedClassActionResolver when overriding handler but returning a subclass of the original method
&lt;br&gt;--------------------------------------------------------------------------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Key: STS-696
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;URL: &lt;a href=&quot;http://www.stripesframework.org/jira/browse/STS-696&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.stripesframework.org/jira/browse/STS-696&lt;/a&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Project: Stripes
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Issue Type: Bug
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Components: ActionBean Dispatching
&lt;br&gt;&amp;nbsp; &amp;nbsp; Affects Versions: Release 1.5.1, Release 1.5
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Environment: Java 1.5.0_19
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Reporter: Paul White
&lt;br&gt;&lt;br&gt;&lt;br&gt;A net.sourceforge.stripes.exception.StripesRuntimeException is thrown in error at:
&lt;br&gt;&lt;br&gt;net.sourceforge.stripes.controller.AnnotatedClassActionResolver.processMethods(AnnotatedClassActionResolver.java:226)
&lt;br&gt;&lt;br&gt;The exception message is &amp;quot;The ActionBean class &amp;lt;classname? declares multiple event handlers for event '&amp;lt;eventname&amp;gt;'&amp;quot;
&lt;br&gt;&lt;br&gt;This occurs when processing methods for an actionBean that overrides a super class handler with a method returning a subclass of the original method (eg RedirectResolution overriding Resolution). The reason for the error is that AnnotatedClassActionResolver.processMethods is not expecting class.getDeclaredMethods() to include bridge methods. I will attach a test case that displays the problem.
&lt;br&gt;&lt;br&gt;Workaround is to refactor subclasses to return Resolution rather than ForwardResolution, RedirectResolution etc but it's valid in Java to override methods this way so it should be supported ideally.
&lt;br&gt;&lt;br&gt;The solution is to change AnnotatedClassActionResolver.java, line 220 as follows:
&lt;br&gt;&lt;br&gt;if ( Modifier.isPublic(method.getModifiers()) &amp;&amp; !method.isBridge() ) {
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;If you think it was sent incorrectly contact one of the administrators: &lt;a href=&quot;http://www.stripesframework.org/jira/secure/Administrators.jspa&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.stripesframework.org/jira/secure/Administrators.jspa&lt;/a&gt;&lt;br&gt;-
&lt;br&gt;For more information on JIRA, see: &lt;a href=&quot;http://www.atlassian.com/software/jira&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.atlassian.com/software/jira&lt;/a&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;_______________________________________________
&lt;br&gt;Stripes-development mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=24304040&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Stripes-development@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/stripes-development&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/stripes-development&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/stripes-dev-f16326.html&quot; embed=&quot;fixTarget[16326]&quot; target=&quot;_top&quot; &gt;stripes-dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/-JIRA--Created%3A-%28STS-696%29-StripesRuntimeException-thrown-in-AnnotatedClassActionResolver-when-overriding-handler-but-returning-a-subclass-of-the-original-method-tp24304040p24304040.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-24296817</id>
	<title>[JIRA] Updated: (STS-690) &quot;ActionBean execution threw an exception&quot; - root cause is not logged</title>
	<published>2009-07-01T13:41:18Z</published>
	<updated>2009-07-01T13:41:18Z</updated>
	<author>
		<name>JIRA jira@stripesframework.org</name>
	</author>
	<content type="html">&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[ &lt;a href=&quot;http://www.stripesframework.org/jira/browse/STS-690?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.stripesframework.org/jira/browse/STS-690?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&lt;/a&gt;&amp;nbsp;]
&lt;br&gt;&lt;br&gt;John Newman updated STS-690:
&lt;br&gt;----------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; Attachment: BadActionBean.java
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; TestExceptionLogging.java
&lt;br&gt;&lt;br&gt;I ran into this again today. &amp;nbsp;Minimal test case to reproduce this is attached
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; &amp;quot;ActionBean execution threw an exception&amp;quot; - root cause is not logged
&lt;br&gt;&amp;gt; --------------------------------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Key: STS-690
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; URL: &lt;a href=&quot;http://www.stripesframework.org/jira/browse/STS-690&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.stripesframework.org/jira/browse/STS-690&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: Stripes
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue Type: Bug
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Components: ActionBean Dispatching
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;Affects Versions: Release 1.5
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: John Newman
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Attachments: BadActionBean.java, TestExceptionLogging.java
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; hello,
&lt;br&gt;&amp;gt; Perhaps I have something configured wrong. &amp;nbsp;But occasionally I get this error here, with no help as to what I actually have wrong:
&lt;br&gt;&amp;gt; 10:50:25,230 &amp;nbsp;WARN DefaultExceptionHandler:90 - Unhandled exception caught by the Stripes default exception handler.
&lt;br&gt;&amp;gt; net.sourceforge.stripes.exception.StripesServletException: ActionBean execution threw an exception.
&lt;br&gt;&amp;gt; 	at net.sourceforge.stripes.controller.DispatcherServlet.doPost(DispatcherServlet.java:190)
&lt;br&gt;&amp;gt; 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
&lt;br&gt;&amp;gt; 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
&lt;br&gt;&amp;gt; 	at net.sourceforge.stripes.mock.MockFilterChain.doFilter(MockFilterChain.java:66)
&lt;br&gt;&amp;gt; 	at net.sourceforge.stripes.controller.StripesFilter.doFilter(StripesFilter.java:246)
&lt;br&gt;&amp;gt; 	at net.sourceforge.stripes.mock.MockFilterChain.doFilter(MockFilterChain.java:63)
&lt;br&gt;&amp;gt; 	at net.sourceforge.stripes.mock.MockServletContext.acceptRequest(MockServletContext.java:255)
&lt;br&gt;&amp;gt; 	at net.sourceforge.stripes.mock.MockRoundtrip.execute(MockRoundtrip.java:195)
&lt;br&gt;&amp;gt; 	at net.sourceforge.stripes.mock.MockRoundtrip.execute(MockRoundtrip.java:207)
&lt;br&gt;&amp;gt; 	at test.com.upmc.cancercenters.pathways.core.TestPathwayViewer.testViewDiseasePDF(TestPathwayViewer.java:42)
&lt;br&gt;&amp;gt; 	at test.com.upmc.cancercenters.pathways.core.TestPathwayViewer.testBody(TestPathwayViewer.java:27)
&lt;br&gt;&amp;gt; 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
&lt;br&gt;&amp;gt; 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
&lt;br&gt;&amp;gt; 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
&lt;br&gt;&amp;gt; 	at java.lang.reflect.Method.invoke(Method.java:585)
&lt;br&gt;&amp;gt; 	at org.junit.internal.runners.TestMethod.invoke(TestMethod.java:59)
&lt;br&gt;&amp;gt; 	at org.junit.internal.runners.MethodRoadie.runTestMethod(MethodRoadie.java:98)
&lt;br&gt;&amp;gt; 	at org.junit.internal.runners.MethodRoadie$2.run(MethodRoadie.java:79)
&lt;br&gt;&amp;gt; 	at org.junit.internal.runners.MethodRoadie.runBeforesThenTestThenAfters(MethodRoadie.java:87)
&lt;br&gt;&amp;gt; 	at org.junit.internal.runners.MethodRoadie.runTest(MethodRoadie.java:77)
&lt;br&gt;&amp;gt; 	at org.junit.internal.runners.MethodRoadie.run(MethodRoadie.java:42)
&lt;br&gt;&amp;gt; 	at org.junit.internal.runners.JUnit4ClassRunner.invokeTestMethod(JUnit4ClassRunner.java:88)
&lt;br&gt;&amp;gt; 	at org.junit.internal.runners.JUnit4ClassRunner.runMethods(JUnit4ClassRunner.java:51)
&lt;br&gt;&amp;gt; 	at org.junit.internal.runners.JUnit4ClassRunner$1.run(JUnit4ClassRunner.java:44)
&lt;br&gt;&amp;gt; 	at org.junit.internal.runners.ClassRoadie.runUnprotected(ClassRoadie.java:27)
&lt;br&gt;&amp;gt; 	at org.junit.internal.runners.ClassRoadie.runProtected(ClassRoadie.java:37)
&lt;br&gt;&amp;gt; 	at org.junit.internal.runners.JUnit4ClassRunner.run(JUnit4ClassRunner.java:42)
&lt;br&gt;&amp;gt; 	at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:45)
&lt;br&gt;&amp;gt; 	at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
&lt;br&gt;&amp;gt; 	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
&lt;br&gt;&amp;gt; 	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
&lt;br&gt;&amp;gt; 	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
&lt;br&gt;&amp;gt; 	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
&lt;br&gt;&amp;gt; This doesn't help, the cause of that exception needs to be logged.
&lt;br&gt;&amp;gt; looking at the trunk, I see:
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;throw throwable;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; catch (ServletException se) { throw se; }
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; catch (IOException ioe) { throw ioe; }
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; catch (Throwable t) {
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; throw new StripesServletException(&amp;quot;Unhandled exception in exception handler.&amp;quot;, t);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;gt; so it's throwing it inside a try block and catching it.. something isn't right here.
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;If you think it was sent incorrectly contact one of the administrators: &lt;a href=&quot;http://www.stripesframework.org/jira/secure/Administrators.jspa&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.stripesframework.org/jira/secure/Administrators.jspa&lt;/a&gt;&lt;br&gt;-
&lt;br&gt;For more information on JIRA, see: &lt;a href=&quot;http://www.atlassian.com/software/jira&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.atlassian.com/software/jira&lt;/a&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;_______________________________________________
&lt;br&gt;Stripes-development mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=24296817&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Stripes-development@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/stripes-development&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/stripes-development&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/stripes-dev-f16326.html&quot; embed=&quot;fixTarget[16326]&quot; target=&quot;_top&quot; &gt;stripes-dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/-JIRA--Created%3A-%28STS-690%29-%22ActionBean-execution-threw-an-exception%22---root-cause-is-not-logged-tp23983263p24296817.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-24295216</id>
	<title>[JIRA] Commented: (STS-655) Example .war does not work on JBoss 5</title>
	<published>2009-07-01T11:48:18Z</published>
	<updated>2009-07-01T11:48:18Z</updated>
	<author>
		<name>JIRA jira@stripesframework.org</name>
	</author>
	<content type="html">&lt;br&gt;&amp;nbsp; &amp;nbsp; [ &lt;a href=&quot;http://www.stripesframework.org/jira/browse/STS-655?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=11726#action_11726&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.stripesframework.org/jira/browse/STS-655?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=11726#action_11726&lt;/a&gt;&amp;nbsp;] 
&lt;br&gt;&lt;br&gt;Allen Petersen commented on STS-655:
&lt;br&gt;------------------------------------
&lt;br&gt;&lt;br&gt;Are your classes in WEB-INF/classes, or in a jar file in WEB-INF/lib?
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Example .war does not work on JBoss 5
&lt;br&gt;&amp;gt; -------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Key: STS-655
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; URL: &lt;a href=&quot;http://www.stripesframework.org/jira/browse/STS-655&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.stripesframework.org/jira/browse/STS-655&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: Stripes
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue Type: Bug
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;Affects Versions: Release 1.5
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Environment: MS Window XP, JDK 1.6, Jboss 5.0.0GA
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: Richard Tsang
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Priority: Critical
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Fix For: Release 1.6
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Attachments: server.zip, server.zip, STS-655-jboss5x.patch
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; -Dropping the stripes-example.war (from stripes-1.5.zip) into JBoss 5.0.0GA (EG: jboss-5.0.0.GA\server\default\deploy)
&lt;br&gt;&amp;gt; -Start up server and open stripes-examples (&lt;a href=&quot;http://localhost:8080/stripes-examples&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://localhost:8080/stripes-examples&lt;/a&gt;)
&lt;br&gt;&amp;gt; -Click the quick start link to the simple calculator
&lt;br&gt;&amp;gt; -Enter two numbers and press the Add button
&lt;br&gt;&amp;gt; Got the following stacktrace:
&lt;br&gt;&amp;gt; net.sourceforge.stripes.exception.ActionBeanNotFoundException: Could not locate an ActionBean that is bound to the URL [/examples/quickstart/Calculator.action]. Commons reasons for this include mis-matched URLs and forgetting to implement ActionBean in your class. Registered ActionBeans are: {/controller/DefaultView.action=class net.sourceforge.stripes.controller.DefaultViewActionBean}
&lt;br&gt;&amp;gt; 	net.sourceforge.stripes.controller.AnnotatedClassActionResolver.getActionBean(AnnotatedClassActionResolver.java:325)
&lt;br&gt;&amp;gt; 	net.sourceforge.stripes.controller.NameBasedActionResolver.getActionBean(NameBasedActionResolver.java:264)
&lt;br&gt;&amp;gt; 	net.sourceforge.stripes.controller.AnnotatedClassActionResolver.getActionBean(AnnotatedClassActionResolver.java:279)
&lt;br&gt;&amp;gt; 	net.sourceforge.stripes.controller.DispatcherHelper$1.intercept(DispatcherHelper.java:106)
&lt;br&gt;&amp;gt; 	net.sourceforge.stripes.controller.ExecutionContext.proceed(ExecutionContext.java:158)
&lt;br&gt;&amp;gt; 	net.sourceforge.stripes.controller.BeforeAfterMethodInterceptor.intercept(BeforeAfterMethodInterceptor.java:113)
&lt;br&gt;&amp;gt; 	net.sourceforge.stripes.controller.ExecutionContext.proceed(ExecutionContext.java:155)
&lt;br&gt;&amp;gt; 	net.sourceforge.stripes.controller.ExecutionContext.wrap(ExecutionContext.java:74)
&lt;br&gt;&amp;gt; 	net.sourceforge.stripes.controller.DispatcherHelper.resolveActionBean(DispatcherHelper.java:102)
&lt;br&gt;&amp;gt; 	net.sourceforge.stripes.controller.DispatcherServlet.resolveActionBean(DispatcherServlet.java:245)
&lt;br&gt;&amp;gt; 	net.sourceforge.stripes.controller.DispatcherServlet.doPost(DispatcherServlet.java:148)
&lt;br&gt;&amp;gt; 	javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
&lt;br&gt;&amp;gt; 	javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
&lt;br&gt;&amp;gt; 	net.sourceforge.stripes.controller.StripesFilter.doFilter(StripesFilter.java:246)
&lt;br&gt;&amp;gt; 	org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;If you think it was sent incorrectly contact one of the administrators: &lt;a href=&quot;http://www.stripesframework.org/jira/secure/Administrators.jspa&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.stripesframework.org/jira/secure/Administrators.jspa&lt;/a&gt;&lt;br&gt;-
&lt;br&gt;For more information on JIRA, see: &lt;a href=&quot;http://www.atlassian.com/software/jira&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.atlassian.com/software/jira&lt;/a&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;_______________________________________________
&lt;br&gt;Stripes-development mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=24295216&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Stripes-development@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/stripes-development&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/stripes-development&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/stripes-dev-f16326.html&quot; embed=&quot;fixTarget[16326]&quot; target=&quot;_top&quot; &gt;stripes-dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/-JIRA--Created%3A-%28STS-655%29-Example-.war-does-not-work-on-JBoss-5-tp22282627p24295216.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-24292244</id>
	<title>Re: Empty Paramter Map in LayoutContext</title>
	<published>2009-07-01T08:50:50Z</published>
	<updated>2009-07-01T08:50:50Z</updated>
	<author>
		<name>phil darley</name>
	</author>
	<content type="html">Many thanks Ben this is now working, I previously only had the
&lt;br&gt;StripesFilter dispatched on REQUEST.
&lt;br&gt;&lt;br&gt;Cheers,
&lt;br&gt;Phil
&lt;br&gt;&lt;br&gt;On Wed, Jul 1, 2009 at 1:43 PM, Ben Gunter&amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=24292244&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gunterben@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Do you have StripesFilter executing on error, something like this?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;filter-mapping&amp;gt;
&lt;br&gt;&amp;gt;   &amp;lt;filter-name&amp;gt;StripesFilter&amp;lt;filter-name&amp;gt;
&lt;br&gt;&amp;gt;   &amp;lt;url-pattern&amp;gt;*.jsp&amp;lt;/url-pattern&amp;gt;
&lt;br&gt;&amp;gt;   &amp;lt;dispatcher&amp;gt;REQUEST&amp;lt;/dispatcher&amp;gt;
&lt;br&gt;&amp;gt;   &amp;lt;dispatcher&amp;gt;FORWARD&amp;lt;/dispatcher&amp;gt;
&lt;br&gt;&amp;gt;   &amp;lt;dispatcher&amp;gt;ERROR&amp;lt;/dispatcher&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;/filter-mapping&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; -Ben
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; On Wed, Jul 1, 2009 at 7:09 AM, phil darley &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=24292244&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;phillip.darley@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Hi Stripes folk,
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I'm getting a 500 internal server error (ironically) when attempting
&lt;br&gt;&amp;gt;&amp;gt; to customise my error pages - specifically the 404 page.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; My error pages use the default template layout-definition for my web
&lt;br&gt;&amp;gt;&amp;gt; app, if I request my 404 jsp directly it works fine but when the
&lt;br&gt;&amp;gt;&amp;gt; servlet container forwards a bad request (a request for a non-existant
&lt;br&gt;&amp;gt;&amp;gt; resource) to my 404 page a StripesJspException is thrown because the
&lt;br&gt;&amp;gt;&amp;gt; LayoutContext contains an empty Map of parameters for the layout
&lt;br&gt;&amp;gt;&amp;gt; componets.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; When does the Parameter Map get set on the LayoutContext? I can only
&lt;br&gt;&amp;gt;&amp;gt; assume it has something to do with the way the servlet container
&lt;br&gt;&amp;gt;&amp;gt; (weblogic 81) is forwarding on the request.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Cheers,
&lt;br&gt;&amp;gt;&amp;gt; Phil
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ------------------------------------------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; Stripes-users mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=24292244&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Stripes-users@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/stripes-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/stripes-users&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;_______________________________________________
&lt;br&gt;Stripes-users mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=24292244&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Stripes-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/stripes-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/stripes-users&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/stripes-users-f16325.html&quot; embed=&quot;fixTarget[16325]&quot; target=&quot;_top&quot; &gt;stripes-users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Empty-Paramter-Map-in-LayoutContext-tp24287995p24292244.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-24291108</id>
	<title>Re: Empty Paramter Map in LayoutContext</title>
	<published>2009-07-01T05:43:57Z</published>
	<updated>2009-07-01T05:43:57Z</updated>
	<author>
		<name>Ben Gunter-2</name>
	</author>
	<content type="html">Do you have StripesFilter executing on error, something like this?&lt;br&gt;&lt;br&gt;&lt;div style=&quot;margin-left: 40px;&quot;&gt;&lt;span style=&quot;font-family: courier new,monospace;&quot;&gt;&amp;lt;filter-mapping&amp;gt;&lt;/span&gt;&lt;br style=&quot;font-family: courier new,monospace;&quot;&gt;

&lt;span style=&quot;font-family: courier new,monospace;&quot;&gt;  &amp;lt;filter-name&amp;gt;StripesFilter&amp;lt;filter-name&amp;gt;&lt;/span&gt;&lt;br style=&quot;font-family: courier new,monospace;&quot;&gt;&lt;span style=&quot;font-family: courier new,monospace;&quot;&gt;  &amp;lt;url-pattern&amp;gt;*.jsp&amp;lt;/url-pattern&amp;gt;&lt;/span&gt;&lt;br style=&quot;font-family: courier new,monospace;&quot;&gt;

&lt;span style=&quot;font-family: courier new,monospace;&quot;&gt;  &amp;lt;dispatcher&amp;gt;REQUEST&amp;lt;/dispatcher&amp;gt;&lt;/span&gt;&lt;br style=&quot;font-family: courier new,monospace;&quot;&gt;&lt;span style=&quot;font-family: courier new,monospace;&quot;&gt;  &amp;lt;dispatcher&amp;gt;FORWARD&amp;lt;/dispatcher&amp;gt;&lt;/span&gt;&lt;br style=&quot;font-family: courier new,monospace;&quot;&gt;

&lt;span style=&quot;font-family: courier new,monospace;&quot;&gt;  &amp;lt;dispatcher&amp;gt;ERROR&amp;lt;/dispatcher&amp;gt;&lt;/span&gt;&lt;br style=&quot;font-family: courier new,monospace;&quot;&gt;&lt;span style=&quot;font-family: courier new,monospace;&quot;&gt;&amp;lt;/filter-mapping&amp;gt;&lt;/span&gt;&lt;br&gt;

&lt;/div&gt;&lt;br&gt;-Ben&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Wed, Jul 1, 2009 at 7:09 AM, phil darley &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=24291108&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;phillip.darley@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;

Hi Stripes folk,&lt;br&gt;
&lt;br&gt;
I&amp;#39;m getting a 500 internal server error (ironically) when attempting&lt;br&gt;
to customise my error pages - specifically the 404 page.&lt;br&gt;
&lt;br&gt;
My error pages use the default template layout-definition for my web&lt;br&gt;
app, if I request my 404 jsp directly it works fine but when the&lt;br&gt;
servlet container forwards a bad request (a request for a non-existant&lt;br&gt;
resource) to my 404 page a StripesJspException is thrown because the&lt;br&gt;
LayoutContext contains an empty Map of parameters for the layout&lt;br&gt;
componets.&lt;br&gt;
&lt;br&gt;
When does the Parameter Map get set on the LayoutContext? I can only&lt;br&gt;
assume it has something to do with the way the servlet container&lt;br&gt;
(weblogic 81) is forwarding on the request.&lt;br&gt;
&lt;br&gt;
Cheers,&lt;br&gt;
Phil&lt;br&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;Stripes-users mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=24291108&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Stripes-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/stripes-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/stripes-users&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/stripes-users-f16325.html&quot; embed=&quot;fixTarget[16325]&quot; target=&quot;_top&quot; &gt;stripes-users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Empty-Paramter-Map-in-LayoutContext-tp24287995p24291108.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-24290965</id>
	<title>[JIRA] Commented: (STS-655) Example .war does not work on JBoss 5</title>
	<published>2009-07-01T05:37:18Z</published>
	<updated>2009-07-01T05:37:18Z</updated>
	<author>
		<name>JIRA jira@stripesframework.org</name>
	</author>
	<content type="html">&lt;br&gt;&amp;nbsp; &amp;nbsp; [ &lt;a href=&quot;http://www.stripesframework.org/jira/browse/STS-655?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=11725#action_11725&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.stripesframework.org/jira/browse/STS-655?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=11725#action_11725&lt;/a&gt;&amp;nbsp;] 
&lt;br&gt;&lt;br&gt;Marcus Kraßmann commented on STS-655:
&lt;br&gt;-------------------------------------
&lt;br&gt;&lt;br&gt;The patch does not work for me. I fetched Stripes 1.5.1 from corresponding svn-tag and used the patch file attached to this ticket. The resulting stripes.jar did neither work on JBoss 5.0.1.GA nor on 5.1.0.GA (server plattform: Windows XP, JDK 1.6.13).
&lt;br&gt;&lt;br&gt;I get no error messages on server startup, but also there are no action beans bound to Stripes.
&lt;br&gt;&lt;br&gt;If I deploy the exploded war, everything works fine.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Example .war does not work on JBoss 5
&lt;br&gt;&amp;gt; -------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Key: STS-655
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; URL: &lt;a href=&quot;http://www.stripesframework.org/jira/browse/STS-655&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.stripesframework.org/jira/browse/STS-655&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: Stripes
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue Type: Bug
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;Affects Versions: Release 1.5
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Environment: MS Window XP, JDK 1.6, Jboss 5.0.0GA
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: Richard Tsang
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Priority: Critical
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Fix For: Release 1.6
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Attachments: server.zip, server.zip, STS-655-jboss5x.patch
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; -Dropping the stripes-example.war (from stripes-1.5.zip) into JBoss 5.0.0GA (EG: jboss-5.0.0.GA\server\default\deploy)
&lt;br&gt;&amp;gt; -Start up server and open stripes-examples (&lt;a href=&quot;http://localhost:8080/stripes-examples&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://localhost:8080/stripes-examples&lt;/a&gt;)
&lt;br&gt;&amp;gt; -Click the quick start link to the simple calculator
&lt;br&gt;&amp;gt; -Enter two numbers and press the Add button
&lt;br&gt;&amp;gt; Got the following stacktrace:
&lt;br&gt;&amp;gt; net.sourceforge.stripes.exception.ActionBeanNotFoundException: Could not locate an ActionBean that is bound to the URL [/examples/quickstart/Calculator.action]. Commons reasons for this include mis-matched URLs and forgetting to implement ActionBean in your class. Registered ActionBeans are: {/controller/DefaultView.action=class net.sourceforge.stripes.controller.DefaultViewActionBean}
&lt;br&gt;&amp;gt; 	net.sourceforge.stripes.controller.AnnotatedClassActionResolver.getActionBean(AnnotatedClassActionResolver.java:325)
&lt;br&gt;&amp;gt; 	net.sourceforge.stripes.controller.NameBasedActionResolver.getActionBean(NameBasedActionResolver.java:264)
&lt;br&gt;&amp;gt; 	net.sourceforge.stripes.controller.AnnotatedClassActionResolver.getActionBean(AnnotatedClassActionResolver.java:279)
&lt;br&gt;&amp;gt; 	net.sourceforge.stripes.controller.DispatcherHelper$1.intercept(DispatcherHelper.java:106)
&lt;br&gt;&amp;gt; 	net.sourceforge.stripes.controller.ExecutionContext.proceed(ExecutionContext.java:158)
&lt;br&gt;&amp;gt; 	net.sourceforge.stripes.controller.BeforeAfterMethodInterceptor.intercept(BeforeAfterMethodInterceptor.java:113)
&lt;br&gt;&amp;gt; 	net.sourceforge.stripes.controller.ExecutionContext.proceed(ExecutionContext.java:155)
&lt;br&gt;&amp;gt; 	net.sourceforge.stripes.controller.ExecutionContext.wrap(ExecutionContext.java:74)
&lt;br&gt;&amp;gt; 	net.sourceforge.stripes.controller.DispatcherHelper.resolveActionBean(DispatcherHelper.java:102)
&lt;br&gt;&amp;gt; 	net.sourceforge.stripes.controller.DispatcherServlet.resolveActionBean(DispatcherServlet.java:245)
&lt;br&gt;&amp;gt; 	net.sourceforge.stripes.controller.DispatcherServlet.doPost(DispatcherServlet.java:148)
&lt;br&gt;&amp;gt; 	javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
&lt;br&gt;&amp;gt; 	javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
&lt;br&gt;&amp;gt; 	net.sourceforge.stripes.controller.StripesFilter.doFilter(StripesFilter.java:246)
&lt;br&gt;&amp;gt; 	org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;If you think it was sent incorrectly contact one of the administrators: &lt;a href=&quot;http://www.stripesframework.org/jira/secure/Administrators.jspa&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.stripesframework.org/jira/secure/Administrators.jspa&lt;/a&gt;&lt;br&gt;-
&lt;br&gt;For more information on JIRA, see: &lt;a href=&quot;http://www.atlassian.com/software/jira&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.atlassian.com/software/jira&lt;/a&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;_______________________________________________
&lt;br&gt;Stripes-development mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=24290965&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Stripes-development@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/stripes-development&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/stripes-development&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/stripes-dev-f16326.html&quot; embed=&quot;fixTarget[16326]&quot; target=&quot;_top&quot; &gt;stripes-dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/-JIRA--Created%3A-%28STS-655%29-Example-.war-does-not-work-on-JBoss-5-tp22282627p24290965.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-24287995</id>
	<title>Empty Paramter Map in LayoutContext</title>
	<published>2009-07-01T04:09:46Z</published>
	<updated>2009-07-01T04:09:46Z</updated>
	<author>
		<name>phil darley</name>
	</author>
	<content type="html">Hi Stripes folk,
&lt;br&gt;&lt;br&gt;I'm getting a 500 internal server error (ironically) when attempting
&lt;br&gt;to customise my error pages - specifically the 404 page.
&lt;br&gt;&lt;br&gt;My error pages use the default template layout-definition for my web
&lt;br&gt;app, if I request my 404 jsp directly it works fine but when the
&lt;br&gt;servlet container forwards a bad request (a request for a non-existant
&lt;br&gt;resource) to my 404 page a StripesJspException is thrown because the
&lt;br&gt;LayoutContext contains an empty Map of parameters for the layout
&lt;br&gt;componets.
&lt;br&gt;&lt;br&gt;When does the Parameter Map get set on the LayoutContext? I can only
&lt;br&gt;assume it has something to do with the way the servlet container
&lt;br&gt;(weblogic 81) is forwarding on the request.
&lt;br&gt;&lt;br&gt;Cheers,
&lt;br&gt;Phil
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;_______________________________________________
&lt;br&gt;Stripes-users mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=24287995&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Stripes-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/stripes-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/stripes-users&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/stripes-users-f16325.html&quot; embed=&quot;fixTarget[16325]&quot; target=&quot;_top&quot; &gt;stripes-users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Empty-Paramter-Map-in-LayoutContext-tp24287995p24287995.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-24282629</id>
	<title>[JIRA] Created: (STS-695) Non-transient request field in FlashScope sometimes prevents serialization for session persistence</title>
	<published>2009-06-30T17:53:18Z</published>
	<updated>2009-06-30T17:53:18Z</updated>
	<author>
		<name>JIRA jira@stripesframework.org</name>
	</author>
	<content type="html">Non-transient request field in FlashScope sometimes prevents serialization for session persistence
&lt;br&gt;--------------------------------------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Key: STS-695
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;URL: &lt;a href=&quot;http://www.stripesframework.org/jira/browse/STS-695&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.stripesframework.org/jira/browse/STS-695&lt;/a&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Project: Stripes
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Issue Type: Bug
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Components: Context Management
&lt;br&gt;&amp;nbsp; &amp;nbsp; Affects Versions: Release 1.5.1
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Environment: Resin 3.1.9, Java 1.6.0_13, Ubuntu 8.10
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Reporter: Mark Adams
&lt;br&gt;&lt;br&gt;&lt;br&gt;As we know, Stripes' FlashScope objects are stored in a Map in the HttpSession. The session attribute that stores them is Serializable, and the FlashScope itself implements Serializable, but it has a private field that holds an HttpServletRequest, which in practice is an instance of StripesRequestWrapper, which is not Serializable, so when you're using persistent sessions and your session manager uses serialization, it's possible that you'll end up getting a NotSerializableException when attempting to serialize the FlashScope.
&lt;br&gt;&lt;br&gt;The exact behavior probably varies from servlet engine to servlet engine, but here's what I've seen with Resin: if the request makes it to the end of StripesFilter.doFilter() before trying to save the session, it'll be ok because FlashScope.completeRequest() will have been called, which among other things nulls out the request field on the FlashScope. However, if an action ends with a RedirectResolution, then before the end of doFilter() it will end up in RedirectResolution.execute(), which calls HttpResponse.sendRedirect(), which (on Resin, at least) saves the session before sending the response to the client. At that point, of course, the request field on the FlashScope is still non-null, so the serialization fails.
&lt;br&gt;&lt;br&gt;&amp;gt;From the testing I've done so far, it appears that marking the FlashScope.request field as transient will take care of the problem.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;If you think it was sent incorrectly contact one of the administrators: &lt;a href=&quot;http://www.stripesframework.org/jira/secure/Administrators.jspa&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.stripesframework.org/jira/secure/Administrators.jspa&lt;/a&gt;&lt;br&gt;-
&lt;br&gt;For more information on JIRA, see: &lt;a href=&quot;http://www.atlassian.com/software/jira&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.atlassian.com/software/jira&lt;/a&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;_______________________________________________
&lt;br&gt;Stripes-development mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=24282629&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Stripes-development@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/stripes-development&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/stripes-development&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/stripes-dev-f16326.html&quot; embed=&quot;fixTarget[16326]&quot; target=&quot;_top&quot; &gt;stripes-dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/-JIRA--Created%3A-%28STS-695%29-Non-transient-request-field-in-FlashScope-sometimes-prevents-serialization-for-session-persistence-tp24282629p24282629.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-24280572</id>
	<title>Re: StripesFilter exclude path</title>
	<published>2009-06-30T14:56:03Z</published>
	<updated>2009-06-30T14:56:03Z</updated>
	<author>
		<name>VANKEISBELCK Remi-2</name>
	</author>
	<content type="html">Not really : DMF looks for 404s, and tries to resolve to an action if
&lt;br&gt;nothing else could be found. It can introduce side effects that you
&lt;br&gt;simply avoid by &amp;quot;excluding&amp;quot; some paths, if that's what's needed.
&lt;br&gt;&lt;br&gt;In short, if you have a prefix/suffix for your actions (here, .htm),
&lt;br&gt;then you don't need DMF. DMF is useful only for paths that don't have
&lt;br&gt;a prefix (/action/*) or suffix (*.action).
&lt;br&gt;&lt;br&gt;Cheers
&lt;br&gt;&lt;br&gt;Remi
&lt;br&gt;&lt;br&gt;2009/6/30 Levi Hoogenberg &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=24280572&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;levihoogenberg@...&lt;/a&gt;&amp;gt;:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Isn't this more or less what DynamicMappingFilter does?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Op 30 jun 2009 om 20:35 heeft VANKEISBELCK Remi &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=24280572&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;remi@...&lt;/a&gt;&amp;gt; het volgende
&lt;br&gt;&amp;gt; geschreven:\
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Hi Tony,
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; A very simple way to do this is by subclassing StripesFilter, override
&lt;br&gt;&amp;gt;&amp;gt; the doFilter(...) method, and perform a test on the requested URL to
&lt;br&gt;&amp;gt;&amp;gt; decide wether to call the stripes filter (via super.doFilter()), or
&lt;br&gt;&amp;gt;&amp;gt; just let the request go through and do nothing.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Stuff like this :
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; class StripesWithExclusionFilter extends StripesFilter {
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; ...
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; @Override
&lt;br&gt;&amp;gt;&amp;gt; public void doFilter(request,response,filterChain) {
&lt;br&gt;&amp;gt;&amp;gt;  if (filterExclusionHelper.isExcluded(request)) {
&lt;br&gt;&amp;gt;&amp;gt;   // excluded request
&lt;br&gt;&amp;gt;&amp;gt;   filterChain.doFilter(request, response);
&lt;br&gt;&amp;gt;&amp;gt;  } else {
&lt;br&gt;&amp;gt;&amp;gt;   // request should be handled by Stripes
&lt;br&gt;&amp;gt;&amp;gt;   super.doFilter(...);
&lt;br&gt;&amp;gt;&amp;gt;  }
&lt;br&gt;&amp;gt;&amp;gt; }
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; ...
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; }
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Of course, you'll need to declare your filter class instead of
&lt;br&gt;&amp;gt;&amp;gt; Stripes' into web.xml.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Cheers
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Remi
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; 2009/6/30 Tony Nelson &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=24280572&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;tnelson@...&lt;/a&gt;&amp;gt;:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Hello everyone.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Thank you for any help in advance.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; I have mapped StripesFilter to all .htm files.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;   &amp;lt;filter-mapping&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;       &amp;lt;filter-name&amp;gt;StripesFilter&amp;lt;/filter-name&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;       &amp;lt;servlet-name&amp;gt;DispatcherServlet&amp;lt;/servlet-name&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;       &amp;lt;dispatcher&amp;gt;REQUEST&amp;lt;/dispatcher&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;       &amp;lt;dispatcher&amp;gt;FORWARD&amp;lt;/dispatcher&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;   &amp;lt;/filter-mapping&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;   &amp;lt;servlet&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;       &amp;lt;servlet-name&amp;gt;DispatcherServlet&amp;lt;/servlet-name&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;lt;servlet-class&amp;gt;net.sourceforge.stripes.controller.DispatcherServlet&amp;lt;/servlet-class&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;       &amp;lt;load-on-startup&amp;gt;1&amp;lt;/load-on-startup&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;   &amp;lt;/servlet&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;   &amp;lt;servlet-mapping&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;       &amp;lt;servlet-name&amp;gt;DispatcherServlet&amp;lt;/servlet-name&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;       &amp;lt;url-pattern&amp;gt;*.htm&amp;lt;/url-pattern&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;   &amp;lt;/servlet-mapping&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; This was working just great.. until someone clicked a button on a
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; javascript widget (tiny_mce) that caused a popup to open
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; (/path/to/tiny_mce/something.htm).  Of course Stripes intercepted the
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; called and complained that it couldn't find an ActionBean for the page.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; I think I have 2 options.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 1) Change my files from .htm to something else.  .html and .jsp are
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; already taken.  My boss wasn't happy with the default .action which is
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; why I changed it in the first place.  Any suggestions?
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 2) Somehow exclude the parent path to the tiny_mce editor.  I can
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; exclude all of /javascript and should be ok since none of the pages that
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Stripes should be concerned in will live there.   I just can't find a
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; way to do this.  I don't believe the jsp spec allows it, and I can't
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; find a configuration parameter for Stripes.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Any help help, ideas or alternate suggestions would be greatly
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; appreciated.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Tony Nelson
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Starpoint Solutions
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; ------------------------------------------------------------------------------
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Stripes-users mailing list
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=24280572&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Stripes-users@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/stripes-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/stripes-users&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; ------------------------------------------------------------------------------
&lt;br&gt;&amp;gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt;&amp;gt; Stripes-users mailing list
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=24280572&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Stripes-users@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/stripes-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/stripes-users&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;_______________________________________________
&lt;br&gt;Stripes-users mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=24280572&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Stripes-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/stripes-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/stripes-users&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/stripes-users-f16325.html&quot; embed=&quot;fixTarget[16325]&quot; target=&quot;_top&quot; &gt;stripes-users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/StripesFilter-exclude-path-tp24276945p24280572.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-24280495</id>
	<title>Re: StripesFilter exclude path</title>
	<published>2009-06-30T14:53:27Z</published>
	<updated>2009-06-30T14:53:27Z</updated>
	<author>
		<name>VANKEISBELCK Remi-2</name>
	</author>
	<content type="html">Yeah sorry, of course dispatcher servlet IS the one to be subclassed...
&lt;br&gt;&lt;br&gt;You don't really need to subclass the filter actually I think.
&lt;br&gt;&lt;br&gt;Cheers
&lt;br&gt;&lt;br&gt;Remi
&lt;br&gt;&lt;br&gt;2009/6/30 Tony Nelson &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=24280495&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;tnelson@...&lt;/a&gt;&amp;gt;:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi Remy, and everyone else.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; It looks like the DispatcherServlet is still intercepting the call.. I'm
&lt;br&gt;&amp;gt; sure that my Filter class is being used.. and that it's calling
&lt;br&gt;&amp;gt; filterChain.doFilter() and not super.doFilter() ..
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; 30 Jun 2009 15:37:24,784 [27391335@qtp0-0] DEBUG
&lt;br&gt;&amp;gt; com.starpoint.instihire.web.stripes.filter.IHStripesFilter:23  -
&lt;br&gt;&amp;gt; /instihire/javascript/tiny_mce/plugins/paste/pasteword.htm
&lt;br&gt;&amp;gt; 30 Jun 2009 15:37:24,785 [27391335@qtp0-0] DEBUG
&lt;br&gt;&amp;gt; com.starpoint.instihire.web.stripes.filter.IHStripesFilter:27  - calling
&lt;br&gt;&amp;gt; filterChain.doFilter()
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; On second thought that makes a lot of sense as the DispatcherServlet is
&lt;br&gt;&amp;gt; actually what's mapped to *.htm
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Do I need to sublclass DispatcherServlet?  Or is there a way to configure
&lt;br&gt;&amp;gt; it?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thank you for your help.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Tony
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; VANKEISBELCK Remi wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Hi Tony,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; A very simple way to do this is by subclassing StripesFilter, override
&lt;br&gt;&amp;gt; the doFilter(...) method, and perform a test on the requested URL to
&lt;br&gt;&amp;gt; decide wether to call the stripes filter (via super.doFilter()), or
&lt;br&gt;&amp;gt; just let the request go through and do nothing.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Stuff like this :
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; class StripesWithExclusionFilter extends StripesFilter {
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ...
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; @Override
&lt;br&gt;&amp;gt; public void doFilter(request,response,filterChain) {
&lt;br&gt;&amp;gt; &amp;nbsp; if (filterExclusionHelper.isExcluded(request)) {
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; // excluded request
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; filterChain.doFilter(request, response);
&lt;br&gt;&amp;gt; &amp;nbsp; } else {
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; // request should be handled by Stripes
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; super.doFilter(...);
&lt;br&gt;&amp;gt; &amp;nbsp; }
&lt;br&gt;&amp;gt; }
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ...
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; }
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Of course, you'll need to declare your filter class instead of
&lt;br&gt;&amp;gt; Stripes' into web.xml.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Cheers
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Remi
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; 2009/6/30 Tony Nelson &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=24280495&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;tnelson@...&lt;/a&gt;&amp;gt;:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Hello everyone.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thank you for any help in advance.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I have mapped StripesFilter to all .htm files.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;    &amp;lt;filter-mapping&amp;gt;
&lt;br&gt;&amp;gt;        &amp;lt;filter-name&amp;gt;StripesFilter&amp;lt;/filter-name&amp;gt;
&lt;br&gt;&amp;gt;        &amp;lt;servlet-name&amp;gt;DispatcherServlet&amp;lt;/servlet-name&amp;gt;
&lt;br&gt;&amp;gt;        &amp;lt;dispatcher&amp;gt;REQUEST&amp;lt;/dispatcher&amp;gt;
&lt;br&gt;&amp;gt;        &amp;lt;dispatcher&amp;gt;FORWARD&amp;lt;/dispatcher&amp;gt;
&lt;br&gt;&amp;gt;    &amp;lt;/filter-mapping&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;    &amp;lt;servlet&amp;gt;
&lt;br&gt;&amp;gt;        &amp;lt;servlet-name&amp;gt;DispatcherServlet&amp;lt;/servlet-name&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;servlet-class&amp;gt;net.sourceforge.stripes.controller.DispatcherServlet&amp;lt;/servlet-class&amp;gt;
&lt;br&gt;&amp;gt;        &amp;lt;load-on-startup&amp;gt;1&amp;lt;/load-on-startup&amp;gt;
&lt;br&gt;&amp;gt;    &amp;lt;/servlet&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;    &amp;lt;servlet-mapping&amp;gt;
&lt;br&gt;&amp;gt;        &amp;lt;servlet-name&amp;gt;DispatcherServlet&amp;lt;/servlet-name&amp;gt;
&lt;br&gt;&amp;gt;        &amp;lt;url-pattern&amp;gt;*.htm&amp;lt;/url-pattern&amp;gt;
&lt;br&gt;&amp;gt;    &amp;lt;/servlet-mapping&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; This was working just great.. until someone clicked a button on a
&lt;br&gt;&amp;gt; javascript widget (tiny_mce) that caused a popup to open
&lt;br&gt;&amp;gt; (/path/to/tiny_mce/something.htm).  Of course Stripes intercepted the
&lt;br&gt;&amp;gt; called and complained that it couldn't find an ActionBean for the page.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I think I have 2 options.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; 1) Change my files from .htm to something else.  .html and .jsp are
&lt;br&gt;&amp;gt; already taken.  My boss wasn't happy with the default .action which is
&lt;br&gt;&amp;gt; why I changed it in the first place.  Any suggestions?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; 2) Somehow exclude the parent path to the tiny_mce editor.  I can
&lt;br&gt;&amp;gt; exclude all of /javascript and should be ok since none of the pages that
&lt;br&gt;&amp;gt; Stripes should be concerned in will live there.   I just can't find a
&lt;br&gt;&amp;gt; way to do this.  I don't believe the jsp spec allows it, and I can't
&lt;br&gt;&amp;gt; find a configuration parameter for Stripes.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Any help help, ideas or alternate suggestions would be greatly appreciated.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Tony Nelson
&lt;br&gt;&amp;gt; Starpoint Solutions
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ------------------------------------------------------------------------------
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; Stripes-users mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=24280495&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Stripes-users@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/stripes-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/stripes-users&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ------------------------------------------------------------------------------
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; Stripes-users mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=24280495&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Stripes-users@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/stripes-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/stripes-users&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;_______________________________________________
&lt;br&gt;Stripes-users mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=24280495&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Stripes-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/stripes-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/stripes-users&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/stripes-users-f16325.html&quot; embed=&quot;fixTarget[16325]&quot; target=&quot;_top&quot; &gt;stripes-users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/StripesFilter-exclude-path-tp24276945p24280495.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-24279116</id>
	<title>Re: StripesFilter exclude path</title>
	<published>2009-06-30T13:28:12Z</published>
	<updated>2009-06-30T13:28:12Z</updated>
	<author>
		<name>levi_h</name>
	</author>
	<content type="html">Isn't this more or less what DynamicMappingFilter does?
&lt;br&gt;&lt;br&gt;Op 30 jun 2009 om 20:35 heeft VANKEISBELCK Remi &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=24279116&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;remi@...&lt;/a&gt;&amp;gt; het &amp;nbsp;
&lt;br&gt;volgende geschreven:\
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi Tony,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; A very simple way to do this is by subclassing StripesFilter, override
&lt;br&gt;&amp;gt; the doFilter(...) method, and perform a test on the requested URL to
&lt;br&gt;&amp;gt; decide wether to call the stripes filter (via super.doFilter()), or
&lt;br&gt;&amp;gt; just let the request go through and do nothing.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Stuff like this :
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; class StripesWithExclusionFilter extends StripesFilter {
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ...
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; @Override
&lt;br&gt;&amp;gt; public void doFilter(request,response,filterChain) {
&lt;br&gt;&amp;gt; &amp;nbsp;if (filterExclusionHelper.isExcluded(request)) {
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;// excluded request
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;filterChain.doFilter(request, response);
&lt;br&gt;&amp;gt; &amp;nbsp;} else {
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;// request should be handled by Stripes
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;super.doFilter(...);
&lt;br&gt;&amp;gt; &amp;nbsp;}
&lt;br&gt;&amp;gt; }
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ...
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; }
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Of course, you'll need to declare your filter class instead of
&lt;br&gt;&amp;gt; Stripes' into web.xml.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Cheers
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Remi
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; 2009/6/30 Tony Nelson &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=24279116&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;tnelson@...&lt;/a&gt;&amp;gt;:
&lt;br&gt;&amp;gt;&amp;gt; Hello everyone.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Thank you for any help in advance.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I have mapped StripesFilter to all .htm files.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp;&amp;lt;filter-mapping&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;filter-name&amp;gt;StripesFilter&amp;lt;/filter-name&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;servlet-name&amp;gt;DispatcherServlet&amp;lt;/servlet-name&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;dispatcher&amp;gt;REQUEST&amp;lt;/dispatcher&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;dispatcher&amp;gt;FORWARD&amp;lt;/dispatcher&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp;&amp;lt;/filter-mapping&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp;&amp;lt;servlet&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;servlet-name&amp;gt;DispatcherServlet&amp;lt;/servlet-name&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;lt;servlet- 
&lt;br&gt;&amp;gt;&amp;gt; class&amp;gt;net.sourceforge.stripes.controller.DispatcherServlet&amp;lt;/servlet- 
&lt;br&gt;&amp;gt;&amp;gt; class&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;load-on-startup&amp;gt;1&amp;lt;/load-on-startup&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp;&amp;lt;/servlet&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp;&amp;lt;servlet-mapping&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;servlet-name&amp;gt;DispatcherServlet&amp;lt;/servlet-name&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;url-pattern&amp;gt;*.htm&amp;lt;/url-pattern&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp;&amp;lt;/servlet-mapping&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; This was working just great.. until someone clicked a button on a
&lt;br&gt;&amp;gt;&amp;gt; javascript widget (tiny_mce) that caused a popup to open
&lt;br&gt;&amp;gt;&amp;gt; (/path/to/tiny_mce/something.htm). &amp;nbsp;Of course Stripes intercepted the
&lt;br&gt;&amp;gt;&amp;gt; called and complained that it couldn't find an ActionBean for the &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; page.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I think I have 2 options.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; 1) Change my files from .htm to something else. &amp;nbsp;.html and .jsp are
&lt;br&gt;&amp;gt;&amp;gt; already taken. &amp;nbsp;My boss wasn't happy with the default .action which &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; is
&lt;br&gt;&amp;gt;&amp;gt; why I changed it in the first place. &amp;nbsp;Any suggestions?
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; 2) Somehow exclude the parent path to the tiny_mce editor. &amp;nbsp;I can
&lt;br&gt;&amp;gt;&amp;gt; exclude all of /javascript and should be ok since none of the pages &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; that
&lt;br&gt;&amp;gt;&amp;gt; Stripes should be concerned in will live there. &amp;nbsp; I just can't find a
&lt;br&gt;&amp;gt;&amp;gt; way to do this. &amp;nbsp;I don't believe the jsp spec allows it, and I can't
&lt;br&gt;&amp;gt;&amp;gt; find a configuration parameter for Stripes.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Any help help, ideas or alternate suggestions would be greatly &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; appreciated.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Tony Nelson
&lt;br&gt;&amp;gt;&amp;gt; Starpoint Solutions
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; --- 
&lt;br&gt;&amp;gt;&amp;gt; --- 
&lt;br&gt;&amp;gt;&amp;gt; --- 
&lt;br&gt;&amp;gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt;&amp;gt; Stripes-users mailing list
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=24279116&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Stripes-users@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/stripes-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/stripes-users&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; --- 
&lt;br&gt;&amp;gt; --- 
&lt;br&gt;&amp;gt; --- 
&lt;br&gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; Stripes-users mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=24279116&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Stripes-users@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/stripes-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/stripes-users&lt;/a&gt;&lt;/div&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;_______________________________________________
&lt;br&gt;Stripes-users mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=24279116&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Stripes-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/stripes-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/stripes-users&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/stripes-users-f16325.html&quot; embed=&quot;fixTarget[16325]&quot; target=&quot;_top&quot; &gt;stripes-users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/StripesFilter-exclude-path-tp24276945p24279116.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-24278477</id>
	<title>Re: StripesFilter exclude path</title>
	<published>2009-06-30T12:45:19Z</published>
	<updated>2009-06-30T12:45:19Z</updated>
	<author>
		<name>Tony Nelson-3</name>
	</author>
	<content type="html">&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD HTML 4.01 Transitional//EN&quot;&gt;
&lt;html&gt;
&lt;head&gt;
  &lt;meta content=&quot;text/html;charset=ISO-8859-1&quot; http-equiv=&quot;Content-Type&quot;&gt;
&lt;/head&gt;
&lt;body bgcolor=&quot;#ffffff&quot; text=&quot;#000000&quot;&gt;
Hi Remy, and everyone else.&lt;br&gt;
&lt;br&gt;
It looks like the DispatcherServlet is still intercepting the call..
I'm sure that my Filter class is being used.. and that it's calling
filterChain.doFilter() and not super.doFilter() ..&lt;br&gt;
&lt;br&gt;
30 Jun 2009 15:37:24,784 [27391335@qtp0-0] DEBUG
com.starpoint.instihire.web.stripes.filter.IHStripesFilter:23&amp;nbsp; -
/instihire/javascript/tiny_mce/plugins/paste/pasteword.htm&lt;br&gt;
30 Jun 2009 15:37:24,785 [27391335@qtp0-0] DEBUG
com.starpoint.instihire.web.stripes.filter.IHStripesFilter:27&amp;nbsp; -
calling filterChain.doFilter()&lt;br&gt;
&lt;br&gt;
On second thought that makes a lot of sense as the DispatcherServlet is
actually what's mapped to *.htm&lt;br&gt;
&lt;br&gt;
Do I need to sublclass DispatcherServlet?&amp;nbsp; Or is there a way to
configure it?&lt;br&gt;
&lt;br&gt;
Thank you for your help.&lt;br&gt;
&lt;br&gt;
Tony&lt;br&gt;
&lt;br&gt;
VANKEISBELCK Remi wrote:
&lt;blockquote cite=&quot;mid:8856709a0906301135l872b8cex314e14234b5b1882@mail.gmail.com&quot; type=&quot;cite&quot;&gt;
  &lt;pre wrap=&quot;&quot;&gt;Hi Tony,

A very simple way to do this is by subclassing StripesFilter, override
the doFilter(...) method, and perform a test on the requested URL to
decide wether to call the stripes filter (via super.doFilter()), or
just let the request go through and do nothing.

Stuff like this :

class StripesWithExclusionFilter extends StripesFilter {

...

@Override
public void doFilter(request,response,filterChain) {
  if (filterExclusionHelper.isExcluded(request)) {
    // excluded request
    filterChain.doFilter(request, response);
  } else {
    // request should be handled by Stripes
    super.doFilter(...);
  }
}

...

}

Of course, you'll need to declare your filter class instead of
Stripes' into web.xml.

Cheers

Remi


2009/6/30 Tony Nelson &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=24278477&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;tnelson@...&lt;/a&gt;:
  &lt;/pre&gt;
  &lt;blockquote type=&quot;cite&quot;&gt;
    &lt;pre wrap=&quot;&quot;&gt;Hello everyone.

Thank you for any help in advance.

I have mapped StripesFilter to all .htm files.

&amp;nbsp; &amp;nbsp;&amp;lt;filter-mapping&amp;gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;filter-name&amp;gt;StripesFilter&amp;lt;/filter-name&amp;gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;servlet-name&amp;gt;DispatcherServlet&amp;lt;/servlet-name&amp;gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;dispatcher&amp;gt;REQUEST&amp;lt;/dispatcher&amp;gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;dispatcher&amp;gt;FORWARD&amp;lt;/dispatcher&amp;gt;
&amp;nbsp; &amp;nbsp;&amp;lt;/filter-mapping&amp;gt;

&amp;nbsp; &amp;nbsp;&amp;lt;servlet&amp;gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;servlet-name&amp;gt;DispatcherServlet&amp;lt;/servlet-name&amp;gt;

&amp;lt;servlet-class&amp;gt;net.sourceforge.stripes.controller.DispatcherServlet&amp;lt;/servlet-class&amp;gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;load-on-startup&amp;gt;1&amp;lt;/load-on-startup&amp;gt;
&amp;nbsp; &amp;nbsp;&amp;lt;/servlet&amp;gt;

&amp;nbsp; &amp;nbsp;&amp;lt;servlet-mapping&amp;gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;servlet-name&amp;gt;DispatcherServlet&amp;lt;/servlet-name&amp;gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;url-pattern&amp;gt;*.htm&amp;lt;/url-pattern&amp;gt;
&amp;nbsp; &amp;nbsp;&amp;lt;/servlet-mapping&amp;gt;

This was working just great.. until someone clicked a button on a
javascript widget (tiny_mce) that caused a popup to open
(/path/to/tiny_mce/something.htm). &amp;nbsp;Of course Stripes intercepted the
called and complained that it couldn't find an ActionBean for the page.

I think I have 2 options.

1) Change my files from .htm to something else. &amp;nbsp;.html and .jsp are
already taken. &amp;nbsp;My boss wasn't happy with the default .action which is
why I changed it in the first place. &amp;nbsp;Any suggestions?

2) Somehow exclude the parent path to the tiny_mce editor. &amp;nbsp;I can
exclude all of /javascript and should be ok since none of the pages that
Stripes should be concerned in will live there. &amp;nbsp; I just can't find a
way to do this. &amp;nbsp;I don't believe the jsp spec allows it, and I can't
find a configuration parameter for Stripes.

Any help help, ideas or alternate suggestions would be greatly appreciated.

Tony Nelson
Starpoint Solutions


------------------------------------------------------------------------------
_______________________________________________
Stripes-users mailing list
&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=24278477&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Stripes-users@...&lt;/a&gt;
&lt;a class=&quot;moz-txt-link-freetext&quot; href=&quot;https://lists.sourceforge.net/lists/listinfo/stripes-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/stripes-users&lt;/a&gt;

    &lt;/pre&gt;
  &lt;/blockquote&gt;
  &lt;pre wrap=&quot;&quot;&gt;&lt;!----&gt;
------------------------------------------------------------------------------
_______________________________________________
Stripes-users mailing list
&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=24278477&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Stripes-users@...&lt;/a&gt;
&lt;a class=&quot;moz-txt-link-freetext&quot; href=&quot;https://lists.sourceforge.net/lists/listinfo/stripes-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/stripes-users&lt;/a&gt;
  &lt;/pre&gt;
&lt;/blockquote&gt;
&lt;/body&gt;
&lt;/html&gt;
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;Stripes-users mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=24278477&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Stripes-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/stripes-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/stripes-users&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/stripes-users-f16325.html&quot; embed=&quot;fixTarget[16325]&quot; target=&quot;_top&quot; &gt;stripes-users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/StripesFilter-exclude-path-tp24276945p24278477.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-24279251</id>
	<title>Fun with wizards</title>
	<published>2009-06-30T11:36:55Z</published>
	<updated>2009-06-30T11:36:55Z</updated>
	<author>
		<name>Smith, Edward</name>
	</author>
	<content type="html">&lt;html xmlns:v=&quot;urn:schemas-microsoft-com:vml&quot; xmlns:o=&quot;urn:schemas-microsoft-com:office:office&quot; xmlns:w=&quot;urn:schemas-microsoft-com:office:word&quot; xmlns:x=&quot;urn:schemas-microsoft-com:office:excel&quot; xmlns:p=&quot;urn:schemas-microsoft-com:office:powerpoint&quot; xmlns:a=&quot;urn:schemas-microsoft-com:office:access&quot; xmlns:dt=&quot;uuid:C2F41010-65B3-11d1-A29F-00AA00C14882&quot; xmlns:s=&quot;uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882&quot; xmlns:rs=&quot;urn:schemas-microsoft-com:rowset&quot; xmlns:Z=&quot;urn:schemas-microsoft-com:&quot; xmlns:b=&quot;urn:schemas-microsoft-com:office:publisher&quot; xmlns:ss=&quot;urn:schemas-microsoft-com:office:spreadsheet&quot; xmlns:c=&quot;urn:schemas-microsoft-com:office:component:spreadsheet&quot; xmlns:odc=&quot;urn:schemas-microsoft-com:office:odc&quot; xmlns:oa=&quot;urn:schemas-microsoft-com:office:activation&quot; xmlns:html=&quot;http://www.w3.org/TR/REC-html40&quot; xmlns:q=&quot;http://schemas.xmlsoap.org/soap/envelope/&quot; xmlns:rtc=&quot;http://microsoft.com/officenet/conferencing&quot; xmlns:D=&quot;DAV:&quot; xmlns:Repl=&quot;http://schemas.microsoft.com/repl/&quot; xmlns:mt=&quot;http://schemas.microsoft.com/sharepoint/soap/meetings/&quot; xmlns:x2=&quot;http://schemas.microsoft.com/office/excel/2003/xml&quot; xmlns:ppda=&quot;http://www.passport.com/NameSpace.xsd&quot; xmlns:ois=&quot;http://schemas.microsoft.com/sharepoint/soap/ois/&quot; xmlns:dir=&quot;http://schemas.microsoft.com/sharepoint/soap/directory/&quot; xmlns:ds=&quot;http://www.w3.org/2000/09/xmldsig#&quot; xmlns:dsp=&quot;http://schemas.microsoft.com/sharepoint/dsp&quot; xmlns:udc=&quot;http://schemas.microsoft.com/data/udc&quot; xmlns:xsd=&quot;http://www.w3.org/2001/XMLSchema&quot; xmlns:sub=&quot;http://schemas.microsoft.com/sharepoint/soap/2002/1/alerts/&quot; xmlns:ec=&quot;http://www.w3.org/2001/04/xmlenc#&quot; xmlns:sp=&quot;http://schemas.microsoft.com/sharepoint/&quot; xmlns:sps=&quot;http://schemas.microsoft.com/sharepoint/soap/&quot; xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot; xmlns:udcs=&quot;http://schemas.microsoft.com/data/udc/soap&quot; xmlns:udcxf=&quot;http://schemas.microsoft.com/data/udc/xmlfile&quot; xmlns:udcp2p=&quot;http://schemas.microsoft.com/data/udc/parttopart&quot; xmlns:wf=&quot;http://schemas.microsoft.com/sharepoint/soap/workflow/&quot; xmlns:dsss=&quot;http://schemas.microsoft.com/office/2006/digsig-setup&quot; xmlns:dssi=&quot;http://schemas.microsoft.com/office/2006/digsig&quot; xmlns:mdssi=&quot;http://schemas.openxmlformats.org/package/2006/digital-signature&quot; xmlns:mver=&quot;http://schemas.openxmlformats.org/markup-compatibility/2006&quot; xmlns:m=&quot;http://schemas.microsoft.com/office/2004/12/omml&quot; xmlns:mrels=&quot;http://schemas.openxmlformats.org/package/2006/relationships&quot; xmlns:spwp=&quot;http://microsoft.com/sharepoint/webpartpages&quot; xmlns:ex12t=&quot;http://schemas.microsoft.com/exchange/services/2006/types&quot; xmlns:ex12m=&quot;http://schemas.microsoft.com/exchange/services/2006/messages&quot; xmlns:pptsl=&quot;http://schemas.microsoft.com/sharepoint/soap/SlideLibrary/&quot; xmlns:spsl=&quot;http://microsoft.com/webservices/SharePointPortalServer/PublishedLinksService&quot; xmlns:st=&quot;&amp;#1;&quot; xmlns=&quot;http://www.w3.org/TR/REC-html40&quot;&gt;

&lt;head&gt;
&lt;meta http-equiv=Content-Type content=&quot;text/html; charset=us-ascii&quot;&gt;
&lt;meta name=Generator content=&quot;Microsoft Word 12 (filtered medium)&quot;&gt;

&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;o:shapedefaults v:ext=&quot;edit&quot; spidmax=&quot;1026&quot; /&gt;
&lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;o:shapelayout v:ext=&quot;edit&quot;&gt;
  &lt;o:idmap v:ext=&quot;edit&quot; data=&quot;1&quot; /&gt;
 &lt;/o:shapelayout&gt;&lt;/xml&gt;&lt;![endif]--&gt;
&lt;/head&gt;

&lt;body lang=EN-US link=blue vlink=purple&gt;

&lt;div class=Section1&gt;

&lt;p class=MsoNormal&gt;All,&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&amp;nbsp;&amp;nbsp; I have an issue with the Stripes Wizard and am
hoping someone has come across this before and can help.&amp;nbsp; The wizard is a
three-step process and I&amp;#8217;ll start from step #2:&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoListParagraph style='text-indent:-.25in;mso-list:l0 level1 lfo2'&gt;&lt;![if !supportLists]&gt;&lt;span style='font-family:Symbol'&gt;&lt;span style='mso-list:Ignore'&gt;&amp;middot;&lt;span style='font:7.0pt &quot;Times New Roman&quot;'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;![endif]&gt;User specifies items to order and clicks Next&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoListParagraph style='text-indent:-.25in;mso-list:l0 level1 lfo2'&gt;&lt;![if !supportLists]&gt;&lt;span style='font-family:Symbol'&gt;&lt;span style='mso-list:Ignore'&gt;&amp;middot;&lt;span style='font:7.0pt &quot;Times New Roman&quot;'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;![endif]&gt;A custom validation returns an error message
about one of the items keeping the user on step #2&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoListParagraph style='text-indent:-.25in;mso-list:l0 level1 lfo2'&gt;&lt;![if !supportLists]&gt;&lt;span style='font-family:Symbol'&gt;&lt;span style='mso-list:Ignore'&gt;&amp;middot;&lt;span style='font:7.0pt &quot;Times New Roman&quot;'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;![endif]&gt;The user removes the item with the error and
clicks Next again&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoListParagraph style='text-indent:-.25in;mso-list:l0 level1 lfo2'&gt;&lt;![if !supportLists]&gt;&lt;span style='font-family:Symbol'&gt;&lt;span style='mso-list:Ignore'&gt;&amp;middot;&lt;span style='font:7.0pt &quot;Times New Roman&quot;'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;![endif]&gt;From step #3 the user reviews all the data and submits
again to complete the process&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoListParagraph style='text-indent:-.25in;mso-list:l0 level1 lfo2'&gt;&lt;![if !supportLists]&gt;&lt;span style='font-family:Symbol'&gt;&lt;span style='mso-list:Ignore'&gt;&amp;middot;&lt;span style='font:7.0pt &quot;Times New Roman&quot;'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;![endif]&gt;(symptom of the problem) A validation fails for
an item number being required and will not let the user complete the process&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&amp;nbsp;&amp;nbsp; At first blush it appears the first time data
is submitted from step #2 the Stripes wizard saves it away because it appears
the item removed on the step #2 resubmit is somehow hanging around when the user
attempts to complete the process in step #3.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&amp;nbsp;&amp;nbsp; If anyone has any suggestions as to how to get
around this I would certainly appreciate it.&amp;nbsp; Otherwise I may need to
start digging into the Stripes wizard code and see if I can keep the wizard
from hanging onto submitted data when there is a validation error raised during
the processing of the request.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;Thanks,&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;Ed&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;/body&gt;

&lt;/html&gt;


&lt;BR&gt;
The information contained in this message and any attachments is intended only for the use of the individual or entity to which it is addressed, and may contain information that is PRIVILEGED, CONFIDENTIAL, and exempt from disclosure under applicable law.  If you are not the intended recipient, you are prohibited from copying, distributing, or using the information.  Please contact the sender immediately by return e-mail and delete the original message from your system.

&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;Stripes-users mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=24279251&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Stripes-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/stripes-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/stripes-users&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/stripes-users-f16325.html&quot; embed=&quot;fixTarget[16325]&quot; target=&quot;_top&quot; &gt;stripes-users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Fun-with-wizards-tp24279251p24279251.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-24277246</id>
	<title>Re: StripesFilter exclude path</title>
	<published>2009-06-30T11:35:12Z</published>
	<updated>2009-06-30T11:35:12Z</updated>
	<author>
		<name>VANKEISBELCK Remi-2</name>
	</author>
	<content type="html">Hi Tony,
&lt;br&gt;&lt;br&gt;A very simple way to do this is by subclassing StripesFilter, override
&lt;br&gt;the doFilter(...) method, and perform a test on the requested URL to
&lt;br&gt;decide wether to call the stripes filter (via super.doFilter()), or
&lt;br&gt;just let the request go through and do nothing.
&lt;br&gt;&lt;br&gt;Stuff like this :
&lt;br&gt;&lt;br&gt;class StripesWithExclusionFilter extends StripesFilter {
&lt;br&gt;&lt;br&gt;...
&lt;br&gt;&lt;br&gt;@Override
&lt;br&gt;public void doFilter(request,response,filterChain) {
&lt;br&gt;&amp;nbsp; if (filterExclusionHelper.isExcluded(request)) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; // excluded request
&lt;br&gt;&amp;nbsp; &amp;nbsp; filterChain.doFilter(request, response);
&lt;br&gt;&amp;nbsp; } else {
&lt;br&gt;&amp;nbsp; &amp;nbsp; // request should be handled by Stripes
&lt;br&gt;&amp;nbsp; &amp;nbsp; super.doFilter(...);
&lt;br&gt;&amp;nbsp; }
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;...
&lt;br&gt;&lt;br&gt;}
&lt;br&gt;&lt;br&gt;Of course, you'll need to declare your filter class instead of
&lt;br&gt;Stripes' into web.xml.
&lt;br&gt;&lt;br&gt;Cheers
&lt;br&gt;&lt;br&gt;Remi
&lt;br&gt;&lt;br&gt;&lt;br&gt;2009/6/30 Tony Nelson &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=24277246&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;tnelson@...&lt;/a&gt;&amp;gt;:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hello everyone.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thank you for any help in advance.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I have mapped StripesFilter to all .htm files.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;    &amp;lt;filter-mapping&amp;gt;
&lt;br&gt;&amp;gt;        &amp;lt;filter-name&amp;gt;StripesFilter&amp;lt;/filter-name&amp;gt;
&lt;br&gt;&amp;gt;        &amp;lt;servlet-name&amp;gt;DispatcherServlet&amp;lt;/servlet-name&amp;gt;
&lt;br&gt;&amp;gt;        &amp;lt;dispatcher&amp;gt;REQUEST&amp;lt;/dispatcher&amp;gt;
&lt;br&gt;&amp;gt;        &amp;lt;dispatcher&amp;gt;FORWARD&amp;lt;/dispatcher&amp;gt;
&lt;br&gt;&amp;gt;    &amp;lt;/filter-mapping&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;    &amp;lt;servlet&amp;gt;
&lt;br&gt;&amp;gt;        &amp;lt;servlet-name&amp;gt;DispatcherServlet&amp;lt;/servlet-name&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;servlet-class&amp;gt;net.sourceforge.stripes.controller.DispatcherServlet&amp;lt;/servlet-class&amp;gt;
&lt;br&gt;&amp;gt;        &amp;lt;load-on-startup&amp;gt;1&amp;lt;/load-on-startup&amp;gt;
&lt;br&gt;&amp;gt;    &amp;lt;/servlet&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;    &amp;lt;servlet-mapping&amp;gt;
&lt;br&gt;&amp;gt;        &amp;lt;servlet-name&amp;gt;DispatcherServlet&amp;lt;/servlet-name&amp;gt;
&lt;br&gt;&amp;gt;        &amp;lt;url-pattern&amp;gt;*.htm&amp;lt;/url-pattern&amp;gt;
&lt;br&gt;&amp;gt;    &amp;lt;/servlet-mapping&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; This was working just great.. until someone clicked a button on a
&lt;br&gt;&amp;gt; javascript widget (tiny_mce) that caused a popup to open
&lt;br&gt;&amp;gt; (/path/to/tiny_mce/something.htm).  Of course Stripes intercepted the
&lt;br&gt;&amp;gt; called and complained that it couldn't find an ActionBean for the page.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I think I have 2 options.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; 1) Change my files from .htm to something else.  .html and .jsp are
&lt;br&gt;&amp;gt; already taken.  My boss wasn't happy with the default .action which is
&lt;br&gt;&amp;gt; why I changed it in the first place.  Any suggestions?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; 2) Somehow exclude the parent path to the tiny_mce editor.  I can
&lt;br&gt;&amp;gt; exclude all of /javascript and should be ok since none of the pages that
&lt;br&gt;&amp;gt; Stripes should be concerned in will live there.   I just can't find a
&lt;br&gt;&amp;gt; way to do this.  I don't believe the jsp spec allows it, and I can't
&lt;br&gt;&amp;gt; find a configuration parameter for Stripes.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Any help help, ideas or alternate suggestions would be greatly appreciated.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Tony Nelson
&lt;br&gt;&amp;gt; Starpoint Solutions
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ------------------------------------------------------------------------------
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; Stripes-users mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=24277246&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Stripes-users@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/stripes-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/stripes-users&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;_______________________________________________
&lt;br&gt;Stripes-users mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=24277246&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Stripes-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/stripes-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/stripes-users&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/stripes-users-f16325.html&quot; embed=&quot;fixTarget[16325]&quot; target=&quot;_top&quot; &gt;stripes-users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/StripesFilter-exclude-path-tp24276945p24277246.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-24276945</id>
	<title>StripesFilter exclude path</title>
	<published>2009-06-30T10:54:07Z</published>
	<updated>2009-06-30T10:54:07Z</updated>
	<author>
		<name>Tony Nelson-3</name>
	</author>
	<content type="html">Hello everyone.
&lt;br&gt;&lt;br&gt;Thank you for any help in advance.
&lt;br&gt;&lt;br&gt;I have mapped StripesFilter to all .htm files.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;filter-mapping&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;filter-name&amp;gt;StripesFilter&amp;lt;/filter-name&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;servlet-name&amp;gt;DispatcherServlet&amp;lt;/servlet-name&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;dispatcher&amp;gt;REQUEST&amp;lt;/dispatcher&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;dispatcher&amp;gt;FORWARD&amp;lt;/dispatcher&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/filter-mapping&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;servlet&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;servlet-name&amp;gt;DispatcherServlet&amp;lt;/servlet-name&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;lt;servlet-class&amp;gt;net.sourceforge.stripes.controller.DispatcherServlet&amp;lt;/servlet-class&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;load-on-startup&amp;gt;1&amp;lt;/load-on-startup&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/servlet&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;servlet-mapping&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;servlet-name&amp;gt;DispatcherServlet&amp;lt;/servlet-name&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;url-pattern&amp;gt;*.htm&amp;lt;/url-pattern&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/servlet-mapping&amp;gt;
&lt;br&gt;&lt;br&gt;This was working just great.. until someone clicked a button on a 
&lt;br&gt;javascript widget (tiny_mce) that caused a popup to open 
&lt;br&gt;(/path/to/tiny_mce/something.htm). &amp;nbsp;Of course Stripes intercepted the 
&lt;br&gt;called and complained that it couldn't find an ActionBean for the page.
&lt;br&gt;&lt;br&gt;I think I have 2 options.
&lt;br&gt;&lt;br&gt;1) Change my files from .htm to something else. &amp;nbsp;.html and .jsp are 
&lt;br&gt;already taken. &amp;nbsp;My boss wasn't happy with the default .action which is 
&lt;br&gt;why I changed it in the first place. &amp;nbsp;Any suggestions?
&lt;br&gt;&lt;br&gt;2) Somehow exclude the parent path to the tiny_mce editor. &amp;nbsp;I can 
&lt;br&gt;exclude all of /javascript and should be ok since none of the pages that 
&lt;br&gt;Stripes should be concerned in will live there. &amp;nbsp; I just can't find a 
&lt;br&gt;way to do this. &amp;nbsp;I don't believe the jsp spec allows it, and I can't 
&lt;br&gt;find a configuration parameter for Stripes.
&lt;br&gt;&lt;br&gt;Any help help, ideas or alternate suggestions would be greatly appreciated.
&lt;br&gt;&lt;br&gt;Tony Nelson
&lt;br&gt;Starpoint Solutions
&lt;br&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;_______________________________________________
&lt;br&gt;Stripes-users mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=24276945&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Stripes-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/stripes-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/stripes-users&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/stripes-users-f16325.html&quot; embed=&quot;fixTarget[16325]&quot; target=&quot;_top&quot; &gt;stripes-users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/StripesFilter-exclude-path-tp24276945p24276945.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-24270603</id>
	<title>Re: Stripes wizard, partial form, and required 	validation</title>
	<published>2009-06-30T04:32:16Z</published>
	<updated>2009-06-30T04:32:16Z</updated>
	<author>
		<name>Nick Stuart-3</name>
	</author>
	<content type="html">&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'DejaVu Sans'; font-size:9pt; font-weight:400; font-style:normal;&quot;&gt;This sounds familiar and I believe I submitted a patch for it at one point and someone else cleaned it up a little. It is probably in the 2.5.2 code which you are using which should work. Did you say it was working in the release you are using but not in the 'official' version?&lt;br&gt;
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;&quot;&gt;&lt;br&gt;&lt;/p&gt;On Monday 29 June 2009 04:45:44 pm allen petersen wrote:&lt;br&gt;
&amp;gt; Oh, I think that the validation step is doing the right thing in ignoring&lt;br&gt;
&amp;gt; those fields.  It's the __fp field that's only getting the main&lt;br&gt;
&amp;gt; &amp;lt;stripes:form&amp;gt; tag's info, rather than including the nested &amp;lt;stripes:form&lt;br&gt;
&amp;gt; partial=&quot;true&quot;&amp;gt; tags' values that I think is not doing the right thing.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; So to make it clearer, let's say you have a wizard layout that looks like&lt;br&gt;
&amp;gt; this:&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;     &amp;lt;stripes:form action=&quot;${actionBean.wizardAction}&quot;&amp;gt;&lt;br&gt;
&amp;gt;       &amp;lt;ul class=&quot;wizardMenu&quot;&amp;gt;&lt;br&gt;
&amp;gt; 	&amp;lt;c:forEach var=&quot;wizardPage&quot; items=&quot;${actionBean.wizardPages}&quot;&lt;br&gt;
&amp;gt; varStatus=&quot;status&quot;&amp;gt;&lt;br&gt;
&amp;gt; 	  &amp;lt;li&amp;gt;&amp;lt;stripes:submit name=&quot;${wizardPage.targetAction}&quot;&amp;gt;&lt;br&gt;
&amp;gt; &amp;lt;fmt:message key=&quot;${wizardPage.label}&quot;/&amp;gt;&amp;lt;/stripes:submit&amp;gt;&amp;lt;/li&amp;gt;&lt;br&gt;
&amp;gt; 	&amp;lt;/c:forEach&amp;gt;&lt;br&gt;
&amp;gt;       &amp;lt;/ul&amp;gt;&lt;br&gt;
&amp;gt;       &amp;lt;stripes:text name=&quot;myObject.requiredField&quot;/&amp;gt;&lt;br&gt;
&amp;gt;     &amp;lt;/stripes:form&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; then that works fine, because the form tag goes through, registers the&lt;br&gt;
&amp;gt; &quot;myObject.requiredField&quot; tag in the fieldsPresent (&quot;__fp&quot;), and so on&lt;br&gt;
&amp;gt; submit the validator knows that that field is present on the page and&lt;br&gt;
&amp;gt; should be checked if it's required.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Meanwhile, if instead of including the &amp;lt;stripes:text&amp;gt; field directly, you&lt;br&gt;
&amp;gt; instead go&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;      &amp;lt;jsp:include page=&quot;/WEB-INF/jsp/fields/myFields.jsp&quot;/&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; which includes&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;      &amp;lt;stripes:form action=&quot;${actionBean.wizardAction}&quot; partial=&quot;true&quot;&amp;gt;&lt;br&gt;
&amp;gt;       &amp;lt;stripes:text name=&quot;myObject.requiredField&quot;/&amp;gt;&lt;br&gt;
&amp;gt;      &amp;lt;/stripes:form&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; ...then suddenly the nested form tag doesn't write out any __fp fields.&lt;br&gt;
&amp;gt; And the parent form tag doesn't write it out, either.  So the fact that the&lt;br&gt;
&amp;gt; &quot;myObject.requiredField&quot; tag is in the form is lost.  And so the validator,&lt;br&gt;
&amp;gt; since this is a wizard, just thinks that the field must be referenced in&lt;br&gt;
&amp;gt; some other page of the wizard, and so doesn't mark it as being required.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; I just put in a bit of code in FormTag.java that saves the fieldsPresent&lt;br&gt;
&amp;gt; values in a partial form tag and then prints it on the parent.  It seems to&lt;br&gt;
&amp;gt; work ok for me, though there might be some other problems there that I&lt;br&gt;
&amp;gt; haven't thought of yet.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; -allen&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; On Mon, Jun 29, 2009, 15:59, Mike McNally &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=24270603&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;emmecinque@...&lt;/a&gt;&amp;gt; wrote&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; &amp;gt;How would the validator know that the incoming parameters are from the&lt;br&gt;
&amp;gt; &amp;gt;same page?  All it sees is the set of parameters in the HTTP request,&lt;br&gt;
&amp;gt; &amp;gt;and it uses the validation metadata for the action bean &amp;amp; event as&lt;br&gt;
&amp;gt; &amp;gt;appropriate.&lt;br&gt;
&amp;gt; &amp;gt;&lt;br&gt;
&amp;gt; &amp;gt;(In other words - validation works whether you post from a Stripes page or&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; not.)&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; &amp;gt;Maybe I'm missing what you mean by &quot;noted as being required&quot;.&lt;br&gt;
&amp;gt; &amp;gt;&lt;br&gt;
&amp;gt; &amp;gt;On Mon, Jun 29, 2009 at 2:50 PM, allen petersen&amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=24270603&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;allen@...&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;
&amp;gt; &amp;gt;&amp;gt; Hi.&lt;br&gt;
&amp;gt; &amp;gt;&amp;gt;&lt;br&gt;
&amp;gt; &amp;gt;&amp;gt; So, quick version: �stripes wizard form with a nested page that has a&lt;br&gt;
&amp;gt; &amp;gt;&amp;gt; &amp;lt;stripes:form partial=&quot;true&quot;&amp;gt; tag in it. �Required fields are included&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; in&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; &amp;gt;&amp;gt; the nested partial form tag. �But...those required fields aren't being&lt;br&gt;
&amp;gt; &amp;gt;&amp;gt; noted as being required, because the __fp (fieldsOnPage) field is only&lt;br&gt;
&amp;gt; &amp;gt;&amp;gt; being written for the top-level form tag. �So the validator thinks that&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; the&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; &amp;gt;&amp;gt; fields are from another page, and therefore don't need to be validated&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; as&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; &amp;gt;&amp;gt; required.&lt;br&gt;
&amp;gt; &amp;gt;&amp;gt;&lt;br&gt;
&amp;gt; &amp;gt;&amp;gt; I think I can work around this (or file a bug and submit a patch or&lt;br&gt;
&amp;gt; &amp;gt;&amp;gt; whatever), but I just wanted to run this by the list and see if there&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; was a&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; &amp;gt;&amp;gt; known easy fix/workaround. �Or if I'm just doing something wrong.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; �(Well,&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; &amp;gt;&amp;gt; other than using a nested partial form in the first place; I'm actually&lt;br&gt;
&amp;gt; &amp;gt;&amp;gt; having to use the 1.5.2 beta branch already in order to get around&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; another&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; &amp;gt;&amp;gt; bug there....)&lt;br&gt;
&amp;gt; &amp;gt;&amp;gt;&lt;br&gt;
&amp;gt; &amp;gt;&amp;gt; -allen&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; ---------------------------------------------------------------------------&lt;br&gt;
&amp;gt; ---&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; &amp;gt;&amp;gt; _______________________________________________&lt;br&gt;
&amp;gt; &amp;gt;&amp;gt; Stripes-users mailing list&lt;br&gt;
&amp;gt; &amp;gt;&amp;gt; &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=24270603&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Stripes-users@...&lt;/a&gt;&lt;br&gt;
&amp;gt; &amp;gt;&amp;gt; https://lists.sourceforge.net/lists/listinfo/stripes-users&lt;br&gt;
&amp;gt; &amp;gt;&lt;br&gt;
&amp;gt; &amp;gt;--&lt;br&gt;
&amp;gt; &amp;gt;Turtle, turtle, on the ground,&lt;br&gt;
&amp;gt; &amp;gt;Pink and shiny, turn around.&lt;br&gt;
&amp;gt; &amp;gt;&lt;br&gt;
&amp;gt; &amp;gt;--------------------------------------------------------------------------&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; ----&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; &amp;gt;_______________________________________________&lt;br&gt;
&amp;gt; &amp;gt;Stripes-users mailing list&lt;br&gt;
&amp;gt; &amp;gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=24270603&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Stripes-users@...&lt;/a&gt;&lt;br&gt;
&amp;gt; &amp;gt;https://lists.sourceforge.net/lists/listinfo/stripes-users&lt;br&gt;
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;&quot;&gt;&lt;br&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;Stripes-users mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=24270603&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Stripes-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/stripes-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/stripes-users&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/stripes-users-f16325.html&quot; embed=&quot;fixTarget[16325]&quot; target=&quot;_top&quot; &gt;stripes-users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Stripes-wizard%2C-partial-form%2C-and-required-validation-tp24260753p24270603.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-24262800</id>
	<title>[JIRA] Commented: (STS-655) Example .war does not work on JBoss 5</title>
	<published>2009-06-29T15:04:18Z</published>
	<updated>2009-06-29T15:04:18Z</updated>
	<author>
		<name>JIRA jira@stripesframework.org</name>
	</author>
	<content type="html">&lt;br&gt;&amp;nbsp; &amp;nbsp; [ &lt;a href=&quot;http://www.stripesframework.org/jira/browse/STS-655?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=11724#action_11724&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.stripesframework.org/jira/browse/STS-655?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=11724#action_11724&lt;/a&gt;&amp;nbsp;] 
&lt;br&gt;&lt;br&gt;Richard Tsang commented on STS-655:
&lt;br&gt;-----------------------------------
&lt;br&gt;&lt;br&gt;Tested patch together with Trunk on JBoss 5.0.1GA. &amp;nbsp;All good. &amp;nbsp;Stripes Examples work as expected.
&lt;br&gt;&lt;br&gt;Thanks guys
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Example .war does not work on JBoss 5
&lt;br&gt;&amp;gt; -------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Key: STS-655
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; URL: &lt;a href=&quot;http://www.stripesframework.org/jira/browse/STS-655&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.stripesframework.org/jira/browse/STS-655&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: Stripes
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue Type: Bug
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;Affects Versions: Release 1.5
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Environment: MS Window XP, JDK 1.6, Jboss 5.0.0GA
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: Richard Tsang
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Priority: Critical
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Fix For: Release 1.6
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Attachments: server.zip, server.zip, STS-655-jboss5x.patch
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; -Dropping the stripes-example.war (from stripes-1.5.zip) into JBoss 5.0.0GA (EG: jboss-5.0.0.GA\server\default\deploy)
&lt;br&gt;&amp;gt; -Start up server and open stripes-examples (&lt;a href=&quot;http://localhost:8080/stripes-examples&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://localhost:8080/stripes-examples&lt;/a&gt;)
&lt;br&gt;&amp;gt; -Click the quick start link to the simple calculator
&lt;br&gt;&amp;gt; -Enter two numbers and press the Add button
&lt;br&gt;&amp;gt; Got the following stacktrace:
&lt;br&gt;&amp;gt; net.sourceforge.stripes.exception.ActionBeanNotFoundException: Could not locate an ActionBean that is bound to the URL [/examples/quickstart/Calculator.action]. Commons reasons for this include mis-matched URLs and forgetting to implement ActionBean in your class. Registered ActionBeans are: {/controller/DefaultView.action=class net.sourceforge.stripes.controller.DefaultViewActionBean}
&lt;br&gt;&amp;gt; 	net.sourceforge.stripes.controller.AnnotatedClassActionResolver.getActionBean(AnnotatedClassActionResolver.java:325)
&lt;br&gt;&amp;gt; 	net.sourceforge.stripes.controller.NameBasedActionResolver.getActionBean(NameBasedActionResolver.java:264)
&lt;br&gt;&amp;gt; 	net.sourceforge.stripes.controller.AnnotatedClassActionResolver.getActionBean(AnnotatedClassActionResolver.java:279)
&lt;br&gt;&amp;gt; 	net.sourceforge.stripes.controller.DispatcherHelper$1.intercept(DispatcherHelper.java:106)
&lt;br&gt;&amp;gt; 	net.sourceforge.stripes.controller.ExecutionContext.proceed(ExecutionContext.java:158)
&lt;br&gt;&amp;gt; 	net.sourceforge.stripes.controller.BeforeAfterMethodInterceptor.intercept(BeforeAfterMethodInterceptor.java:113)
&lt;br&gt;&amp;gt; 	net.sourceforge.stripes.controller.ExecutionContext.proceed(ExecutionContext.java:155)
&lt;br&gt;&amp;gt; 	net.sourceforge.stripes.controller.ExecutionContext.wrap(ExecutionContext.java:74)
&lt;br&gt;&amp;gt; 	net.sourceforge.stripes.controller.DispatcherHelper.resolveActionBean(DispatcherHelper.java:102)
&lt;br&gt;&amp;gt; 	net.sourceforge.stripes.controller.DispatcherServlet.resolveActionBean(DispatcherServlet.java:245)
&lt;br&gt;&amp;gt; 	net.sourceforge.stripes.controller.DispatcherServlet.doPost(DispatcherServlet.java:148)
&lt;br&gt;&amp;gt; 	javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
&lt;br&gt;&amp;gt; 	javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
&lt;br&gt;&amp;gt; 	net.sourceforge.stripes.controller.StripesFilter.doFilter(StripesFilter.java:246)
&lt;br&gt;&amp;gt; 	org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;If you think it was sent incorrectly contact one of the administrators: &lt;a href=&quot;http://www.stripesframework.org/jira/secure/Administrators.jspa&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.stripesframework.org/jira/secure/Administrators.jspa&lt;/a&gt;&lt;br&gt;-
&lt;br&gt;For more information on JIRA, see: &lt;a href=&quot;http://www.atlassian.com/software/jira&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.atlassian.com/software/jira&lt;/a&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;_______________________________________________
&lt;br&gt;Stripes-development mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=24262800&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Stripes-development@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/stripes-development&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/stripes-development&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/stripes-dev-f16326.html&quot; embed=&quot;fixTarget[16326]&quot; target=&quot;_top&quot; &gt;stripes-dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/-JIRA--Created%3A-%28STS-655%29-Example-.war-does-not-work-on-JBoss-5-tp22282627p24262800.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-24261606</id>
	<title>Re: Stripes wizard, partial form, and required 	validation</title>
	<published>2009-06-29T13:45:44Z</published>
	<updated>2009-06-29T13:45:44Z</updated>
	<author>
		<name>allen petersen</name>
	</author>
	<content type="html">Oh, I think that the validation step is doing the right thing in ignoring 
&lt;br&gt;those fields. &amp;nbsp;It's the __fp field that's only getting the main 
&lt;br&gt;&amp;lt;stripes:form&amp;gt; tag's info, rather than including the nested &amp;lt;stripes:form 
&lt;br&gt;partial=&amp;quot;true&amp;quot;&amp;gt; tags' values that I think is not doing the right thing.
&lt;br&gt;&lt;br&gt;So to make it clearer, let's say you have a wizard layout that looks like 
&lt;br&gt;this:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;stripes:form action=&amp;quot;${actionBean.wizardAction}&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;ul class=&amp;quot;wizardMenu&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;c:forEach var=&amp;quot;wizardPage&amp;quot; items=&amp;quot;${actionBean.wizardPages}&amp;quot; 
&lt;br&gt;varStatus=&amp;quot;status&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;li&amp;gt;&amp;lt;stripes:submit name=&amp;quot;${wizardPage.targetAction}&amp;quot;&amp;gt; 
&lt;br&gt;&amp;lt;fmt:message key=&amp;quot;${wizardPage.label}&amp;quot;/&amp;gt;&amp;lt;/stripes:submit&amp;gt;&amp;lt;/li&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/c:forEach&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/ul&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;stripes:text name=&amp;quot;myObject.requiredField&amp;quot;/&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/stripes:form&amp;gt;
&lt;br&gt;&lt;br&gt;then that works fine, because the form tag goes through, registers the 
&lt;br&gt;&amp;quot;myObject.requiredField&amp;quot; tag in the fieldsPresent (&amp;quot;__fp&amp;quot;), and so on 
&lt;br&gt;submit the validator knows that that field is present on the page and 
&lt;br&gt;should be checked if it's required. &amp;nbsp;
&lt;br&gt;&lt;br&gt;Meanwhile, if instead of including the &amp;lt;stripes:text&amp;gt; field directly, you 
&lt;br&gt;instead go
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;jsp:include page=&amp;quot;/WEB-INF/jsp/fields/myFields.jsp&amp;quot;/&amp;gt;
&lt;br&gt;&lt;br&gt;which includes
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;stripes:form action=&amp;quot;${actionBean.wizardAction}&amp;quot; partial=&amp;quot;true&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;stripes:text name=&amp;quot;myObject.requiredField&amp;quot;/&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/stripes:form&amp;gt;
&lt;br&gt;&lt;br&gt;...then suddenly the nested form tag doesn't write out any __fp fields. &amp;nbsp;
&lt;br&gt;And the parent form tag doesn't write it out, either. &amp;nbsp;So the fact that the 
&lt;br&gt;&amp;quot;myObject.requiredField&amp;quot; tag is in the form is lost. &amp;nbsp;And so the validator, 
&lt;br&gt;since this is a wizard, just thinks that the field must be referenced in 
&lt;br&gt;some other page of the wizard, and so doesn't mark it as being required.
&lt;br&gt;&lt;br&gt;I just put in a bit of code in FormTag.java that saves the fieldsPresent 
&lt;br&gt;values in a partial form tag and then prints it on the parent. &amp;nbsp;It seems to 
&lt;br&gt;work ok for me, though there might be some other problems there that I 
&lt;br&gt;haven't thought of yet.
&lt;br&gt;&lt;br&gt;-allen
&lt;br&gt;&lt;br&gt;&lt;br&gt;On Mon, Jun 29, 2009, 15:59, Mike McNally &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=24261606&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;emmecinque@...&lt;/a&gt;&amp;gt; wrote
&lt;br&gt;&amp;gt;How would the validator know that the incoming parameters are from the
&lt;br&gt;&amp;gt;same page? &amp;nbsp;All it sees is the set of parameters in the HTTP request,
&lt;br&gt;&amp;gt;and it uses the validation metadata for the action bean &amp; event as
&lt;br&gt;&amp;gt;appropriate.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;(In other words - validation works whether you post from a Stripes page or 
&lt;br&gt;not.)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;Maybe I'm missing what you mean by &amp;quot;noted as being required&amp;quot;.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;On Mon, Jun 29, 2009 at 2:50 PM, allen petersen&amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=24261606&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;allen@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt; Hi.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; So, quick version: �stripes wizard form with a nested page that has a
&lt;br&gt;&amp;gt;&amp;gt; &amp;lt;stripes:form partial=&amp;quot;true&amp;quot;&amp;gt; tag in it. �Required fields are included 
&lt;br&gt;in
&lt;br&gt;&amp;gt;&amp;gt; the nested partial form tag. �But...those required fields aren't being
&lt;br&gt;&amp;gt;&amp;gt; noted as being required, because the __fp (fieldsOnPage) field is only
&lt;br&gt;&amp;gt;&amp;gt; being written for the top-level form tag. �So the validator thinks that 
&lt;br&gt;the
&lt;br&gt;&amp;gt;&amp;gt; fields are from another page, and therefore don't need to be validated 
&lt;br&gt;as
&lt;br&gt;&amp;gt;&amp;gt; required.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I think I can work around this (or file a bug and submit a patch or
&lt;br&gt;&amp;gt;&amp;gt; whatever), but I just wanted to run this by the list and see if there 
&lt;br&gt;was a
&lt;br&gt;&amp;gt;&amp;gt; known easy fix/workaround. �Or if I'm just doing something wrong. 
&lt;br&gt;�(Well,
&lt;br&gt;&amp;gt;&amp;gt; other than using a nested partial form in the first place; I'm actually
&lt;br&gt;&amp;gt;&amp;gt; having to use the 1.5.2 beta branch already in order to get around 
&lt;br&gt;another
&lt;br&gt;&amp;gt;&amp;gt; bug there....)
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; -allen
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;---------------------------------------------------------------------------
&lt;br&gt;---
&lt;div class='shrinkable-quote'&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt;&amp;gt; Stripes-users mailing list
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=24261606&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Stripes-users@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/stripes-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/stripes-users&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;-- 
&lt;br&gt;&amp;gt;Turtle, turtle, on the ground,
&lt;br&gt;&amp;gt;Pink and shiny, turn around.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;--------------------------------------------------------------------------
&lt;/div&gt;----
&lt;br&gt;&amp;gt;_______________________________________________
&lt;br&gt;&amp;gt;Stripes-users mailing list
&lt;br&gt;&amp;gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=24261606&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Stripes-users@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/stripes-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/stripes-users&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;Stripes-users mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=24261606&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Stripes-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/stripes-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/stripes-users&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/stripes-users-f16325.html&quot; embed=&quot;fixTarget[16325]&quot; target=&quot;_top&quot; &gt;stripes-users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Stripes-wizard%2C-partial-form%2C-and-required-validation-tp24260753p24261606.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-24260883</id>
	<title>Re: Stripes wizard, partial form, and required 	validation</title>
	<published>2009-06-29T12:59:47Z</published>
	<updated>2009-06-29T12:59:47Z</updated>
	<author>
		<name>Mike McNally-3</name>
	</author>
	<content type="html">How would the validator know that the incoming parameters are from the
&lt;br&gt;same page? &amp;nbsp;All it sees is the set of parameters in the HTTP request,
&lt;br&gt;and it uses the validation metadata for the action bean &amp; event as
&lt;br&gt;appropriate.
&lt;br&gt;&lt;br&gt;(In other words - validation works whether you post from a Stripes page or not.)
&lt;br&gt;&lt;br&gt;Maybe I'm missing what you mean by &amp;quot;noted as being required&amp;quot;.
&lt;br&gt;&lt;br&gt;&lt;br&gt;On Mon, Jun 29, 2009 at 2:50 PM, allen petersen&amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=24260883&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;allen@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; So, quick version:  stripes wizard form with a nested page that has a
&lt;br&gt;&amp;gt; &amp;lt;stripes:form partial=&amp;quot;true&amp;quot;&amp;gt; tag in it.  Required fields are included in
&lt;br&gt;&amp;gt; the nested partial form tag.  But...those required fields aren't being
&lt;br&gt;&amp;gt; noted as being required, because the __fp (fieldsOnPage) field is only
&lt;br&gt;&amp;gt; being written for the top-level form tag.  So the validator thinks that the
&lt;br&gt;&amp;gt; fields are from another page, and therefore don't need to be validated as
&lt;br&gt;&amp;gt; required.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I think I can work around this (or file a bug and submit a patch or
&lt;br&gt;&amp;gt; whatever), but I just wanted to run this by the list and see if there was a
&lt;br&gt;&amp;gt; known easy fix/workaround.  Or if I'm just doing something wrong.  (Well,
&lt;br&gt;&amp;gt; other than using a nested partial form in the first place; I'm actually
&lt;br&gt;&amp;gt; having to use the 1.5.2 beta branch already in order to get around another
&lt;br&gt;&amp;gt; bug there....)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; -allen
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ------------------------------------------------------------------------------
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; Stripes-users mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=24260883&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Stripes-users@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/stripes-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/stripes-users&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Turtle, turtle, on the ground,
&lt;br&gt;Pink and shiny, turn around.
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;_______________________________________________
&lt;br&gt;Stripes-users mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=24260883&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Stripes-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/stripes-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/stripes-users&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/stripes-users-f16325.html&quot; embed=&quot;fixTarget[16325]&quot; target=&quot;_top&quot; &gt;stripes-users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Stripes-wizard%2C-partial-form%2C-and-required-validation-tp24260753p24260883.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-24260753</id>
	<title>Stripes wizard, partial form, and required validation</title>
	<published>2009-06-29T12:50:26Z</published>
	<updated>2009-06-29T12:50:26Z</updated>
	<author>
		<name>allen petersen</name>
	</author>
	<content type="html">Hi.
&lt;br&gt;&lt;br&gt;So, quick version: &amp;nbsp;stripes wizard form with a nested page that has a 
&lt;br&gt;&amp;lt;stripes:form partial=&amp;quot;true&amp;quot;&amp;gt; tag in it. &amp;nbsp;Required fields are included in 
&lt;br&gt;the nested partial form tag. &amp;nbsp;But...those required fields aren't being 
&lt;br&gt;noted as being required, because the __fp (fieldsOnPage) field is only 
&lt;br&gt;being written for the top-level form tag. &amp;nbsp;So the validator thinks that the 
&lt;br&gt;fields are from another page, and therefore don't need to be validated as 
&lt;br&gt;required.
&lt;br&gt;&lt;br&gt;I think I can work around this (or file a bug and submit a patch or 
&lt;br&gt;whatever), but I just wanted to run this by the list and see if there was a 
&lt;br&gt;known easy fix/workaround. &amp;nbsp;Or if I'm just doing something wrong. &amp;nbsp;(Well, 
&lt;br&gt;other than using a nested partial form in the first place; I'm actually 
&lt;br&gt;having to use the 1.5.2 beta branch already in order to get around another 
&lt;br&gt;bug there....)
&lt;br&gt;&lt;br&gt;-allen
&lt;br&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;_______________________________________________
&lt;br&gt;Stripes-users mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=24260753&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Stripes-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/stripes-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/stripes-users&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/stripes-users-f16325.html&quot; embed=&quot;fixTarget[16325]&quot; target=&quot;_top&quot; &gt;stripes-users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Stripes-wizard%2C-partial-form%2C-and-required-validation-tp24260753p24260753.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-24256763</id>
	<title>[JIRA] Updated: (STS-655) Example .war does not work on JBoss 5</title>
	<published>2009-06-29T08:51:18Z</published>
	<updated>2009-06-29T08:51:18Z</updated>
	<author>
		<name>JIRA jira@stripesframework.org</name>
	</author>
	<content type="html">&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[ &lt;a href=&quot;http://www.stripesframework.org/jira/browse/STS-655?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.stripesframework.org/jira/browse/STS-655?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&lt;/a&gt;&amp;nbsp;]
&lt;br&gt;&lt;br&gt;Allen Petersen updated STS-655:
&lt;br&gt;-------------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; Attachment: STS-655-jboss5x.patch
&lt;br&gt;&lt;br&gt;This (STS-655-jboss5x.patch) is what I'm using right now to run Stripes with JBoss 5.x. &amp;nbsp;The main change is updating the ResolverUtil to handle vfszip files by reading it from the URL stream. &amp;nbsp;
&lt;br&gt;&lt;br&gt;I also had to change the example build code to put the classes into a jar file in WEB-INF/lib instead of directly in WEB-INF/classes. &amp;nbsp;This is because this fix only works with vfszip: jar files; it doesn't handle vfs files directly on the filesystem. &amp;nbsp;I didn't see a way to support that without using the JBoss VFS API directly; even Hibernate(!!)'s similar code loading EJB3 persistence.xml classes (which is fairly nice, by the way, if perhaps a bit over-engineered) doesn't work with the WEB-INF/classes directory on JBoss 5.x. &amp;nbsp;Still, that should be a restriction that people can live with.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Example .war does not work on JBoss 5
&lt;br&gt;&amp;gt; -------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Key: STS-655
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; URL: &lt;a href=&quot;http://www.stripesframework.org/jira/browse/STS-655&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.stripesframework.org/jira/browse/STS-655&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: Stripes
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue Type: Bug
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;Affects Versions: Release 1.5
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Environment: MS Window XP, JDK 1.6, Jboss 5.0.0GA
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: Richard Tsang
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Priority: Critical
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Fix For: Release 1.6
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Attachments: server.zip, server.zip, STS-655-jboss5x.patch
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; -Dropping the stripes-example.war (from stripes-1.5.zip) into JBoss 5.0.0GA (EG: jboss-5.0.0.GA\server\default\deploy)
&lt;br&gt;&amp;gt; -Start up server and open stripes-examples (&lt;a href=&quot;http://localhost:8080/stripes-examples&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://localhost:8080/stripes-examples&lt;/a&gt;)
&lt;br&gt;&amp;gt; -Click the quick start link to the simple calculator
&lt;br&gt;&amp;gt; -Enter two numbers and press the Add button
&lt;br&gt;&amp;gt; Got the following stacktrace:
&lt;br&gt;&amp;gt; net.sourceforge.stripes.exception.ActionBeanNotFoundException: Could not locate an ActionBean that is bound to the URL [/examples/quickstart/Calculator.action]. Commons reasons for this include mis-matched URLs and forgetting to implement ActionBean in your class. Registered ActionBeans are: {/controller/DefaultView.action=class net.sourceforge.stripes.controller.DefaultViewActionBean}
&lt;br&gt;&amp;gt; 	net.sourceforge.stripes.controller.AnnotatedClassActionResolver.getActionBean(AnnotatedClassActionResolver.java:325)
&lt;br&gt;&amp;gt; 	net.sourceforge.stripes.controller.NameBasedActionResolver.getActionBean(NameBasedActionResolver.java:264)
&lt;br&gt;&amp;gt; 	net.sourceforge.stripes.controller.AnnotatedClassActionResolver.getActionBean(AnnotatedClassActionResolver.java:279)
&lt;br&gt;&amp;gt; 	net.sourceforge.stripes.controller.DispatcherHelper$1.intercept(DispatcherHelper.java:106)
&lt;br&gt;&amp;gt; 	net.sourceforge.stripes.controller.ExecutionContext.proceed(ExecutionContext.java:158)
&lt;br&gt;&amp;gt; 	net.sourceforge.stripes.controller.BeforeAfterMethodInterceptor.intercept(BeforeAfterMethodInterceptor.java:113)
&lt;br&gt;&amp;gt; 	net.sourceforge.stripes.controller.ExecutionContext.proceed(ExecutionContext.java:155)
&lt;br&gt;&amp;gt; 	net.sourceforge.stripes.controller.ExecutionContext.wrap(ExecutionContext.java:74)
&lt;br&gt;&amp;gt; 	net.sourceforge.stripes.controller.DispatcherHelper.resolveActionBean(DispatcherHelper.java:102)
&lt;br&gt;&amp;gt; 	net.sourceforge.stripes.controller.DispatcherServlet.resolveActionBean(DispatcherServlet.java:245)
&lt;br&gt;&amp;gt; 	net.sourceforge.stripes.controller.DispatcherServlet.doPost(DispatcherServlet.java:148)
&lt;br&gt;&amp;gt; 	javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
&lt;br&gt;&amp;gt; 	javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
&lt;br&gt;&amp;gt; 	net.sourceforge.stripes.controller.StripesFilter.doFilter(StripesFilter.java:246)
&lt;br&gt;&amp;gt; 	org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;If you think it was sent incorrectly contact one of the administrators: &lt;a href=&quot;http://www.stripesframework.org/jira/secure/Administrators.jspa&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.stripesframework.org/jira/secure/Administrators.jspa&lt;/a&gt;&lt;br&gt;-
&lt;br&gt;For more information on JIRA, see: &lt;a href=&quot;http://www.atlassian.com/software/jira&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.atlassian.com/software/jira&lt;/a&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;_______________________________________________
&lt;br&gt;Stripes-development mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=24256763&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Stripes-development@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/stripes-development&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/stripes-development&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/stripes-dev-f16326.html&quot; embed=&quot;fixTarget[16326]&quot; target=&quot;_top&quot; &gt;stripes-dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/-JIRA--Created%3A-%28STS-655%29-Example-.war-does-not-work-on-JBoss-5-tp22282627p24256763.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-24245692</id>
	<title>Confluence Wiki Page added to Wrong section</title>
	<published>2009-06-28T14:27:41Z</published>
	<updated>2009-06-28T14:27:41Z</updated>
	<author>
		<name>DaveMark</name>
	</author>
	<content type="html">&lt;br&gt;Hello,
&lt;br&gt;&lt;br&gt;I wrongly added a &amp;quot;French Translation&amp;quot; to the &amp;quot;User Addition&amp;quot; section. AFAICS, I can't delete pages I add to the wiki. Can someone delete it for me?
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://www.stripesframework.org/display/stripes/Stripes+contre+Struts2+to+Delete&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.stripesframework.org/display/stripes/Stripes+contre+Struts2+to+Delete&lt;/a&gt;&lt;br&gt;&lt;br&gt;Again, sorry... but in my defense it's 23:30 on Sunday night!
&lt;br&gt;&lt;br&gt;Night, night,
&lt;br&gt;&lt;br&gt;DJDaveMark
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;_______________________________________________
&lt;br&gt;Stripes-users mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=24245692&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Stripes-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/stripes-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/stripes-users&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/stripes-users-f16325.html&quot; embed=&quot;fixTarget[16325]&quot; target=&quot;_top&quot; &gt;stripes-users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Confluence-Wiki-Page-added-to-Wrong-section-tp24245692p24245692.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-24245404</id>
	<title>[JIRA] Updated: (STS-694) patch to remove warnings in eclipse 3.5</title>
	<published>2009-06-28T13:58:18Z</published>
	<updated>2009-06-28T13:58:18Z</updated>
	<author>
		<name>JIRA jira@stripesframework.org</name>
	</author>
	<content type="html">&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[ &lt;a href=&quot;http://www.stripesframework.org/jira/browse/STS-694?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.stripesframework.org/jira/browse/STS-694?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&lt;/a&gt;&amp;nbsp;]
&lt;br&gt;&lt;br&gt;Jon Stevens updated STS-694:
&lt;br&gt;----------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; Attachment: patch.txt
&lt;br&gt;&lt;br&gt;my patch
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; patch to remove warnings in eclipse 3.5
&lt;br&gt;&amp;gt; ---------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Key: STS-694
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; URL: &lt;a href=&quot;http://www.stripesframework.org/jira/browse/STS-694&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.stripesframework.org/jira/browse/STS-694&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: Stripes
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue Type: Improvement
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Environment: using eclipse 3.5 and svn trunk
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: Jon Stevens
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Priority: Trivial
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Attachments: patch.txt
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I tend to like a build without any warnings. I just checked out the source code to stripes to check it out and found a bunch of areas where eclipse was throwing warnings. This patch just adds a bunch of &amp;lt;?&amp;gt; to the end of various places where eclipse 3.5 was complaining. I also use Eclipse Java-&amp;gt;Save Actions to improve the look and feel of the source code without having to do any work. This created a slightly larger patch file. Here are my settings:
&lt;br&gt;&amp;gt; Add 'this' qualifier to unqualified field accesses
&lt;br&gt;&amp;gt; Add 'this' qualifier to unqualified method accesses
&lt;br&gt;&amp;gt; Convert for loops to enhanced for loops
&lt;br&gt;&amp;gt; Add paranoiac parentheses
&lt;br&gt;&amp;gt; Remove unused imports
&lt;br&gt;&amp;gt; Add missing '@Override' annotations
&lt;br&gt;&amp;gt; Add missing '@Deprecated' annotations
&lt;br&gt;&amp;gt; Remove unnecessary casts
&lt;br&gt;&amp;gt; Remove unnecessary '$NON-NLS$' tags
&lt;br&gt;&amp;gt; Remove trailing white spaces on all lines
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;If you think it was sent incorrectly contact one of the administrators: &lt;a href=&quot;http://www.stripesframework.org/jira/secure/Administrators.jspa&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.stripesframework.org/jira/secure/Administrators.jspa&lt;/a&gt;&lt;br&gt;-
&lt;br&gt;For more information on JIRA, see: &lt;a href=&quot;http://www.atlassian.com/software/jira&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.atlassian.com/software/jira&lt;/a&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;_______________________________________________
&lt;br&gt;Stripes-development mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=24245404&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Stripes-development@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/stripes-development&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/stripes-development&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/stripes-dev-f16326.html&quot; embed=&quot;fixTarget[16326]&quot; target=&quot;_top&quot; &gt;stripes-dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/-JIRA--Updated%3A-%28STS-694%29-patch-to-remove-warnings-in-eclipse-3.5-tp24245404p24245404.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-24237561</id>
	<title>Eclipse and LOG4J configuration nightmare.  HELP!</title>
	<published>2009-06-27T16:30:27Z</published>
	<updated>2009-06-27T16:30:27Z</updated>
	<author>
		<name>windom</name>
	</author>
	<content type="html">I'm following the &amp;quot;quick start&amp;quot; instructions for Stripes and everytime I try to run a page, I get the following error. &amp;nbsp;My commons-logging.properties and log4j.properties are an my root src directory in Eclipse. &amp;nbsp;My WEB-INF/lib contains commons-logging.jar, cos.jar, and stripes.jar. &amp;nbsp;I'm running stripes 1.5.1, Tomcat 6.0.18, and Eclipse Galileo. &amp;nbsp;Why can't it find that class? &amp;nbsp;It's in stripes.jar. 
&lt;br&gt;&lt;br&gt;When I delete the 2 log files from my src directory, the page runs fine.
&lt;br&gt;&lt;br&gt;java.lang.ExceptionInInitializerError
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
&lt;br&gt;Caused by: org.apache.commons.logging.LogConfigurationException: User-specified log class 'net.sourceforge.stripes.util.Log4JLogger' cannot be found or is not useable.
&lt;br&gt;&lt;br&gt;My commons-logging.properties has the following value.
&lt;br&gt;org.apache.commons.logging.Log=net.sourceforge.stripes.util.Log4JLogger
&lt;br&gt;&lt;br&gt;And my log4j.properties has the following.
&lt;br&gt;### direct log messages to stdout ###
&lt;br&gt;log4j.appender.stdout=org.apache.log4j.ConsoleAppender
&lt;br&gt;log4j.appender.stdout.Target=System.out
&lt;br&gt;log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
&lt;br&gt;log4j.appender.stdout.layout.ConversionPattern=%d{ABSOLUTE} %5p %c{1}:%L - %m%n
&lt;br&gt;&lt;br&gt;### set log levels - for more verbose logging change 'info' to 'debug' ###
&lt;br&gt;log4j.rootLogger=INFO, stdout
&lt;br&gt;log4j.logger.net.sourceforge.stripes=DEBUG
&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/stripes-users-f16325.html&quot; embed=&quot;fixTarget[16325]&quot; target=&quot;_top&quot; &gt;stripes-users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Eclipse-and-LOG4J-configuration-nightmare.--HELP%21-tp24237561p24237561.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-24224667</id>
	<title>Re: Spring managed action beans - any change?</title>
	<published>2009-06-26T10:48:05Z</published>
	<updated>2009-06-26T10:48:05Z</updated>
	<author>
		<name>Chris Herron</name>
	</author>
	<content type="html">&lt;html&gt;&lt;body style=&quot;word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; &quot;&gt;&lt;div&gt;Hi Dave,&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;blockquote type=&quot;cite&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; &quot;&gt;Interesting. I'd love to see an example added in the &quot;User Additions&quot; part of the site!&amp;nbsp;&lt;/span&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;Will try to do that soon.&amp;nbsp;It does require&amp;nbsp;that&amp;nbsp;your&amp;nbsp;Stripes&amp;nbsp;ActionBeans&amp;nbsp;be Spring-managed&amp;nbsp;(by&amp;nbsp;any of the&amp;nbsp;means discussed in this thread already).&amp;nbsp;Once&amp;nbsp;that's&amp;nbsp;set&amp;nbsp;up,&amp;nbsp;then&amp;nbsp;the&amp;nbsp;security&amp;nbsp;approach&amp;nbsp;is&amp;nbsp;the same as the annotation examples in the&amp;nbsp;&lt;a href=&quot;http://static.springframework.org/spring-security/site/docs/3.0.x/reference/ns-config.html#ns-method-security&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Spring Security reference doc&lt;/a&gt;.&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;blockquote type=&quot;cite&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; &quot;&gt;Agreed. Unfortunately in my case we have experienced as well as beginner developers on our projects. We also start projects with one team and end up coming back a few months later with another team. This leads us to employ rather strict &quot;layer&quot; (and coding) conventions so that everyone can 1. find their way around easily&amp;nbsp;&lt;br&gt;2. not have to think when to start a transaction&amp;nbsp;&lt;br&gt;&amp;nbsp; &amp;nbsp;(it's a service method named save*, update*, find* etc.)&amp;nbsp;&lt;br&gt;&lt;br&gt;Pretty much as I describe in my Stripes Spring JPA guide :&amp;nbsp;&lt;br&gt;&lt;a href=&quot;http://www.stripesframework.org/display/stripes/Stripes+Spring+JPA&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot; style=&quot;color: rgb(34, 68, 187); &quot;&gt;http://www.stripesframework.org/display/stripes/Stripes+Spring+JPA&lt;/a&gt;&lt;br&gt;&lt;br&gt;I'd love to get some feedback!&amp;nbsp;&lt;/span&gt;&lt;/blockquote&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;That's a helpful guide :)&lt;/div&gt;&lt;div&gt;Although it doesn't include Spring transaction details, I do have one bit of feedback on the transaction approach you mention in your email:&lt;/div&gt;&lt;div&gt;I'm not keen on using method naming patterns for defining transaction boundaries, because it constrains you to naming your methods within those patterns. That might not be an issue on DAO's, but it might be inconvenient on use-case oriented controllers/services.&lt;/div&gt;&lt;div&gt;What I do instead, is have an abstract parent for controllers, services, dao's etc. Then I use Spring transaction annotations like so:&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;1) Define a default transaction behavior for the descendants, using a class-level annotation:&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;font class=&quot;Apple-style-span&quot; face=&quot;Courier&quot; size=&quot;3&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 12px;&quot;&gt;@Transactional(propagation = Propagation.REQUIRED)&lt;/span&gt;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font class=&quot;Apple-style-span&quot; face=&quot;Courier&quot; size=&quot;3&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 12px;&quot;&gt;public abstract class BaseService {&lt;/span&gt;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font class=&quot;Apple-style-span&quot; face=&quot;Courier&quot; size=&quot;3&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 12px;&quot;&gt;}&lt;/span&gt;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;2) Add other transaction behavior on descendant classes, or individual methods when they need to vary from the inherited default:&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;font class=&quot;Apple-style-span&quot; face=&quot;Courier&quot; size=&quot;3&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 12px;&quot;&gt;public class FooService extends BaseService implements IFooService {&lt;/span&gt;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font class=&quot;Apple-style-span&quot; face=&quot;Courier&quot;&gt;&lt;br&gt;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font class=&quot;Apple-style-span&quot; face=&quot;Courier&quot; size=&quot;3&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 12px;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;@Transactional(readOnly = true, propagation = Propagation.SUPPORTS)&lt;/span&gt;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font class=&quot;Apple-style-span&quot; face=&quot;Courier&quot; size=&quot;3&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 12px;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;public List&amp;lt;Foo&amp;gt; listAll() {&lt;/span&gt;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font class=&quot;Apple-style-span&quot; face=&quot;Courier&quot; size=&quot;3&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 12px;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// &amp;lt;snip&amp;gt;&lt;/span&gt;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font class=&quot;Apple-style-span&quot; face=&quot;Courier&quot; size=&quot;3&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 12px;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;/span&gt;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font class=&quot;Apple-style-span&quot; face=&quot;Courier&quot; size=&quot;3&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 12px;&quot;&gt;}&lt;/span&gt;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;I suppose the main disadvantage of my&amp;nbsp;approach&amp;nbsp;is&amp;nbsp;the extra effort of annotating the methods whose transactional behavior need to vary from the default.&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Chris.&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/body&gt;&lt;/html&gt;&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;Stripes-users mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=24224667&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Stripes-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/stripes-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/stripes-users&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/stripes-users-f16325.html&quot; embed=&quot;fixTarget[16325]&quot; target=&quot;_top&quot; &gt;stripes-users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Spring-managed-action-beans---any-change--tp24166844p24224667.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-24218435</id>
	<title>Multiple Resource Bundles</title>
	<published>2009-06-26T04:07:53Z</published>
	<updated>2009-06-26T04:07:53Z</updated>
	<author>
		<name>DaveMark</name>
	</author>
	<content type="html">&lt;br&gt;Hello everyone,
&lt;br&gt;&lt;br&gt;Coming back to the improvement Oscar suggested for my guide to having Multiple Resource Bundles
&lt;br&gt;&lt;a href=&quot;http://www.stripesframework.org/display/stripes/Multiple+Resource+Bundles&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.stripesframework.org/display/stripes/Multiple+Resource+Bundles&lt;/a&gt;&lt;br&gt;&lt;br&gt;&amp;gt; &amp;gt; I added a guide to the &amp;quot;User Additions&amp;quot; Stripes documentation...
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Why use a custom Configuration, when your
&lt;br&gt;&amp;gt; LocalizationBundleFactory can also implement
&lt;br&gt;&amp;gt; ConfigurableComponent? This also allows you
&lt;br&gt;&amp;gt; to initialize the resource bundles.
&lt;br&gt;&lt;br&gt;I found some time to improve upon it and removed the need for a custom Configuration. All the initialization is now done in LocalizationBundleFactory.
&lt;br&gt;&lt;br&gt;Cheers,
&lt;br&gt;&lt;br&gt;DJDaveMark
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;_______________________________________________
&lt;br&gt;Stripes-users mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=24218435&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Stripes-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/stripes-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/stripes-users&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/stripes-users-f16325.html&quot; embed=&quot;fixTarget[16325]&quot; target=&quot;_top&quot; &gt;stripes-users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Multiple-Resource-Bundles-tp24218435p24218435.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-24218132</id>
	<title>Vedr.: Re:  Vedr.: Re: List binding?</title>
	<published>2009-06-26T03:35:37Z</published>
	<updated>2009-06-26T03:35:37Z</updated>
	<author>
		<name>dth-2</name>
	</author>
	<content type="html">
&lt;br&gt;&lt;font size=2 face=&quot;Verdana&quot;&gt;Hi,&lt;/font&gt;
&lt;br&gt;
&lt;br&gt;&lt;font size=2 face=&quot;Verdana&quot;&gt;Thanks for the input guys. I ended up solving
it with @Before and @After annotations that clears the list before binding
and compacts (remove null entries) it after binding. Seems to work fine.&lt;/font&gt;
&lt;br&gt;
&lt;br&gt;&lt;font size=2 face=&quot;Verdana&quot;&gt;-dennis&lt;br&gt;
&lt;/font&gt;
&lt;br&gt;
&lt;br&gt;&lt;tt&gt;&lt;font size=2&gt;Ben Gunter &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=24218132&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gunterben@...&lt;/a&gt;&amp;gt; skrev den 25-06-2009
14:44:18:&lt;br&gt;
&lt;br&gt;
&amp;gt; It's generally a bad idea to do the following, even though it's really
easy:&lt;/font&gt;&lt;/tt&gt;
&lt;br&gt;&lt;tt&gt;&lt;font size=2&gt;&amp;gt; 1. Load a list into your ActionBean and forward
to a view with &lt;br&gt;
&amp;gt; inputs for properties of the list elements.&lt;/font&gt;&lt;/tt&gt;
&lt;br&gt;&lt;tt&gt;&lt;font size=2&gt;&amp;gt; 2. Modify the elements and submit to same ActionBean&lt;/font&gt;&lt;/tt&gt;
&lt;br&gt;&lt;tt&gt;&lt;font size=2&gt;&amp;gt; 3. Before binding, load the list the same way
as in #1&lt;/font&gt;&lt;/tt&gt;
&lt;br&gt;&lt;tt&gt;&lt;font size=2&gt;&amp;gt; 4. Allow Stripes to bind the properties into
the list elements&lt;/font&gt;&lt;/tt&gt;
&lt;br&gt;&lt;tt&gt;&lt;font size=2&gt;&amp;gt; The reason it's a bad idea is that the list often
can change between&lt;br&gt;
&amp;gt; the time the view is presented and the time the form is submitted.
&lt;br&gt;
&amp;gt; Then you'd be binding property values to the same indexes, but there&lt;br&gt;
&amp;gt; might be a different object at that index in the list due to the changes.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; You can do something very similar except that you do NOT load the
&lt;br&gt;
&amp;gt; list again (step 3 above) on form submission. Instead, you include
a&lt;br&gt;
&amp;gt; hidden input that specifies which object to load into the list at
&lt;br&gt;
&amp;gt; the given index. E.g. &amp;lt;s:hidden name=&amp;quot;things[0]&amp;quot; /&amp;gt;.
If you're using&lt;br&gt;
&amp;gt; Stripersist (or some other good TypeConverter/Formatter combination)&lt;br&gt;
&amp;gt; then Stripes will populate the input automatically. When you submit
&lt;br&gt;
&amp;gt; your form, each element will get stuffed into the list by the type
&lt;br&gt;
&amp;gt; converter and property binder and you'll know exactly what object
&lt;br&gt;
&amp;gt; you're modifying with inputs like things[0].name and things[0].description.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; And that's where Mike's comment is relevant. If you don't submit any&lt;br&gt;
&amp;gt; inputs for things[1] (but you do have a things[2]) then that &lt;br&gt;
&amp;gt; position in the list will be null and you'd need to compact it to
&lt;br&gt;
&amp;gt; remove the nulls.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; -Ben&lt;br&gt;
&lt;/font&gt;&lt;/tt&gt;
&lt;br&gt;&lt;tt&gt;&lt;font size=2&gt;&amp;gt; On Thu, Jun 25, 2009 at 3:25 AM, &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=24218132&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dth@...&lt;/a&gt;&amp;gt;
wrote:&lt;/font&gt;&lt;/tt&gt;
&lt;br&gt;&lt;tt&gt;&lt;font size=2&gt;&amp;gt; &lt;br&gt;
&amp;gt; Hi, &lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; But as far as I can tell, there is no way to see which entries (if
&lt;br&gt;
&amp;gt; any) were deleted from the list? &lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Since the setter method actually takes a list I would think it was
&lt;br&gt;
&amp;gt; cleared before putting the new values (from the request) in it? &lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; -dennis &lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Mike McNally &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=24218132&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;emmecinque@...&lt;/a&gt;&amp;gt; skrev den 24-06-2009 15:31:32:&lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; In this exact situation, I ended up &amp;quot;packing&amp;quot; my list
in my data-layer&lt;br&gt;
&amp;gt; &amp;gt; code. Our (home-grown) JPA layer provides for a &amp;quot;beforeSave&amp;quot;
hook in&lt;br&gt;
&amp;gt; &amp;gt; the DAO, so in there I make sure the list is contiguous.&lt;/font&gt;&lt;/tt&gt;
&lt;br&gt;&lt;tt&gt;&lt;font size=2&gt;&amp;gt; ------------------------------------------------------------------------------&lt;br&gt;
&amp;gt; _______________________________________________&lt;br&gt;
&amp;gt; Stripes-users mailing list&lt;br&gt;
&amp;gt; &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=24218132&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Stripes-users@...&lt;/a&gt;&lt;br&gt;
&amp;gt; https://lists.sourceforge.net/lists/listinfo/stripes-users&lt;br&gt;
&lt;/font&gt;&lt;/tt&gt;&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;Stripes-users mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=24218132&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Stripes-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/stripes-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/stripes-users&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/stripes-users-f16325.html&quot; embed=&quot;fixTarget[16325]&quot; target=&quot;_top&quot; &gt;stripes-users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/List-binding--tp24184833p24218132.html" />
</entry>

</feed>
