Re: first foray into D2W
Re: first foray into D2W
- Subject: Re: first foray into D2W
- From: Theodore Petrosky <email@hidden>
- Date: Mon, 12 Dec 2011 11:33:01 -0800 (PST)
I attached a screen shot of what I am seeing, and it look nothing like what you showed.
What could I be missing? A framework (but shouldn't it complain if one were missing?)?
Thanks for the help.
Ted
--- On Mon, 12/12/11, David LeBer <email@hidden> wrote:
From: David LeBer <email@hidden>
Subject: Re: first foray into D2W
To: "Theodore Petrosky" <email@hidden>
Cc: "WebObjects Development" <email@hidden>
Date: Monday, December 12, 2011, 2:18 PM
That is weird.
ModernLook has css classes assigned to html elements out the wazoo.
Your list page should look something like this, if it doesn't then you the ModernLook page components are not being used.
D
--
David LeBer
Codeferous Software
On 2011-12-12, at 2:05 PM, Theodore Petrosky wrote:
I have a model (a framework). I specified a few rules:
(
100 : *true* => look = ModernLook [com.webobjects.directtoweb.Assignment],
100 : *true* => isEntityEditable = true [com.webobjects.directtoweb.BooleanAssignment],
100 : (task = 'list' and entity.name = 'Grid') => displayPropertyKeys = (center,comments,billing) [com.webobjects.directtoweb.Assignment]
)
and this works great. I add /wa/ListGrid to the end of the URL on my development box and it does what is expected. Perhaps it is the ModernLook but I am looking at the generated HTML and I don't see that the table cells are labeled with classes nor ids so I could hook into the css.
Am I working on the wrong direction?
Ted
-
--- On Mon, 12/12/11, David LeBer <email@hidden> wrote:
From: David LeBer <email@hidden>
Subject: Re: first foray into D2W
To: "Theodore Petrosky" <email@hidden>
Cc: "WebObjects Development" <email@hidden>, "David Holt" <email@hidden>
Date: Monday, December 12, 2011, 2:01 PM
Definitely,
CSS all the way. You can either add your own stylesheet and
override the base css in the skin framework, or you can
duplicate the skin framework to create your own.
The modern look components pretty much ignore any rules
that define element sizes, and if they *are* supported,
those values will be overridden by the css anyway.
--
David LeBer
Codeferous Software
On 2011-12-12, at 1:45 PM, David Holt wrote:
Hi Ted,
I would do the changes in CSS.
There are rules for some of that stuff, but they were
made in the pre-CSS days and therefore obsolete in my
opinion.
David
On 2011-12-12, at 10:42 AM, Theodore Petrosky wrote:
Thank you Ramsey Gurley for the Wonderful
presentation on embedded D2W. I finally have it working.
But I am trying to alter the look of the page. I
don't understand. Do I need to alter the underlaying css, or
am I supposed to create rules that relate to the width of
elements, or do I create css that overrides the underlaying
css.
Ted
_______________________________________________
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
Attachment:
Screen Shot 2011-12-12 at 2.29.50 PM.png
Description: PNG image
_______________________________________________
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