Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
Message from discussion Genshi templates and Mootools JS selectors
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Vortexmind  
View profile  
 More options Sep 28 2008, 6:03 pm
From: Vortexmind <vortexm...@gmail.com>
Date: Sun, 28 Sep 2008 15:03:03 -0700 (PDT)
Local: Sun, Sep 28 2008 6:03 pm
Subject: Genshi templates and Mootools JS selectors
Hi all
I'm developing a web app using Turbogears 2 with Genshi templates and
Mootools Javascript framework. I am a novice with Genshi and I'm
having a problem.

As you may know, MooTools support a selector $$ to find an array of
elements with a specified selector. For example, $$('a') returns all
the hyperlinks in the document.  ( docs: http://mootools.net/docs/Element/Element#dollars
)

My problem is: all my double dollars in my javascript code ($$) are
being processed by genshi and trasformed into single dollar ($), with
different semantic and this causes my scripts to fail.

Is there a way to "escape" those double dollars so that genshi ignore
them, or do I have to include my code in an external file so it
doesn't get processed by the template engine?

Thank you for any help :)


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.