-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am 03.10.2011 22:25, schrieb Steffen Hoffmann:
> I re-use the pager implemented in Trac core i.e. for TicketQuery. To
> reduce code-duplication I included 'ticket/page_index.html', a Trac
> template used for top and bottom page navigation links of the pager into
> my 'listtagged_results.html', a HTML fragment template similar to
> 'ticket/query_results.html'. Now it seems like exactly the 'next' and
> 'last' links added via add_link() are not expected by the tiny code
> snippet in layout.html, from where the SystemError originates. It
> expects, that there is always a stylesheet, if chrome['late_links'] is
> not empty ...

Note to myself: Adding a stylesheet file that is already added elsewhere
in the plugin code
            add_stylesheet(req, 'tags/css/tractags.css')
doesn't help while adding a different file
            add_stylesheet(req, 'common/css/search.css')
prevents the SystemError, and the macro output with pager is rendered as
it should be. Guess this is a confirmation to my theory.?

Steffen Hoffmann
(hasienda)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk6KLnwACgkQ31DJeiZFuHeq+ACgjGDhZeeW07RC10iojbchcqvk
InkAoOJ0p7Y1jESym0U7PryVOSal320X
=CKe5
-----END PGP SIGNATURE-----

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Development" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/trac-dev?hl=en.

Reply via email to