Hello,

I have foreign keys defined in my dbforms-config.xml model (these are not really defined [cannot be retrieved by jdbc metadata] in my mysql db - i mark them myself in the XML). But when I generate using dbforms 2.3, it does not generate drop down boxes. I looked at XSLT files, I can't find any drop down box generation code. In generate_validation.xsl file there is some comment that says these are generated in other xsl files. Where are they generated? How are they generated? I am about to make changes to the XSLs myself but I want to make sure they are not available before I implement myself.

Any ideas? are you able to generate drop downs from your model?

Regards,
Ali


<xsl:when test="$foreignKey">
<!-- Foreign keys are generated with drop-down boxes in the other XSLs, so it's assumed that they're filled in - and besides,
the required values would have to be checked against a foreign table. So it's easier just to require them and let dbforms
return a "normal" error for misassignment of a foreign-key. -->
<xsl:call-template name="foreignKeyField">
<
xsl:with-param name="thisField" select="." />
</
xsl:call-template>
</
xsl:when>

Reply via email to