Re: [Zope] Reusing standard_html_header/footer

2000-07-07 Thread Michael Gutmann

On Thu, 6 Jul 2000, Bill Anderson wrote:

 Michael Gutmann wrote:
  
...

 Not quite sure I understand what you are trying to do but

...
Well, okay, not exactly, since we're talking acquisition not inheritance.
But, the idea is the same. He wants to display the previous
standard_html_header, with some additional stuff added, in his SubFolder's
standard_html_header.

--Jeff

Right, at least you got my point. But I didn't get Bill's Mail, or 
else I would have tried to explain it to him. Did it come over the list??

A little confused,
Michael

-- 
Michael Gutmann M.A.
[EMAIL PROTECTED]
Universitaetsrechenzentrum Heinrich-Heine-Universitaet Duesseldorf

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Reusing standard_html_header/footer

2000-07-06 Thread Jeff K. Hoffman

On Thu, 6 Jul 2000, Bill Anderson wrote:

 Michael Gutmann wrote:
  
  This is not a question, I think it's more a request for comment.
  
  Problem: I have the following structure of folders. The top folder has
  the global standard_html_header and acquisition has it, that it
  is usable in all the subfolders.
  
  /
standard_html_header
SubFolder1/
   SubFolder2/
  
  Now I have a small modification in my headers from SubFolder1 downwards.
  Well, there are many ways to cope with that problem, I want to do it
  that ways: I want to integrate the old standard_html_header into the
  new one I define in SubFolder1. Ok, that can look like this:
 

 Not quite sure I understand what you are trying to do but

I believe he is trying to do (in Java, because it's easiest for me to
express it, here):

public class StandardHtmlHeader
{
  public String render() {
return "Hello, World."
  }
}

public class SubStandardHtmlHeader extends StandardHtmlHeader
{
  public void render() {
return super() + " Woohoo!"
  }
}

Well, okay, not exactly, since we're talking acquisition not inheritance.
But, the idea is the same. He wants to display the previous
standard_html_header, with some additional stuff added, in his SubFolder's
standard_html_header.

--Jeff

---
Jeff K. Hoffman   704.849.0731 x108
Chief Technology Officer  mailto:[EMAIL PROTECTED]
Going Virtual, L.L.C. http://www.goingv.com/


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )