struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Musachy Barroso" <musa...@gmail.com>
Subject Re: Some debug info in XWorkMethodAccessor.java
Date Fri, 19 Sep 2008 19:41:22 GMT
a patch would be nice ;)

On Fri, Sep 19, 2008 at 3:39 PM, Gabriel Belingueres
<belingueres@gmail.com>wrote:

> Hi,
>
> In case anybody is interested, I added some debug information to the
> XWorkMethodAccessor.java file, that logs when an OGNL expression in
> throwing an exception.
>
> I used it to debug an action method like:
> public boolean someTest() {
> }
>
> In my JSP file had:
> <s:if test="someTest()">
> ....
> </s:if>
>
> but the test was always returning false. The issue was that the method
> was throwing an exception but there was no trail of the error nowhere.
>
> Gabriel
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
> For additional commands, e-mail: dev-help@struts.apache.org
>
>


-- 
"Hey you! Would you help me to carry the stone?" Pink Floyd

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message