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
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 < garry@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 )
-----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-----
participants (3)
-
Andreas Jung -
Garry Saddington -
Thibaud Morel l'Horset