At 20:17 2000-11-24, you wrote:
>on 11/24/2000 7:30 AM, "ingo schuster" <[EMAIL PROTECTED]> wrote:
>
> > We shouldn't need to use this, your right. However, the standard JspLayout
> > assumes that the layout template is already set, but the
> > "services.TurbineTemplateService.default.layout.template" key isn't
> > evaluated. As I'm not sure what this key is meant to be for, I introduced a
> > new one ("services.JspService.default.layout") and this value is used to
> > set the template in JetspeedJspLayout:
> >
> > String templateJsp = TurbineResources.getString(
> > "services.JspService.default.layout","/default.jsp");
> > data.getTemplateInfo().setLayoutTemplate( templateJsp );
> >
> > If you don't do this, you get a 404 error, "/layoutsnull not found" - this
> > has been reported on the turbine list several times, however I haven't
> > figured out yet how it's dealt with properly. I want to clean this (as soon
> > as I find more time...)
> >
> > ingo.
>
>ingo.
>
>the right thing to do here is to spend time tracking down the source of the
>problem and submit patches to the turbine list. just checking in a fork of
>the code because you don't necessarily understand the problem, into jetspeed
>isn't real conducive towards working together imho.
True, hava I already started a thread on the turbine list to get a better
understanding of the JspService. I don't want to double code either, no
worries!
>FYI:
>
>services.TurbineTemplateService.default.layout.template
>
>That is clearly defined in the TurbineResources.properties file.
Yes, I've seen this, but I wasn't sure about how (and if) these keys are
used. There is for example also a key called
"services.TurbineTemplateService.template.path" but both, Webmacro and
Velocity seem to define this on their own... (e.g.
"services.TurbineVelocityService.templates")
Can you answer me this question, is a template service supposed to set the
value of services.TurbineTemplateService.default.layout.template as its
default template (somewhere in the init method)?
If yes,
- shouldn't that be done by the TurbineBaseService?
- I will send a patch on the turbine list.
ingo.
>thanks,
>
>-jon
>
>--
>twice of not very much is still a lot more than not very much
>
>
>
>--
>--------------------------------------------------------------
>Please read the FAQ! <http://java.apache.org/faq/>
>To subscribe: [EMAIL PROTECTED]
>To unsubscribe: [EMAIL PROTECTED]
>Archives and Other: <http://marc.theaimsgroup.com/?l=jetspeed>
>Problems?: [EMAIL PROTECTED]
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://marc.theaimsgroup.com/?l=jetspeed>
Problems?: [EMAIL PROTECTED]