Lista dyskusyjna webobjects-dev@wocommunity.org wiadomość #272
Od: Walter Lo Nigro <webobjects-dev@wocommunity.org>
Temat: Custom WOComponent "not seeing" D2W entity attributes in Inspect page
Data: Thu, 7 Oct 2021 17:23:17 +0200
Do: WebObjects & WOnder Development <webobjects-dev@wocommunity.org>
Dane podpisane (Text SHA1)
Dear Listers,

Another (probably stupid) question for you…

In my D2W Wonder app I have an entity ‘Registro’ and set the InspectRegistro page to display a userPresentableDescription attribute. I have created a custom WOComponent called ‘RegistroDocente’ to display this attribute, basically extending AjaxGrid. I have obviusly set the relevant rule in d2w.d2wmodel and so far so good but...

I have also defined some fetch specifications in my EOModeler which use some $variables, and here’s the problem: I cannot find a way to get the RegistroDocente component to get hold of attributes in entity Registro, and I need them to get the fetch specifications working.

Am I supposed to bind these attributes/variables somewhere? Is there a specific EOEditingContext I must use for this? I am stunned :-/

Thank you for helping
Walter

***  Walter Lo Nigro, Trieste, Italy  -  http://www.wln.it  ***
***  Choral Activities, "G. Tartini" Conservatory, Trieste  ***
***  Freelance conductor, RiscOS/ROOL registered developer  ***

Zawartość niezmieniona potwierdzone przez:
presented certificate is issued by an unknown authority: <walter@lonigro.net>
Subskrybuj (FEED) Subskrybuj (DIGEST) Subskrybuj (INDEX) Zrezygnuj Napisz do administratora listy