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

Peter Bengtsson peter at fry-it.com
Tue Oct 11 09:53:04 EDT 2005


Try
https://lists.sourceforge.net/lists/listinfo/plone-users

2005/10/11, Thomas Apostolou <tomatbiz-tominfo at yahoo.co.uk>:
> 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>
>           <dtml-var sequence-item>
>         </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
>
> _______________________________________________
> Zope maillist  -  Zope at zope.org
> http://mail.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://mail.zope.org/mailman/listinfo/zope-announce
>  http://mail.zope.org/mailman/listinfo/zope-dev )
>


--
Peter Bengtsson,
work www.fry-it.com
home www.peterbe.com
hobby www.issuetrackerproduct.com


More information about the Zope mailing list