Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Passing a hash or a hash ref to template

Quote Reply
Passing a hash or a hash ref to template
 How can I pass to templates a hash or a hash ref variable?

For example: If I have an object on the page with properties Name, Size, ... then I use in templates <%Name%>, <%Size%> and the question is if is possible use of <%Object->{Name}%>, <%Object->{Size}%>
Ok, it is possible using loops but not in all cases.
Subject Author Views Date
Thread Passing a hash or a hash ref to template svalera 2757 Jan 25, 2002, 5:51 AM
Thread Re: [svalera] Passing a hash or a hash ref to template
Paul 2686 Jan 25, 2002, 5:55 AM
Thread Re: [RedRum] Passing a hash or a hash ref to template
svalera 2671 Jan 25, 2002, 6:08 AM
Thread Re: [svalera] Passing a hash or a hash ref to template
Alex 2668 Jan 25, 2002, 12:46 PM
Thread Re: [Alex] Passing a hash or a hash ref to template
svalera 2706 Jan 25, 2002, 1:39 PM
Thread Re: [svalera] Passing a hash or a hash ref to template
Alex 2685 Jan 25, 2002, 3:51 PM
Thread Re: [Alex] Passing a hash or a hash ref to template
svalera 2677 Jan 25, 2002, 4:16 PM
Post Re: [svalera] Passing a hash or a hash ref to template
Alex 2662 Jan 25, 2002, 4:54 PM