Hi I am using zope 2.8.11
I am using mxodbc da to connect to sql server and I was wondering what is
the best way to get the new value of the primary key (an identity field)
after inserting.
It looks like there are 3 slightly different functions I could use:
SCOPE_IDENTITY, IDENT_CURRENT, and
Just put a dtml-var x
where x is a dtml document with your javascript in it.
Even though it should be in the header it still seems to work
2009/3/15 Dvir Bar-lev dvi...@puresight.com
Hi
Is there any way to call a javascript method from a dtml method somewhere
in the body of it?
The
I'm looking at the code for OrderedMultiSelectWidget, in
zope.app.form.browser.itemswidgets (line 535).
This code doesn't make sense to me:
if hasattr(self.context.context, self.context.__name__):
available_values = self.context.get(self.context.context)
else:
available_values = []
Providing your database has the upper() function, or replace with similar
select ...
dtml-sqlgroup where
dtml-if firstname
upper(firstname) like upper(dtml-sqlvar firstname type=string)
/dtml-if
dtml-or
dtml-if lastname
upper(lastname) like upper(dtml-sqlvar lastname
Hi everyone,
I need to get all the roles that are defined in the security tab of a
particular folder.
I know how to get all roles that a user has got, but cannot find the above.
Thanks, Josh
___
Zope maillist - Zope@zope.org
http://mail.zope.org
:
get_local_roles
and
valid_roles
I'm probably not using the right method, or doing something wrong. Any
further tips?
Thanks, Josh
On 23/03/07, Tres Seaver [EMAIL PROTECTED] wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Josh Burvill wrote:
Hi everyone,
I need to get all the roles
://downloads.activestate.com/Zope-Perl/
hth,Josh
___
Zope maillist - Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman
Sorry, just noticed thats already been considered...On 04/10/06, Josh Burvill [EMAIL PROTECTED] wrote:
there is some info in zopebook 2.6 edition in the advanced scripting chapter:
http://www.zope.org/Documentation/Books/ZopeBook/2_6Edition/ScriptingZope.stx
where there are some links
Or in windows, do a similar thing using a scheduled task and wget (from cygwin) to invoke manage_exportObject with the options you want.Josh
On 28/09/06, Jonathan [EMAIL PROTECTED] wrote:
If you are in a *nix environment i would suggest
investigating 'cron' and using the
Hello again,
Update - the problem is not experienced withlocalfs-andreas-1.3
That is my solution for now.
Thanks, Josh
On 21/09/06, Jonathan [EMAIL PROTECTED] wrote:
Tryturning on verbose security in zope.conf - there are two settings that you need:
security-policy-implementation
in the permissions for the localfs object to cause a problem, they are all on acquire.Any hints?Zope 2.8.6-final, python 2.3.5, win32LocalFS-1-7-andreas
Josh
___
Zope maillist - Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML
On 21/09/06, David H [EMAIL PROTECTED] wrote:
Josh Burvill wrote: Hi all, I am experiencing an odd situation where if a user does not have manager role, he/she cannot browse a localfs object. I think it can't be a filesystem permissions or zope process os user
problem because if the zope user has
Hello,I have this script (see below) set as an access rule for
a folder. When it is run directly it prints out the correct user. But
when it runs indirectly as an access rule (ie when accessing some other
object in the folder, the user is always Anonymous User.
I am using Zope 2.8.6-final, python
the
wiki. Now: no records of that page in the log at all.
I've tried refreshing the product as well as completely reinstalling it.
Thanks for helping.
-josh
Simon Michael wrote:
Hi Josh. Does a zope restart fix it ? Does anything appear in
event.log/error_log ? Do you see the expected url in Z2
the
same ip and port.
Any thoughts?
-josh
___
Zope maillist - Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org
this version with Zope 2.8.x with Postgresql
8.0.x. It is stable.
CY
*/Josh Stephenson [EMAIL PROTECTED]/* wrote:
I recently installed psycopgda version 1.0.0 and restarted zope. I
can
see that it installed because it's listed under products in zope's
control panel, but it's not listed
I recently installed psycopgda version 1.0.0 and restarted zope. I can
see that it installed because it's listed under products in zope's
control panel, but it's not listed in the drop-down menu where all the
other products are.
I installed by doing:
python install.py build
python install.py
Is core session a part 2.3?
Can someone point me to the documentation on it?
Thanks,
josh on
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http
T.set('userid', 979226100)"
dtml-var "_[userid]._getAttribute(hairpart)"
I know that I could use the Catalog, but it seems crazy to have to track
everyvariable property of an object that I want to access.
I am sure that this is a basic problem and would love some
he url.
Using the id directly as above works fine, it writes the attribute to the
page.
Thanks for any help,
Josh On
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related l
ness, now I can have lunch.
josh on
___
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.
t;
dtml-with "userid"
dtml-var attribute
/dtml-with
Nor this:
dtml-call "REQUEST.set('userid', 979226100)"
dtml-with userid
dtml-var attribute
/dtml-with
What I want to do is have a varible passed to the page which says what
zclass instance to get the properties of.
any help appreci
t yet possible to
query for more than one keyword at once. It seems to me that these two
sentiments are mutually exclusive. Am I mistaken here?
-josh
Josh Zeidner writes:
OK. Is it possible to query keyword indexes for several keywords at
once?
Not that I know of.
You either have to e
)"
this has completely unpredictable results.
dtml-in "Catalog.searchResults( MediaKeywords in ['ouch'] )"
this returns all indexed objects!
What am I doing wrong? Is there a special ZCatalog function for querying
keyword indexes? I need some insight into this problem
for the matching critiria, for instance if I used
'purple' , I would only get ObjectTwo. Is anyone else using keyword
indexes? In what way are you using them?
Thanks,
Josh Zeidner
http://www.brooklynmedialabs.com
___
Zope-Dev maillist - [EMAIL
Ive successfully installed the latest version of zope on windows and have it
running my website. http://www.brooklynmedialabs.com . Its actually easier
than running it on linux!
-josh
Has anyone got python 2.0 working with Zope on windows? Just curious if
anyone has any pointers before I
I tried out the example in the Zope book and found that the ZCatalog aware
example only works if you create the "default" catalog as explained
elsewhere( must be named "Catalog" ). Am I doing something wrong or is this
an error in the book?
-keep up the good w
ex_object is context sensitive and is a
method of the zclass, so it needs to be called from there.
Does this make sense ? If it does I think that it should be turned into a
how to.
or am I just being silly?
josh on
===
write: [EMAIL PROTECTED]
read: www.futurefarmers.com
re
arrive at this page, but if it does) it will only
successfully make a new zclass instance of the user if they are a single
letter long
Thus I get a user list that looks like this:
max , yay , josh , mary , peter , john , ann , dog , cat , badger , fork , g
, k , ww
, u , u , u , u , u , b , u , erm
hi,
This may be a redundant question, but how can I download zope products via
FTP?
-josh
_
Get more from the Web. FREE MSN Explorer download : http://explorer.msn.com
groove.net has a lot of potential for coordinating open-source projects...
maybe someone can schedule one of those hairy zope-xml discussions on there.
-josh
_
Get Your Private, Free E-mail from MSN Hotmail at http
WROX contacted me a while back saying they wanted to do a Zope book as
well. Does anyone know anything about this?
-josh
Just thought we'd mention that we have gotten lots of great comments on
the Zope book so far, especially in the last week or so. You're all
helping make it a better
help would be great.
josh on
___
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
You should look into using ZCatalog for this purpose.
-josh zeidner
I have an interesting issue which I don't think has been raised. But
instead of solving the issue myself I thought I would share it with you
guys/gals and see what you think.
I am currently working on a Zope MailIn
examined for thier integration with Zope and ZDOM. The list can be found on
egroups.com, named Zope-XML .
-Josh Zeidner
hi, wish to introduce to everyone a thought.
i see great value in zope and cocoon interoperability.
just to ponder:)
will elaborate before next dance
here is my post
ay out of my depth! I just want zope to work!!!
Not really sure where to start, will reinstalling the whole thing write over
my data?
I guess I have it backed up, but still...
thanks for ANY help!!
josh on
___
Zope maillist - [EMAIL PROTECTED]
h
Would it be a bad idea to just install another copy of zope in a different
directory? Would that clash somehow?
josh
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding
What version would you recommend installing?
Thanks,
josh
___
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
conclusion?
Thanks,
josh on
___
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
Is there a way to pass variables from one page to another using an a href
but not including them in the url after a ??
sorry, I know this is an html question, but I figured it was pretty zope
related.
josh on
___
Zope-Dev maillist - [EMAIL
which would then
process it and save a png file.
Am I optomistic?
josh on
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://lists.zope.org/mailman
there?
or is it more complicated than that?
thanks josh on.
___
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
ct LocalFS and scan its
documentation. it lets you use files in the server's filesystem from zope.
Thanks for your time,
josh on
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTM
ine:
dtml-if "sequence-length == 10"
and thinks I am trying to say sequence minus length,
rather than refer to the dtml var sequence-length
Could anyone help me ut with this?
josh on
On another smaller note how do I write a greater than
but I can't find the answer...
can I set a local variable in zope on a dtml page
eg
dtml-var variablename = 1
thanks josh on
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding
wow great answer, thanks that has just peeled off another layer of zope
mystery for me.
can this be put in the dynamic faq?
josh on
- Original Message -
From: Tony McDonald [EMAIL PROTECTED]
To: Zope List [EMAIL PROTECTED]
Sent: Wednesday, June 07, 2000 3:17 PM
Subject: Re: [Zope
This is REALLY cool. I can't manage to login though.
oh thanks,
ok, that might be because you didn't put in a tagline or it had punctuation
that sql doesn't like.
If not that is bad.
I will try and sort this out it is a big bug!
thanks for the feedback.
When I try to delete a folder from the root of Zope, it does not allow
me to do so. No error message, just displays the index_html method in
my browser window. Same story if I attempt to rename them. Any ideas?
Thanks,
Josh Glover
___
Zope maillist
represent the data as something more computationally digestible. Again :
this is what ZDOM is accomplishing for us.
Does this answer your question?
have a good weekend,
Josh Zeidner
-"zippa-dee-doo-da" , uncle remus
Hello,
Thanks for getting this document going. It
Hi,
It is great stuff! ( similar idea to Apache Cocoon )... now all we need is
someone to put in an XSLT( 4XSLT ) processor into the core Zope code- are
there any immediate plans for this? note: i realize this has been discussed
before :) .
-thanks, Josh Z
Hi, Josh
Thanks
. Has
there been any discussion on this?
-Josh Z
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
___
Zope-Dev maillist - [EMAIL PROTECTED]
http
Can/Should/Will this documentation be avaliable on the Zope.org (or
zdp.zope.org) site.
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
52 matches
Mail list logo