e title to the object AUTHENTICATED_USER, which is why it's
always returning false. The correct comparison above would be:
dtml-if "(_['sequence-item'].title ==
AUTHENTICATED_USER.getUserName())"
The getUserName function of the AUTHENTICATED_USER object returns a
string containing the use
that don't work either. And if I am correct; dtml-var
title_or_id yields the same results as !--var title_or_id-- right?
Yes, that is correct. I think what you want is dtml-var
document_title which should get you the title of the document whether
it's a DTML Method or a DTML Document.
--
Nick Garci
established, you can create Z SQL
Methods.
--
Nick Garcia | [EMAIL PROTECTED]
CodeIt Computing | http://codeit.com
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists
You should be able to do:
dtml-with "folder11.folder111"
tddtml-var "mtdCreate(_.None, _, qry_item='par1',qry_table='par2',
list_name='par3')"
/td/tr
/dtml-with
--
Nick Garcia | [EMAIL PROTECTED]
CodeIt Computing | http://codeit.com
__
ur server in debug mode. Turn debug mode off and you
won't see them anymore. If you're using ZServer you need to edit start
and take out the -D option.
--
Nick Garcia | [EMAIL PROTECTED]
CodeIt Computing | http://codeit.com
___
Zope maill
the announcement BTW :)
PS Did you have to spam zope-dev in as well? ;-)
Sorry, I wasn't sure if I should or not, but in the end I decided to do
it because there's a lot of development opportunity in there.
--
Nick Garcia | [EMAIL PROTECTED]
CodeIt Computing | http://codeit.com
Brian Lloyd wrote:
What do you think?
+1
--
Nick Garcia | [EMAIL PROTECTED]
CodeIt Computing | http://codeit.com
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding
ermissions)
File /usr/local/Zope-2.2.0-src/lib/python/ZPublisher/Publish.py, line
162, in publish
File /usr/local/Zope-2.2.0-src/lib/python/ZPublisher/BaseRequest.py,
line 451, in traverse
NameError: (see above)
--
Is it just me?
--
Nick Garcia | [EMAIL PROTECTED]
CodeIt Computing | http://
Nick Garcia wrote:
Hmmm... I was just trying to get 2.2.0 working with PCGI yesterday and
couldn't get it working either. These instructions got it up and
running, but now I'm seeing something a bit strange and I was wondering
if you were seeing the same thing. If I go to a page
rialNumber null="nbsp;"
--
Nick Garcia | [EMAIL PROTECTED]
CodeIt Computing | http://codeit.com
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
h
ign custom sites and applications exclusively in Zope. Please visit
our website at http://www.codeit.com to find out more about us, and our
exciting career opportunities.
--
Nick Garcia | [EMAIL PROTECTED]
CodeIt Computing | http://codeit.com
___
Zop
work. You
have to do:
dtml-var URL0dtml-if QUERY_STRING?dtml-var QUERY_STRING/dtml-if
--
Nick Garcia | [EMAIL PROTECTED]
CodeIt Computing | http://codeit.com
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No c
xperienced anything of thie nature?
I think that means that you don't have the python development
libraries. If you use RPMs, you need the python-devel package.
--
Nick Garcia | [EMAIL PROTECTED]
CodeIt Computing | http://codeit.com
___
Zope maillist
n anything in HTML.
You can still replace them. You can do dtml-var
"_.string.replace(REQUEST.form['list'], '\n', 'br')" and it should do
what you want.
--
Nick Garcia | [EMAIL PROTECTED]
CodeIt Computing | http://codeit.com
___
Zope maillist
been changes to the pickling routines that haven't been completely
cleaned up yet?
--
Nick Garcia | [EMAIL PROTECTED]
CodeIt Computing | http://codeit.com
___
Zope-Dev maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
Nick Garcia wrote:
Brian Lloyd wrote:
So, I'm getting this error when trying to use one of my Products under
Zope 2.2b1:
Error Type: UnpickleableError
Error Value: Cannot pickle type 'StringO' objects
What exactly is a StringO object, and why can't it be
pickled
16 matches
Mail list logo