Re: Problem with Templating ... I'm new....

Benjamin Schollnick <[email protected]> Wed, 22 Jun 2011 05:51:17 -0400
Newsgroups gmane.comp.python.cheetah
Message-ID <[email protected]>
--===============3458365190782625031==
Content-Type: multipart/alternative; boundary=Apple-Mail-1--283404487


--Apple-Mail-1--283404487
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii


On Jun 22, 2011, at 1:17 AM, James Abbatiello wrote:

> Have you tried ${idevice_list[$idevice]["battery"][0:5]} ?

No I didn't.  Thank you, I believe that should work, I keep forgetting =
that Cheetah is a Python based tagging system, so it respects the Python =
rules...

> I don't know what might be causing your other problem.  Are you sure =
that something else isn't escaping it before it gets to Cheetah?

I found a work around, but I don't know if it's the best answer...

		#include raw source=3D$insert_map_js

Here's to some more research...  So far, Cheetah is quite useful and =
powerful....=20

		- Benjamin



--Apple-Mail-1--283404487
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=us-ascii

<html><head></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space; =
"><br><div><div>On Jun 22, 2011, at 1:17 AM, James Abbatiello =
wrote:</div><br class=3D"Apple-interchange-newline"><blockquote =
type=3D"cite">Have you tried ${idevice_list[$idevice]["battery"][0:5]} =
?<br></blockquote><div><br></div>No I didn't. &nbsp;Thank you, I believe =
that should work, I keep forgetting that Cheetah is a Python based =
tagging system, so it respects the Python =
rules...</div><div><br></div><div><blockquote type=3D"cite">I don't know =
what might be causing your other problem.&nbsp; Are you sure that =
something else isn't escaping it before it gets to =
Cheetah?<br></blockquote><div><br></div>I found a work around, but I =
don't know if it's the best =
answer...</div><div><br></div><div><div><span class=3D"Apple-tab-span" =
style=3D"white-space:pre">		</span>#include raw =
source=3D$insert_map_js</div><div><br></div><div>Here's to some more =
research... &nbsp;So far, Cheetah is quite useful and =
powerful....&nbsp;</div><div><br></div><div><span class=3D"Apple-tab-span"=
 style=3D"white-space:pre">		</span>- =
Benjamin</div><div><br></div></div><br></body></html>=

--Apple-Mail-1--283404487--


--===============3458365190782625031==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today.
http://p.sf.net/sfu/quest-sfdev2dev
--===============3458365190782625031==
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

--===============3458365190782625031==--