Mailing List webobjects-dev@wocommunity.org Message #272
จาก: Walter Lo Nigro <webobjects-dev@wocommunity.org>
หัวเรื่อง: Custom WOComponent "not seeing" D2W entity attributes in Inspect page
วันที่: Thu, 7 Oct 2021 17:23:17 +0200
ถึง: WebObjects & WOnder Development <webobjects-dev@wocommunity.org>
Signed Data (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  ***

Content Unaltered as Verified By:
presented certificate is issued by an unknown authority: <walter@lonigro.net>
สมัครสมาชิก (ป้อนข้อมูล) สมัครสมาชิก (ไดเจสท์) สมัครสมาชิก (ดัชนี) ยกเลิกสมาชิก ส่งเมล์ถึงลิสต์มาสเตอร์