commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From robert burrell donkin <robertburrelldon...@blueyonder.co.uk>
Subject Re: digester: can SetPropertyRule warn on not found properties?
Date Thu, 02 Sep 2004 18:34:18 GMT
the easiest way to achieve this would be to download the source and 
then add a line or two that does that! you can then replace your 
modified jar with the standard version when you're ready for 
production.

- robert

On 2 Sep 2004, at 16:23, Gabriele Carcassi wrote:

> Hi,
>
> Is there a way to configure the SetPropertyRule to throw an exception, 
> or to
> alert me in some way, when a property set in the XML is not found in 
> the
> bean?
>
> This is typically useful when a user mispells the property for a bean 
> whose
> class is defined at runtime (thus I can't use schema). For example:
> <building type="buildings.Sky" featerColor="yellow" />
>
> Do I have to create my rule or I am missing something?
>
> Thanks,
> Gabriele
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-user-help@jakarta.apache.org
>
>


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


Mime
View raw message