Hi Ted,
Just happened to use this today and found your mail. In case you still - or
someone else will - need an example:
100 : (pageConfiguration like 'List*Person' and propertyKey = 'lastName' and
object.internalComment != null) => componentName =
"ERD2WFlyOverCustomComponent" [com.webobjects.directtoweb.Assignment]
100 : (pageConfiguration like 'List*Person' and propertyKey = 'lastName' and
object.internalComment != null) => customComponentName = "ERD2WDisplayString"
[com.webobjects.directtoweb.Assignment]
100 : (pageConfiguration like 'List*Person' and propertyKey = 'lastName' and
object.internalComment != null) => displayPropertyKeys = ("internalComment")
[com.webobjects.directtoweb.Assignment]
This will replace the component for "lastName" with an
ERD2WFlyOverCustomComponent if there is an "internalComment" and will display
the "internalComment" property in the fly-over.
Fabian
Am 31.01.2012 um 23:38 schrieb Mark Wardle:
> Ted: David and I are referring to the source code - not the comments in the
> source.
>
> Have a look at the WOD file, where the values come from. The clever thing you
> will notice is the lack of code, which is disturbing for most
> new-to-WebObjects people - but look at the superclasses and understand where
> the data comes from. Then I usually have a light-bulb moment.
>
> Mark
> On 31 Jan 2012, at 15:42, Theodore Petrosky wrote:
>
>> I would be happy to write something. I am trying to figure out the
>> ERD2WFlyOverCustomComponent. the source text sounds exactly like what I want.
>>
>> /**
>> * Displays a fly-over that shows a table with hidden property keys. It's
>> very cool in lists when
>> * you don't have enough space for all the items you'd want to show.
>> *
>> * @d2wKey propertyKey the key value to show as label (optional)
>> * @d2wKey label the string to show as label (optional)
>> * @d2wKey customComponentName the component to use as display for the
>> propertyKey when no label was given (optional)
>> * @d2wKey displayPropertyKeys the keys value to show in the table
>> *
>> * @author ak on Tue Feb 10 2004
>> * @project ERDirectToWeb
>> */
>>
>> Does one of the current D2W demo/instructional video come close to helping
>> me understand this? I have viewed them extensibly and I found that there was
>> a ton of information available in a rather compressed format (after viewing
>> 4 or 5 times).
>>
>> But I don't see anything that would help me here.
>>
>> Ted
>>
>>> From: David LeBer <[email protected]>
>>> To: Mark Wardle <[email protected]>
>>> Cc: James Cicenia <[email protected]>,
>>> WebObjects-Dev Mailing List
>>> List <[email protected]>
>>> Subject: Re: ERXD2WList
>>> Message-ID: <[email protected]>
>>> Content-Type: text/plain; charset=us-ascii
>>>
>>> +1
>>>
>>> The fastest way to get up to speed on any new D2W component
>>> is to read its source.
>>>
>>> Yes, I know, a copout, there should be documentation...
>>>
>>> But every time you learn something new you can write some
>>> right?
>>>
>>> ;-)
>>>
>>> D
>>>
>>> --
>>> David LeBer
>>> Codeferous Software
>>>
>>> On 2012-01-31, at 4:30 AM, Mark Wardle wrote:
>>>
>>>>
>>>> I can't remember this from the top of my head but the
>>> easy way to is look at the source of these components.
>>> They're self-documenting really and you can sometimes find
>>> keys that you didn't know existed to tweak functionality
>>> etc.
>>>>
>>>> b/w
>>>>
>>>> Mark
>>>>
>>>> On 31 Jan 2012, at 03:46, James Cicenia wrote:
>>>>
>>>>> How do I style this page and how can I turn on and
>>> off headers, ajax, etc?
>>>>>
>>>>> Is this controlled by ERModernLook?
>>>>>
>>>>> Thanks
>>>>>
>>>>> James
>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Do not post admin requests to the list. They will
>>> be ignored.
>>>>> Webobjects-dev mailing list ([email protected])
>>>>> Help/Unsubscribe/Update your Subscription:
>>>>> https://lists.apple.com/mailman/options/webobjects-dev/mark%40wardle.org
>>>>>
>>>>> This email sent to [email protected]
>>>>
>>>> --
>>>> Dr. Mark Wardle
>>
>>
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Webobjects-dev mailing list ([email protected])
>> Help/Unsubscribe/Update your Subscription:
>> https://lists.apple.com/mailman/options/webobjects-dev/mark%40wardle.org
>>
>> This email sent to [email protected]
>
> --
> Dr. Mark Wardle
> Consultant Neurologist, University Hospital Wales, Cardiff, UK
> Honorary Lecturer, Cardiff University
> Email: [email protected] or [email protected]
> Telephone: 02920745274 (secretary) or facsimile: 02920744166
>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list ([email protected])
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/webobjects-dev/lists.fabian%40e-lumo.com
>
> This email sent to [email protected]
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [email protected]