cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From giacomo <giac...@apache.org>
Subject Re: [c2] writing logicsheet
Date Mon, 30 Apr 2001 05:07:41 GMT


On Sun, 29 Apr 2001, David Holsclaw wrote:

> Hello all,
>
> I have scoured the archives with no success -- so I hope someone can
> point me in the right direction.
>
> I am trying to write my first logicsheet (a simple wrapper around a
> ResourceBundle) to simplify some xsp pages that I've written.
>
> I added the following to my cocoon.xconf:
>
> <builtin-logicsheet>
>    <parameter name="prefix" value="i18n"/>
>    <parameter name="uri" value="http://www.mycomp.com/xsp/i18n"/>
>    <parameter name="href" value="file:///xsp/java/i18n.xsl"/>
> </builtin-logicsheet>
>
> and then put the logicsheet at <context>/xsp/java/i18n.xsl.

Use "context://xsp/java/i18n.xsl" as value for the href attribute from
the parameter element above.

Giacomo

>
> I get an org.apache.cocoon.ResourceNotFoundException whenever this is in
> the cocoon.xconf file.
>
> I have tried different versions of "file://" and "resource://" but can't
> seem to get this working.
>
> Please help with the correct syntax or a push in the right direction!
>
> Thanks in advance.
> ---
> David Holsclaw
>
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>
> To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail: <cocoon-users-help@xml.apache.org>
>
>
>
>


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message