> From: "Marc Lustig" <[EMAIL PROTECTED]> > > When I don't use any of the methods of my TemplatePageExtendedAttributes > class in my Default.vm everything works fine. When I include one of the > methods like the setScript nothing appears except the error message. > When I comment the one statement in setScript it works fine as well, but > nothing is put into the head, of course. > It seems the problem is due to the RunData-field not being initialized > properly. > > Also, your patch appears incomplete since the RunData-field in > TemplatePageAttributes is declared private. You need to add the field to the > extended class in order to compile. > I have to dig further...
I think I understand the problem now. You have to remember that the patch was for TemplatePageAttributes itself. If you are implementing a class that extends TemplatePageAttributes then there are a few extra things you need. To make this easy for you I have attached my TamplatePageAttributesEx class which I use with my turbine 2.1 based application. Cheers, Scott -- Scott Eade Backstage Technologies Pty. Ltd. http://www.backstagetech.com.au
TemplatePageAttributesEx.java
Description: Binary data
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
