Re: [Zope] dtml-with syntax question

2000-10-12 Thread \Geoffrey L. Wright\ Geoffrey L. Wright

Chris Withers writes:
  "Geoffrey L. Wright" wrote:
   
   Where objectName2 is actually an attribute of objectName1.
  
  
   dtml-with objectName1
   dtml-var attribute1
   dtml-var attribute2
   dtml-var attribute3
   dtml-with objectName2
  dtml-var attribute1
   /dtml-with
   /dtml-with
  
  The above should now work...
  
  ...if it doesn't please explain in what way ;-)
 
Hmmm...  OK.  Here is my relevant code, complete with resulting error message:

dtml-with sidebar_item

  dtml-var attribute1
  dtml-var attribute2
  etc...
 
  dtml-with gsi_content
dtml-with inventory
  dtml-with attribute3
dtml-var short_desc
  /dtml-with
/dtml-with
  /dtml-with

/dtml-with sidebar_item

And Zope sez:

  Error Type: KeyError
  Error Value: short_desc

attribute1, attribute2 and attribute3 are all attributes of
sidebar_item.  If I change the dtml-with attribute3 to read 
dtml-with weepee_the_weewee (where weepee_the_weewee is the actual
name of the object I'm trying to refer to), then  I see the short_desc
attribute of weepee_the_weewee perfectly.

Don't I have to do something in my syntax to indicate that I'm looking
for the the value of attribute3 rather than an object with the literal
id "attribute3"?

  cheers,
  
  Chris

Dazed  Confused,

//glw

___
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] Using ProxyPass and SiteRoot

2000-10-12 Thread \Geoffrey L. Wright\ Geoffrey L. Wright

knight writes:

  Timothy,
  
  Without going into too much detail, you are going to want to set up a
  virtual host in apache for the hostname www.isd197.k12.mn.us, and inside
  that virtual host you will want to add your ProxyPass lines similar to my
  example:

[...]

And just for reference, here's another working example with ProxyPass:

  NameVirtualHost 172.17.10.13

  VirtualHost 172.17.10.13
  ServerName syslog.integritysi.com
  ServerAdmin [EMAIL PROTECTED]
  ProxyPass / http://vishnu.integritysi.com:8080/syslog/
  ProxyPassReverse / http://vishnu.integritysi.com:8080/syslog/
  ProxyPass /misc_ http://vishnu.integritysi.com:8080/misc_
  ProxyPass /p_ http://vishnu.integritysi.com:8080/p_
  ErrorLog logs/syslog.integritysi.com
  TransferLog logs/syslog.integritysi.com
  /VirtualHost

Good luck, and don't forget to enable the ProxyPass module.


//glw

___
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 )




[Zope] non-Zope object attribute admin interface

2000-10-12 Thread \Geoffrey L. Wright\ Geoffrey L. Wright

Kindly Zopistas:

Am curious how to go about building an "alternate Property Sheet View" for
custom ZClasses.  The default view is great for me and other
developers, but I need to build the something that looks a bit more
customer-friendly.

I spend about 20 minutes looking around the Zope site, but haven't yet
turned about any useful information.  Perhaps somebody could point me
to a relevant HOWTO or some example code?

Many thanks!



//glw

___
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 )