[Zope] Hyperlinks and acquisition...
Jim Sanford
jsanford@atinucleus.com
Sat, 6 Nov 1999 07:48:11 -0600
My structure is
+Anywhere
+Window
Order
acl_users
Query
Query holds all ODBC connections and all ZSQL methods
Window and Order hold my dtml documents and related methods
I have some universal methods in Anywhere
I call my queries like this.
<dtml-in "Query.UserSettings()">
<dtml-in "Query.GetData()">
...
</dtml-in>
</dtml-in>
(UserSettings is a ZSQL method that is used as a wrapper to all my other
data calls - It uses the AUTHENTICATEDUSER name to make access rights
visible to all enclosed ZQL methods. It uses a long timeout on the cache [30
minutes] since the user base is fairly static. No more than 2 or 3
changes/adds/deletes a day on average.)
Jim Sanford
"Loosing your mind? Your freedom may be next."
----- Original Message -----
From: Chui Tey <teyc@bigfoot.com>
To: <zope@zope.org>
Sent: Saturday, November 06, 1999 6:50 AM
Subject: [Zope] Hyperlinks and acquisition...
> My site structure looks like this:
> +WELCOME
> +QUERY
> QUERY_INPUT
> QUERY_RESULTS
>
> Normally the user would go to the search folder, and do their searches
> there.
> Results are shown on
>
> query/query_results
>
> If I embed the query screen in the welcome page, using
> <dtml-with QUERY>
> <dtml-var QUERY_INPUT>
> </dtml-with>
>
> This breaks the hyperlink, since it takes the user to
> welcome/query_results
>
> I tried this
> <dtml-call "RESPONSE.setBase(URL2 + '/QUERY')>
> <dtml-with QUERY>
> <dtml-var QUERY_INPUT>
> </dtml-with>
>
> But then it breaks my other links on the page.
>
> What should I do here?
>
> TIA.
> Chui
>
>
>
> _______________________________________________
> Zope maillist - Zope@zope.org
> 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/listinfo/zope-dev )
>
>