cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arthur Allen" <arthur_al...@hotmail.com>
Subject Re: Re: Modular database select -> session attributes won't fly
Date Mon, 16 Jun 2003 21:34:57 GMT
Thanks Chris for the clarifications.
You wrote--
>>In <map:components><map:actions/></map:components> you need to configure
>>the output for the actions, for each one of the database actions
>>seperately. Add

>><output>session-attr</output>

(>> please see javadocs for exact parameter name) to <map:action/>


>>This would be the place to disable prepending table name or appending
>>row number to the parameter name. Again, see javadocs for DatabaseAction
>>for details.

Your syntax is correct according to the javadocs. I tried it (indeed already 
had
among many other things) and noted no change. I did use other directives
in that area to drop indices, which worked fine.

I noted the output to the logger if that helps:


DEBUG   (2003-06-16) 14:19.01:648   [sitemap] 
(/xbrl/xbrl/taxonomy/usfr-gaap-ci) Thread-9/SessionPropagatorAction: All 
params propagated to session
DEBUG   (2003-06-16) 14:19.01:648   [sitemap] 
(/xbrl/xbrl/taxonomy/usfr-gaap-ci) Thread-9/InvokeContext:
Current Sitemap Parameters:
LEVEL 3
PARAM: 'taxonomy.label' VALUE: 'usfr-gaap-ci'
LEVEL 2
PARAM: '../0' VALUE: 'taxonomy/usfr-gaap-ci'
PARAM: '../1' VALUE: 'usfr-gaap-ci'
LEVEL 1
PARAM: '../../0' VALUE: 'taxonomy/usfr-gaap-ci'
PARAM: '../../1' VALUE: 'usfr-gaap-ci'

DEBUG   (2003-06-16) 14:19.01:658   [sitemap] 
(/xbrl/xbrl/taxonomy/usfr-gaap-ci) Thread-9/DefaultComponentFactory: 
ComponentFactory creating new instance of 
org.apache.cocoon.acting.modular.DatabaseSelectAction.
DEBUG   (2003-06-16) 14:19.01:658   [sitemap] 
(/xbrl/xbrl/taxonomy/usfr-gaap-ci) Thread-9/DefaultComponentFactory: no 
logger attribute available, using standard logger
DEBUG   (2003-06-16) 14:19.01:658   [sitemap] 
(/xbrl/xbrl/taxonomy/usfr-gaap-ci) 
Thread-9/AbstractComplementaryConfigurableAction: Using cached configuration 
for content/xdocs/xbrl/dbDescriptor.xml
DEBUG   (2003-06-16) 14:19.01:658   [sitemap] 
(/xbrl/xbrl/taxonomy/usfr-gaap-ci) Thread-9/DatabaseAction: modeTypes : 
{1=others, 2=session-attr, 0=autoincr}
DEBUG   (2003-06-16) 14:19.01:658   [sitemap] 
(/xbrl/xbrl/taxonomy/usfr-gaap-ci) Thread-9/DatabaseAction: i=0
DEBUG   (2003-06-16) 14:19.01:658   [sitemap] 
(/xbrl/xbrl/taxonomy/usfr-gaap-ci) Thread-9/DatabaseAction: requested mode 
was "others" returning "all"
DEBUG   (2003-06-16) 14:19.01:658   [sitemap] 
(/xbrl/xbrl/taxonomy/usfr-gaap-ci) Thread-9/DatabaseAction: i=1
DEBUG   (2003-06-16) 14:19.01:658   [sitemap] 
(/xbrl/xbrl/taxonomy/usfr-gaap-ci) Thread-9/DatabaseAction: requested mode 
was "others" returning "all"
DEBUG   (2003-06-16) 14:19.01:658   [sitemap] 
(/xbrl/xbrl/taxonomy/usfr-gaap-ci) Thread-9/DatabaseAction: i=2
DEBUG   (2003-06-16) 14:19.01:658   [sitemap] 
(/xbrl/xbrl/taxonomy/usfr-gaap-ci) Thread-9/DatabaseAction: requested mode 
was "others" returning "all"
DEBUG   (2003-06-16) 14:19.01:658   [sitemap] 
(/xbrl/xbrl/taxonomy/usfr-gaap-ci) Thread-9/DatabaseAction: query: SELECT 
namespace, taxonomyid FROM loadedtaxonomies WHERE label= ?
DEBUG   (2003-06-16) 14:19.01:668   [sitemap] 
(/xbrl/xbrl/taxonomy/usfr-gaap-ci) Thread-9/DatabaseAction: Trying to set 
column loadedtaxonomies.label from session-attr using getAttribute method
DEBUG   (2003-06-16) 14:19.01:668   [sitemap] 
(/xbrl/xbrl/taxonomy/usfr-gaap-ci) Thread-9/DatabaseAction: Setting column 
loadedtaxonomies.label [0] usfr-gaap-ci
DEBUG   (2003-06-16) 14:19.01:668   [sitemap] 
(/xbrl/xbrl/taxonomy/usfr-gaap-ci) Thread-9/DatabaseAction: ====> row no. 0
DEBUG   (2003-06-16) 14:19.01:668   [sitemap] 
(/xbrl/xbrl/taxonomy/usfr-gaap-ci) Thread-9/DatabaseAction: Setting column 
loadedtaxonomies.label to usfr-gaap-ci
DEBUG   (2003-06-16) 14:19.01:668   [sitemap] 
(/xbrl/xbrl/taxonomy/usfr-gaap-ci) Thread-9/DatabaseAction: Setting column 
loadedtaxonomies.namespace to 
http://www.xbrl.org/taxonomy/us/fr/gaap/ci/2002-10-15
DEBUG   (2003-06-16) 14:19.01:668   [sitemap] 
(/xbrl/xbrl/taxonomy/usfr-gaap-ci) Thread-9/DatabaseAction: Setting column 
loadedtaxonomies.taxonomyid to 31
DEBUG   (2003-06-16) 14:19.01:688   [sitemap] 
(/xbrl/xbrl/taxonomy/usfr-gaap-ci) Thread-9/DefaultComponentFactory: 
ComponentFactory decommissioning instance of 
org.apache.cocoon.acting.modular.DatabaseSelectAction.
DEBUG   (2003-06-16) 14:19.01:688   [sitemap] 
(/xbrl/xbrl/taxonomy/usfr-gaap-ci) Thread-9/InvokeContext:
Current Sitemap Parameters:
LEVEL 3
PARAM: 'loadedtaxonomies.label' VALUE: 'usfr-gaap-ci'
PARAM: 'row-count' VALUE: '1'
PARAM: 'loadedtaxonomies.namespace' VALUE: 
'http://www.xbrl.org/taxonomy/us/fr/gaap/ci/2002-10-15'
PARAM: 'loadedtaxonomies.taxonomyid' VALUE: '31'
LEVEL 2
PARAM: '../0' VALUE: 'taxonomy/usfr-gaap-ci'
PARAM: '../1' VALUE: 'usfr-gaap-ci'
LEVEL 1
PARAM: '../../0' VALUE: 'taxonomy/usfr-gaap-ci'
PARAM: '../../1' VALUE: 'usfr-gaap-ci'

Arthur

_________________________________________________________________
MSN 8 with e-mail virus protection service: 2 months FREE*  
http://join.msn.com/?page=features/virus


---------------------------------------------------------------------
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