DevGui uses JDBC metadata methods to detect foreign keys and will automatically insert corresponding foreign-key tags into generated dbforms-config.xml. This will surely only work if the JDBC driver has support for this feature, otherwise the file has to be edited manually. DevGui sets several default values, which might be edited before applying xsl stylesheets:
if a key contains just one column, the
displayType is set to "select", if it contains more,
displayType is set to "none". This is a problem of the underlying tags that will later be used within web application.
devgui does not set the
visibleFields attribute within foreign-key tags, instead it sets the
defaultVisibleFields attribute within each table. The attribute will initially be set to the primary key.
The
displayType or
defaultVisibleFields attribute might be changed before applying the xsl stylesheets. It might also be a good idea to set a corresponding
defaultVisibleFieldsFormat.