Jorge Godoy wrote: > Interesting, Michele, because I haven't tried putting it in master.kid. Since > it is something particular to this page only, I didn't think about putting it > there and "polluting" the whole site. This is definitely something to look > at. Specially because if I had something invalid at the start of the body > element, Kid threw an exception, so I believe it was doing something with the > attributes. :-) >
In my case adding it to the template that extends master.kid does nothing, I always get: <body> That's not what I would expect, I haven't looked too close at master.kid but It can be a problem related to it. > I've decided using Bob's solution, since it puts all logic inside de template > itself, making it clearer and easier to maintain. > Agreed, putting attributes on the controller it's not the best thing. :-) > > Thanks for your help! No problem. Ciao Michele

