You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Wolle <wg...@cip.physik.uni-wuerzburg.de> on 2002/12/22 20:05:20 UTC

coplet-problems

hi!

i use the portal-framework to for providing information. so i defined a
coplet which contents some links to other xml-files on my local server. in
the portal-framework i have the possibility to change the
font/background color of the web-presentation. but as soon as i follow a
link from the coplet all these definitions are gone.

how can i involve these variables for background color in a web-page
continuatived by the coplet?

i found something similar in the portal-documentation.
i tried to use getxml expressions from the session-modul in the xsl
stylesheet and in the xml file.
both tries do not work.

i am lost and so i need your help. 


bye for now

wolfgang



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

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


Problem with coplet-profile

Posted by Marcel Jurk <ma...@yahoo.de>.
Hi,

I use the portal-framework from Cocoon 2.1 (CVS
12.12.2002).
When I try to add a transformation to a coplet, e.g. a
stylesheet which is located in styles/format.xsl, I
got the following error message.

ERROR   (2002-12-23) 12:01.44:279  
[core.portal-manager] (/ai/ai-coplets)
HttpProcessor[8080][3]/CopletThread: Exception during
processing of coplet: searchthenet
org.apache.avalon.framework.component.ComponentException:
UnnamedSelector: ComponentSelector could not find the
component for hint [xslt]
	at
org.apache.avalon.excalibur.component.ExcaliburComponentSelector.select(ExcaliburComponentSelector.java:198)
	at
org.apache.cocoon.sitemap.DefaultSitemapComponentSelector.select(DefaultSitemapComponentSelector.java:110)
	at
org.apache.cocoon.webapps.portal.components.CopletThread.run(CopletThread.java:179)
	at java.lang.Thread.run(Thread.java:484)

The transformer with the name xslt is defined in the
sitemap as follows:

<map:transformers default="xslt">
 <map:transformer logger="sitemap.transformer.xsltc" 
                  name="xslt" 
                  pool-grow="2" 
                  pool-max="32" 
                  pool-min="8" 
                 
src="org.apache.cocoon.transformation.TraxTransformer">
 
<use-request-parameters>false</use-request-parameters>
 
<use-browser-capabilities-db>false</use-browser-capabilities-db>
 
<transformer-factory>org.apache.xalan.xsltc.trax.TransformerFactoryImpl</transformer-factory>
 </map:transformer>
 <!-- ohter transformer -->
<map:transformers>

Is this a bug or do I something wrong?

For answering thanks in advance.
Regards, Marcel

__________________________________________________________________

Gesendet von Yahoo! Mail - http://mail.yahoo.de
Weihnachts-Einkäufe ohne Stress! http://shopping.yahoo.de

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

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