Re: set a session attribute in the sitemap

2006-12-20 Thread Roel Croonenberghs
it works tnx Jeroen Reijn <[EMAIL PROTECTED]> 19/12/2006 20:04 Please respond to users@cocoon.apache.org To users@cocoon.apache.org cc Subject Re: set a session attribute in the sitemap Hmm I was a little bit to fast with the trigger :-) I mean that it should become

Re: set a session attribute in the sitemap

2006-12-20 Thread Mark Lundquist
On Dec 19, 2006, at 2:03 PM, Jeroen Reijn wrote: Well if I look back at my emails, I'm afraid that the emails are meant the way I wanted them. Both session-propagator emails were a reply to the part where Roel had problems with a 'namespace not defined' error in his sitemap after trying the S

Re: set a session attribute in the sitemap

2006-12-19 Thread Jeroen Reijn
Mark, Mark Lundquist wrote: On Dec 19, 2006, at 11:04 AM, Jeroen Reijn wrote: Hmm I was a little bit to fast with the trigger :-) I mean that it should become Hmmm, I don't think so... In your example, the action is configured with the name "setteraction". Maybe you got mixed up be

Re: set a session attribute in the sitemap

2006-12-19 Thread Mark Lundquist
On Dec 19, 2006, at 11:04 AM, Jeroen Reijn wrote: Hmm I was a little bit to fast with the trigger :-) I mean that it should become Hmmm, I don't think so... In your example, the action is configured with the name "setteraction". Maybe you got mixed up because in your reply to Kai Mu

Re: set a session attribute in the sitemap

2006-12-19 Thread Jeroen Reijn
users@cocoon.apache.org Subject: RE: set a session attribute in the sitemap I got this message org.apache.avalon.framework.configuration.ConfigurationException: Invalid namespace '' at file:/C:/Sites/aldnl_151r/dynamic/sitemap.xmap:1126:35 Roel Croonenberghs Sofico Benelux Technologiepark 1 B

Re: set a session attribute in the sitemap

2006-12-19 Thread Jeroen Reijn
Hi Mark, sure: First of you need to define the action with a specific 'mode' You have three options for the mode: 'session-attribute', 'request-attribute' and the default is 'object-model'. Then you define the matcher in your sitemap: And you are now able to ret

Re: set a session attribute in the sitemap

2006-12-19 Thread Jeroen Reijn
PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Roel Croonenberghs Sent: Monday, December 18, 2006 5:02 PM To: users@cocoon.apache.org Subject: RE: set a session attribute in the sitemap

Re: set a session attribute in the sitemap

2006-12-19 Thread Mark Lundquist
On Dec 18, 2006, at 7:00 AM, Jeroen Reijn wrote: Or use the SetterAction http://cocoon.apache.org/2.1/apidocs/org/apache/cocoon/acting/ SetterAction.html Jeroen, can you post an example of how to use the SetterAction? The sitemap usage model wasn't clear to me from the API. thx, —ml—

RE: set a session attribute in the sitemap

2006-12-18 Thread Roel Croonenberghs
yes; Kai Mutz <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 18/12/2006 17:18 Please respond to users@cocoon.apache.org To cc Subject RE: set a session attribute in the sitemap Do you have the session-propagator action defined in your s

RE: set a session attribute in the sitemap

2006-12-18 Thread Kai Mutz
he.org Subject: RE: set a session attribute in the sitemap I got this message org.apache.avalon.framework.configuration.ConfigurationException: Invalid namespace '' at file:/C:/Sites/aldnl_151r/dynamic/sitemap.xmap:1126:35 Roel Croonenberghs Sofico Benelux Technologiepark 1 B

RE: set a session attribute in the sitemap

2006-12-18 Thread Roel Croonenberghs
ect RE: set a session attribute in the sitemap Can you post the snippet around line 1126 of your sitemap. Kai -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Roel Croonenberghs Sent: Monday, December 18, 2006 4:06 PM To: users@cocoon.apache.org Subject: R

RE: set a session attribute in the sitemap

2006-12-18 Thread Kai Mutz
Can you post the snippet around line 1126 of your sitemap. Kai -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Roel Croonenberghs Sent: Monday, December 18, 2006 4:06 PM To: users@cocoon.apache.org Subject: RE: set a session attribute in the sitemap I

RE: set a session attribute in the sitemap

2006-12-18 Thread Roel Croonenberghs
che.org To cc Subject RE: set a session attribute in the sitemap With the SessionPropagatorAction: http://cocoon.apache.org/2.1/apidocs/org/apache/cocoon/acting/SessionPropaga torAction.html Kai -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Roel Cr

Re: set a session attribute in the sitemap

2006-12-18 Thread Jeroen Reijn
Or use the SetterAction http://cocoon.apache.org/2.1/apidocs/org/apache/cocoon/acting/SetterAction.html Kind regards, Jeroen Reijn Kai Mutz wrote: With the SessionPropagatorAction: http://cocoon.apache.org/2.1/apidocs/org/apache/cocoon/acting/SessionPropaga torAction.html Kai -Original

RE: set a session attribute in the sitemap

2006-12-18 Thread Kai Mutz
With the SessionPropagatorAction: http://cocoon.apache.org/2.1/apidocs/org/apache/cocoon/acting/SessionPropaga torAction.html Kai -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Roel Croonenberghs Sent: Monday, December 18, 2006 3:44 PM To: users@cocoon.apa