[Zope] Zope page templates and query strings

Edward Muller edwardam@interlix.com
16 Sep 2002 23:34:18 -0500


Just to let you know it's invalid XHTML/HTML to put a <span> tag inside
of a <a> tag like that.

It's invalid to put any tages inside other like that ... nesting tags is
fine ... but not 'inside' the tag ...

On Mon, 2002-09-16 at 18:34, Stuart Robinson wrote:
> On Mon, 2002-09-16 at 22:23, Tim Hicks wrote:
> 
> > <a href="#" tal:attributes="href python:'delete?isbn?=%s' % 
> > list.isbn">delete</a>
> > 
> > Untested, and may not be quite right...
> > 
> > tim
> > 
> 
> <a href="#" tal:attributes="href python:'delete?isbn=%s' % 
> list.isbn">delete</a>
> 
> Thanks Tim: that did the trick... I just dropped that final '?' to make
> it work. Must go and read the chapter on python scripting in zope...
> putting a python format string in tal attributes just never occurred to
> me!
> 
> Thanks again :-)
> Stu
> 
> 
> _______________________________________________
> 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 )
-- 
--EAM

Interlix - President/Owner

Web Hosting - PC Service & Support
Custom Programming - Network Service & Support

http://www.interlix.com