--- Jonathan [EMAIL PROTECTED] skrev:
For whoever may be interested...
Amazon.com is finally shipping the second edition of
Philipp's book (ordered
Dec 6/06, shipped on Feb 24/07, arrived today!)
I got mine from amazon.co.uk ages ago. Well, you are
in for a good read then.
-Torvald
Alex Cheng wrote:
Thanks.
What 'trivial' are you referring to?
cheers,
Chris
--
Simplistix - Content Management, Zope Python Consulting
- http://www.simplistix.co.uk
___
Zope3-users mailing list
Zope3-users@zope.org
Jeff Shell schrieb:
[..]
I feel like I know enough to squeak by, but that's no longer
acceptable. Sometimes I quiver in terror, waiting for everything to
fall down because of something so seemingly basic like strings/text.
It may be a lot of technical debt, or it may be extremely easy to pay
Hi everybody.
I have this interface:
class INews(IPage):
A news page for the application.
date = Date(
title=_(uPublication Date),
description=_(uThe intended date for this news),
default=date.today(),
required=False
)
My problem is that I
Philipp von Weitershausen wrote:
Basil Shubin wrote:
Hi friends!
Hmm... strange thing...
With this code I got:
browser = Browser('http://localhost:8080/')
browser.addHeader('Authorization', 'Basic admin:admin')
browser.open('http://localhost:8080/manage')
Traceback (most recent call
On Thursday 01 March 2007 10:17, Basil Shubin wrote:
browser.addHeader('Authorization', 'Basic admin:admin')
This authorization is not correct. You need to use:
manager.addHeader('Authorization', 'Basic mgr:mgrpw')
At least this is the default.
Regards,
Stephan
--
Stephan Richter
CBU
I have this interface:
class INews(IPage):
A news page for the application.
date = Date(
title=_(uPublication Date),
description=_(uThe intended date for this news),
default=date.today(),
required=False
)
With formlib (in Five
Maciej Wisniowski schrieb:
I have this interface:
class INews(IPage):
A news page for the application.
date = Date(
title=_(uPublication Date),
description=_(uThe intended date for this news),
default=date.today(),
required=False
)
With
--- Raphael Ritz [EMAIL PROTECTED] wrote:
How about checking whether the value of 'default' is a
callable and if so call it to obtain the default value.
That way
defautl=date.today
(without the ())should do what Douglas expects (maybe
this is even the case already?).
I tried
How about checking whether the value of 'default' is a
callable and if so call it to obtain the default value.
Yup... but evaluation of this is done internally by Zope schema
package in Field class I think. Seems for me that there is no way
to define 'default' as callable.
--
Maciej
On Wed, Feb 28, 2007 at 09:08:03PM -0500, Gary Poster wrote:
It's been years since I dug into this, but I'm better than 90% sure
that the browser is expected to make its requests in the encoding of
the response (i.e., the one set by Content-Type). It's been too long
for me to tell you
Hi,
Am Donnerstag, den 01.03.2007, 16:54 +0100 schrieb Maciej Wisniowski:
How about checking whether the value of 'default' is a
callable and if so call it to obtain the default value.
Yup... but evaluation of this is done internally by Zope schema
package in Field class I think. Seems for
Stephan Richter wrote:
On Thursday 01 March 2007 10:17, Basil Shubin wrote:
browser.addHeader('Authorization', 'Basic admin:admin')
This authorization is not correct. You need to use:
manager.addHeader('Authorization', 'Basic mgr:mgrpw')
At least this is the default.
In most Zope 3
Hello,
has anyone yet developed a widget for displaying text as HTML and keeping the
linebreaks / paragraphs?
Like a text becomes:
Hello,br /
has anyone yet developed a widget for displaying text as HTML and keeping the
linebreaks / paragraphs?br /
pA paragraph/
when rendered.
Is something
If not, how would you implement it? (just the concept, not the code) ;-)
Take a look at 'Zope3 developer's handbook' by Stephan Richter (there is
online version I think). You'll find a example of custom HTML field and
widget there. It is not exactly what you're looking for but I think
it may be
Florian Lindner a écrit :
Hello,
has anyone yet developed a widget for displaying text as HTML and keeping the
linebreaks / paragraphs?
Like a text becomes:
Hello,br /
has anyone yet developed a widget for displaying text as HTML and keeping the
linebreaks / paragraphs?br /
isn't it just
Philipp von Weitershausen wrote:
Stephan Richter wrote:
On Thursday 01 March 2007 10:17, Basil Shubin wrote:
browser.addHeader('Authorization', 'Basic admin:admin')
This authorization is not correct. You need to use:
manager.addHeader('Authorization', 'Basic mgr:mgrpw')
At least this
17 matches
Mail list logo