[Zope] How can i call a pyhton module's function from with in Page Temmplates?

2005-10-12 Thread Thomas Apostolou
Hello, i saw that from within a DTML Method one is able to call a fuction of a python module in the file system. Now i want to get the funtion's results from within a Page Template. Is the right way to make a Script(Python) that calls this module's function and then call this Script(Python) from

[Zope] How to show the DTML Method's results within Plone?

2005-10-11 Thread Thomas Apostolou
Hello again... i have a DTML Method like you can see bellow that produces a table after quring some table (using python GetHeader and GetData custom modules) But the result is a table with the query results in another page. I would like to show the table with the query results within Plone's

Re: [Zope] How to make a table with sortable colmns?

2005-10-10 Thread Thomas Apostolou
wich makes my page understand what class="listing" means in order to behave like i would expect it to. script type="text/_javascript_" src=""script type="text/_javascript_" src="" Andreas Jung [EMAIL PROTECTED] wrote: --On 7. Oktober 2005 14:35:00 +010

[Zope] How to make a table with sortable colmns?

2005-10-07 Thread Thomas Apostolou
plone does with the members list? Thanks in advance Thomas Apostolou ___ Χρησιμοποιείτε Yahoo!; Βαρεθήκατε τα ενοχλητικά μηνύματα (spam); Το Yahoo! Mail διαθέτει την καλύτερη δυνατή προστασία κατά των

[Zope] How to show field names from sql query?

2005-09-19 Thread Thomas Apostolou
Hello all, i use the following to get to show the results from an sql query. What are the expresions to show the field names? table dtml-in expr=TestODBCEM(sysDSN=sysDSN, usr=usr, mypass=mypass, sSQL=sSQL) dtml-if sequence-even tr bgcolor=lightgreen dtml-else tr /dtml-if

Θέμα: Re: [Zope] How to show field n ames from sql query?

2005-09-19 Thread Thomas Apostolou
. --- Tino Wildenhain [EMAIL PROTECTED] wrote: Thomas Apostolou schrieb: Hello all, i use the following to get to show the results from an sql query. What are the expresions to show the field names? table dtml-in expr=TestODBCEM(sysDSN=sysDSN, usr=usr, mypass=mypass, sSQL=sSQL

[Zope] Cannot pass parameters to Externa Method From inside a DTML Method

2005-08-04 Thread Thomas Apostolou
could help me. I use Zope 2.7.0 on windows XP PRO, witch i use after installing Plone 2.0.5 executable installer. It uses Python 2.3.3 Thanks in advance. Thomas Apostolou ___ Χρησιμοποιείτε Yahoo

[Zope] dtml-var variable from REQUEST not shown in input tag if it has spaces??

2005-08-04 Thread Thomas Apostolou
Hello everybody, Im using Zope 2.7.0 on Windows XP Pro. I pass some parameters from a form to a DTML method. Inside that method i try to get the parameters with dtml-var sSQL ( sSQL is the name of the submiting form's field). When i just use it as dtml-var sSQL everything is ok. When i use it

Re: Re: [Zope] Cannot pass parameters to Externa Method From inside a DTML Method

2005-08-04 Thread Thomas Apostolou
. Thank you very much for both DTML and Python. See also: http://www.plope.com/Books/2_7Edition/RelationalDatabases.stx -- Tino Wildenhain [EMAIL PROTECTED] Thank you for your precious help on this. Thomas Apostolou

Θέμα: Re: [Zope] dtml-var variable fro m REQUEST not shown in input tag if it has spaces??

2005-08-04 Thread Thomas Apostolou
, Thomas Apostolou ___ Χρησιμοποιείτε Yahoo!; Βαρεθήκατε τα ενοχλητικά μηνύματα (spam); Το Yahoo! Mail διαθέτει την καλύτερη δυνατή προστασία κατά των ενοχλητικών μηνυμάτων http://login.yahoo.com/config