Hi all,
A solution has been found. woohoo. A not found error was produced with
direct URL traversal.
Steve Spicklemire sent this solution off list.
The process is split into two steps:
Do the query to 'load the object on traversal':
WITH QUERY searchBy_Name(name=self.id) COMPUTE name
Do
At 05:02 PM 1/18/01 -0500, Phillip J. Eby wrote:
At 08:54 AM 1/18/01 -0500, Aaron Payne wrote:
Hi all,
I originally posted this to the zope list and, upon suggestion, I am
reposting it to zope-dev.
I'm using a zsql method in a skinscript with query ... compute ... and it
mostly works
Hi all,
I originally posted this to the zope list and, upon suggestion, I am
reposting it to zope-dev.
I'm using a zsql method in a skinscript with query ... compute ... and it
mostly works. Retrieving the dataskin with getItem() works. For example,
Cid is the id of the coupon dataskin.
Hi all,
I'm using a zsql method in a skinscript with query ... compute ... and it
mostly works. Calling the dataskin where the id is part of the query
string (coupon id=977931214.694) works. For example,
http://CouponSite/CouponManager/CouponAttributes?Cid=977931214.694
Where:
Hi all,
I am following Dan Pierson's How-To SQL LoginManager with SQL and
Skinscript. I am not able to add properties.
I created LoginManager:LoginUser subclassed zclass def for a user with a
propertysheet Basic.
It had properties password and email. The LM methods I tested failed so I
Hi all,
I'm trying to use Gadfly as storage for a Zpatterns rack. With the
following skinscript trigger I can view records in the database. But I
can't insert a new one.
WHEN OBJECT ADDED CALL sqlInsertProduct()
WITH QUERY lookup_product(client_name=self.id) COMPUTE
To view it as a DateTime object:
dtml-var "_.DateTime(yourstring)"
or
Create a DateTime object with an id of datestring to be rendered later.
dtml-call "REQUEST.set('datestring',_.DateTime(yourstring)"
To view it:
dtml-var datestring
At 12:03 AM 11/15/00 -0300, Alejandro Pancani wrote:
if I
David,
dtml-var "IMAGES.image1"
Where image1 is in the folder IMAGES.
-Aaron
At 07:42 AM 11/2/00 -0800, CURTIS David wrote:
Hi,
I check the archives but could not find an answer. How do you display
images that are burried in directories?
For example,
dtml-var image1 works with the image1
Hi all,
I am trying to create a zclass instance within a newly added folder.
Here is the sequence of events
1. get name from a form, vendor
2. add a folder with id of vendor
3. within the new folder create a CouponProduct
The following add method (snipped) puts the zclass instance at the same
At 04:35 pm 6/12/00 +, Jason Spisak wrote:
We are closing in on it.
Are any of these field indexes? Vendor maybe, Zip? If the ZClass
instances always have a value for them, then when you submit this search
and leave one of the 'field index' input boxes blank, you'll get no
results, I
At 04:59 pm 6/13/00 +, Jason Spisak wrote:
Try just searching using a form that searches
the exact same proerty as the prgramatical search...example:
dtml-in "Catalog(vendor='MyVendor')"
dtml-var id
/dtml-in
This search finds vendor. cool.
form action="CatReport" method="get"
h2dtml-var
Jason,
I believe the ZCatalog is indexing the new instances because I can see them
in the catalog in the management interface.
-Aaron
At 03:42 pm 6/9/00 +, Jason Spisak wrote:
Just out of curiousity, what is making you think it's indexing it?
All my best,
Jason Spisak
Hi all,
I have a zcatalog. I use the methods generated by Z Search Interface to
search the catalog. These methods will not recognize new additions to the
catalog. After adding a coupon instance, the catalog search fails to find
the new coupon or even the the old coupons.
The add method of
Jason,
At 11:41 pm 6/8/00 +, Jason Spisak wrote:
You have the dtml-if statement in the wrong place if you want the object to
be created and then redirect. First, try it without the dtml-if statement
like so.
HTML
HEADTITLEAdd Coupon ZClass/TITLE/HEAD
BODY BGCOLOR="#FF"
How do you differentiate between the seq-items of nested dtml-ins?
I tried the following code:
dtml-in "instances.objectValues(['Coupon ZClass'])"
dtml-in SearchCategory
dtml-if "_['sequence-item']=='Auto' "
dtml-call "resultsList.append(_['sequence-item'])"
/dtml-if
/dtml-in end
15 matches
Mail list logo