On Thu, 01 Jun 2006 15:36:59 +0200, Marco Mariani wrote:
> Stephan Richter wrote:
>
>>> Just curious... what is it about AJAX that you hate? The
>>> implementation? The concept? Something else?
>>
>> About everything. JS has no good development tools, it is impossible to
>> do decent debugging a
On Thu, 01 Jun 2006 16:05:53 -0400, Stephan Richter wrote:
> I think providing widgets for missing source fields would be fantastic.
I've already done this - see changes in Zope 3.3. Now I'm trying to get
AJAXish things happening with widgets ... with some success!
__
On Thu, 2006-06-01 at 12:27 +0200, Florent Guillaume wrote:
Thierry FLORAC wrote:
> I've build a simple adapter that modifies context properties through
> annotations ; everything works fine.
> In several cases, when some attributes are updated, I do a
> "notify(ObjectModifiedEvent(self.conte
no problem anymore, that was a while back. it's been working
correctly for quite some time. if you check the later posts, I did
exactly what you suggest, and use session credentials. it then had an
issue where it assumed that the form always called the fields "login"
and "password" so I overrod
Philipp von Weitershausen wrote:
> > >>> from zope.lifecycleevent.interfaces import ObjectModifiedEvent
> > >>> from zope.event import notify
> > >>> notify(ObjectModifiedEvent(myobj))
I see, thanks. I missed the notify() because I override
handle_edit_action() without calling super(), and
On 6/1/06, Stephan Richter <[EMAIL PROTECTED]> wrote:
Yes, the PO file format is totally independent of Zope and Python.
However, the directory structure is not independent of which i18n
implementation you have. ;) Five and Zope3 uses the same one, though:
/LC_MESSAGES/.mo
I think Plone uses
On Monday 15 May 2006 15:36, Paul Everitt wrote:
> Hi all. I did a couple of screencasts for Zope 3:
>
> http://zeapartners.org/scl/2006/04/25/z3-install/index.html
> http://zeapartners.org/scl/2006/04/25/z3-helloworld/index.html
>
> The first one is primarily a way for me to remember how to
On Thursday 30 March 2006 13:16, Alec Flett wrote:
> So everything looks right to me - I wish I could offer more! I consider
> myself a reasonably skilled Python developer but this is my first foray
> into Zope
The code looks okay. Unfortunately, the messageboard code was written for Zope
3.0 and
On Thursday 01 June 2006 16:32, luis wrote:
> well... there was a follow-up on this thread...
> it seems like (if the object doesnt provide ILocation), the marker
> interfaces are not attached to the object itself, but to a ContainedProxy
> object which wraps the real object, and that makes problem
On Tuesday 28 March 2006 20:55, David Johnson wrote:
> Does anyone have an ILoginPassword/BasicAuthAdapter implementation? I
> posted earlier, but no-one responded. I am stumped on this one.
>
> I implemented the example from Phillip's book with no success. Various
> attempts to correct the appar
Hi,
Stephan Richter wrote:
> The code looks good. Are you really sure IMarker is not provided? Maybe
> another piece of code calls directlyProvides(), which would override this
> call. You should pretty much always use alsoProvides, since it does not
> delete the existing directly provided inte
On Sunday 23 April 2006 11:27, David Johnson wrote:
> I'm using formlib and trying to implement a validator on a new-use sign up
> form. It seems to work unless I provide my own widget errors. Below is my
> validator. The code is being executed (I can see my debug code). Any
> ideas? What am I no
On Thursday 20 April 2006 09:38, Florian Lindner wrote:
> but formlib generates the two fields with name="form.login" therefore the
> session credentials plugin is able to extract the credentials.
>
> How can I use formlib to generate a login form?
I think we used a custom written form. ;-) But yo
On Tuesday 09 May 2006 09:33, Helman R. Valencia B. wrote:
> When I Start a Zope 2.7.5, the Hostname is the same of my computer, and
> when I Start a Zope 3.2.0 the Hostname is "localhost" (reserved word). Is
> possible to change that name in Zope 3.2.0? because in the Intranet I can't
> access the
On Monday 08 May 2006 04:36, Achim Domma wrote:
> Is there still a problem with Zope 3, WebDAV and Windows? Any hint how
> to edit objects via Microsoft Word or OpenOffice Writer?
Zope 3 and Zope 2's implementation of WebDAV are somewhat different. Recently
Michael Kerrin has worked on WebDAV, so
On Sunday 30 April 2006 13:52, Florian Lindner wrote:
> I want to define an vocabulary schema field with a fixed sets of values.
> How can I do that? How can I define it directly in ZCML?
I would not define such thing in ZCML, use Python instead:
from zope.schema import vocabulary
vocab = vocabu
On Tuesday 25 April 2006 01:19, Nicolas Legault wrote:
>
> file:filename
> desc:description
>
>
> Is there someone who can tell me the correct way to do this ?
When you iterate over a dictionary/mapping such as a folder, you iterate over
its keys, not its values. Thus, item is just a stri
Hi Stephan. For sure! Thanks for your reply.
Regards,
David
Stephan Richter wrote:
On Friday 26 May 2006 09:11, David Pratt wrote:
Hi. For the use of interfaces outside of zope.app, does getUtility have
any value? Many thanks.
getUtility is provided by zope.component. If you use zope.interf
Philipp von Weitershausen wrote:
[EMAIL PROTECTED] wrote:
Hi, I need to send some rich-text (HTML) mail, containing information
based on many objects. It would be nice to render it using ZPT
provided by Zope instead of manual creation of HTML text.
Can I (ab)use ZPT for such purpo
On Sunday 23 April 2006 19:42, luis wrote:
> I'm having problems getting interface.directlyProvides to work...
>
> does anyone know why the following code doesn't work (file is created, but
> it doesnt provide the IMarker interface...)
The code looks good. Are you really sure IMarker is not provid
On Thursday 20 April 2006 14:12, Joseph Turian wrote:
> [Posting this to twisted and zope3 user, since I'm not sure which is
> more germane]
>
> I just install zope 3.2.0 on Gentoo.
> I then manually configured a zope instance in /var/lib/zope/zope-3.2.0/
> When I access the zope server at 192.168.
Stephan Richter wrote:
On Friday 21 April 2006 13:11, David Pratt wrote:
I hoping to feed the configuration data as dictionary or similar instead
of providing a config option and file path. Many thanks.
I think the startup machinery depends on the options object. You basically
would have to w
On Tuesday 18 April 2006 10:44, Marco Mariani wrote:
> Should I set form_fields['photo'].custom_widget ? To what?
You have several choices, though this is a good one. I am not sure that there
is an ImageWidget, but I think there is a file one. In one of my latest
projects, we wrote some custom c
On Saturday 15 April 2006 23:36, Sam Stainsby wrote:
> From looking the Zope 3 code, I suspect that the full set of widgets is
> not yet available for sources?
That's correct. You are very brave using sources. I still have not understood
them. I happily use vocabularies, still. ;-)
> Or have I g
On Saturday 15 April 2006 15:28, Achim Domma wrote:
> Is there a simple example on how to setup a sub-site with a PAU and to
> allow login to a principal from this PAU.
I think the major problem here is that you user is not allowed to traverse
from "main" to "demo1". Give the user at least enough
On Wednesday 12 April 2006 12:54, Pete Taylor wrote:
> i have built a credentials plugin and an authenticator plugin, and set
> them up in my PAU. i built the credentials plugin such that if no
> credentials a recieved in the request, it checks the cookies for the
> expected credentials, and if th
On Wednesday 12 April 2006 12:27, David Pratt wrote:
> Hi. I had written a repository product in zope2 for blobs. I am looking
> at bringing this into Z3 at the moment and looking for equivalent for
> stream iterator of zpublisher.
In Zope 3 you can now return IResult objects. The publisher then k
On Wednesday 12 April 2006 11:44, David Pratt wrote:
> In any case. Thought I'd ask since I am concerned about the efficiency
> of storage and speed of access both. If rdf access was fast then it
> would be great but this had not been the case. I just thought there may
> be some other ideas on this
On Friday 21 April 2006 13:11, David Pratt wrote:
> I hoping to feed the configuration data as dictionary or similar instead
> of providing a config option and file path. Many thanks.
I think the startup machinery depends on the options object. You basically
would have to write code that creates
On Friday 14 April 2006 11:00, Stéphane Brault wrote:
> I'm trying to use formlib but I get a problem :
> Traceback (most recent call last):
> File "", line 1, in -toplevel-
> print MyForm(None, request)()
> File "", line 6, in __call__
> widgets = form.setUpWidgets(self.form_fiel
On Sunday 16 April 2006 15:17, Jeff Rush wrote:
> Perhaps most of you already know this but it bit me this week. For my
> project I've noticed some sluggish presentation of pages, and a lot of
> container queries flying around for very simple pages. It turns out to be
> Javascript code (singleBra
On Sunday 16 April 2006 10:57, Egon Frerich wrote:
> > ConfigurationError: No registered publisher found for (GET/)
>
> Can someone tell me what is missing?
I have never encountered this problem.
Regards,
Stephan
--
Stephan Richter
CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. studen
On Wednesday 29 March 2006 05:46, Marco Mariani wrote:
> The custom widget will then render all the tree in a javascript object
> (dictionary of dictionaries of dictionaries) which will fill and change
> the dropdown menus accordingly. As an improvement, the tree nodes can be
> retrieved by XmlHttp
On Tuesday 28 March 2006 11:13, Joel Moxley wrote:
> What's the best way to pass around a file object with open permissions?
Either declare the file as a rock or do the following:
Regards,
Stephan
--
Stephan Richter
CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web
On Tuesday 28 March 2006 09:19, Florian Lindner wrote:
> is there a ZPT traverser for finding the nearest site in Zope3?
>
> register
>
> because registrationForm is registered in my object which forms the site.
No there is not. Use the view class to look up the site using
zope.app.component.hook
On Friday 24 March 2006 00:04, José Ernesto Guzmán Villeda wrote:
> Hello, I used to use the module ZTUtils for Batching in zope 2, but now
> we don't have that possibility in Zope3, is there any other module to work
> with batching?
So far no standard batching module has been provided. But writ
Philipp von Weitershausen wrote:
> [EMAIL PROTECTED] wrote:
>> Hi, I need to send some rich-text (HTML) mail, containing information
>> based on many objects. It would be nice to render it using ZPT
>> provided by Zope instead of manual creation of HTML text.
>>
>> Can I (ab)use ZPT for such purpos
[EMAIL PROTECTED] wrote:
> Hi, I need to send some rich-text (HTML) mail, containing information
> based on many objects. It would be nice to render it using ZPT
> provided by Zope instead of manual creation of HTML text.
>
> Can I (ab)use ZPT for such purpose? I need to design ZPT template and
>
Marco Mariani wrote:
> I've never used events.
>
> I've subscribed to modification events on my objects:
>
> handler=".events.modifiedObject" />
>
>
>
> Unfortunately, modifiedObject() only gets called when new children are
> inserted (IMyObject provides IContainer)
>
> I do
On Monday 01 May 2006 17:04, Garanin Michael wrote:
> I use Zope3-trunk (with 'Twisted'-instance). I want use
> 'thread.get_ident' for identify requests (and use with 'zope.thread'),
> but 'thread.get_ident' always return one value and 'zope.thread' return
> always one result. Why? How i can do 'id
On Wednesday 26 April 2006 15:16, Jachin Rupe wrote:
> Assuming I know enough now to start working on a "real" project,
> should I be sticking with the stuff in the "persistent" package? Are
> there other persistent objects hiding somewhere else in the API I
> should be aware of?
Most devel
On Sunday 16 April 2006 13:39, Alek Kowalczyk wrote:
> I'll try to explain that a wee bit more, here is the Use Case:
>
> I have an IMonitorsContainer containing IMonitor(s).
> When a user creates new Monitor instance (using "Add Monitor" on the
> web), the created Monitor should start thread and p
On Sunday 09 April 2006 09:21, Reinhold Strobl wrote:
> So can code always access everything, or not?
Filesystem Python code is always trusted. Thus you have no security inside
methods.
Regards,
Stephan
--
Stephan Richter
CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - We
On Wednesday 05 April 2006 10:07, Reinhold Strobl wrote:
> I want in a utility class to get access with the current (!) database of
> the zope 3 application.
> In views, this is no problem, since I have the context variable, but this
> is not ture for utilities...
There are several possible soluti
On Friday 12 May 2006 17:59, David Johnson wrote:
> How are permissions determined in rdb connections? I have added a rdb
> entry to my overrides.zcml problem, and it seems to picking up a
> "zope.ManageContent" security. I'm not sure why, how, or where. My
> anonymous users cannot access it the
--On 1. Juni 2006 16:49:54 +0200 Andreas Jung <[EMAIL PROTECTED]> wrote:
--On 1. Juni 2006 16:32:35 +0200 [EMAIL PROTECTED] wrote:
Hi,
I need to send some rich-text (HTML) mail, containing information based
on many objects. It would be nice to render it using ZPT provided by Zope
instead o
On Thursday 01 June 2006 10:32, [EMAIL PROTECTED] wrote:
> Can I (ab)use ZPT for such purpose? I need to design ZPT template and write
> corresponding View object. How to wire together the ZPT template and
> corresponding View object to render a HTML message and send it using mail
> utility?
>
> Co
I'm using 3.3 beta 1.
I've never used events.
I've subscribed to modification events on my objects:
Unfortunately, modifiedObject() only gets called when new children are
inserted (IMyObject provides IContainer)
I do NOT get an event for changing an attribute on a MyObject instance
or for
Stéphane Brault wrote:
>Thanks Stephan,
> could you indicate me another way to upload files ?
>
> Stéphane
>
>- Message d'origine
>De : Stephan Richter <[EMAIL PROTECTED]>
>À : zope3-users@zope.org; Stéphane Brault <[EMAIL PROTECTED]>
>Envoyé le : Jeudi, 1 Juin 2006, 2h53mn 32s
>Obj
--On 1. Juni 2006 16:32:35 +0200 [EMAIL PROTECTED] wrote:
Hi,
I need to send some rich-text (HTML) mail, containing information based
on many objects. It would be nice to render it using ZPT provided by Zope
instead of manual creation of HTML text.
Can I (ab)use ZPT for such purpose? I need t
Hi,
I need to send some rich-text (HTML) mail, containing information based on many
objects. It would be nice to render it using ZPT provided by Zope instead of
manual creation of HTML text.
Can I (ab)use ZPT for such purpose? I need to design ZPT template and write
corresponding View object.
Thanks Stephan,
could you indicate me another way to upload files ?
Stéphane
- Message d'origine
De : Stephan Richter <[EMAIL PROTECTED]>
À : zope3-users@zope.org; Stéphane Brault <[EMAIL PROTECTED]>
Envoyé le : Jeudi, 1 Juin 2006, 2h53mn 32s
Objet : Re: [Zope3-Users] Uploading
Thanks. That's exactly what I ended up doing!
On Thu, 2006-06-01 at 09:58 -0400, Stephan Richter wrote:
> On Monday 15 May 2006 16:15, David Johnson wrote:
> > I copied a Pluggable Authentication Utlity from one folder to another.
> > However, the plugins were not copied. As a result, I cannot edi
On Monday 15 May 2006 16:15, David Johnson wrote:
> I copied a Pluggable Authentication Utlity from one folder to another.
> However, the plugins were not copied. As a result, I cannot edit the
> copied utility. Now I'm stuck with a broken pluggable authentication
> utility. If I try to edit it t
On Monday 15 May 2006 18:39, Jachin Rupe wrote:
> TypeError: ('Could not adapt', 0x3b3a6f0>, )
>
> I think this is saying that it can't adapt my Person object to the
> IPerson interface.
>
> Am I still missing something?
No, your code looks good. I do not see, why Person cannot adapt IPerson; b
Stephan Richter wrote:
>> Just curious... what is it about AJAX that you hate? The implementation?
>> The concept? Something else?
>
> About everything. JS has no good development tools, it is impossible to do
> decent debugging and testing. (No, I do not consider the browser-based
> debugger a
Stephan Richter wrote:
>> - How do a write/register a negotiator that choose a language based on
>> an attribute of the user object and then falls back to normal browser
>> negotiation if that attribute isn't present?
>
> Just implement the right interface and register it. This is not too hard an
On Saturday 20 May 2006 11:04, Florian Lindner wrote:
> How to use it?
I would strongly suggest looking into hurry.query from z3-base. It is very
easy to use.
Regards,
Stephan
--
Stephan Richter
CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Developm
On Thursday 01 June 2006 09:01, Jonathan wrote:
> Just curious... what is it about AJAX that you hate? The implementation?
> The concept? Something else?
About everything. JS has no good development tools, it is impossible to do
decent debugging and testing. (No, I do not consider the browser-bas
On Friday 26 May 2006 09:11, David Pratt wrote:
> Hi. For the use of interfaces outside of zope.app, does getUtility have
> any value? Many thanks.
getUtility is provided by zope.component. If you use zope.interface and
zope.component in another project, you surely can make use of it. Read the
*
On Sunday 28 May 2006 11:30, gawel wrote:
> This work fine but is there an easy way to do this ?
Well, writing a view is one way. Another way is writing dynamically generated
content components, like LocalFS does in Zope 2. You can also write a custom
traverser that dynamically generates callabl
- Original Message -
From: "Stephan Richter" <[EMAIL PROTECTED]>
While I hate AJAX with a passion, you could certainly do this. If JS has a
way
to access a local file once it has been selected, then you can use the
XmlHttpRequest class to PUT the file on the server, for example. I
cer
On Wednesday 31 May 2006 04:29, Chris Withers wrote:
> - Can my existing .pot and .po files be used?
Yes, the PO file format is totally independent of Zope and Python.
> - Are ZPT's marked up in the same way as they were in Zope 2?
The Zope 2 people backported the Zope 3 code, so yes. :-)
> - H
On Tuesday 30 May 2006 09:30, Stéphane Brault wrote:
> for my application I mainly use sqlos and jsonserver, which means that I
> don't use much standard Zope components, I need to let users upload a file
> which I parse to update the database. I don't see how to upload files with
> AJAX. Is there
On Monday 29 May 2006 06:56, Frank Burkhardt wrote:
> Unfortunately, there is no 'provide' method on interfaces :-( .
>
> Now the questions:
>
> 1. Is the list of a content object's provided interfaces stored
> persistently in the Zodb?
Yes.
> 2. Is it according to Zope-, Python-, ... philosophy
On Monday 29 May 2006 13:49, Paolo Cilmo wrote:
> In Zope3, i made the same product (package). From a ZPT page (in ZMI), i
> can call a method of Poll if the method don't take arguments, for example
> with:
>
>
> where poll1 is an istance of Poll package and it is in the same folder of
> the
Thierry FLORAC wrote:
I've build a simple adapter that modifies context properties through
annotations ; everything works fine.
In several cases, when some attributes are updated, I do a
"notify(ObjectModifiedEvent(self.context))" so that several subscribers
are called.
My problem is then that i
Rupert Redington wrote:
>Tarek Ziadé wrote:
>
>
>>Achim Domma wrote:
>>
>>
>>
>>>Hi,
>>>
>>>I want to provide an RSS for a content object which is a site. Seems
>>>to me, like this should be a generic functionality so I wonder if
>>>there is already some product which I did not found!?
>>>
>
Tarek Ziadé wrote:
> Achim Domma wrote:
>
>> Hi,
>>
>> I want to provide an RSS for a content object which is a site. Seems
>> to me, like this should be a generic functionality so I wonder if
>> there is already some product which I did not found!?
>>
>> regards,
>> Achim
>>
>> __
Achim Domma wrote:
> Hi,
>
> I want to provide an RSS for a content object which is a site. Seems
> to me, like this should be a generic functionality so I wonder if
> there is already some product which I did not found!?
>
> regards,
> Achim
>
> ___
> Z
70 matches
Mail list logo