• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Simple D2W Question.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Simple D2W Question.


  • Subject: Re: Simple D2W Question.
  • From: David LeBer <email@hidden>
  • Date: Sun, 18 Apr 2010 11:58:46 -0400

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@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Simple D2W Question.
      • From: James Cicenia <email@hidden>
References: 
 >Simple D2W Question. (From: James Cicenia <email@hidden>)

  • Prev by Date: Simple D2W Question.
  • Next by Date: raw SQL???
  • Previous by thread: Simple D2W Question.
  • Next by thread: Re: Simple D2W Question.
  • Index(es):
    • Date
    • Thread