Hello,
I apologize in advance if this topic has been discuss, but, after doing
research all day, I have not been able to come up with an answer.
I have been trying to figure out how to implement my own Layout class with
Turbine and Velocity. I have the layout templates working just fine, but
would be interested in having multiple layout classes (2 to be exact...
Maybe more in the future). I have subclassed VelocityECSLayout (as I read
to do on this list) and placed the subclass in my modules directory (not
the apache modules) and in my screens I defined getLayout to return the
name of my new Layout class, but it is not getting used. I also tryed
putting it in modules.layouts and it did not work. Where does this need to
be put for Turbine to find it? I consistently get a message telling me
that it was not found.
java.lang.ClassNotFoundException:
Requested Layout not found: Layout
Turbine looked in the following modules.packages path:
[com.financialfinesse.xanadu.modules, org.apache.turbine.modules]
I am trying to accomplish two things:
1) I'd like to have all of the templates that are passed throught the
layout escaped in a proprietary format, but also have a layout that does
not do this. So, I'd like to be able to put an object in the context that
will escape these. If I can figure out how to get my layout found, this
should be easy.
2) I'd like to strip some or all of the html document tags that are added
on with the layout. Reading the ECS apidocs, it looks like this can be done.
Any info you can provide would be greatly appreciated.
Thanks,
Paul J. Boyes
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>