|
I use additionalModelNames a lot:
er.directtoweb.ERD2WModel.additionalModelNames=("d2wModelFiles/Reports.d2wmodel",
"d2wModelFiles/EventPerson.d2wmodel",
"d2wModelFiles/Experimental.d2wmodel",
"d2wModelFiles/Person.d2wmodel", "d2wModelFiles/Show.d2wmodel",
"d2wModelFiles/Event.d2wmodel",
"d2wModelFiles/Instrument.d2wmodel",
"d2wModelFiles/Book.d2wmodel")
I break apart the d2wmodel by entity. It means that the
individual rules are easier to find. (for me that is)
I always leave the user.d2wmodel file in the top level of the
resources folder.
BTW other rules are firing just fine ie.:
100 : pageConfiguration = 'EditRelationshipEmbeddedPersonBook'
=> displayPropertyKeys = ("book.show.showName",
"book.bookTitle", "isPrimaryPlayer")
[com.webobjects.directtoweb.Assignment],
I have changed the order of these items and the resultant page
shows these changes. i know that 'rules' are working. Just not
these in question
Ted
On 4/1/26 9:53 AM, René Bock wrote:
If your d2w model name differs form the default name, of if it is
included in a custom frameworks, you may add it via the property:
er.directtoweb.ERD2WModel.additionalModelNames
eg.
er.directtoweb.ERD2WModel.additionalModelNames=(d2wClient.d2wmodel, Main.d2wmodel, ...)
3. René you said:
is your D2WContext instance corretly initialized? E.g. your d2w-Files may not be loaded...
Where would I do this? This is a B-Flat D2W app. I have
created many D2W apps and I never had to do anything to
initialize the D2WContext.
|