• 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: WOComponent Template
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: WOComponent Template


  • Subject: Re: WOComponent Template
  • From: Chuck Hill <email@hidden>
  • Date: Sat, 06 Mar 2004 10:41:26 -0800

pageWithName instantiates the page.  After that, it is the pages
responsibility to locate the template (which, BTW, is constructed from the
HTML and WOD)

At 07:14 PM 06/03/2004 +0100, Richard Bruch wrote:
>Thanks Chuck,
>
>quite subtle logic. I would rather prefer a kind of an explicit
>pageWithTemplate() function to associate them with each other so i hope
>template() is called by WO anytime it needs the template for the given
>component object. Otherwise it wouldn't be possible to implement customizing
>on a per-component basis.
>
>Richard
>
>----- Original Message -----
>From: Chuck Hill <email@hidden>
>To: Richard Bruch <email@hidden>; <email@hidden>
>Sent: Saturday, March 06, 2004 6:48 PM
>Subject: Re: WOComponent Template
>
>
>> Return it from the template() method.
>>
>>
>> At 12:19 PM 06/03/2004 +0100, Richard Bruch wrote:
>> >Hello List,
>> >
>> >we have several partners for whom we want to offer our solution in
>customized
>> >design.
>> >While the application logic, Java classes and .wod-files remain the same,
>the
>> >HTML and stylesheets can be quite different from case to case so it would
>be
>> >really cool if we were able to share common elements as far as possible.
>In
>> >the documentation i found the function WOComponent.templateWithHTMLString
>but
>> >i can't see where i should pass the WOElement object generated by it to
>> obtain
>> >a customized component.
>> >
>> >Thankfully,
>> >
>> >Richard
>> >_______________________________________________
>> >webobjects-dev mailing list | email@hidden
>> >Help/Unsubscribe/Archives:
>> http://www.lists.apple.com/mailman/listinfo/webobjects-dev
>> >Do not post admin requests to the list. They will be ignored.
>> >
>> >
>>
>> --
>>
>> Chuck Hill                                 email@hidden
>> Global Village Consulting Inc.             http://www.global-village.net
>>
>>
>
>

--

Chuck Hill                                 email@hidden
Global Village Consulting Inc.             http://www.global-village.net
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.


References: 
 >Re: WOComponent Template (From: Chuck Hill <email@hidden>)
 >Re: WOComponent Template (From: "Richard Bruch" <email@hidden>)

  • Prev by Date: xcode won't let me add files/web services demo does not work
  • Next by Date: Object Oriented Subclassing Question
  • Previous by thread: Re: WOComponent Template
  • Next by thread: Re: WOComponent Template
  • Index(es):
    • Date
    • Thread