Re: [Zope] appending paths in zpt
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 12.01.2009 21:25 Uhr, Garry Saddington wrote: > I have this: tal:attributes="href here/getUserName" in a link that works but > I > want to append a hard coded extension to it. > How would I turn it into this and get it to work ? > > tal:attributes="href here/getUserName/listview?page=1000" > Check the ZPT documentation and learn about using the "string:" directive. - -aj -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAklsItEACgkQCJIWIbr9KYwgKACfdwouA0bCphA80n2yg9PiKx7D vogAoKsyuQ8LEmLfFxSqKkRLFhL5G4XI =QgxZ -END PGP SIGNATURE- begin:vcard fn:Andreas Jung n:Jung;Andreas org:ZOPYX Ltd. & Co. KG adr;quoted-printable:;;Charlottenstr. 37/1;T=C3=BCbingen;;72070;Germany email;internet:i...@zopyx.com title:CEO tel;work:+49-7071-793376 tel;fax:+49-7071-7936840 tel;home:+49-7071-793257 x-mozilla-html:FALSE url:www.zopyx.com version:2.1 end:vcard ___ Zope maillist - Zope@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 )
Re: [Zope] appending paths in zpt
On Monday 12 January 2009 20:45, Thibaud Morel l'Horset wrote: > Sounds like you need to use a string: > tal:attributes="href string:${here/getUserName}/listView?page=1000" > Thanks that's done it Garry ___ Zope maillist - Zope@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 )
Re: [Zope] appending paths in zpt
Sounds like you need to use a string: tal:attributes="href string:${here/getUserName}/listView?page=1000" - Teebes On Mon, Jan 12, 2009 at 3:25 PM, Garry Saddington < ga...@schoolteachers.co.uk> wrote: > I have this: tal:attributes="href here/getUserName" in a link that works > but I > want to append a hard coded extension to it. > How would I turn it into this and get it to work ? > > tal:attributes="href here/getUserName/listview?page=1000" > > Regards > Garry > ___ > Zope maillist - Zope@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 ) > ___ Zope maillist - Zope@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 )