struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Musachy Barroso <musa...@gmail.com>
Subject Re: Property Mapping in a iterator
Date Thu, 12 Nov 2009 16:54:38 GMT
FAQ added for it:
http://cwiki.apache.org/confluence/display/WW/Make+Struts+throw+exceptions+on+missing+properties%2C+or+log+them

On Thu, Nov 12, 2009 at 8:49 AM, Musachy Barroso <musachy@gmail.com> wrote:
> You need a couple of things:
>
> 1. set devMode to true <constant name="struts.devMode" value="true"/>
>
> if you want to get a log of the missing property, then
>
> 2. set <constant name="struts.ognl.logMissingProperties" value="true" />
>
> if you want to get an exception (the page will break), then:
>
> 2. set <constant name="struts.el.throwExceptionOnFailure" value="true" />
>
> musachy
>
> On Thu, Nov 12, 2009 at 5:58 AM, carl ballantyne
> <carl.ballantyne@cast-info.es> wrote:
>> Hi Alex,
>>
>> I thought it was supposed to give you more debug information including when
>> the property does not exist. Looks like I might be wrong then.
>>
>> Cheers, Carl.
>>
>> Quoting Alex Parvulescu <alex.parvulescu@gmail.com>:
>>
>>> hello,
>>>
>>> I did it and got nothing :)
>>>
>>>
>>> Can you explain a bit what this property does?
>>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>> For additional commands, e-mail: user-help@struts.apache.org
>>
>>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message