Re: ERModernDirectToWeb relationship problem [SOLVED]
Re: ERModernDirectToWeb relationship problem [SOLVED]
- Subject: Re: ERModernDirectToWeb relationship problem [SOLVED]
- From: David LeBer <email@hidden>
- Date: Tue, 31 Aug 2010 08:54:48 -0400
On 2010-08-30, at 7:09 PM, Tim Worman wrote:
> I was wrong. I was able to solve this issue by giving the rule below a higher priority than that for my custom page wrapper. Previously my custom page wrapper rule was at 100. Thanks David for the help.
My session at WOWODC2010 on troubleshooting D2W rules should help you with this kind of issue in the future.
It will be released on video[*], so be sure to check it out.
[*] I am hesitant to say 'soon' as I do not want to commit to anything on Pascale's behalf.
;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
> Tim Worman
> UCLA GSE&IS
>
>
> On Aug 30, 2010, at 3:41 PM, Tim Worman wrote:
>
>> On Aug 24, 2010, at 8:24 AM, Tim Worman wrote:
>>
>>> On Aug 24, 2010, at 6:03 AM, David LeBer wrote:
>>>
>>>>
>>>> On 2010-08-24, at 3:36 AM, Tim Worman wrote:
>>>>
>>>>> I've set up an existing project to use ERModernDirectToWeb for some CRUD functionality. But I'm having a problem that I can't seem to solve by adjusting the rules. Wherever I view the detail on an entity (edit or inspect) all of the relationships display surrounded by a fully functioning page wrapper as defined using "
>>>>> pageWrapperName" in user.d2wmodel. The same page wrapper also properly wraps the entire page but I end up getting a full set of menus and menu header around every relationship.
>>>>>
>>>>> Thanks for any pointers.
>>>>
>>>> Do you have a rule like:
>>>>
>>>> 10 : pageConfiguration like '*Embedded*' => pageWrapperName = "ERDEmptyPageWrapper"
>>>>
>>>> ;david
>>>
>>> No, I don't. I just have the rule declaring pageWrapperName. I'll try that. I'll try it when I get back later today. I really appreciate the tips. D2W and the rule system are really foreign to me. This stuff is really great though.
>>
>>
>> OK, I'm revisiting this problem and the rule above doesn't address it. I've tried changing the priority of the rule as well. I've also tried implementing a custom page wrapper in a brand new project made from the modern template. It still demonstrates that the custom page wrapper is wrapping the page and every embedded relationship.
>>
>> Anyone have other ideas? I'm trying to get up to speed here on D2W but I'm still a little lost as to how to interrupt some processes.
_______________________________________________
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