On 2010-04-18, at 11:30 AM, James Cicenia wrote:
> Is it possible to just render a page without any,
> edit, list or query? In other words, a page with my
> own custom components?
>
> I was hoping to just call a return
> D2W.factory().pageForConfigurationNamed("UserHomePage", session());
>
> followed with rules to set UserHomePage pageName = "UserHomePage"
If your page isn't a D2W page then no.
However it is trivial to achieve what you want if you have access to a
d2wContext:
Rule:
true => userHomePageName = "UserHomePage"
Component Code:
return pageWithName(d2wContext().valueForKey("userHomePageName"));
;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
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [email protected]