On 15 January 2012 16:22, Dennis Wanyoike <[email protected]> wrote: > My problem is that the variable prev_username is not always present in > the view code when i use tal:on-error="donothing" the input textbox > will not be displayed is there another way i can make the > prev_username variable be ignored?
tal:attributes="value prev_username | nothing" :-) Note that "nothing" is a synynom for "None"; it's just sometimes easier to read. \malthe -- You received this message because you are subscribed to the Google Groups "pylons-discuss" 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/pylons-discuss?hl=en.
