Please consider the following .ds example:
As you can see, this is a foreign key field that points to another datasource.
From what i can see, The fmt:message title i have set is not used for a foreign key field declaration. Instead, it uses the title in my foreign key datasource and if that is not set, it just uses the capitalized datasource name.
To me, it makes more sense if the title i have specified in the field itself overrides any default behavior? I'm not sure when exactly this was changed, but i think it works like this in 12.
Cheers
Code:
<field name="contractorId" type="integer" foreignKey="contractor.id" displayField="name" required="false"> <title> <fmt:message key="contractorId"/> </title> </field>
From what i can see, The fmt:message title i have set is not used for a foreign key field declaration. Instead, it uses the title in my foreign key datasource and if that is not set, it just uses the capitalized datasource name.
To me, it makes more sense if the title i have specified in the field itself overrides any default behavior? I'm not sure when exactly this was changed, but i think it works like this in 12.
Cheers
Comment