Pass the ConnectorFactory to getPopulatedConfigForm. We probably want a new
interface for
this, to avoid breaking existing connectors.
The rationale here is it makes it easier to migrate configuration properties
from
connectorInstance.xml to the form. ConnectorFactory indirectly provides access
to the properties in
the XML file. Right now it's possible to move property values from
connectorInstance.xml, but you
have to do it in validateConfig, which is less obvious to the user. That means
instead of seeing the
migrated properties immediately, the user has to click Save Configuration, then
validateConfig can
do the migration and return a new form with the edited properties.
Original issue reported on code.google.com by jl1615@gmail.com on 19 Sep 2009 at 4:29
Original issue reported on code.google.com by
jl1615@gmail.com
on 19 Sep 2009 at 4:29