[Maypole] problem setting $r->{template_args}{whatever}

From: Peter Speltz (peterspeltz at yahoo.com)
Date: Wed Oct 27 2004 - 18:32:59 BST


Why doesn't this work?

sub edit : Exported {
        my ($self, $r) = @_;
        $r->{template_args}{helpme} = "PLEASE HELP ME";
}

then in edit template:
[% PROCESS macros%]
[% INCLUDE header %]
<UL> ##### DEBUGGING #####:
        <li> helpme == [% helpme %] </li>
</UL>

[% INCLUDE footer %]

output is:

##### DEBUGGING #####:
helpme ==

not "helpme == PLEASE HELP ME" like i want.

=====
pjs

                
__________________________________
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
http://promotions.yahoo.com/new_mail

_______________________________________________
maypole mailing list
maypole at lists.netthink.co.uk
http://lists.netthink.co.uk/listinfo/maypole



This archive was generated by hypermail 2.1.3 : Thu Feb 24 2005 - 22:25:56 GMT