I never used the ERModernLook all that much. If you get a d2wContext,
does valueForKey("look") return the value you expect? If it doesn't,
then it seems like your user.d2wmodel isn't being found, either due to a
mispelling in the file name or because your resources directory isn't
being included properly in your build.
If you put it in src/main/resources, but did not include the fake maven
nature in your .project, it won't be found. If you are using fluffy
bunny layout where it is in Resource/ and you DO have the fake maven
nature in .project, it also won't be found.
On 1/29/25 10:45 AM, Theodore Petrosky via Webobjects-dev wrote:
<dependency>
<groupId>wonder.d2w</groupId>
<artifactId>ERModernLook</artifactId>
<version>7.4</version>
</dependency>
Indeed adding that added ERModernLook and ERModernDirectToWeb jars
and changing user.d2mmodel to:
(
100 : *true* => look = "ERModernLook"
[com.webobjects.directtoweb.Assignment]
)
No Joy
I’m almost there… I’m hoping Ramsey Gurley might see this and shed
some light on what I am missing. ☹️
I’m also afraid that with no D2W people around, my calls for help will
go unanswered…...
On Jan 28, 2025, at 5:17 PM, Paul Hoadley <pa...@logicsquad.net> wrote:
On 29 Jan 2025, at 01:43, Theodore Petrosky <tedp...@yahoo.com> wrote:
When I create a new project, this is what I see:
1. Properties available showes wonder 7.2 how do I access 7.4? Do I
just change the 7.2 to 7.4?
Yes!
2. I can change the look to “ModernLook” but it appears the
ModerLook libraries are not in the build path. How do I add them?
What else? Little stuff, but I can ask questions about that later.
For right now, I just wanna get modern look to load.
It's been quite a while since I've touched D2W, but I imagine it's
just a matter of adding the dependency to your POM. Eyeballing the
source, I assume you need to add this to your POM:
<dependency>
<groupId>wonder.d2w</groupId>
<artifactId>ERModernLook</artifactId>
<version>7.4</version>
</dependency>
When using Maven, the answer to any question of the form "How do I
use Foo in my project?" is going to be "Add Foo as a dependency in
your POM".
--
Paul Hoadley
https://logicsquad.net/
https://www.linkedin.com/company/logic-squad/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/ramseygurley%40gmail.com
This email sent toramseygur...@gmail.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to arch...@mail-archive.com