Bingo.. And if I wanted to rename a column, it would be something like:
LHS of (pageConfiguration like '*Excel*' and propertyKey like 'emailHardToReadPropertyName') RHSK is displayNameForProperty RHSV is "Email Address" Assignment class is com.webobjects.directtoweb.Assignment correct? On Mon, Oct 12, 2009 at 2:43 PM, David LeBer <[email protected]> wrote: > Try: D2WDisplayString > > On 2009-10-12, at 5:36 PM, Joe Little wrote: > >> 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 protected]> 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 protected]> 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 protected]) >>>>>> Help/Unsubscribe/Update your Subscription: >>>>>> http://lists.apple.com/mailman/options/webobjects-dev/anjo%40krank.net >>>>>> >>>>>> 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: >>>>> >>>>> >>>>> http://lists.apple.com/mailman/options/webobjects-dev/jmlittle%40gmail.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: >>>> >>>> >>>> http://lists.apple.com/mailman/options/webobjects-dev/dleber_wodev%40codeferous.com >>>> >>>> This email sent to [email protected] >>> >>> ;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 >>> >>> >>> >>> >>> > > ;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 protected]) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [email protected]
