commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gabriele Carcassi" <carca...@netbeans.org>
Subject digester: can SetPropertyRule warn on not found properties?
Date Thu, 02 Sep 2004 15:23:45 GMT
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


Mime
View raw message