Mailing List webobjects-dev@wocommunity.org Message #351
From: Markus Ruggiero (rucotec) <markus.ruggiero@rucotec.ch>
Subject: Re: [WO-DEV] Creating property key
Date: Sun, 2 Jan 2022 10:25:47 -0500
To: WebObjects & WOnder Development <webobjects-dev@wocommunity.org>
Signed Data (Text SHA256)
Sure, just use the method’s name in a rule. Key-Value-Coding (which is at the heart of D2W) will take care of the rest. Nothing else needed.

---markus---

On 1 Jan 2022, at 16:35, Theodore Petrosky <tedpet5@yahoo.com> wrote:

I have entities with various attributes. As example person with a firstname and a lastname. I want to create an accessor like:

public String fullName() {
return firstName().substring(0,1) + ". " + lastName();
}

But I want to access this fullName in a D2W app with a rule in rulemodeller.

Is this doable?

This is a simplified example. I have others that I need to process the attributes differently but I hope this is doable.

Ted
#############################################################
This message is sent to you because you are subscribed to
 the mailing list <webobjects-dev@wocommunity.org>.
To unsubscribe, E-mail to: <webobjects-dev-off@wocommunity.org>
To switch to the DIGEST mode, E-mail to <webobjects-dev-digest@wocommunity.org>
To switch to the INDEX mode, E-mail to <webobjects-dev-index@wocommunity.org>
Send administrative queries to  <webobjects-dev-request@wocommunity.org>



Markus Ruggiero


rucotec GmbH                        web https://rucotec.ch
Steinenvorstadt 79                email markus.ruggiero@rucotec.ch
4051 Basel / Switzerland         mobile +41 79 508 4701








Content Unaltered as verified By:
<markus.ruggiero@rucotec.ch>
Subscribe (FEED) Subscribe (DIGEST) Subscribe (INDEX) Unsubscribe Mail to Listmaster