You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Donald Ball <ba...@webslingerZ.com> on 2001/04/30 15:09:04 UTC

Re: [C2] Taglibs(?) for XSP howto

On Mon, 30 Apr 2001 gcs@agentsinside.com wrote:

> Hello,
>
> I would like to create my tags for an XSP page. Like <newlib:newfunct/>.
> I think I have the correct file content, the only question is where to
> store the .xml file which makes the tag -> fuction resolve. I can not
> find an entry in sitemap.xmap for it.

cocoon.xconf

> Also, can I ask someone who has a custom XSP application to send it to
> me as an example (I mean I am intrested how to deploy "foreign
> applications" into Coccon2); what files should be changed, what is the
> layout etc.

i'm not sure exactly what you're looking for...?


---------------------------------------------------------------------
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>


Re: [C2] Taglibs(?) for XSP howto

Posted by Donald Ball <ba...@webslingerZ.com>.
On Thu, 3 May 2001 gcs@agentsinside.com wrote:

> > woof, best thing we've got for that right now is the c2 sample site.
>  Can you please send it to me?

it's in the webapps directory. read the installation instructions.

- donald


---------------------------------------------------------------------
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>


Re: [C2] Taglibs(?) for XSP howto

Posted by gc...@agentsinside.com.
Hi,

On SZE, MÁJ 02, 2001 at 01:13:35 -0400, Donald Ball wrote:

> i couldn't get file:/// urls to work here either - try context:// to load
> the logicsheet from your webapp directory.
 I am trying with context:// , and with different directories. Result is
an expection as:
Failed to execute pipeline.
org.apache.cocoon.ProcessingException

org.apache.cocoon.ProcessingException: Failed to execute pipeline.:org.apache.cocoon.ProcessingException: Failed to execute pipeline.:org.apache.cocoon.ResourceNotFoundException: markup-languages: ComponentSelector could not access the Component for hint: xsp:org.apache.avalon.component.ComponentException: markup-languages: ComponentSelector could not access the Component for hint: xsp

org.apache.cocoon.ProcessingException: Failed to execute pipeline.:org.apache.cocoon.ResourceNotFoundException: markup-languages: ComponentSelector could not access the Component for hint: xsp:org.apache.avalon.component.ComponentException: markup-languages: ComponentSelector could not access the Component for hint: xsp
(the line above repeated)

at org.apache.cocoon.components.pipeline.CachingEventPipeline.process(CachingEventPipeline.java:213)
at org.apache.cocoon.components.pipeline.CachingStreamPipeline.process(CachingStreamPipeline.java:307)
at org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:3316)
...

Have you ever seen similar? I do not have a clue. :-( Maybe I will try
with a newer build of Cocoon2, but I think it is still my mistake
somewhere.

> woof, best thing we've got for that right now is the c2 sample site.
 Can you please send it to me?

Thank you very much!
Laszlo

---------------------------------------------------------------------
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>


Re: [C2] Taglibs(?) for XSP howto

Posted by giacomo <gi...@apache.org>.

On Wed, 2 May 2001, GCS wrote:

> Hi Donald,
>
> * Donald Ball <ba...@webslingerZ.com> [010430 20:19]:
>
> > cocoon.xconf
>  Thanks, I added the following lines to the "<markup-languages>"
> section:
> <builtin-logicsheet>
>   <parameter name="prefix" value="gcs"/>
>   <parameter name="uri" value="http://c64.rulez.org/%7egcs"/>
>   <parameter name="href" value="file:///home/gcs/example.xsl"/>
> </builtin-logicsheet>
>
> Does not work. :*) I will play with resource:// etc.

You can also use the context:// protocol and put your logicsheet
somewhere in the webap context of cocoon (I suggest using /WEB-INF/...)

Giacomo

>
> > i'm not sure exactly what you're looking for...?
>  A very basic application, which uses XSP. Format: some kind of jar
> files, and fe. with "ant deploy" it manages to put the jar files into
> place, modify the necessary files for the path definitions etc. Just to
> see a working example how to configure "third-party" examples.
>
> Regards, Laszlo
>
> ---------------------------------------------------------------------
> 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: <co...@xml.apache.org>
> For additional commands, e-mail: <co...@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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>


Re: [C2] Taglibs(?) for XSP howto

Posted by Donald Ball <ba...@webslingerZ.com>.
On Wed, 2 May 2001, GCS wrote:

> Hi Donald,
>
> * Donald Ball <ba...@webslingerZ.com> [010430 20:19]:
>
> > cocoon.xconf
>  Thanks, I added the following lines to the "<markup-languages>"
> section:
> <builtin-logicsheet>
>   <parameter name="prefix" value="gcs"/>
>   <parameter name="uri" value="http://c64.rulez.org/%7egcs"/>
>   <parameter name="href" value="file:///home/gcs/example.xsl"/>
> </builtin-logicsheet>
>
> Does not work. :*) I will play with resource:// etc.

i couldn't get file:/// urls to work here either - try context:// to load
the logicsheet from your webapp directory.

> > i'm not sure exactly what you're looking for...?
>  A very basic application, which uses XSP. Format: some kind of jar
> files, and fe. with "ant deploy" it manages to put the jar files into
> place, modify the necessary files for the path definitions etc. Just to
> see a working example how to configure "third-party" examples.

woof, best thing we've got for that right now is the c2 sample site.

- donald



---------------------------------------------------------------------
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>


Re: [C2] Taglibs(?) for XSP howto

Posted by GCS <gc...@agentsinside.com>.
Hi Donald,

* Donald Ball <ba...@webslingerZ.com> [010430 20:19]:

> cocoon.xconf
 Thanks, I added the following lines to the "<markup-languages>"
section:
<builtin-logicsheet>
  <parameter name="prefix" value="gcs"/>
  <parameter name="uri" value="http://c64.rulez.org/%7egcs"/>
  <parameter name="href" value="file:///home/gcs/example.xsl"/>
</builtin-logicsheet>

Does not work. :*) I will play with resource:// etc.

> i'm not sure exactly what you're looking for...?
 A very basic application, which uses XSP. Format: some kind of jar
files, and fe. with "ant deploy" it manages to put the jar files into
place, modify the necessary files for the path definitions etc. Just to
see a working example how to configure "third-party" examples.

Regards, Laszlo

---------------------------------------------------------------------
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>