Re: [Zope-dev] Structure-text : html

2001-09-21 Thread R. David Murray

On Thu, 20 Sep 2001, Jens Vagelpohl wrote:
 AFAIK this is the right behavior and not a bug. you ask for the
 StructureText document to be rendered and you inform the rendering
 machinery that the document is in structured text. the rendering process
 will output HTML.

 i think what you want is to simply say dtml-var StructureTextDoc without
 the fmt flag. that should get you the raw structured text. the rendering
 process then assumes the document is already in some kind of HTML format
 and does not try to generate HTML tags.

 On Thursday, September 20, 2001, at 07:14 , Sin Hang Kin wrote:
  When I use dtml-var StructureTextDoc fmt=structured-text
 
  I got html /html in the result. Are there any reason that it should be
  there? I wounder how can structured text generate valid html or be used in
  wap applications.

I think you misread what Sin Hang Kin was getting at.  Consider:

dtml-var standard_html_header
dtml-var StructuredTextDoc fmt=structured-text
dtml-var standard_html_footer

Yes, you want StructuredTextDoc to be output using html formatting.
But what you *don't* want is to have html/html (or header or
body) tags; those are all handled by standard_html_header/footer.

Unless nesting html documents inside html documents is allowed by
the html standards?  And supported correctly (for some useful
definition of correctly) by almost all browsers?

--RDM


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



[Zope-dev] Simple question about namespaces

2001-09-21 Thread Sidnei da Silva

Hello everyone,

Im trying to do something like this:
when a user access:
http://www.mysite.com/somefolder
i wish to return:
http://www.mysite.com/onefolder/anotherfolder/somefolder
but do this in a transparent form, without redirecting the user. I guess, by 
calling the somefolder in the context of onefolder/anotherfolder. Maybe 
by overriding __bobo_traverse__

Hope you can help me this time, cause the other questions I have asked to 
this list where not answered by anyone.

Thanx in advance.

-- 
Sidnei da Silva
X3ng Consultoria e Desenvolvimento Ltda.
[EMAIL PROTECTED]

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



Re: [Zope-dev] Simple question about namespaces

2001-09-21 Thread Sidnei da Silva

Hello Antonio, 

Actually, the problem can not be solved by the Virtual Host Product, for what 
i know. Let me explain the situation:
Im trying to create something like a Template Folder, that contains some 
folders with images, some DTML Methods that create menus and the like, and a 
Content Folder, that contains the Content itself. I can have Templates that 
have just specialized parts of the template and look over at the Main 
Template folder, in case of not found some object at the Specialized 
Template. 

Im having trouble at two points: 
* First, in making the Specialized Template look over at the Main Template 
under not found some content (like i said, the specialized content may 
containt one or two images inside a images folder). Ive tried doing this by 
overriding the __bobo_traverse__ method of the Specialized Template, but it 
not worked.

* Second, when i call the Content Folder, it is needed to apply the template 
to it. The content has a property that says what is the Specialized Template 
that has to be applied when calling it, so, when i call:

http://www.mysite.com/ContentFolder

i need to apply the template to the folder, maybe calling:

http://www.mysite.com/MainTemplate/SpecializedTemplate/ContentFolder

But i wish to do this by code, instead of redirecting the user to this url.

Hope you understand what ive explained here, and if cannot help me, maybe can 
tell me who can help me.

Thanx

Em Friday 21 September 2001 10:00, you wrote:
 This is not an answer. But you can find information, in how to´s, Zope Help,
 or Products Help. Look for Virtual Host Product.
 
 Antonio Carrasco
 
 ¿The other question?
 
 - Original Message -
 From: Sidnei da Silva [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Friday, September 21, 2001 2:08 PM
 Subject: [Zope-dev] Simple question about namespaces
 
 
  Hello everyone,
 
  Im trying to do something like this:
  when a user access:
  http://www.mysite.com/somefolder
  i wish to return:
  http://www.mysite.com/onefolder/anotherfolder/somefolder
  but do this in a transparent form, without redirecting the user. I guess,
 by
  calling the somefolder in the context of onefolder/anotherfolder.
 Maybe
  by overriding __bobo_traverse__
 
  Hope you can help me this time, cause the other questions I have asked to
  this list where not answered by anyone.
 
  Thanx in advance.
 
  --
  Sidnei da Silva
  X3ng Consultoria e Desenvolvimento Ltda.
  [EMAIL PROTECTED]
 
  ___
  Zope-Dev maillist  -  [EMAIL PROTECTED]
  http://lists.zope.org/mailman/listinfo/zope-dev
  **  No cross posts or HTML encoding!  **
  (Related lists -
   http://lists.zope.org/mailman/listinfo/zope-announce
   http://lists.zope.org/mailman/listinfo/zope )
 
 
 

-- 
Sidnei da Silva
X3ng Consultoria e Desenvolvimento Ltda.
[EMAIL PROTECTED]

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



Re: [Zope-dev] DISCUSS: Community checkins for CVS

2001-09-21 Thread Joachim Werner

Hi Paul! Hi list!

In the last couple of weeks I have really looked forward for the CVS to be
finally opened. Not that I would be the first to be accepted as a
contributor (my Python is still lousy, as Stephan Richter could tell you
...), but I read things from ZC like We are too busy to get contributed
patches from the tracker into the CVS! and on the other hand guys like
Martijn Faassen begging for being allowed to help ...

So this decision will be the beginning of a new Zope age ;-)

What I haven't found on the CVS site yet is anything about peer-reviewing
contributions before they go into the main tree. While I sometimes have the
feeling that there are fixes from ZC people that should NOT have made it
into a release, there are many patches from the community that are not
getting into a release for a long time (this is not a very scientific
statement, just my personal feeling).

We need rules like NO FIXES BETWEEN FINAL BETA AND RELEASE (Absolutely no
fixes I mean) -- and those rules should apply to everybody.

We maybe also need an improved process for designing new API extensions etc.
One case for that is the Zope Internationalization Project
(http://www.eurozope.org/zip/FrontPage), which better sooner than later
should become a core project. I have the feeling that with the current Wiki
approach it will take ages to agree on a syntax for internationalization in
Zope. I don't mean that we need a single implementation. But we need an
agreed-on syntax that is part of the standard Zope package, so that a ZPT or
DTML Method will not break if it uses translation tags.

Joachim


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



Re: [Zope-dev] DISCUSS: Community checkins for CVS

2001-09-21 Thread Paul Everitt


This is a good point, and one that we need to settle on pretty quickly. 
  The language is an artifact from the Mozilla contributor form, which 
served as the starting point for this.  We intended to follow it, but 
with the advent of the joint ownership idea (which came late in the 
process), we might want to revisit it.

Either way, I'll get an answer for you, thanks!

--Paul

Morten W. Petersen wrote:

 On Thu, 20 Sep 2001, Paul Everitt wrote:
 
 
So, let's begin what I'm sure will be a lively and illuminating
discussion. :^)

 
 First man out?  :-)
 
 Will a ZPL-ish license [1] be accepted (declared, ref. paragraph
 4 of the Zope Contributor Agreement) by the Zope Corporation?
 
 [1] http://www.thingamy.org/tpl
 
 -Morten
 
 




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



Re: [Zope-dev] Simple question about namespaces

2001-09-21 Thread Dieter Maurer

Sidnei da Silva writes:
  Im trying to do something like this:
  when a user access:
  http://www.mysite.com/somefolder
  i wish to return:
  http://www.mysite.com/onefolder/anotherfolder/somefolder
  but do this in a transparent form, without redirecting the user. I guess, by 
Seems to call for a SiteAccess2 AccessRule


Dieter

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



Re: [Zope-dev] DISCUSS: Community checkins for CVS

2001-09-21 Thread Dieter Maurer

R. David Murray writes:
  ...
  So, the many small contributions that make a bazaar software project
  tend rapidly toward high quality, which is one of the things I got
  the impression you are trying to achieve by opening up the CVS
  repository, may not materialize under this Agreement.  We'll have
  just about the same situation we have now, except that there will
  be more committers and therefore, one hopes, an increase in the
  pace of (controlled) change.  An improvement, yes, but can we do
  even better?
I think (and indeed I really hope) that your anxiety is not founded.

  The Zope Contribution Initiative took Python as model.
  There, you have beside contributors a bug tracking system
  where problems can be reported and patches posted to.

  I do not know the details of Python development process,
  especially the legal agreements behind it.
  But somehow, it seems to work...



Dieter

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



Re: [Zope-dev] DISCUSS: Community checkins for CVS

2001-09-21 Thread Paul Everitt


I'll reply in more depth later (on the way out for my b-day dinner), but 
in short: I think the issue of overhead on patches is something for us 
to consider.  We won't do something that breaks the integrity of the 
code base, but there might be ample discussion directions.  Thanks!

--Paul

Dieter Maurer wrote:

 R. David Murray writes:
   ...
   So, the many small contributions that make a bazaar software project
   tend rapidly toward high quality, which is one of the things I got
   the impression you are trying to achieve by opening up the CVS
   repository, may not materialize under this Agreement.  We'll have
   just about the same situation we have now, except that there will
   be more committers and therefore, one hopes, an increase in the
   pace of (controlled) change.  An improvement, yes, but can we do
   even better?
 I think (and indeed I really hope) that your anxiety is not founded.
 
   The Zope Contribution Initiative took Python as model.
   There, you have beside contributors a bug tracking system
   where problems can be reported and patches posted to.
 
   I do not know the details of Python development process,
   especially the legal agreements behind it.
   But somehow, it seems to work...
 
 
 
 Dieter
 




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



Re: [Zope-dev] DISCUSS: Community checkins for CVS

2001-09-21 Thread Michael R. Bernstein

On Fri, 2001-09-21 at 15:51, Paul Everitt wrote:
 
 I'll reply in more depth later (on the way out for my b-day dinner)

Hey, happy birthday, Paul!

Michael Bernstein.


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