Huh

Sorry I don't understand what you are actually trying to do.

I would say the variable you are trying to compare to is not in the
page template
expression engine dictionary.  (ie the name is not accessible by the
template)

I would need to see a great deal more of the template to work out what
you are doing, plus the context parsed to the render method.

to see if  the variable is accessible just put in <div
tal:content="nocall: abc" tal:on-error="string: variable abc not
defined"/>

T

On Sep 6, 1:57 pm, mugdha <[email protected]> wrote:
> yes i done same like this but it not accept it because it can't take
> variable it wants string value or hard coded value
>
> On Sep 6, 10:49 am, Tim Hoffman <[email protected]> wrote:
>
>
>
>
>
>
>
> > Hi
>
> > The the rhs can be anything/variable/attrubute in scope.
> > assuming abc is a variable.
>
> > <span tal:condition="python:prox==abc">
>
> > or something like that.
>
> > T
> > On Sep 6, 12:50 pm, mugdha <[email protected]> wrote:
>
> > > <span tal:condition="python:switch=='Proximity'">
> > >   <span tal:repeat="prox python:proximityList">
> > >      <span tal:repeat="a python:range(10)">&nbsp;</span>
> > >          <span tal:content="python:prox" /><br>
> > >              <span tal:condition="python:prox=='Inductive'">
> > >         <span tal:repeat="induc python:Inductive">
> > >             <span tal:repeat="a python:range(12)">&nbsp;</span>
> > >         <a href="#" tal:attributes="id python:induc.id"
> > > tal:content="python:induc.id" onclick="javascript:searchLink(id);"></
> > > a><br>
> > >         </span>
> > >              </span>
> > > </span>
> > > </span>
>
> > > In the above code instead of " inductive " word i have dyanamic word
> > > " python:abc  " how i can write dynamic string in the right hand side
> > > of the tal:condition?????- Hide quoted text -
>
> > - Show quoted text -

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" 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/google-appengine?hl=en.

Reply via email to