Re: [Stripes-users] ActionBeanPropertyBinder.Class

Subject:   Re: [Stripes-users] ActionBeanPropertyBinder.Class (find more)
From:  
Date:   Oct 18, 2005 08:13


Return-Path: <hidden>
Received: from cmcc5-dfe.broad.mit.edu ([18.103.15.238])
 by esc49.midphase.com with esmtpa (Exim 4.44)
 id 1ERqLU-0000JY-1V
 for hidden; Tue, 18 Oct 2005 08:13:32 -0400
Message-Id: <hidden>
Date: Tue, 18 Oct 2005 08:13:32 -0400
From: Tim Fennell <hidden>
Reply-To: hidden
Sender: hidden
To: hidden
Subject: Re: [Stripes-users] ActionBeanPropertyBinder.Class
In-Reply-To: <hidden>
Errors-To: hidden
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: quoted-printable
X-Original-To: hidden
Delivered-To: hidden
References: <hidden>
X-Mailer: Apple Mail (2.734)
Received-SPF: unknown (socket error)
X-AntiAbuse: Sender Address Domain - tfenne.com
X-Source:
X-Source-Args:
X-Source-Dir:
X-Spam-Score: 0.1 (/)
X-Spam-Report: Spam Filtering performed by sourceforge.net.
 See http://spamassassin.org/tag/ for more details.
 Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001
 0.0 SF_CHICKENPOX_PERIOD   BODY: Text interparsed with .
 0.0 SF_CHICKENPOX_SLASH    BODY: Text interparsed with /
 0.0 SF_CHICKENPOX_MINUS    BODY: Text interparsed with -
 0.0 SF_CHICKENPOX_GREATERTHAN BODY: Text interparsed with >
 0.0 SF_CHICKENPOX_AT       BODY: Text interparsed with @
 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with '
X-BeenThere: hidden
X-Mailman-Version: 2.0.9-sf.net
Precedence: bulk
List-Unsubscribe: <https://lists.sourceforge.net/lists/listinfo/stripes-users&gt;,
 <mailto:hidden?subject=unsubscribe>
List-Id: A list for dicussing building applications with Stripes. <stripes-users.lists.sourceforge.net>
List-Post: <mailto:hidden>
List-Help: <mailto:hidden?subject=help>
List-Subscribe: <https://lists.sourceforge.net/lists/listinfo/stripes-users&gt;,
 <mailto:hidden?subject=subscribe>
List-Archive: <http://sourceforge.net/mailarchive/forum.php?forum=stripes-users>
Status:

Thanks for the heads up on this.  You're right, that's definitely =20
confusing.  I must just not have tried that before.  I've logged it =20
here:
     http://mc4j.org/jira/browse/STS-96
-t

On Oct 18, 2005, at 6:30 AM, Andre Matheus wrote:

> Hi all, it is me again...
>
> I was playing with the Runtime Configuration, setting my own
> ActionBeanPropertyBinder.Class, like this:
>
>     <init-param>
>       <param-name>ActionBeanPropertyBinder.Class</param-name>
>       <param-value>base.MyOgnlActionBeanPropertyBinder</param-value>
>     </init-param>
>
> And base.MyOgnlActionBeanPropertyBinder is simple like this:
>
> public class MyOgnlActionBeanPropertyBinder extends
> OgnlActionBeanPropertyBinder {
>
>     /** Creates a new instance of MyOgnlActionBeanPropertyBinder */
>     public MyOgnlActionBeanPropertyBinder() {
>         super();
>         System.out.println("MyOgnlActionBeanPropertyBinder");
>     }
> }
>
> But it was killing my Tomcat, I mean, the tomcat was not able to =20
> start...
> after that I started looking at the code of RuntimeConfiguration,
> pretty clear and well commented, as the rest of the framework, but
> there was no clue on why it would fail. and then I started to follow
> the startup process and discovered that I can not set an
> ActionBeanPropertyBinder.Class without setting an
> ActionResolver.Class, as the property binder needs the action resolver
> to be loaded in order to have the init method executed.
>
> Then I added also the ActionResolver.Class default  to the web.xml, =20
> like this
>
>     <init-param>
>       <param-name>ActionResolver.Class</param-name>
>       <param-=20
> value>net.sourceforge.stripes.controller.AnnotatedClassActionResolver<=20
> /param-value>
>     </init-param>
>
> After that it worked fine, with the MyOgnlActionBeanPropertyBinder.
>
> It is not a big deal, as I can add the same value as the default in
> the web.xml, but as it is already the default value, it is a little
> bit difficult to understand. May be some sort of exception with a
> clear, stripes like, message description would help...
>
> Regards,
>
> --
> __
> Andr=C3=A9 Matheus
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by:
> Power Architecture Resource Center: Free content, downloads, =20
> discussions,
> and more. http://solutions.newsforge.com/ibmarch.tmpl
> _______________________________________________
> Stripes-users mailing list
> hidden
> https://lists.sourceforge.net/lists/listinfo/stripes-users
>



-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Stripes-users mailing list
hidden
https://lists.sourceforge.net/lists/listinfo/stripes-users