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

Thomas Apostolou tomatbiz-tominfo at yahoo.co.uk
Tue Oct 11 09:36:59 EDT 2005


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 enviroment.
How can i do this?

Thank you very much!!!


<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html;
charset=ISO-8859-7">
<script type="text/javascript"
src="./plone_javascript_variables.js">
<script type="text/javascript"
src="./plone_javascripts.js">
</head>
<style type="text/css" media="screen"><!-- @import
url(/plone.css); --></style>
<style type="text/css" media="screen"><!-- @import
url(/ploneColumns.css); --></style>
<style type="text/css" media="all"><!-- @import
url(/ploneCustom.css); --></style>
<dtml-var standard_html_header>
<table id="sortable" class="listing" summary="Content
listing" cellpadding="0" cellspacing="0">
  <thead>
    <dtml-in expr="GetHeader(sysDSN=sysDSN, usr=usr,
mypass=mypass, sTable=sTable, sFields=sFields)">
      <th>
        <dtml-in sequence-item>
          &nbsp;<dtml-var sequence-item>&nbsp;
        </dtml-in>
      </th>
    </dtml-in>
  </thead>
  <tbody>
    <dtml-in expr="GetData(sysDSN=sysDSN, usr=usr,
mypass=mypass, sTable=sTable, sFields=sFields)">
      <dtml-if sequence-even>
        <tr class="even">
      <dtml-else>
        <tr class="odd">
      </dtml-if>
      <dtml-in sequence-item>
        <td><dtml-var sequence-item></td>
      </dtml-in>
      </tr>    
    </dtml-in>
  </tbody>
</table>
<dtml-var standard_html_footer>



	

	
		
___________________________________________________________ 
Χρησιμοποιείτε Yahoo!; 
Βαρεθήκατε τα ενοχλητικά μηνύματα (spam); Το Yahoo! Mail 
διαθέτει την καλύτερη δυνατή προστασία κατά των ενοχλητικών 
μηνυμάτων http://login.yahoo.com/config/mail?.intl=gr 



More information about the Zope mailing list