Re: Displaying 50 records per page using Cheetah
Juha Tuomala <[email protected]> Sat, 27 Apr 2013 13:12:32 +0300 (EEST)
| Newsgroups | gmane.comp.python.cheetah |
|---|---|
| Message-ID | <[email protected]> |
This message is in MIME format. The first part should be readable text,
while the remaining parts are likely unreadable without MIME-aware tools.
--282338916-1218905495-1367057552=:30333
Content-Type: TEXT/PLAIN; charset=utf-8; format=flowed
Content-Transfer-Encoding: quoted-printable
On Fri, 26 Apr 2013, Redhorse, Olivia J. (WSTF-RD)[Jacobs Technology Inc]=
wrote:
> I have been playing with dataTables and I have a question.=C2=A0 I was=20
> not sure if dataTables was going to work inside a *.tmpl file=20
> (cheetah file).=C2=A0 When I test plain html (not using cheetah),=20
> datatables works fine.=C2=A0 But when I try to use dataTables in a=20
> *.tmpl (a cheetah file) I get an error message, invalid character=20
> (in the browser), on the following code.
>=20
> <script type=3D"text/javascript">
> window.onload =3D (function() { $('#table_id').dataTable();} );
> </script>
> It is having a problem resolving the dollar sign ($) in the code.=C2=A0=
I know it is related to the fact that in a cheetah file, the dollar sign=
means a
> variable is declared.=C2=A0 How do I resolve this?=C2=A0 Or am I unders=
tanding this incorrectly?
Cheetah has a directive called '#raw' that can hold stuff that does=20
not get parsed. Try that with your template.
Tuju
--=20
S=C3=A4=C3=A4st=C3=A4misen ja ahkeroinnin tilalle syntyi varsinkin 1960-l=
uvulta l=C3=A4htien oman
onnellisuuden ymp=C3=A4rill=C3=A4 py=C3=B6riv=C3=A4, vastuuton ajatteluta=
pa, joka korostaa oikeuksia
velvollisuuksien sijaan. - Paul Lillrank
--282338916-1218905495-1367057552=:30333
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
--282338916-1218905495-1367057552=:30333
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
Cheetahtemplate-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cheetahtemplate-discuss
--282338916-1218905495-1367057552=:30333--