oops,
Should hae been:
hth
Phil
[EMAIL PROTECTED]
- Original Message -
From: "Indra Gunawan" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, August 14, 2000 2:38 AM
Subject: [Zope] A very newbie question
> I need to know the value of (sequence-index mod 3)=0
> in somethi
Indra,
Try:
hth
Phil
[EMAIL PROTECTED]
- Original Message -
From: "Indra Gunawan" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, August 14, 2000 2:38 AM
Subject: [Zope] A very newbie question
> I need to know the value of (sequence-index mod 3)=0
> in something like
>
Indra Gunawan wrote:
> I need to know the value of (sequence-index mod 3)=0
> in something like
>
> how do I use the mod function correctly? since the divmod function is
> actualy returning 2 pair of value.
> Thanks guys.
>
> -IGUN-
> ICQ:1474584
>
> _
I need to know the value of (sequence-index mod 3)=0
in something like
how do I use the mod function correctly? since the divmod function is
actualy returning 2 pair of value.
Thanks guys.
-IGUN-
ICQ:1474584
___
Zope maillist - [EMAIL PROTECTED]
ht
Hi All
I just need a little help, (Zope Newbie:) )
I want to create a website creator, I want to provide my end users with
a 1-2 page form with lots of check boxes, list boxes, etc.. Once the users
has finished making his/hers selections, I want my product to go and create the
web site. easy :
I will fix this for the next release (est. next week).
This happens when nothing is entered in the textfield for the integer value.
In the meanwhile you have to do the check in the insert/update SQL method:
null
*** REPLY SEPARATOR
Indra Gunawan wrote:
>
> Thanks man that really works..!!...
> I want to ask another question
> can I retrieve a random row from a table?
Yes, you can - but how is a bit dependent on your database, if
you want it to be efficient. The problem here is that SQL does
not by itseld define a rownum
> function changeChars() {
> var box = eval("document.manage_edit_form.data:text");
This should be:
var box = document.manage_edit_form['data:text'];
JavaScript, like DTML, lets you access objects with funny names using
subscript notation.
Cheers,
Evan @ 4-am & digicool
___
Tom Deprez writes:
> But I'm using Zope 2.2
>
> So what am I doing wrong?
I do not know...
Maybe, my memory misleads me. I *belief* I got a message from
DC that the patch has been integrated in 2.2.
If you still see the problem, try to apply the patch.
If that does not solve your problem, s
David Zhu writes:
> I'ved followed the online How-To on implementing a simple service for
> parsing uploaded files via the browser. But strangely, it only works for
> Netscape browsers. When I test the uploading using IE, the supposed file
> object becomes a string object, causing all sorts
Jean Jordaan writes:
>
> The other thing I'm wondering is, it looks as if '.doc' should
> *always* be recognized as msword. How could it sometimes turn up
> as octet-stream? To add documents I call:
>
>
> Add a document.
>
> The initial method of 'ccDocClass_factory' is 'ccDoc
Darin Lee writes:
> Is there any way within Zope to parse HTML to look for broken links and orphaned
>files? The site I am building will have many Zope dynamic componants, but also a good
>share of wrapped static HTML pages maintained by content contributors in
>Frontpage/Dreamweaver. I kno
Mathias Bengtsson writes:
> Does anybody know how the login is handled by GUF. I use cookie
> authentication and I get the loginptomt when I try to access a page that
> has authenticate permissions. But when I try to login I don't know how
> to get the user logged i.e I don't know how to set t
Kevin Howe wrote:
>
> I am trying to access the PARENT of an object in a python class of mine.
> I want to use the absolute_url() of the parent in a variable.
>
> I though it could be done the following way, but got an error:
>
> parent=self.PARENTS[0]
> aurl = parent.absolute_url()
>
I am trying to access the PARENT of an object in a python class of mine.
I want to use the absolute_url() of the parent in a variable.
I though it could be done the following way, but got an error:
parent=self.PARENTS[0]
aurl = parent.absolute_url()
I then tried using REQUEST. It work
How about ? (Just a guess, but I would expect a zero length
string to be an
invalid integer value).
> I am using the Znolk Input Wizzard with postgresql tables. One of the
> variables in the table is an integer and can have null values. However, in
> the update and insert forms, if I attempt t
Maybe not a Zope specific question but the problem arises only with Zope
DTML.
The documentEdit.dtml page in OFS has this little HTML:
And what I want to do is trigger a JavaScript that replaces specific
characters in the textarea box to others.
I.e. Replace swedish ö with HTML: ö
The problem
I am using the Znolk Input Wizzard with postgresql tables. One of the
variables in the table is an integer and can have null values. However, in
the update and insert forms, if I attempt to leave the value null, I get the
following error from Zope:
"Invalid integer value for weight.bcs"
The v
Thanks man that really works..!!...
I want to ask another question
can I retrieve a random row from a table?
if can, could anyone tell me
(using the same table and scheme from the previous question)
Thanks again Mr Philipp Auersperg
-IGUN-
ICQ:1474584
>
>
> > call :
> >
> >
> >
On Fri, 11 Aug 2000, Mathias Bengtsson wrote:
> Does anybody know how the login is handled by GUF. I use cookie
> authentication and I get the loginptomt when I try to access a page that
> has authenticate permissions. But when I try to login I don't know how
> to get the user logged i.e I don't
> > Simon Coles writes:
> > > We have binary files stored in Zope, for example Word documents (but
> > > could be any of a variety of document types).
> > >
> > > We would like to be able to index and search the contents of these
> > > files using ZCatalog. So if a Word file contains the word
Chris Beaumont wrote:
>
> Hello,
>
> Newbie question here... Thank you for any and all help...
>
> The subject line says it all..
>
> What's the best way to connect an instance of Zope running on a Linux
> box to an instance of Oracle 7.3 running on a Solaris box in the same
> subnet...
>
Y
Slightly off topic perhaps but potentially intersting to many here, I hope!
I'm considering, partly out of curiosity and partly out of hopes that I may get
some customers one day who could use it, how I would go about implementing a
server administration tool (a la Webmin for example) within a Z
call :
with you just define a variable in the current namespace
Philipp Auersperg (zwork)
*** REPLY SEPARATOR ***
On 13.08.2000 at 17:27 Indra Gunawan wrote:
>Hello All
>here's the problem
>my Zope 2.2.0 is running on win98
>my Database is a MySQL
>
>I created a ZSQL method
Hello All
here's the problem
my Zope 2.2.0 is running on win98
my Database is a MySQL
I created a ZSQL method named ShowProduct with parameter product_id
the template as follows : select * from products where
why can't I call the ZSQL method directly (without using the GET/POST
variables)?
I t
25 matches
Mail list logo