Re: Another odd ERExcelLook oddity: email
Re: Another odd ERExcelLook oddity: email
- Subject: Re: Another odd ERExcelLook oddity: email
- From: Joe Little <email@hidden>
- Date: Mon, 12 Oct 2009 14:36:53 -0700
Hmm.
LHS of (pageConfiguration like '*Excel*' and propertyKey like 'email')
RHSK is componentName
RHSV is "D2WString"
Assignment class is com.webobjects.directtoweb.Assignment
results in:
Error: com.webobjects.appserver._private.WODynamicElementCreationException:
: cannot find component or dynamic element named D2WString
Reason: <er.extensions.components._private.ERXSwitchComponent> :
cannot find component or dynamic element named D2WString
I'm either not correctly deciphering the syntax, or perhaps I'm
missing something in my classpath?
On Mon, Oct 12, 2009 at 2:23 PM, David LeBer
<email@hidden> wrote:
>
> On 2009-10-12, at 5:07 PM, Joe Little wrote:
>
>> Are the examples somewhere on setting the componentName, for example?
>> I'm trying to translate what you listed into rules (LHS, RHSK, RHSV,
>> Assignment) and am still stumbling.
>
> Something like:
>
> 100: (pageConfiguration like "*Excel*" and propertyKey like "*Email") =>
> componentName = "D2WString" [Assignment]
>
>>
>>
>> On Mon, Oct 12, 2009 at 10:59 AM, Anjo Krank <email@hidden> wrote:
>>>
>>> a) use displayNameForProperty
>>> b) set the componentName for email to D2WString
>>>
>>> Cheers, Anjo
>>>
>>>
>>>
>>> Am 12.10.2009 um 19:35 schrieb Joe Little:
>>>
>>>> I've been able to make reports left and right without issue, but
>>>> whenever I reference applicant.email, the results are blank in my
>>>> excel spreadsheets. The model has email as a varchar with an external
>>>> width or 200. If can display it fine any other way, but not via the
>>>> Wonder excel generation. I can get it to work by referencing
>>>> email.toString, but then my column name is "To String".
>>>>
>>>> I would love to know how to override the column names, but more
>>>> importantly, is there something unique about the keypath of email
>>>> (reserved word) or something else people have previously stumbled
>>>> upon?
>>>>
>>>> the d2w.d2wmodel file in the framework doesn't seem to reference any
>>>> column/title override, and the source for this seems minimal, so its
>>>> inheriting most functionality from ExcelGeneration which doesn't help
>>>> with the d2w rule stuff.
>>>> _______________________________________________
>>>> Do not post admin requests to the list. They will be ignored.
>>>> Webobjects-dev mailing list (email@hidden)
>>>> Help/Unsubscribe/Update your Subscription:
>>>>
>>>> This email sent to email@hidden
>>>
>>> _______________________________________________
>>> Do not post admin requests to the list. They will be ignored.
>>> Webobjects-dev mailing list (email@hidden)
>>> Help/Unsubscribe/Update your Subscription:
>>>
>>>
>>> This email sent to email@hidden
>>>
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Webobjects-dev mailing list (email@hidden)
>> Help/Unsubscribe/Update your Subscription:
>>
>>
>> This email sent to email@hidden
>
> ;david
>
> --
> David LeBer
> Codeferous Software
> 'co-def-er-ous' adj. Literally 'code-bearing'
> site: http://codeferous.com
> blog: http://davidleber.net
> profile: http://www.linkedin.com/in/davidleber
> twitter: http://twitter.com/rebeld
> --
> Toronto Area Cocoa / WebObjects developers group:
> http://tacow.org
>
>
>
>
>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden