popup-windowLink with structuredText
Dear List, does anybody know how to perform a link with a popup window within structuredText? "myLinkText":javascript:openwindow() does not work because the brackets "()" are not rendered by the stx of zope. Is it possible to render also the "()" or does anybody know to implicit call a function via variable i.e. without the brackets. Thanks for your help, Elena
You can always put real HTML inside STX. So you can say <a href="xxx" target="_blank">, etc. Joel BURTON | joel@joelburton.com | joelburton.com | aim: wjoelburton Knowledge Management & Technology Consultant
-----Original Message----- From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Elena Schulz Sent: Wednesday, March 13, 2002 6:49 AM To: zope@zope.org Subject: [Zope] popup-windowLink with structuredText
Dear List,
does anybody know how to perform a link with a popup window within structuredText?
"myLinkText":javascript:openwindow() does not work because the brackets "()" are not rendered by the stx of zope. Is it possible to render also the "()" or does anybody know to implicit call a function via variable i.e. without the brackets.
Thanks for your help,
Elena
_______________________________________________ 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 )
Hi Joel, your solution is not the most elegant one but will work for shure. Sometimes it would be nice if dtml-var would also work in stx... Thanks, Elena -----Ursprüngliche Nachricht----- Von: Joel Burton <joel@joelburton.com> An: Elena Schulz <elena.schulz@gmx.net>; <zope@zope.org> Gesendet: Mittwoch, 13. März 2002 14:21 Betreff: RE: [Zope] popup-windowLink with structuredText You can always put real HTML inside STX. So you can say <a href="xxx" target="_blank">, etc. Joel BURTON | joel@joelburton.com | joelburton.com | aim: wjoelburton Knowledge Management & Technology Consultant
-----Original Message----- From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Elena Schulz Sent: Wednesday, March 13, 2002 6:49 AM To: zope@zope.org Subject: [Zope] popup-windowLink with structuredText
Dear List,
does anybody know how to perform a link with a popup window within structuredText?
"myLinkText":javascript:openwindow() does not work because the brackets "()" are not rendered by the stx of zope. Is it possible to render also the "()" or does anybody know to implicit call a function via variable i.e. without the brackets.
Thanks for your help,
Elena
_______________________________________________ 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 )
On Fri, 15 Mar 2002, Elena Schulz wrote:
Hi Joel,
your solution is not the most elegant one but will work for shure. Sometimes it would be nice if dtml-var would also work in stx...
Thanks,
Elena
-----Urspr�ngliche Nachricht----- Von: Joel Burton <joel@joelburton.com> An: Elena Schulz <elena.schulz@gmx.net>; <zope@zope.org> Gesendet: Mittwoch, 13. M�rz 2002 14:21 Betreff: RE: [Zope] popup-windowLink with structuredText
You can always put real HTML inside STX. So you can say <a href="xxx" target="_blank">, etc.
If dtml-var worked in STX, then you'd have to trust people who could write STX (DTML, though theoretically safe, can still be used to slow down your Zope server); with STX, this should be less of a problem. You can always create a DTML Document, fill it with STX and DTML mixed, render the DTML Document (which renders the DTML expressions), then render those results as STX. -- Joel BURTON | joel@joelburton.com | joelburton.com | aim: wjoelburton Independent Knowledge Management Consultant
participants (2)
-
Elena Schulz -
Joel Burton