Re: first foray into D2W
Re: first foray into D2W
- Subject: Re: first foray into D2W
- From: Jesse Tayler <email@hidden>
- Date: Mon, 12 Dec 2011 17:22:16 -0500
did you check the debug rule firing output, just to be sure your rules are in fact the highest priority for their logical scope and the ones that are in fact being fired?
D2W can sometimes be hard to figure because rule conflicts are silent and results, unreliable.
e.g., two rules at priority 100 with the same logical scope can cause unreliable or arbitrary results in return values at runtime.
On Dec 12, 2011, at 4:41 PM, Theodore Petrosky wrote:
> I followed the D2W embedded example.
>
> I created a sample Wonder App. then added D2W. Since it is not working correctly, I created a Wonder D2S app just to see what it would look like and it resembles the 'good' screen shot from David.
>
> I checked the Java build path from the good app and compared it to the path of my 'bad' app and they are the same. I cleaned my app and tried it again, but still no joy.
>
> Where else should I look for this blinding binding error.
>
>
> --- On Mon, 12/12/11, Jesse Tayler <email@hidden> wrote:
>
>> From: Jesse Tayler <email@hidden>
>> Subject: Re: first foray into D2W
>> To: "Theodore Petrosky" <email@hidden>
>> Cc: "David LeBer" <email@hidden>, "WebObjects Development" <email@hidden>
>> Date: Monday, December 12, 2011, 2:38 PM
>> you have an old look AND you have the
>> debugging UI on where you can see element areas -- this you
>> can turn off using a debug toolbar in the corner of the page
>> during development.
>>
>> are you linking to the modern frameworks as well as setting
>> the rules to turn them on?
>>
>> On Dec 12, 2011, at 2:33 PM, Theodore Petrosky wrote:
>>
>>> 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<Screen
>> Shot 2011-12-12 at 2.29.50 PM.png>
>> _______________________________________________
>>> 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