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 2714 Jan 25, 2002, 5:51 AM
Thread Re: [svalera] Passing a hash or a hash ref to template
Paul 2643 Jan 25, 2002, 5:55 AM
Thread Re: [RedRum] Passing a hash or a hash ref to template
svalera 2628 Jan 25, 2002, 6:08 AM
Thread Re: [svalera] Passing a hash or a hash ref to template
Alex 2625 Jan 25, 2002, 12:46 PM
Thread Re: [Alex] Passing a hash or a hash ref to template
svalera 2663 Jan 25, 2002, 1:39 PM
Thread Re: [svalera] Passing a hash or a hash ref to template
Alex 2642 Jan 25, 2002, 3:51 PM
Thread Re: [Alex] Passing a hash or a hash ref to template
svalera 2634 Jan 25, 2002, 4:16 PM
Post Re: [svalera] Passing a hash or a hash ref to template
Alex 2619 Jan 25, 2002, 4:54 PM