You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lenya.apache.org by Giampaolo <ne...@trapo.it> on 2004/02/11 13:01:04 UTC

Re: how to bypass workflow (very long)

i got again errors:  The requested document '/license.html' with document-id
'/license' does not exist.

I restarted from scratch with the lastest nighly build so i'm sure that only
modifies are the ones that i attach with the present mail.

I modified parameter-doctype.xmap and doctypes.xmap. I put in content a file
named mylic.xml. I post the 3 files and the log. (Thank you again for help and
interest). I hope that not flooded mailboxes..

giampaolo


mylic.xml

<?xml version="1.0" encoding="UTF-8"?>

<license>
	<message>
		This is a license.
	</message>
</license>

doctypes.xmap:

	<map:pipelines>
		<map:pipeline>
 			<map:match pattern="*/*/*/license_*.xml">
 				<map:generate src="content/mylic.xml"/>
 				<map:serialize type="xml"/>
 			</map:match>
			<map:match pattern="*/*/**.xml">
				<map:match type="step" pattern="view-revision">
					<map:generate type="serverpages" src="../../content/rc/view.xsp">
          </map:generate>
					<map:transform src="xslt/toDoc.xsl"/>
					<map:serialize type="xml"/>
				</map:match>
			</map:match>
			<!-- parametrized doctype matcher -->
			<!-- pattern="{rendertype}/{area}/{doctype}/{document-path}" -->
			<map:match pattern="*/*/*/**.xml">
				<map:generate src="content/{2}/{4}.xml"/>
				<map:transform src="xslt/{3}2xhtml.xsl">
					<map:parameter name="rendertype" value="{1}"/>
					<map:parameter name="nodeid" value="{page-envelope:document-node-id}"/>
				</map:transform>
				<map:serialize type="xml"/>
			</map:match>
		</map:pipeline>
	</map:pipelines>

parameter-dcotype.xmap 

<map:pipelines>
		<map:pipeline>
			<map:match pattern="*/license*">
			   <map:generate type="serverpages" 
src="../../config/parameters/default.xsp">
     				<map:parameter name="value" value="license"/>
  			   </map:generate>
  			   <map:serialize type="xml"/>
                    </map:match>
			<!-- {area}/{uri} -->
			<map:match pattern="*/**.html">
				<map:act type="sourcetype" src="content/{1}/{page-envelope:document-path}">
					<map:generate type="serverpages"
src="../../config/parameters/default.xsp">
						<map:parameter name="value" value="{sourcetype}"/>
					</map:generate>
					<map:serialize type="xml"/>
				</map:act>
			</map:match>
		</map:pipeline>
		<map:pipeline>
			<!-- {area}/{uri} -->
			<map:match pattern="*/**.xml">
				<map:act type="sourcetype" src="content/{1}/{2}.xml">
					<map:generate type="serverpages"
src="../../config/parameters/default.xsp">
						<map:parameter name="value" value="{sourcetype}"/>
					</map:generate>
					<map:serialize type="xml"/>
				</map:act>
			</map:match>
		</map:pipeline>
	</map:pipelines>

and finally the log:

DEBUG   (2004-02-11) 12:54.03:281   [sitemap.sitemap.matcher.usecase]
(/lenya/default/live/license.html)
http8080-Processor2/WildcardRequestParameterMatcher: Parameter 'lenya.usecase'
not set.
DEBUG   (2004-02-11) 12:54.03:281   [sitemap.sitemap.matcher.usecase]
(/lenya/default/live/license.html)
http8080-Processor2/WildcardRequestParameterMatcher: Parameter 'lenya.usecase'
not set.
DEBUG   (2004-02-11) 12:54.03:281   [sitemap] (/lenya/default/live/license.html)
http8080-Processor2/PreparableMatchNode: Matcher 'wildcard' matched prepared
pattern '**' at
file:/C:/Programmi/Apache/Tomcat/webapps/lenya/sitemap.xmap:254:31
DEBUG   (2004-02-11) 12:54.03:281   [sitemap] (/lenya/default/live/license.html)
http8080-Processor2/InvokeContext: 
Current Sitemap Parameters:
LEVEL 1
PARAM: '0' VALUE: 'default/live/license.html'
PARAM: '1' VALUE: 'default/live/license.html'

DEBUG   (2004-02-11) 12:54.03:281   [sitemap] (/lenya/default/live/license.html)
http8080-Processor2/DefaultComponentFactory: ComponentFactory creating new
instance of org.apache.lenya.cms.cocoon.acting.DelegatingAuthorizerAction.
DEBUG   (2004-02-11) 12:54.03:281   [sitemap] (/lenya/default/live/license.html)
http8080-Processor2/DefaultComponentFactory: logger attribute is
lenya.sitemap.action.authorizer
DEBUG   (2004-02-11) 12:54.03:281   [sitemap.lenya.sitemap.action.authorizer]
(/lenya/default/live/license.html) http8080-Processor2/AccessControlAction:
Resolving AC resolver for type [publication]
DEBUG   (2004-02-11) 12:54.03:281   [sitemap.lenya.sitemap.action.authorizer]
(/lenya/default/live/license.html) http8080-Processor2/AccessControlAction:
Resolved AC resolver
[org.apache.lenya.cms.ac.PublicationAccessControllerResolver@1e06de8]
DEBUG   (2004-02-11) 12:54.03:281   [sitemap] (/lenya/default/live/license.html)
http8080-Processor2/DefaultComponentFactory: ComponentFactory decommissioning
instance of org.apache.lenya.cms.cocoon.acting.DelegatingAuthorizerAction.
DEBUG   (2004-02-11) 12:54.03:281   [sitemap] (/lenya/default/live/license.html)
http8080-Processor2/InvokeContext: 
Current Sitemap Parameters:
LEVEL 2
LEVEL 1
PARAM: '../0' VALUE: 'default/live/license.html'
PARAM: '../1' VALUE: 'default/live/license.html'

DEBUG   (2004-02-11) 12:54.03:281   [sitemap.sitemap.matcher.usecase]
(/lenya/default/live/license.html)
http8080-Processor2/WildcardRequestParameterMatcher: Parameter 'lenya.usecase'
not set.
DEBUG   (2004-02-11) 12:54.03:281   [sitemap.sitemap.matcher.usecase]
(/lenya/default/live/license.html)
http8080-Processor2/WildcardRequestParameterMatcher: Parameter 'lenya.usecase'
not set.
DEBUG   (2004-02-11) 12:54.03:281   [sitemap] (/lenya/default/live/license.html)
http8080-Processor2/PreparableMatchNode: Matcher 'wildcard' matched prepared
pattern '*/*/**' at
file:/C:/Programmi/Apache/Tomcat/webapps/lenya/global-sitemap.xmap:838:35
DEBUG   (2004-02-11) 12:54.03:281   [sitemap] (/lenya/default/live/license.html)
http8080-Processor2/InvokeContext: 
Current Sitemap Parameters:
LEVEL 1
PARAM: '3' VALUE: 'license.html'
PARAM: '2' VALUE: 'live'
PARAM: '0' VALUE: 'default/live/license.html'
PARAM: '1' VALUE: 'default'

DEBUG   (2004-02-11) 12:54.03:281  
[sitemap.sitemap.action.resource-exists-enhanced]
(/lenya/default/live/license.html) http8080-Processor2/ResourceExistsAction:
.act(): Resource
C:\Programmi\Apache\Tomcat\webapps\lenya\lenya\pubs\default\resources\live\license.html
as type "file" does not exist
DEBUG   (2004-02-11) 12:54.03:296  
[sitemap.sitemap.action.resource-exists-enhanced]
(/lenya/default/live/license.html) http8080-Processor2/ResourceExistsAction:
.act(): Resource
C:\Programmi\Apache\Tomcat\webapps\lenya\lenya\pubs\default\resources\shared\license.html
as type "file" does not exist
DEBUG   (2004-02-11) 12:54.03:296   [sitemap] (/lenya/default/live/license.html)
http8080-Processor2/PreparableMatchNode: Matcher 'wildcard' matched prepared
pattern '*/**' at
file:/C:/Programmi/Apache/Tomcat/webapps/lenya/global-sitemap.xmap:867:33
DEBUG   (2004-02-11) 12:54.03:296   [sitemap] (/lenya/default/live/license.html)
http8080-Processor2/InvokeContext: 
Current Sitemap Parameters:
LEVEL 1
PARAM: '2' VALUE: 'live/license.html'
PARAM: '0' VALUE: 'default/live/license.html'
PARAM: '1' VALUE: 'default'

DEBUG   (2004-02-11) 12:54.03:296   [sitemap] (/lenya/default/live/license.html)
http8080-Processor2/PreparableMatchNode: Matcher 'wildcard' matched prepared
pattern '**' at
file:/C:/Programmi/Apache/Tomcat/webapps/lenya/lenya/pubs/default/sitemap.xmap:19:31
DEBUG   (2004-02-11) 12:54.03:296   [sitemap] (/lenya/default/live/license.html)
http8080-Processor2/InvokeContext: 
Current Sitemap Parameters:
LEVEL 1
PARAM: '0' VALUE: 'live/license.html'
PARAM: '1' VALUE: 'live/license.html'

DEBUG   (2004-02-11) 12:54.03:296   [sitemap] (/lenya/default/live/license.html)
http8080-Processor2/PreparableMatchNode: Matcher 'wildcard' matched prepared
pattern '**.html' at
file:/C:/Programmi/Apache/Tomcat/webapps/lenya/lenya/pubs/default/publication-sitemap.xmap:105:36
DEBUG   (2004-02-11) 12:54.03:296   [sitemap] (/lenya/default/live/license.html)
http8080-Processor2/InvokeContext: 
Current Sitemap Parameters:
LEVEL 1
PARAM: '0' VALUE: 'live/license.html'
PARAM: '1' VALUE: 'live/license'

DEBUG   (2004-02-11) 12:54.03:296   [sitemap] (/lenya/default/live/license.html)
http8080-Processor2/DefaultComponentFactory: ComponentFactory creating new
instance of org.apache.lenya.cms.cocoon.acting.LanguageExistsAction.
DEBUG   (2004-02-11) 12:54.03:296   [sitemap] (/lenya/default/live/license.html)
http8080-Processor2/DefaultComponentFactory: logger attribute is
sitemap.action.language-exists
DEBUG   (2004-02-11) 12:54.03:296   [sitemap] (/lenya/default/live/license.html)
http8080-Processor2/DefaultComponentFactory: ComponentFactory decommissioning
instance of org.apache.lenya.cms.cocoon.acting.LanguageExistsAction.
INFO    (2004-02-11) 12:54.03:312   [sitemap] (/lenya/default/live/license.html)
http8080-Processor2/HandleErrorsNode: Processing handle-errors at
file:/C:/Programmi/Apache/Tomcat/webapps/lenya/lenya/pubs/default/publication-sitemap.xmap:120:37
DEBUG   (2004-02-11) 12:54.03:312   [sitemap] (/lenya/default/live/license.html)
http8080-Processor2/ResourceLimitingPool: Got a
org.apache.cocoon.components.pipeline.impl.CachingProcessingPipeline from the
pool.
DEBUG   (2004-02-11) 12:54.03:312   [sitemap] (/lenya/default/live/license.html)
http8080-Processor2/DefaultComponentFactory: ComponentFactory creating new
instance of org.apache.cocoon.sitemap.NotifyingGenerator.
DEBUG   (2004-02-11) 12:54.03:312   [sitemap] (/lenya/default/live/license.html)
http8080-Processor2/DefaultComponentFactory: no logger attribute available,
using standard logger
DEBUG   (2004-02-11) 12:54.03:312   [sitemap] (/lenya/default/live/license.html)
http8080-Processor2/ResourceLimitingPool: Created a new
org.apache.cocoon.sitemap.NotifyingGenerator from the object factory.
DEBUG   (2004-02-11) 12:54.03:312   [sitemap] (/lenya/default/live/license.html)
http8080-Processor2/ResourceLimitingPool: Got a
org.apache.cocoon.sitemap.NotifyingGenerator from the pool.
DEBUG   (2004-02-11) 12:54.03:312   [sitemap.sitemap.selector.exception]
(/lenya/default/live/license.html) http8080-Processor2/ExceptionSelector:
select succesfull for condition document-does-not-exist
DEBUG   (2004-02-11) 12:54.03:312   [sitemap.modules.input.page-envelope]
(/lenya/default/live/license.html) http8080-Processor2/PageEnvelopeModule:
Resolving page envelope for URL [/lenya/default/live/license.html]
DEBUG   (2004-02-11) 12:54.03:312   [sitemap.modules.input.page-envelope]
(/lenya/default/live/license.html) http8080-Processor2/PageEnvelopeModule:
Returning [document-url] = [/license.html]
DEBUG   (2004-02-11) 12:54.03:312   [sitemap.modules.input.page-envelope]
(/lenya/default/live/license.html) http8080-Processor2/PageEnvelopeModule:
Resolving page envelope for URL [/lenya/default/live/license.html]
DEBUG   (2004-02-11) 12:54.03:312   [sitemap.modules.input.page-envelope]
(/lenya/default/live/license.html) http8080-Processor2/PageEnvelopeModule:
Returning [document-id] = [/license]
DEBUG   (2004-02-11) 12:54.03:312   [sitemap] (/lenya/default/live/license.html)
http8080-Processor2/ExcaliburComponentSelector: transformers: ComponentSelector
could not find the component for hint [xslt]
DEBUG   (2004-02-11) 12:54.03:312   [sitemap] (/lenya/default/live/license.html)
http8080-Processor2/ResourceLimitingPool: Got a
org.apache.cocoon.transformation.DeliTransformer from the pool.
DEBUG   (2004-02-11) 12:54.03:312   [sitemap] (/lenya/default/live/license.html)
http8080-Processor2/InvokeContext: 
Current Sitemap Parameters:
LEVEL 1
PARAM: 'statusCode' VALUE: '404'

DEBUG   (2004-02-11) 12:54.03:328   [sitemap] (/lenya/default/live/license.html)
http8080-Processor2/ExcaliburComponentSelector: transformers: ComponentSelector
could not find the component for hint [xslt]
DEBUG   (2004-02-11) 12:54.03:328   [sitemap] (/lenya/default/live/license.html)
http8080-Processor2/ResourceLimitingPool: Got a
org.apache.cocoon.transformation.DeliTransformer from the pool.
DEBUG   (2004-02-11) 12:54.03:328   [sitemap] (/lenya/default/live/license.html)
http8080-Processor2/ExcaliburComponentSelector: serializers: ComponentSelector
could not find the component for hint [html]
DEBUG   (2004-02-11) 12:54.03:328   [sitemap] (/lenya/default/live/license.html)
http8080-Processor2/ResourceLimitingPool: Got a
org.apache.cocoon.serialization.HTMLSerializer from the pool.
DEBUG   (2004-02-11) 12:54.03:359   [sitemap.sitemap.transformer.deli]
(/lenya/default/live/license.html) http8080-Processor2/TraxTransformer: Using
stylesheet:
'file:/C:/Programmi/Apache/Tomcat/webapps/lenya/lenya/pubs/default/../../xslt/exception/document-does-not-exist.xsl'
in org.apache.cocoon.transformation.DeliTransformer@1703484
DEBUG   (2004-02-11) 12:54.03:406   [sitemap.sitemap.transformer.deli]
(/lenya/default/live/license.html) http8080-Processor2/TraxTransformer: Using
stylesheet:
'file:/C:/Programmi/Apache/Tomcat/webapps/lenya/lenya/pubs/default/../../xslt/util/page2xhtml.xsl'
in org.apache.cocoon.transformation.DeliTransformer@190725e
DEBUG   (2004-02-11) 12:54.03:484   [sitemap] (/lenya/default/live/license.html)
http8080-Processor2/ResourceLimitingPool: Put a
org.apache.cocoon.sitemap.NotifyingGenerator back into the pool.
DEBUG   (2004-02-11) 12:54.03:484   [sitemap] (/lenya/default/live/license.html)
http8080-Processor2/ResourceLimitingPool: Put a
org.apache.cocoon.transformation.DeliTransformer back into the pool.
DEBUG   (2004-02-11) 12:54.03:484   [sitemap] (/lenya/default/live/license.html)
http8080-Processor2/ResourceLimitingPool: Put a
org.apache.cocoon.transformation.DeliTransformer back into the pool.
DEBUG   (2004-02-11) 12:54.03:484   [sitemap] (/lenya/default/live/license.html)
http8080-Processor2/ResourceLimitingPool: Put a
org.apache.cocoon.serialization.HTMLSerializer back into the pool.
DEBUG   (2004-02-11) 12:54.03:484   [sitemap] (/lenya/default/live/license.html)
http8080-Processor2/ResourceLimitingPool: Put a
org.apache.cocoon.components.pipeline.impl.CachingProcessingPipeline back into
the pool.
DEBUG   (2004-02-11) 12:54.03:531   [sitemap.sitemap.matcher.usecase]
(/lenya/lenya/css/menu.css)
http8080-Processor2/WildcardRequestParameterMatcher: Parameter 'lenya.usecase'
not set.
DEBUG   (2004-02-11) 12:54.03:531   [sitemap.sitemap.matcher.usecase]
(/lenya/lenya/css/menu.css)
http8080-Processor2/WildcardRequestParameterMatcher: Parameter 'lenya.usecase'
not set.
DEBUG   (2004-02-11) 12:54.03:531   [sitemap] (/lenya/lenya/css/menu.css)
http8080-Processor2/PreparableMatchNode: Matcher 'wildcard' matched prepared
pattern '**' at
file:/C:/Programmi/Apache/Tomcat/webapps/lenya/sitemap.xmap:254:31
DEBUG   (2004-02-11) 12:54.03:531   [sitemap] (/lenya/lenya/css/menu.css)
http8080-Processor2/InvokeContext: 
Current Sitemap Parameters:
LEVEL 1
PARAM: '0' VALUE: 'lenya/css/menu.css'
PARAM: '1' VALUE: 'lenya/css/menu.css'

DEBUG   (2004-02-11) 12:54.03:546   [sitemap] (/lenya/lenya/css/menu.css)
http8080-Processor2/DefaultComponentFactory: ComponentFactory creating new
instance of org.apache.lenya.cms.cocoon.acting.DelegatingAuthorizerAction.
DEBUG   (2004-02-11) 12:54.03:546   [sitemap] (/lenya/lenya/css/menu.css)
http8080-Processor2/DefaultComponentFactory: logger attribute is
lenya.sitemap.action.authorizer
DEBUG   (2004-02-11) 12:54.03:546   [sitemap.lenya.sitemap.action.authorizer]
(/lenya/lenya/css/menu.css) http8080-Processor2/AccessControlAction: Resolving
AC resolver for type [publication]
DEBUG   (2004-02-11) 12:54.03:546   [sitemap.lenya.sitemap.action.authorizer]
(/lenya/lenya/css/menu.css) http8080-Processor2/AccessControlAction: Resolved
AC resolver
[org.apache.lenya.cms.ac.PublicationAccessControllerResolver@1e06de8]
DEBUG   (2004-02-11) 12:54.03:546   [sitemap] (/lenya/lenya/css/menu.css)
http8080-Processor2/DefaultComponentFactory: ComponentFactory decommissioning
instance of org.apache.lenya.cms.cocoon.acting.DelegatingAuthorizerAction.
DEBUG   (2004-02-11) 12:54.03:546   [sitemap] (/lenya/lenya/css/menu.css)
http8080-Processor2/InvokeContext: 
Current Sitemap Parameters:
LEVEL 2
LEVEL 1
PARAM: '../0' VALUE: 'lenya/css/menu.css'
PARAM: '../1' VALUE: 'lenya/css/menu.css'

DEBUG   (2004-02-11) 12:54.03:546   [sitemap] (/lenya/lenya/css/menu.css)
http8080-Processor2/PreparableMatchNode: Matcher 'wildcard' matched prepared
pattern 'lenya/**' at
file:/C:/Programmi/Apache/Tomcat/webapps/lenya/global-sitemap.xmap:672:37
DEBUG   (2004-02-11) 12:54.03:546   [sitemap] (/lenya/lenya/css/menu.css)
http8080-Processor2/InvokeContext: 
Current Sitemap Parameters:
LEVEL 1
PARAM: '0' VALUE: 'lenya/css/menu.css'
PARAM: '1' VALUE: 'css/menu.css'

DEBUG   (2004-02-11) 12:54.03:578   [sitemap] (/lenya/lenya/css/menu.css)
http8080-Processor2/PreparableMatchNode: Matcher 'wildcard' matched prepared
pattern 'css/**.css' at
file:/C:/Programmi/Apache/Tomcat/webapps/lenya/lenya/lenya.xmap:29:39
DEBUG   (2004-02-11) 12:54.03:578   [sitemap] (/lenya/lenya/css/menu.css)
http8080-Processor2/InvokeContext: 
Current Sitemap Parameters:
LEVEL 1
PARAM: '0' VALUE: 'css/menu.css'
PARAM: '1' VALUE: 'menu'

DEBUG   (2004-02-11) 12:54.03:578   [sitemap] (/lenya/lenya/css/menu.css)
http8080-Processor2/InvokeContext: 
Current Sitemap Parameters:
LEVEL 2
LEVEL 1
PARAM: '../0' VALUE: 'css/menu.css'
PARAM: '../1' VALUE: 'menu'

DEBUG   (2004-02-11) 12:54.03:578   [sitemap] (/lenya/lenya/css/menu.css)
http8080-Processor2/ResourceLimitingPool: Got a
org.apache.cocoon.components.pipeline.impl.CachingProcessingPipeline from the
pool.
DEBUG   (2004-02-11) 12:54.03:578   [sitemap] (/lenya/lenya/css/menu.css)
http8080-Processor2/ExcaliburComponentSelector: generators: ComponentSelector
could not find the component for hint [file]
DEBUG   (2004-02-11) 12:54.03:578   [sitemap] (/lenya/lenya/css/menu.css)
http8080-Processor2/ResourceLimitingPool: Got a
org.apache.cocoon.generation.FileGenerator from the pool.
DEBUG   (2004-02-11) 12:54.03:578   [sitemap] (/lenya/lenya/css/menu.css)
http8080-Processor2/ExcaliburComponentSelector: transformers: ComponentSelector
could not find the component for hint [xslt]
DEBUG   (2004-02-11) 12:54.03:578   [sitemap] (/lenya/lenya/css/menu.css)
http8080-Processor2/ResourceLimitingPool: Got a
org.apache.cocoon.transformation.DeliTransformer from the pool.
DEBUG   (2004-02-11) 12:54.03:578   [sitemap] (/lenya/lenya/css/menu.css)
http8080-Processor2/ExcaliburComponentSelector: serializers: ComponentSelector
could not find the component for hint [text]
DEBUG   (2004-02-11) 12:54.03:578   [sitemap] (/lenya/lenya/css/menu.css)
http8080-Processor2/ResourceLimitingPool: Got a
org.apache.cocoon.serialization.TextSerializer from the pool.
DEBUG   (2004-02-11) 12:54.03:578   [sitemap.sitemap.transformer.deli]
(/lenya/lenya/css/menu.css) http8080-Processor2/TraxTransformer: Using
stylesheet:
'file:/C:/Programmi/Apache/Tomcat/webapps/lenya/lenya/resources/css/css.xsl' in
org.apache.cocoon.transformation.DeliTransformer@190725e
DEBUG   (2004-02-11) 12:54.03:593   [sitemap] (/lenya/lenya/css/menu.css)
http8080-Processor2/AbstractCachingProcessingPipeline: Found cached response
for 'css/menu.css' using key:
PK_G-file-file:/C:/Programmi/Apache/Tomcat/webapps/lenya/lenya/resources/css/menu.xml_T-xslt-file:/C:/Programmi/Apache/Tomcat/webapps/lenya/lenya/resources/css/css.xsl;contextprefix=/lenya;deli-capabilities=[#document:
null];accept=text/css,*/*;q=0.1_S-text-1
DEBUG   (2004-02-11) 12:54.03:593   [sitemap] (/lenya/lenya/css/menu.css)
http8080-Processor2/AbstractCachingProcessingPipeline: validatePipeline: using
valid cached content for 'css/menu.css'.
DEBUG   (2004-02-11) 12:54.03:593   [sitemap] (/lenya/lenya/css/menu.css)
http8080-Processor2/ResourceLimitingPool: Put a
org.apache.cocoon.generation.FileGenerator back into the pool.
DEBUG   (2004-02-11) 12:54.03:593   [sitemap] (/lenya/lenya/css/menu.css)
http8080-Processor2/ResourceLimitingPool: Put a
org.apache.cocoon.transformation.DeliTransformer back into the pool.
DEBUG   (2004-02-11) 12:54.03:593   [sitemap] (/lenya/lenya/css/menu.css)
http8080-Processor2/ResourceLimitingPool: Put a
org.apache.cocoon.serialization.TextSerializer back into the pool.
DEBUG   (2004-02-11) 12:54.03:593   [sitemap] (/lenya/lenya/css/menu.css)
http8080-Processor2/ResourceLimitingPool: Put a
org.apache.cocoon.components.pipeline.impl.CachingProcessingPipeline back into
the pool.



----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.

---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org


Re: how to bypass workflow (very long)

Posted by Andreas Hartmann <an...@apache.org>.
Giampaolo wrote:

>>If you base your publication on the default pub, it is the easiest
>>to provide a dummy XML file at the correct location. You don't have
>>to use it for content generation but can setup a special pipeline
>>in doctypes.xmap (as you already did).
>>
> 
> 
> so, what you're suggesting to me is to create a doctype, licensedoctype for
> example. When i want a "automatic page" i let admin to put a new licesedoctype
> page where he/she wants. In doctype.xmap i should have something like
> 
> 			<map:match pattern="*/*/licensedoctype/**.xml">
> 				<some code that does what i need>
> 				<map:serialize type="xml"/>
> 			</map:match>
> 
> right?

Exactly. But I think "license" is sufficient for the doctype name.

> and choose to publish or not that page..

??

-- Andreas


---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org


Re: how to bypass workflow (very long)

Posted by Giampaolo <ne...@trapo.it>.
> If you base your publication on the default pub, it is the easiest
> to provide a dummy XML file at the correct location. You don't have
> to use it for content generation but can setup a special pipeline
> in doctypes.xmap (as you already did).
> 

so, what you're suggesting to me is to create a doctype, licensedoctype for
example. When i want a "automatic page" i let admin to put a new licesedoctype
page where he/she wants. In doctype.xmap i should have something like

			<map:match pattern="*/*/licensedoctype/**.xml">
				<some code that does what i need>
				<map:serialize type="xml"/>
			</map:match>

right?

and choose to publish or not that page..

-- 
Giampaolo


----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.

---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org


Re: how to bypass workflow (very long)

Posted by Andreas Hartmann <an...@apache.org>.
Giampaolo wrote:

> in doctype i have:
> <map:generate src="content/mylic.xml"/>
> 
> what is my correct document path? my file mylic_en.xml should not be part of
> working area of user since i do not want to keep it on authoring... I would
> like to separate it from editable content. Rember that my page license.html at
> the end will not be a physical file but a built on the fly one (with cinclude)
> and what i need it to bypass lenya way of thinking (edit, publish, and so on)
> to provide some pages of my site that are completely automated (and so do not
> appear anywhere except in live area).

IMO you shouldn't bypass Lenya because this makes maintenance
more complicated. You should rather provide a dedicated menu
for your doctype without the workflow menu items (how to do this
is explained here:
http://cocoon.apache.org/lenya/docs/components/layout/lenya-menubar.html)

If you base your publication on the default pub, it is the easiest
to provide a dummy XML file at the correct location. You don't have
to use it for content generation but can setup a special pipeline
in doctypes.xmap (as you already did).

-- Andreas


---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org


Re: how to bypass workflow (very long)

Posted by Giampaolo <ne...@trapo.it>.
in doctype i have:
<map:generate src="content/mylic.xml"/>

what is my correct document path? my file mylic_en.xml should not be part of
working area of user since i do not want to keep it on authoring... I would
like to separate it from editable content. Rember that my page license.html at
the end will not be a physical file but a built on the fly one (with cinclude)
and what i need it to bypass lenya way of thinking (edit, publish, and so on)
to provide some pages of my site that are completely automated (and so do not
appear anywhere except in live area).

giampaolo

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.

---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org


Re: how to bypass workflow (very long)

Posted by Andreas Hartmann <an...@apache.org>.
Giampaolo wrote:

> i got again errors:  The requested document '/license.html' with document-id
> '/license' does not exist.
> 
> I restarted from scratch with the lastest nighly build so i'm sure that only
> modifies are the ones that i attach with the present mail.
> 
> I modified parameter-doctype.xmap and doctypes.xmap. I put in content a file
> named mylic.xml. I post the 3 files and the log. (Thank you again for help and
> interest). I hope that not flooded mailboxes..

You need the files mylic_{language}.xml in the correct location
(document path), otherwise the LanguageExistsAction in the
publication-sitemap.xmap complains.

-- Andreas


---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org