Re: [Templates] Need help viewing DBIx::Class object in TT

2010-03-18 Thread Oleg Kostyuk
I think, this receipt could be useful: http://search.cpan.org/~ribasushi/DBIx-Class-0.08120/lib/DBIx/Class/Manual/Cookbook.pod#DBIx::Class_objects_with_Data::Dumper Of course, this is not direct answer to your question, but I'm sure that you can adopt it accordingly. 2010/3/18 Chris M : > To giv

[Templates] Need help viewing DBIx::Class object in TT

2010-03-18 Thread Chris M
To give a little detail, I'm grabbing lots of related info from a DB all in one query using DBIx::Class (DBIC). I am passing the object(s) directly to the stash for processing in TT so I don't have to iterate through all that data, pick out the pieces, and store seemingly redundant information. T

Re: [Templates] HTML Plugin - value-less options (e.g. CHECKED, MULTIPLE)

2010-03-18 Thread Oleg Kostyuk
By XHTML, you should: 1) use lowercased names for tags 2) use "... option='option' ..." syntax So, finaly you should get: -- Sincerely yours, Oleg Kostyuk (CUB-UANIC) ___ templates mailing list templa

[Templates] HTML Plugin - value-less options (e.g. CHECKED, MULTIPLE)

2010-03-18 Thread E R
Hi, With the HTML plugin, is there a way to specify options which do not take a value? E.g.: or It seems that the attributes need to specified as a hash, so what would be used for an attribute like MULTIPLE or CHECKED which doesn't have a value associated with it? HTML.element("SELECT", { N