There is a convention used when it comes to editors.
To find an editor; Spring looks in the same package as the class in
question for a class with the same name with editor appended.
So to find the editor for
org.acegisecurity.intercept.web.FilterInvocationDefinitionSource,
Spring looks for
org.acegisecurity.intercept.web.FilterInvocationDefinitionSourceEditor.
On 7/24/07, ShiLei [EMAIL PROTECTED] wrote:
hello,guys
First, we all know Acegi use
FilterInvocationDefinitionSourceEditor class(extends
PropertyEditorSupport) to convert property
FilterInvocationDefinitionSource (which is defined in XML
file) from string to FilterInvocationDefinitionSource
Object!
And in spring framwork, if one wants to use a custom property editor to
handle specified property, it has to be registered in the ApplicationContext
XML description.
then, here comes the question, I could not find the registration of
FilterInvocationDefinitionSourceEditor, but the acegi
works!
any idea?
thx
Regards,
Shi
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now http://get.splunk.com/
___
Home: http://acegisecurity.org
Acegisecurity-developer mailing list
Acegisecurity-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now http://get.splunk.com/
___
Home: http://acegisecurity.org
Acegisecurity-developer mailing list
Acegisecurity-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer