• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Another odd ERExcelLook oddity: email
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Another odd ERExcelLook oddity: email


  • Subject: Re: Another odd ERExcelLook oddity: email
  • From: David LeBer <email@hidden>
  • Date: Mon, 12 Oct 2009 17:54:18 -0400


On 2009-10-12, at 5:47 PM, Joe Little wrote:

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?

LHS:

(pageConfiguration like '*Excel*' and propertyKey = 'emailHardToReadPropertyName')

Use '=' in a LHS rule unless you are matching against a wildcard.

Also, you might find that you will want to make the LHS less restrictive because you want that field labeled "Email Address" everywhere, not just in your *Excel* components.

Finaly, I would recommend you learn how to parse and write rules in this format, as it is the standard you are likely to find in documentation everywhere:

PRIORITY : LHS => RHSK = RHSV [ASIGNMENT]

100: (pageConfiguration like "*Excel*" and propertyKey like "*Email") => componentName = "D2WString" [Assignment]


On Mon, Oct 12, 2009 at 2:43 PM, David LeBer
<email@hidden> 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@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 (Webobjects- 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






;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@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Another odd ERExcelLook oddity: email (From: Joe Little <email@hidden>)
 >Re: Another odd ERExcelLook oddity: email (From: Anjo Krank <email@hidden>)
 >Re: Another odd ERExcelLook oddity: email (From: Joe Little <email@hidden>)
 >Re: Another odd ERExcelLook oddity: email (From: David LeBer <email@hidden>)
 >Re: Another odd ERExcelLook oddity: email (From: Joe Little <email@hidden>)
 >Re: Another odd ERExcelLook oddity: email (From: David LeBer <email@hidden>)
 >Re: Another odd ERExcelLook oddity: email (From: Joe Little <email@hidden>)

  • Prev by Date: Re: Another odd ERExcelLook oddity: email
  • Next by Date: Re: JD update
  • Previous by thread: Re: Another odd ERExcelLook oddity: email
  • Next by thread: Build failed
  • Index(es):
    • Date
    • Thread