You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by julien bloit <Ju...@ircam.fr> on 2003/10/28 16:52:30 UTC
shopping cart : creating a new context
Hi all,
I want to implement a rather classical type of webapp where the user browses a catalog, adds items to its shopping cart, and logs in or registers when he's ready to buy the items from his cart.
I browsed through the mailing list archive and it seems I could proceed using the session transformer.
Here's a snippet of my sitemap :
<map:pipeline>
<map:match pattern="add_item/*">
<map:generate src="contexts/cart.xml"/>
<map:transform src="xsl/create_context.xsl">
<map:parameter name="item_id" value="{1}"/>
</map:transform>
<map:transform type="session"/>
<map:serialize>
</map:match>
</map:pipeline>
The cart.xml is :
<?xml version="1.0" encoding="ISO-8859-1"?>
<cart/>
And this is the create_context.xsl :
<?xml version="1.0"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:session="http://cocoon.apache.org/session/1.0">
<xsl:param name="item_id"/>
<xsl:template match="cart">
<resource xmlns:session="http://cocoon.apache.org/session/1.0">
<session:createcontext name="mycart"/>
<session:setxml context="mycart" path="/">
<cart>
<item_id><xsl:value-of select="$item_id"/></item_id>
</cart>
</session:setxml>
<session:getxml context="mycart" path="/"/>
</resource>
</xsl:template>
</xsl:stylesheet>
I then try to access the context data using the following xsp in a different pipeline :
<?xml version="1.0"?>
<xsp:page language="java" xmlns:xsp="http://apache.org/xsp" xmlns:xsp-session-fw="http://apache.org/xsp/session-fw/1.0">
<message>
<xsp-session-fw:getxml context="mycart" path="/"/>
</message>
</xsp:page>
But I get an error with the following message :
"org.apache.cocoon.ProcessingException: SessionManager.getContextFragment: Context 'mycart' not found."
Aside from knowing where the error might come from, I'd like to know if this seems a correct way to proceed to store user data while he's not logged yet.
many many thanks for your thoughts!
Cheers,
Julien
Re: shopping cart : creating a new context
Posted by julien bloit <Ju...@ircam.fr>.
Thank you, that was the answer to my problem.
----- Original Message -----
From: "Matthew Langham" <ml...@s-und-n.de>
To: "julien bloit" <Ju...@ircam.fr>; <us...@cocoon.apache.org>
Sent: Wednesday, October 29, 2003 4:21 PM
Subject: RE: shopping cart : creating a new context
> > <resource xmlns:session="http://cocoon.apache.org/session/1.0">
>
> The namespace should read: http://apache.org/cocoon/session/1.0
>
> See also this post:
> http://marc.theaimsgroup.com/?l=xml-cocoon-dev&m=106674388619634&w=2
>
> Matthew
>
>
> > -----Original Message-----
> > From: julien bloit [mailto:Julien.Bloit@ircam.fr]
> > Sent: Wednesday, October 29, 2003 4:02 PM
> > To: users@cocoon.apache.org; mlangham@s-und-n.de
> > Subject: Re: shopping cart : creating a new context
> >
> >
> > Ok, the session creation seems to work with the session action,
> > however, it
> > seems I can't get the session transformer to work in my pipeline :
> >
> > <map:pipeline>
> > <map:match pattern="ajout">
> > <map:act type="session"/>
> > <map:generate src="contexts/new_panier.xml"/>
> > <map:transform type="session"/>
> > <map:serialize type="xml"/>
> > </map:match>
> > </map:pipeline>
> >
> > where new_panier.xml is :
> >
> > <?xml version="1.0"?>
> > <resource xmlns:session="http://cocoon.apache.org/session/1.0">
> > <session:createcontext name="mycart"/>
> > <session:setxml context="mycart" path="/">
> > <cart>
> > <item_id>first item</item_id>
> > <item_id>second item</item_id>
> > </cart>
> > </session:setxml>
> > <session:getxml context="mycart" path="/"/>
> > </resource>
> >
> > I always get the following output (obviously, no transformation
> > happening...) :
> >
> > <?xml version="1.0" encoding="UTF-8"?>
> > <resource xmlns:session="http://cocoon.apache.org/session/1.0">
> > <session:createcontext name="mycart"/>
> > <session:setxml context="mycart" path="/">
> > <cart>
> > <item_id>first item</item_id>
> > <item_id>second item</item_id>
> > </cart>
> > </session:setxml>
> > <session:getxml context="mycart" path="/"/>
> > </resource>
> >
> > What am I missing ?? feel like a dummy...
> >
> > > Hi Julien,
> > >
> > > I missed the beginning of this thread (just read it in the archive).
> > Before
> > > creating a context to store data in you must create a session for the
> > user.
> > > Check this page for details on the Session action:
> > > http://cocoon.apache.org/2.1/userdocs/actions/session-action.html
> > >
> > > You don't need any authentication for this.
> > >
> > > HTH
> > >
> > > Matthew
> > >
> > > > -----Original Message-----
> > > > From: julien bloit [mailto:Julien.Bloit@ircam.fr]
> > > > Sent: Wednesday, October 29, 2003 1:04 PM
> > > > To: users@cocoon.apache.org
> > > > Subject: Re: shopping cart : creating a new context
> > > >
> > > >
> > > > Thanks Peter,
> > > > Before I dig into the problem a little more, can you tell me
> > if you were
> > > > able to create a session context without any user identification
> > process?
> > > >
> > > > thanks for your help
> > > > Julien
> > > >
> > > > ----- Original Message -----
> > > > From: "Peter Dietz" <di...@ipsi.fhg.de>
> > > > To: <us...@cocoon.apache.org>
> > > > Sent: Wednesday, October 29, 2003 1:00 PM
> > > > Subject: RE: shopping cart : creating a new context
> > > >
> > > >
> > > > > Hi,
> > > > >
> > > > > I also had problems creating and accessing session
> > contexts. I solved
> > > > > them using the "session logicsheet". You can find the doc here
> > > > > http://cocoon.apache.org/2.1/userdocs/xsp/session.html
> > > > >
> > > > > Have fun,
> > > > > Peter
> > > > >
> > > > > -----Original Message-----
> > > > > From: julien bloit [mailto:Julien.Bloit@ircam.fr]
> > > > > Sent: Mittwoch, 29. Oktober 2003 11:59
> > > > > To: users@cocoon.apache.org
> > > > > Subject: Re: shopping cart : creating a new context
> > > > >
> > > > > Alright, I'll try it.
> > > > > What do you mean by "experimental"? It's not wise to
> > implement it in a
> > > > > production project for the moment ?
> > > > >
> > > > > ----- Original Message -----
> > > > > From: "leo leonid" <te...@leonid.de>
> > > > > To: <us...@cocoon.apache.org>
> > > > > Sent: Tuesday, October 28, 2003 10:22 PM
> > > > > Subject: Re: shopping cart : creating a new context
> > > > >
> > > > >
> > > > >
> > > > > On Oct 28, 2003, at 4:52 PM, julien bloit wrote:
> > > > >
> > > > > > Hi all,
> > > > > >
> > > > > > I want to implement a rather classical type of webapp
> > where the user
> > > > > > browses a catalog, adds items to its shopping cart, and logs in
or
> > > > > > registers when he's ready to buy the items from his cart.
> > > > > >
> > > > > > I browsed through the mailing list archive and it seems I could
> > > > > > proceed using the session transformer.
> > > > > >
> > > > > > Here's a snippet of my sitemap :
> > > > > >
> > > > > >
> > > > >
> > > > > <snippet />
> > > > >
> > > > >
> > > > > >
> > > > > > Aside from knowing where the error might come from, I'd
> > like to know
> > > > > > if this seems a correct way to proceed to store user data
> > while he's
> > > > > > not logged yet.
> > > > > >
> > > > >
> > > > > If you want to see another (experimental) approach, look at the
> > > > > PetStore Sample. It uses flow script to achieve this
> > functionality. At
> > > > > the moment I'm implementing the missing parts of the sample, using
> > > > > woody as form framework. Expect a patch in the next days.
> > > > >
> > > > > /leo
> > > > >
> > > > >
> > > > >
> > > > > > many many thanks for your thoughts!
> > > > > > Cheers,
> > > > > > Julien
> > > > >
> > > > >
> > > > >
> > ---------------------------------------------------------------------
> > > > > To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> > > > > For additional commands, e-mail: users-help@cocoon.apache.org
> > > > >
> > > > >
> > > > >
> > > > >
> > ---------------------------------------------------------------------
> > > > > To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> > > > > For additional commands, e-mail: users-help@cocoon.apache.org
> > > > >
> > > > >
> > > > >
> > > > >
> > ---------------------------------------------------------------------
> > > > > To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> > > > > For additional commands, e-mail: users-help@cocoon.apache.org
> > > > >
> > > > >
> > > >
> > > >
> > >
> ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> > > > For additional commands, e-mail: users-help@cocoon.apache.org
> > > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> > > For additional commands, e-mail: users-help@cocoon.apache.org
> > >
> > >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: shopping cart : creating a new context
Posted by go...@osmosis.gr.
i use mod_proxy too
i had the same problem with session and locale ... the only solution was
to keep locale in cookies
i think that this is a bug but i dont know if its cocoon's or mod_proxy's
--stavros
On Fri, 31 Oct 2003, julien bloit wrote:
> Thank you Stavros,
> I had quite the same code, but i found out my problem comes from the
> connection between my apache 2 server and tomcat. The problem might come
> from the fact that I use the mod_proxy connector instead of the mod_jk,
> which is why I loose track of the sessions.
>
> Any thoughts on this?
>
> Regards,
> Julien
>
> >
> > ok the files are here:
> >
> > http://wiki.osmosis.gr/Wiki.jsp?page=SimpleCart
> >
> > --stavros
> >
> >
> > On Thu, 30 Oct 2003, julien bloit wrote:
> >
> > > Do you have a sitemap and xsl example of this? I have problems for
> merging
> > > items, it seems my sitemap looses track of the session context after
> > > creating it and adding the first item to the cart.
> > >
> > > thanks
> > > Julien
> > >
> > > ----- Original Message -----
> > > From: <go...@osmosis.gr>
> > > To: <us...@cocoon.apache.org>
> > > Sent: Wednesday, October 29, 2003 8:38 PM
> > > Subject: Re: shopping cart : creating a new context
> > >
> > >
> > > > i'm interesting too about this cart
> > > >
> > > > if u use setxml then you re-create the content in session's context
> > > > (correct me if i'm wring)
> > > >
> > > > so that we need is a mechanism tha wil determine if the "shoping-cart"
> > > > exist if not will create it (setxml) otherwhise will just add items
> > > > (mergexml) is it possible inside xslt? or the solution is an action?
> > > >
> > > > i have work on your example an i have a shoping-cart where i can
> add-item
> > > > (for first time) so the cart is created and then merge more items
> > > > but i have 2 different .xsl and to differen urls to call
> > > > /add-cart/
> > > > /mrg-cart/
> > > >
> > > > -- stavros
> > > >
> > > >
> > > >
> > > > On Wed, 29 Oct 2003, Matthew Langham wrote:
> > > >
> > > > > If you store the "goods" in the "cart" - why don't you just then add
> > > > > and remove items as needed using setxml and removexml. There is no
> need
> > > > > to copy the cart each time - it just stays in the session context.
> > > > >
> > > > > Matthew
> > > > >
> > > > >
> > > > > On Mittwoch, Oktober 29, 2003, at 06:38 PM, julien bloit wrote:
> > > > >
> > > > > > That's right.
> > > > > > In fact, I try to solve one problem after the other, doing little
> > > > > > steps, I
> > > > > > first tried to work out the basic fonctionnality. Now that I got
> it
> > > > > > working,
> > > > > > I'm working on the issue you just mentionned. I think maybe an xsl
> > > > > > stylesheet mixed with the <session:mergexml> tag could do the
> trick. I
> > > > > > have
> > > > > > no results yet (started working on it a few minutes ago).
> > > > > >
> > > > > > The global algorithm for adding would be something like :
> > > > > >
> > > > > > - copy actual cart (using "xsl:copy-of")
> > > > > > - select item list (xpath)
> > > > > > - merge new item to the list.
> > > > > >
> > > > > > Your thoughts/help are very welcome!
> > > > > >
> > > > > > Julien
> > > > > >
> > > > > >
> > > > > > ----- Original Message -----
> > > > > > From: <go...@osmosis.gr>
> > > > > > To: <us...@cocoon.apache.org>; <ml...@s-und-n.de>
> > > > > > Cc: "julien bloit" <Ju...@ircam.fr>
> > > > > > Sent: Wednesday, October 29, 2003 6:15 PM
> > > > > > Subject: RE: shopping cart : creating a new context
> > > > > >
> > > > > >
> > > > > >>
> > > > > >> hi julien
> > > > > >>
> > > > > >> i like very much your very clean shoping-cart approach
> > > > > >>
> > > > > >> and i consider to replace a javascripr based simple shoping cart
> with
> > > > > >> something like yours but
> > > > > >>
> > > > > >> as i see you set your cart (in session) at once, you are not able
> to
> > > > > >> add
> > > > > >> or remove items thats right or is something i missed?
> > > > > >>
> > > > > >> thnx in adv
> > > > > >>
> > > > > >> --stavros
> > > > > >>
> > > > > >>
> > > > > >>
> > > > >
> >> ---------------------------------------------------------------------
> > > > > >> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> > > > > >> For additional commands, e-mail: users-help@cocoon.apache.org
> > > > > >>
> > > > > >>
> > > > > >
> > > > > >
> > > > >
> > ---------------------------------------------------------------------
> > > > > > To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> > > > > > For additional commands, e-mail: users-help@cocoon.apache.org
> > > > > >
> > > > >
> > > > >
> > > >
> > ---------------------------------------------------------------------
> > > > > To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> > > > > For additional commands, e-mail: users-help@cocoon.apache.org
> > > > >
> > > > >
> > > >
> > > >
> > > > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> > > > For additional commands, e-mail: users-help@cocoon.apache.org
> > > >
> > > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> > > For additional commands, e-mail: users-help@cocoon.apache.org
> > >
> > >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> > For additional commands, e-mail: users-help@cocoon.apache.org
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: shopping cart : creating a new context
Posted by julien bloit <Ju...@ircam.fr>.
Thank you Stavros,
I had quite the same code, but i found out my problem comes from the
connection between my apache 2 server and tomcat. The problem might come
from the fact that I use the mod_proxy connector instead of the mod_jk,
which is why I loose track of the sessions.
Any thoughts on this?
Regards,
Julien
>
> ok the files are here:
>
> http://wiki.osmosis.gr/Wiki.jsp?page=SimpleCart
>
> --stavros
>
>
> On Thu, 30 Oct 2003, julien bloit wrote:
>
> > Do you have a sitemap and xsl example of this? I have problems for
merging
> > items, it seems my sitemap looses track of the session context after
> > creating it and adding the first item to the cart.
> >
> > thanks
> > Julien
> >
> > ----- Original Message -----
> > From: <go...@osmosis.gr>
> > To: <us...@cocoon.apache.org>
> > Sent: Wednesday, October 29, 2003 8:38 PM
> > Subject: Re: shopping cart : creating a new context
> >
> >
> > > i'm interesting too about this cart
> > >
> > > if u use setxml then you re-create the content in session's context
> > > (correct me if i'm wring)
> > >
> > > so that we need is a mechanism tha wil determine if the "shoping-cart"
> > > exist if not will create it (setxml) otherwhise will just add items
> > > (mergexml) is it possible inside xslt? or the solution is an action?
> > >
> > > i have work on your example an i have a shoping-cart where i can
add-item
> > > (for first time) so the cart is created and then merge more items
> > > but i have 2 different .xsl and to differen urls to call
> > > /add-cart/
> > > /mrg-cart/
> > >
> > > -- stavros
> > >
> > >
> > >
> > > On Wed, 29 Oct 2003, Matthew Langham wrote:
> > >
> > > > If you store the "goods" in the "cart" - why don't you just then add
> > > > and remove items as needed using setxml and removexml. There is no
need
> > > > to copy the cart each time - it just stays in the session context.
> > > >
> > > > Matthew
> > > >
> > > >
> > > > On Mittwoch, Oktober 29, 2003, at 06:38 PM, julien bloit wrote:
> > > >
> > > > > That's right.
> > > > > In fact, I try to solve one problem after the other, doing little
> > > > > steps, I
> > > > > first tried to work out the basic fonctionnality. Now that I got
it
> > > > > working,
> > > > > I'm working on the issue you just mentionned. I think maybe an xsl
> > > > > stylesheet mixed with the <session:mergexml> tag could do the
trick. I
> > > > > have
> > > > > no results yet (started working on it a few minutes ago).
> > > > >
> > > > > The global algorithm for adding would be something like :
> > > > >
> > > > > - copy actual cart (using "xsl:copy-of")
> > > > > - select item list (xpath)
> > > > > - merge new item to the list.
> > > > >
> > > > > Your thoughts/help are very welcome!
> > > > >
> > > > > Julien
> > > > >
> > > > >
> > > > > ----- Original Message -----
> > > > > From: <go...@osmosis.gr>
> > > > > To: <us...@cocoon.apache.org>; <ml...@s-und-n.de>
> > > > > Cc: "julien bloit" <Ju...@ircam.fr>
> > > > > Sent: Wednesday, October 29, 2003 6:15 PM
> > > > > Subject: RE: shopping cart : creating a new context
> > > > >
> > > > >
> > > > >>
> > > > >> hi julien
> > > > >>
> > > > >> i like very much your very clean shoping-cart approach
> > > > >>
> > > > >> and i consider to replace a javascripr based simple shoping cart
with
> > > > >> something like yours but
> > > > >>
> > > > >> as i see you set your cart (in session) at once, you are not able
to
> > > > >> add
> > > > >> or remove items thats right or is something i missed?
> > > > >>
> > > > >> thnx in adv
> > > > >>
> > > > >> --stavros
> > > > >>
> > > > >>
> > > > >>
> > > >
>> ---------------------------------------------------------------------
> > > > >> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> > > > >> For additional commands, e-mail: users-help@cocoon.apache.org
> > > > >>
> > > > >>
> > > > >
> > > > >
> > > >
> ---------------------------------------------------------------------
> > > > > To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> > > > > For additional commands, e-mail: users-help@cocoon.apache.org
> > > > >
> > > >
> > > >
> > >
> ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> > > > For additional commands, e-mail: users-help@cocoon.apache.org
> > > >
> > > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> > > For additional commands, e-mail: users-help@cocoon.apache.org
> > >
> > >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> > For additional commands, e-mail: users-help@cocoon.apache.org
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: shopping cart : creating a new context
Posted by go...@osmosis.gr.
ok the files are here:
http://wiki.osmosis.gr/Wiki.jsp?page=SimpleCart
--stavros
On Thu, 30 Oct 2003, julien bloit wrote:
> Do you have a sitemap and xsl example of this? I have problems for merging
> items, it seems my sitemap looses track of the session context after
> creating it and adding the first item to the cart.
>
> thanks
> Julien
>
> ----- Original Message -----
> From: <go...@osmosis.gr>
> To: <us...@cocoon.apache.org>
> Sent: Wednesday, October 29, 2003 8:38 PM
> Subject: Re: shopping cart : creating a new context
>
>
> > i'm interesting too about this cart
> >
> > if u use setxml then you re-create the content in session's context
> > (correct me if i'm wring)
> >
> > so that we need is a mechanism tha wil determine if the "shoping-cart"
> > exist if not will create it (setxml) otherwhise will just add items
> > (mergexml) is it possible inside xslt? or the solution is an action?
> >
> > i have work on your example an i have a shoping-cart where i can add-item
> > (for first time) so the cart is created and then merge more items
> > but i have 2 different .xsl and to differen urls to call
> > /add-cart/
> > /mrg-cart/
> >
> > -- stavros
> >
> >
> >
> > On Wed, 29 Oct 2003, Matthew Langham wrote:
> >
> > > If you store the "goods" in the "cart" - why don't you just then add
> > > and remove items as needed using setxml and removexml. There is no need
> > > to copy the cart each time - it just stays in the session context.
> > >
> > > Matthew
> > >
> > >
> > > On Mittwoch, Oktober 29, 2003, at 06:38 PM, julien bloit wrote:
> > >
> > > > That's right.
> > > > In fact, I try to solve one problem after the other, doing little
> > > > steps, I
> > > > first tried to work out the basic fonctionnality. Now that I got it
> > > > working,
> > > > I'm working on the issue you just mentionned. I think maybe an xsl
> > > > stylesheet mixed with the <session:mergexml> tag could do the trick. I
> > > > have
> > > > no results yet (started working on it a few minutes ago).
> > > >
> > > > The global algorithm for adding would be something like :
> > > >
> > > > - copy actual cart (using "xsl:copy-of")
> > > > - select item list (xpath)
> > > > - merge new item to the list.
> > > >
> > > > Your thoughts/help are very welcome!
> > > >
> > > > Julien
> > > >
> > > >
> > > > ----- Original Message -----
> > > > From: <go...@osmosis.gr>
> > > > To: <us...@cocoon.apache.org>; <ml...@s-und-n.de>
> > > > Cc: "julien bloit" <Ju...@ircam.fr>
> > > > Sent: Wednesday, October 29, 2003 6:15 PM
> > > > Subject: RE: shopping cart : creating a new context
> > > >
> > > >
> > > >>
> > > >> hi julien
> > > >>
> > > >> i like very much your very clean shoping-cart approach
> > > >>
> > > >> and i consider to replace a javascripr based simple shoping cart with
> > > >> something like yours but
> > > >>
> > > >> as i see you set your cart (in session) at once, you are not able to
> > > >> add
> > > >> or remove items thats right or is something i missed?
> > > >>
> > > >> thnx in adv
> > > >>
> > > >> --stavros
> > > >>
> > > >>
> > > >>
> > > >> ---------------------------------------------------------------------
> > > >> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> > > >> For additional commands, e-mail: users-help@cocoon.apache.org
> > > >>
> > > >>
> > > >
> > > >
> > > > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> > > > For additional commands, e-mail: users-help@cocoon.apache.org
> > > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> > > For additional commands, e-mail: users-help@cocoon.apache.org
> > >
> > >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> > For additional commands, e-mail: users-help@cocoon.apache.org
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: shopping cart : creating a new context
Posted by julien bloit <Ju...@ircam.fr>.
Do you have a sitemap and xsl example of this? I have problems for merging
items, it seems my sitemap looses track of the session context after
creating it and adding the first item to the cart.
thanks
Julien
----- Original Message -----
From: <go...@osmosis.gr>
To: <us...@cocoon.apache.org>
Sent: Wednesday, October 29, 2003 8:38 PM
Subject: Re: shopping cart : creating a new context
> i'm interesting too about this cart
>
> if u use setxml then you re-create the content in session's context
> (correct me if i'm wring)
>
> so that we need is a mechanism tha wil determine if the "shoping-cart"
> exist if not will create it (setxml) otherwhise will just add items
> (mergexml) is it possible inside xslt? or the solution is an action?
>
> i have work on your example an i have a shoping-cart where i can add-item
> (for first time) so the cart is created and then merge more items
> but i have 2 different .xsl and to differen urls to call
> /add-cart/
> /mrg-cart/
>
> -- stavros
>
>
>
> On Wed, 29 Oct 2003, Matthew Langham wrote:
>
> > If you store the "goods" in the "cart" - why don't you just then add
> > and remove items as needed using setxml and removexml. There is no need
> > to copy the cart each time - it just stays in the session context.
> >
> > Matthew
> >
> >
> > On Mittwoch, Oktober 29, 2003, at 06:38 PM, julien bloit wrote:
> >
> > > That's right.
> > > In fact, I try to solve one problem after the other, doing little
> > > steps, I
> > > first tried to work out the basic fonctionnality. Now that I got it
> > > working,
> > > I'm working on the issue you just mentionned. I think maybe an xsl
> > > stylesheet mixed with the <session:mergexml> tag could do the trick. I
> > > have
> > > no results yet (started working on it a few minutes ago).
> > >
> > > The global algorithm for adding would be something like :
> > >
> > > - copy actual cart (using "xsl:copy-of")
> > > - select item list (xpath)
> > > - merge new item to the list.
> > >
> > > Your thoughts/help are very welcome!
> > >
> > > Julien
> > >
> > >
> > > ----- Original Message -----
> > > From: <go...@osmosis.gr>
> > > To: <us...@cocoon.apache.org>; <ml...@s-und-n.de>
> > > Cc: "julien bloit" <Ju...@ircam.fr>
> > > Sent: Wednesday, October 29, 2003 6:15 PM
> > > Subject: RE: shopping cart : creating a new context
> > >
> > >
> > >>
> > >> hi julien
> > >>
> > >> i like very much your very clean shoping-cart approach
> > >>
> > >> and i consider to replace a javascripr based simple shoping cart with
> > >> something like yours but
> > >>
> > >> as i see you set your cart (in session) at once, you are not able to
> > >> add
> > >> or remove items thats right or is something i missed?
> > >>
> > >> thnx in adv
> > >>
> > >> --stavros
> > >>
> > >>
> > >>
> > >> ---------------------------------------------------------------------
> > >> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> > >> For additional commands, e-mail: users-help@cocoon.apache.org
> > >>
> > >>
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> > > For additional commands, e-mail: users-help@cocoon.apache.org
> > >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> > For additional commands, e-mail: users-help@cocoon.apache.org
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: shopping cart : creating a new context
Posted by go...@osmosis.gr.
i'm interesting too about this cart
if u use setxml then you re-create the content in session's context
(correct me if i'm wring)
so that we need is a mechanism tha wil determine if the "shoping-cart"
exist if not will create it (setxml) otherwhise will just add items
(mergexml) is it possible inside xslt? or the solution is an action?
i have work on your example an i have a shoping-cart where i can add-item
(for first time) so the cart is created and then merge more items
but i have 2 different .xsl and to differen urls to call
/add-cart/
/mrg-cart/
-- stavros
On Wed, 29 Oct 2003, Matthew Langham wrote:
> If you store the "goods" in the "cart" - why don't you just then add
> and remove items as needed using setxml and removexml. There is no need
> to copy the cart each time - it just stays in the session context.
>
> Matthew
>
>
> On Mittwoch, Oktober 29, 2003, at 06:38 PM, julien bloit wrote:
>
> > That's right.
> > In fact, I try to solve one problem after the other, doing little
> > steps, I
> > first tried to work out the basic fonctionnality. Now that I got it
> > working,
> > I'm working on the issue you just mentionned. I think maybe an xsl
> > stylesheet mixed with the <session:mergexml> tag could do the trick. I
> > have
> > no results yet (started working on it a few minutes ago).
> >
> > The global algorithm for adding would be something like :
> >
> > - copy actual cart (using "xsl:copy-of")
> > - select item list (xpath)
> > - merge new item to the list.
> >
> > Your thoughts/help are very welcome!
> >
> > Julien
> >
> >
> > ----- Original Message -----
> > From: <go...@osmosis.gr>
> > To: <us...@cocoon.apache.org>; <ml...@s-und-n.de>
> > Cc: "julien bloit" <Ju...@ircam.fr>
> > Sent: Wednesday, October 29, 2003 6:15 PM
> > Subject: RE: shopping cart : creating a new context
> >
> >
> >>
> >> hi julien
> >>
> >> i like very much your very clean shoping-cart approach
> >>
> >> and i consider to replace a javascripr based simple shoping cart with
> >> something like yours but
> >>
> >> as i see you set your cart (in session) at once, you are not able to
> >> add
> >> or remove items thats right or is something i missed?
> >>
> >> thnx in adv
> >>
> >> --stavros
> >>
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> >> For additional commands, e-mail: users-help@cocoon.apache.org
> >>
> >>
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> > For additional commands, e-mail: users-help@cocoon.apache.org
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: shopping cart : creating a new context
Posted by Matthew Langham <ml...@s-und-n.de>.
If you store the "goods" in the "cart" - why don't you just then add
and remove items as needed using setxml and removexml. There is no need
to copy the cart each time - it just stays in the session context.
Matthew
On Mittwoch, Oktober 29, 2003, at 06:38 PM, julien bloit wrote:
> That's right.
> In fact, I try to solve one problem after the other, doing little
> steps, I
> first tried to work out the basic fonctionnality. Now that I got it
> working,
> I'm working on the issue you just mentionned. I think maybe an xsl
> stylesheet mixed with the <session:mergexml> tag could do the trick. I
> have
> no results yet (started working on it a few minutes ago).
>
> The global algorithm for adding would be something like :
>
> - copy actual cart (using "xsl:copy-of")
> - select item list (xpath)
> - merge new item to the list.
>
> Your thoughts/help are very welcome!
>
> Julien
>
>
> ----- Original Message -----
> From: <go...@osmosis.gr>
> To: <us...@cocoon.apache.org>; <ml...@s-und-n.de>
> Cc: "julien bloit" <Ju...@ircam.fr>
> Sent: Wednesday, October 29, 2003 6:15 PM
> Subject: RE: shopping cart : creating a new context
>
>
>>
>> hi julien
>>
>> i like very much your very clean shoping-cart approach
>>
>> and i consider to replace a javascripr based simple shoping cart with
>> something like yours but
>>
>> as i see you set your cart (in session) at once, you are not able to
>> add
>> or remove items thats right or is something i missed?
>>
>> thnx in adv
>>
>> --stavros
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
>> For additional commands, e-mail: users-help@cocoon.apache.org
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: shopping cart : creating a new context
Posted by julien bloit <Ju...@ircam.fr>.
That's right.
In fact, I try to solve one problem after the other, doing little steps, I
first tried to work out the basic fonctionnality. Now that I got it working,
I'm working on the issue you just mentionned. I think maybe an xsl
stylesheet mixed with the <session:mergexml> tag could do the trick. I have
no results yet (started working on it a few minutes ago).
The global algorithm for adding would be something like :
- copy actual cart (using "xsl:copy-of")
- select item list (xpath)
- merge new item to the list.
Your thoughts/help are very welcome!
Julien
----- Original Message -----
From: <go...@osmosis.gr>
To: <us...@cocoon.apache.org>; <ml...@s-und-n.de>
Cc: "julien bloit" <Ju...@ircam.fr>
Sent: Wednesday, October 29, 2003 6:15 PM
Subject: RE: shopping cart : creating a new context
>
> hi julien
>
> i like very much your very clean shoping-cart approach
>
> and i consider to replace a javascripr based simple shoping cart with
> something like yours but
>
> as i see you set your cart (in session) at once, you are not able to add
> or remove items thats right or is something i missed?
>
> thnx in adv
>
> --stavros
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
RE: shopping cart : creating a new context
Posted by go...@osmosis.gr.
hi julien
i like very much your very clean shoping-cart approach
and i consider to replace a javascripr based simple shoping cart with
something like yours but
as i see you set your cart (in session) at once, you are not able to add
or remove items thats right or is something i missed?
thnx in adv
--stavros
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
RE: shopping cart : creating a new context
Posted by Matthew Langham <ml...@s-und-n.de>.
> <resource xmlns:session="http://cocoon.apache.org/session/1.0">
The namespace should read: http://apache.org/cocoon/session/1.0
See also this post:
http://marc.theaimsgroup.com/?l=xml-cocoon-dev&m=106674388619634&w=2
Matthew
> -----Original Message-----
> From: julien bloit [mailto:Julien.Bloit@ircam.fr]
> Sent: Wednesday, October 29, 2003 4:02 PM
> To: users@cocoon.apache.org; mlangham@s-und-n.de
> Subject: Re: shopping cart : creating a new context
>
>
> Ok, the session creation seems to work with the session action,
> however, it
> seems I can't get the session transformer to work in my pipeline :
>
> <map:pipeline>
> <map:match pattern="ajout">
> <map:act type="session"/>
> <map:generate src="contexts/new_panier.xml"/>
> <map:transform type="session"/>
> <map:serialize type="xml"/>
> </map:match>
> </map:pipeline>
>
> where new_panier.xml is :
>
> <?xml version="1.0"?>
> <resource xmlns:session="http://cocoon.apache.org/session/1.0">
> <session:createcontext name="mycart"/>
> <session:setxml context="mycart" path="/">
> <cart>
> <item_id>first item</item_id>
> <item_id>second item</item_id>
> </cart>
> </session:setxml>
> <session:getxml context="mycart" path="/"/>
> </resource>
>
> I always get the following output (obviously, no transformation
> happening...) :
>
> <?xml version="1.0" encoding="UTF-8"?>
> <resource xmlns:session="http://cocoon.apache.org/session/1.0">
> <session:createcontext name="mycart"/>
> <session:setxml context="mycart" path="/">
> <cart>
> <item_id>first item</item_id>
> <item_id>second item</item_id>
> </cart>
> </session:setxml>
> <session:getxml context="mycart" path="/"/>
> </resource>
>
> What am I missing ?? feel like a dummy...
>
> > Hi Julien,
> >
> > I missed the beginning of this thread (just read it in the archive).
> Before
> > creating a context to store data in you must create a session for the
> user.
> > Check this page for details on the Session action:
> > http://cocoon.apache.org/2.1/userdocs/actions/session-action.html
> >
> > You don't need any authentication for this.
> >
> > HTH
> >
> > Matthew
> >
> > > -----Original Message-----
> > > From: julien bloit [mailto:Julien.Bloit@ircam.fr]
> > > Sent: Wednesday, October 29, 2003 1:04 PM
> > > To: users@cocoon.apache.org
> > > Subject: Re: shopping cart : creating a new context
> > >
> > >
> > > Thanks Peter,
> > > Before I dig into the problem a little more, can you tell me
> if you were
> > > able to create a session context without any user identification
> process?
> > >
> > > thanks for your help
> > > Julien
> > >
> > > ----- Original Message -----
> > > From: "Peter Dietz" <di...@ipsi.fhg.de>
> > > To: <us...@cocoon.apache.org>
> > > Sent: Wednesday, October 29, 2003 1:00 PM
> > > Subject: RE: shopping cart : creating a new context
> > >
> > >
> > > > Hi,
> > > >
> > > > I also had problems creating and accessing session
> contexts. I solved
> > > > them using the "session logicsheet". You can find the doc here
> > > > http://cocoon.apache.org/2.1/userdocs/xsp/session.html
> > > >
> > > > Have fun,
> > > > Peter
> > > >
> > > > -----Original Message-----
> > > > From: julien bloit [mailto:Julien.Bloit@ircam.fr]
> > > > Sent: Mittwoch, 29. Oktober 2003 11:59
> > > > To: users@cocoon.apache.org
> > > > Subject: Re: shopping cart : creating a new context
> > > >
> > > > Alright, I'll try it.
> > > > What do you mean by "experimental"? It's not wise to
> implement it in a
> > > > production project for the moment ?
> > > >
> > > > ----- Original Message -----
> > > > From: "leo leonid" <te...@leonid.de>
> > > > To: <us...@cocoon.apache.org>
> > > > Sent: Tuesday, October 28, 2003 10:22 PM
> > > > Subject: Re: shopping cart : creating a new context
> > > >
> > > >
> > > >
> > > > On Oct 28, 2003, at 4:52 PM, julien bloit wrote:
> > > >
> > > > > Hi all,
> > > > >
> > > > > I want to implement a rather classical type of webapp
> where the user
> > > > > browses a catalog, adds items to its shopping cart, and logs in or
> > > > > registers when he's ready to buy the items from his cart.
> > > > >
> > > > > I browsed through the mailing list archive and it seems I could
> > > > > proceed using the session transformer.
> > > > >
> > > > > Here's a snippet of my sitemap :
> > > > >
> > > > >
> > > >
> > > > <snippet />
> > > >
> > > >
> > > > >
> > > > > Aside from knowing where the error might come from, I'd
> like to know
> > > > > if this seems a correct way to proceed to store user data
> while he's
> > > > > not logged yet.
> > > > >
> > > >
> > > > If you want to see another (experimental) approach, look at the
> > > > PetStore Sample. It uses flow script to achieve this
> functionality. At
> > > > the moment I'm implementing the missing parts of the sample, using
> > > > woody as form framework. Expect a patch in the next days.
> > > >
> > > > /leo
> > > >
> > > >
> > > >
> > > > > many many thanks for your thoughts!
> > > > > Cheers,
> > > > > Julien
> > > >
> > > >
> > > >
> ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> > > > For additional commands, e-mail: users-help@cocoon.apache.org
> > > >
> > > >
> > > >
> > > >
> ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> > > > For additional commands, e-mail: users-help@cocoon.apache.org
> > > >
> > > >
> > > >
> > > >
> ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> > > > For additional commands, e-mail: users-help@cocoon.apache.org
> > > >
> > > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> > > For additional commands, e-mail: users-help@cocoon.apache.org
> > >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> > For additional commands, e-mail: users-help@cocoon.apache.org
> >
> >
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: shopping cart : creating a new context
Posted by julien bloit <Ju...@ircam.fr>.
Ok, the session creation seems to work with the session action, however, it
seems I can't get the session transformer to work in my pipeline :
<map:pipeline>
<map:match pattern="ajout">
<map:act type="session"/>
<map:generate src="contexts/new_panier.xml"/>
<map:transform type="session"/>
<map:serialize type="xml"/>
</map:match>
</map:pipeline>
where new_panier.xml is :
<?xml version="1.0"?>
<resource xmlns:session="http://cocoon.apache.org/session/1.0">
<session:createcontext name="mycart"/>
<session:setxml context="mycart" path="/">
<cart>
<item_id>first item</item_id>
<item_id>second item</item_id>
</cart>
</session:setxml>
<session:getxml context="mycart" path="/"/>
</resource>
I always get the following output (obviously, no transformation
happening...) :
<?xml version="1.0" encoding="UTF-8"?>
<resource xmlns:session="http://cocoon.apache.org/session/1.0">
<session:createcontext name="mycart"/>
<session:setxml context="mycart" path="/">
<cart>
<item_id>first item</item_id>
<item_id>second item</item_id>
</cart>
</session:setxml>
<session:getxml context="mycart" path="/"/>
</resource>
What am I missing ?? feel like a dummy...
> Hi Julien,
>
> I missed the beginning of this thread (just read it in the archive).
Before
> creating a context to store data in you must create a session for the
user.
> Check this page for details on the Session action:
> http://cocoon.apache.org/2.1/userdocs/actions/session-action.html
>
> You don't need any authentication for this.
>
> HTH
>
> Matthew
>
> > -----Original Message-----
> > From: julien bloit [mailto:Julien.Bloit@ircam.fr]
> > Sent: Wednesday, October 29, 2003 1:04 PM
> > To: users@cocoon.apache.org
> > Subject: Re: shopping cart : creating a new context
> >
> >
> > Thanks Peter,
> > Before I dig into the problem a little more, can you tell me if you were
> > able to create a session context without any user identification
process?
> >
> > thanks for your help
> > Julien
> >
> > ----- Original Message -----
> > From: "Peter Dietz" <di...@ipsi.fhg.de>
> > To: <us...@cocoon.apache.org>
> > Sent: Wednesday, October 29, 2003 1:00 PM
> > Subject: RE: shopping cart : creating a new context
> >
> >
> > > Hi,
> > >
> > > I also had problems creating and accessing session contexts. I solved
> > > them using the "session logicsheet". You can find the doc here
> > > http://cocoon.apache.org/2.1/userdocs/xsp/session.html
> > >
> > > Have fun,
> > > Peter
> > >
> > > -----Original Message-----
> > > From: julien bloit [mailto:Julien.Bloit@ircam.fr]
> > > Sent: Mittwoch, 29. Oktober 2003 11:59
> > > To: users@cocoon.apache.org
> > > Subject: Re: shopping cart : creating a new context
> > >
> > > Alright, I'll try it.
> > > What do you mean by "experimental"? It's not wise to implement it in a
> > > production project for the moment ?
> > >
> > > ----- Original Message -----
> > > From: "leo leonid" <te...@leonid.de>
> > > To: <us...@cocoon.apache.org>
> > > Sent: Tuesday, October 28, 2003 10:22 PM
> > > Subject: Re: shopping cart : creating a new context
> > >
> > >
> > >
> > > On Oct 28, 2003, at 4:52 PM, julien bloit wrote:
> > >
> > > > Hi all,
> > > >
> > > > I want to implement a rather classical type of webapp where the user
> > > > browses a catalog, adds items to its shopping cart, and logs in or
> > > > registers when he's ready to buy the items from his cart.
> > > >
> > > > I browsed through the mailing list archive and it seems I could
> > > > proceed using the session transformer.
> > > >
> > > > Here's a snippet of my sitemap :
> > > >
> > > >
> > >
> > > <snippet />
> > >
> > >
> > > >
> > > > Aside from knowing where the error might come from, I'd like to know
> > > > if this seems a correct way to proceed to store user data while he's
> > > > not logged yet.
> > > >
> > >
> > > If you want to see another (experimental) approach, look at the
> > > PetStore Sample. It uses flow script to achieve this functionality. At
> > > the moment I'm implementing the missing parts of the sample, using
> > > woody as form framework. Expect a patch in the next days.
> > >
> > > /leo
> > >
> > >
> > >
> > > > many many thanks for your thoughts!
> > > > Cheers,
> > > > Julien
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> > > For additional commands, e-mail: users-help@cocoon.apache.org
> > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> > > For additional commands, e-mail: users-help@cocoon.apache.org
> > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> > > For additional commands, e-mail: users-help@cocoon.apache.org
> > >
> > >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> > For additional commands, e-mail: users-help@cocoon.apache.org
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
RE: shopping cart : creating a new context
Posted by Matthew Langham <ml...@s-und-n.de>.
Hi Julien,
I missed the beginning of this thread (just read it in the archive). Before
creating a context to store data in you must create a session for the user.
Check this page for details on the Session action:
http://cocoon.apache.org/2.1/userdocs/actions/session-action.html
You don't need any authentication for this.
HTH
Matthew
> -----Original Message-----
> From: julien bloit [mailto:Julien.Bloit@ircam.fr]
> Sent: Wednesday, October 29, 2003 1:04 PM
> To: users@cocoon.apache.org
> Subject: Re: shopping cart : creating a new context
>
>
> Thanks Peter,
> Before I dig into the problem a little more, can you tell me if you were
> able to create a session context without any user identification process?
>
> thanks for your help
> Julien
>
> ----- Original Message -----
> From: "Peter Dietz" <di...@ipsi.fhg.de>
> To: <us...@cocoon.apache.org>
> Sent: Wednesday, October 29, 2003 1:00 PM
> Subject: RE: shopping cart : creating a new context
>
>
> > Hi,
> >
> > I also had problems creating and accessing session contexts. I solved
> > them using the "session logicsheet". You can find the doc here
> > http://cocoon.apache.org/2.1/userdocs/xsp/session.html
> >
> > Have fun,
> > Peter
> >
> > -----Original Message-----
> > From: julien bloit [mailto:Julien.Bloit@ircam.fr]
> > Sent: Mittwoch, 29. Oktober 2003 11:59
> > To: users@cocoon.apache.org
> > Subject: Re: shopping cart : creating a new context
> >
> > Alright, I'll try it.
> > What do you mean by "experimental"? It's not wise to implement it in a
> > production project for the moment ?
> >
> > ----- Original Message -----
> > From: "leo leonid" <te...@leonid.de>
> > To: <us...@cocoon.apache.org>
> > Sent: Tuesday, October 28, 2003 10:22 PM
> > Subject: Re: shopping cart : creating a new context
> >
> >
> >
> > On Oct 28, 2003, at 4:52 PM, julien bloit wrote:
> >
> > > Hi all,
> > >
> > > I want to implement a rather classical type of webapp where the user
> > > browses a catalog, adds items to its shopping cart, and logs in or
> > > registers when he's ready to buy the items from his cart.
> > >
> > > I browsed through the mailing list archive and it seems I could
> > > proceed using the session transformer.
> > >
> > > Here's a snippet of my sitemap :
> > >
> > >
> >
> > <snippet />
> >
> >
> > >
> > > Aside from knowing where the error might come from, I'd like to know
> > > if this seems a correct way to proceed to store user data while he's
> > > not logged yet.
> > >
> >
> > If you want to see another (experimental) approach, look at the
> > PetStore Sample. It uses flow script to achieve this functionality. At
> > the moment I'm implementing the missing parts of the sample, using
> > woody as form framework. Expect a patch in the next days.
> >
> > /leo
> >
> >
> >
> > > many many thanks for your thoughts!
> > > Cheers,
> > > Julien
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> > For additional commands, e-mail: users-help@cocoon.apache.org
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> > For additional commands, e-mail: users-help@cocoon.apache.org
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> > For additional commands, e-mail: users-help@cocoon.apache.org
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
RE: shopping cart : creating a new context
Posted by Peter Dietz <di...@ipsi.fhg.de>.
Hi Julien,
it seems to me that for your purpose the session transformer is the
better solution. As far as I understand you can not use the logicsheet
to store and manipulate xml trees, but I´m not sure. After all I only
just
startet using Cocoon, so much of what I say is based on wild guessing
:-)
But if your need is only to store and access name-value pairs (as it is
for me) the logicsheet works fine.
So long,
Peter
-----Original Message-----
From: julien bloit [mailto:Julien.Bloit@ircam.fr]
Sent: Donnerstag, 30. Oktober 2003 10:18
To: users@cocoon.apache.org
Subject: Re: shopping cart : creating a new context
Hi Peter,
In the xsp-session logicsheet, I only found tags for setting new
attributes
to the session, and I'm not exactly sure ( i might be wrong ) that this
is
the same as a context. I want to store a very simple xml tree to store
the
user's shopping cart. I haven't been able to store an xml tree as an
session
attribute, by using the <xsp-session:set-attribute> tag. The answer to
this
might be very simple, I don't know. Do you?
Cheers,
Julien
----- Original Message -----
From: "Peter Dietz" <di...@ipsi.fhg.de>
To: <us...@cocoon.apache.org>
Sent: Thursday, October 30, 2003 9:32 AM
Subject: RE: shopping cart : creating a new context
Hi Julien,
only saw your post today and followed the thread afterwards.
My approach seems to work the same way. I´m also able to create
a context without any user identification process, add and
retrieve values etc. Only I´m using the Session Logicsheet.
TO ANYBODY OUT THERE WHO KNOWS:
Is there a preferable way of session tracking? Session Logicsheet
or Session Transformer?
Cheers,
Peter
-----Original Message-----
From: julien bloit [mailto:Julien.Bloit@ircam.fr]
Sent: Mittwoch, 29. Oktober 2003 13:04
To: users@cocoon.apache.org
Subject: Re: shopping cart : creating a new context
Thanks Peter,
Before I dig into the problem a little more, can you tell me if you were
able to create a session context without any user identification
process?
thanks for your help
Julien
----- Original Message -----
From: "Peter Dietz" <di...@ipsi.fhg.de>
To: <us...@cocoon.apache.org>
Sent: Wednesday, October 29, 2003 1:00 PM
Subject: RE: shopping cart : creating a new context
> Hi,
>
> I also had problems creating and accessing session contexts. I solved
> them using the "session logicsheet". You can find the doc here
> http://cocoon.apache.org/2.1/userdocs/xsp/session.html
>
> Have fun,
> Peter
>
> -----Original Message-----
> From: julien bloit [mailto:Julien.Bloit@ircam.fr]
> Sent: Mittwoch, 29. Oktober 2003 11:59
> To: users@cocoon.apache.org
> Subject: Re: shopping cart : creating a new context
>
> Alright, I'll try it.
> What do you mean by "experimental"? It's not wise to implement it in a
> production project for the moment ?
>
> ----- Original Message -----
> From: "leo leonid" <te...@leonid.de>
> To: <us...@cocoon.apache.org>
> Sent: Tuesday, October 28, 2003 10:22 PM
> Subject: Re: shopping cart : creating a new context
>
>
>
> On Oct 28, 2003, at 4:52 PM, julien bloit wrote:
>
> > Hi all,
> >
> > I want to implement a rather classical type of webapp where the user
> > browses a catalog, adds items to its shopping cart, and logs in or
> > registers when he's ready to buy the items from his cart.
> >
> > I browsed through the mailing list archive and it seems I could
> > proceed using the session transformer.
> >
> > Here's a snippet of my sitemap :
> >
> >
>
> <snippet />
>
>
> >
> > Aside from knowing where the error might come from, I'd like to know
> > if this seems a correct way to proceed to store user data while he's
> > not logged yet.
> >
>
> If you want to see another (experimental) approach, look at the
> PetStore Sample. It uses flow script to achieve this functionality. At
> the moment I'm implementing the missing parts of the sample, using
> woody as form framework. Expect a patch in the next days.
>
> /leo
>
>
>
> > many many thanks for your thoughts!
> > Cheers,
> > Julien
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: shopping cart : creating a new context
Posted by julien bloit <Ju...@ircam.fr>.
Hi Peter,
In the xsp-session logicsheet, I only found tags for setting new attributes
to the session, and I'm not exactly sure ( i might be wrong ) that this is
the same as a context. I want to store a very simple xml tree to store the
user's shopping cart. I haven't been able to store an xml tree as an session
attribute, by using the <xsp-session:set-attribute> tag. The answer to this
might be very simple, I don't know. Do you?
Cheers,
Julien
----- Original Message -----
From: "Peter Dietz" <di...@ipsi.fhg.de>
To: <us...@cocoon.apache.org>
Sent: Thursday, October 30, 2003 9:32 AM
Subject: RE: shopping cart : creating a new context
Hi Julien,
only saw your post today and followed the thread afterwards.
My approach seems to work the same way. I´m also able to create
a context without any user identification process, add and
retrieve values etc. Only I´m using the Session Logicsheet.
TO ANYBODY OUT THERE WHO KNOWS:
Is there a preferable way of session tracking? Session Logicsheet
or Session Transformer?
Cheers,
Peter
-----Original Message-----
From: julien bloit [mailto:Julien.Bloit@ircam.fr]
Sent: Mittwoch, 29. Oktober 2003 13:04
To: users@cocoon.apache.org
Subject: Re: shopping cart : creating a new context
Thanks Peter,
Before I dig into the problem a little more, can you tell me if you were
able to create a session context without any user identification
process?
thanks for your help
Julien
----- Original Message -----
From: "Peter Dietz" <di...@ipsi.fhg.de>
To: <us...@cocoon.apache.org>
Sent: Wednesday, October 29, 2003 1:00 PM
Subject: RE: shopping cart : creating a new context
> Hi,
>
> I also had problems creating and accessing session contexts. I solved
> them using the "session logicsheet". You can find the doc here
> http://cocoon.apache.org/2.1/userdocs/xsp/session.html
>
> Have fun,
> Peter
>
> -----Original Message-----
> From: julien bloit [mailto:Julien.Bloit@ircam.fr]
> Sent: Mittwoch, 29. Oktober 2003 11:59
> To: users@cocoon.apache.org
> Subject: Re: shopping cart : creating a new context
>
> Alright, I'll try it.
> What do you mean by "experimental"? It's not wise to implement it in a
> production project for the moment ?
>
> ----- Original Message -----
> From: "leo leonid" <te...@leonid.de>
> To: <us...@cocoon.apache.org>
> Sent: Tuesday, October 28, 2003 10:22 PM
> Subject: Re: shopping cart : creating a new context
>
>
>
> On Oct 28, 2003, at 4:52 PM, julien bloit wrote:
>
> > Hi all,
> >
> > I want to implement a rather classical type of webapp where the user
> > browses a catalog, adds items to its shopping cart, and logs in or
> > registers when he's ready to buy the items from his cart.
> >
> > I browsed through the mailing list archive and it seems I could
> > proceed using the session transformer.
> >
> > Here's a snippet of my sitemap :
> >
> >
>
> <snippet />
>
>
> >
> > Aside from knowing where the error might come from, I'd like to know
> > if this seems a correct way to proceed to store user data while he's
> > not logged yet.
> >
>
> If you want to see another (experimental) approach, look at the
> PetStore Sample. It uses flow script to achieve this functionality. At
> the moment I'm implementing the missing parts of the sample, using
> woody as form framework. Expect a patch in the next days.
>
> /leo
>
>
>
> > many many thanks for your thoughts!
> > Cheers,
> > Julien
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
RE: shopping cart : creating a new context
Posted by Peter Dietz <di...@ipsi.fhg.de>.
Hi Julien,
only saw your post today and followed the thread afterwards.
My approach seems to work the same way. I´m also able to create
a context without any user identification process, add and
retrieve values etc. Only I´m using the Session Logicsheet.
TO ANYBODY OUT THERE WHO KNOWS:
Is there a preferable way of session tracking? Session Logicsheet
or Session Transformer?
Cheers,
Peter
-----Original Message-----
From: julien bloit [mailto:Julien.Bloit@ircam.fr]
Sent: Mittwoch, 29. Oktober 2003 13:04
To: users@cocoon.apache.org
Subject: Re: shopping cart : creating a new context
Thanks Peter,
Before I dig into the problem a little more, can you tell me if you were
able to create a session context without any user identification
process?
thanks for your help
Julien
----- Original Message -----
From: "Peter Dietz" <di...@ipsi.fhg.de>
To: <us...@cocoon.apache.org>
Sent: Wednesday, October 29, 2003 1:00 PM
Subject: RE: shopping cart : creating a new context
> Hi,
>
> I also had problems creating and accessing session contexts. I solved
> them using the "session logicsheet". You can find the doc here
> http://cocoon.apache.org/2.1/userdocs/xsp/session.html
>
> Have fun,
> Peter
>
> -----Original Message-----
> From: julien bloit [mailto:Julien.Bloit@ircam.fr]
> Sent: Mittwoch, 29. Oktober 2003 11:59
> To: users@cocoon.apache.org
> Subject: Re: shopping cart : creating a new context
>
> Alright, I'll try it.
> What do you mean by "experimental"? It's not wise to implement it in a
> production project for the moment ?
>
> ----- Original Message -----
> From: "leo leonid" <te...@leonid.de>
> To: <us...@cocoon.apache.org>
> Sent: Tuesday, October 28, 2003 10:22 PM
> Subject: Re: shopping cart : creating a new context
>
>
>
> On Oct 28, 2003, at 4:52 PM, julien bloit wrote:
>
> > Hi all,
> >
> > I want to implement a rather classical type of webapp where the user
> > browses a catalog, adds items to its shopping cart, and logs in or
> > registers when he's ready to buy the items from his cart.
> >
> > I browsed through the mailing list archive and it seems I could
> > proceed using the session transformer.
> >
> > Here's a snippet of my sitemap :
> >
> >
>
> <snippet />
>
>
> >
> > Aside from knowing where the error might come from, I'd like to know
> > if this seems a correct way to proceed to store user data while he's
> > not logged yet.
> >
>
> If you want to see another (experimental) approach, look at the
> PetStore Sample. It uses flow script to achieve this functionality. At
> the moment I'm implementing the missing parts of the sample, using
> woody as form framework. Expect a patch in the next days.
>
> /leo
>
>
>
> > many many thanks for your thoughts!
> > Cheers,
> > Julien
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: shopping cart : creating a new context
Posted by julien bloit <Ju...@ircam.fr>.
Thanks Peter,
Before I dig into the problem a little more, can you tell me if you were
able to create a session context without any user identification process?
thanks for your help
Julien
----- Original Message -----
From: "Peter Dietz" <di...@ipsi.fhg.de>
To: <us...@cocoon.apache.org>
Sent: Wednesday, October 29, 2003 1:00 PM
Subject: RE: shopping cart : creating a new context
> Hi,
>
> I also had problems creating and accessing session contexts. I solved
> them using the "session logicsheet". You can find the doc here
> http://cocoon.apache.org/2.1/userdocs/xsp/session.html
>
> Have fun,
> Peter
>
> -----Original Message-----
> From: julien bloit [mailto:Julien.Bloit@ircam.fr]
> Sent: Mittwoch, 29. Oktober 2003 11:59
> To: users@cocoon.apache.org
> Subject: Re: shopping cart : creating a new context
>
> Alright, I'll try it.
> What do you mean by "experimental"? It's not wise to implement it in a
> production project for the moment ?
>
> ----- Original Message -----
> From: "leo leonid" <te...@leonid.de>
> To: <us...@cocoon.apache.org>
> Sent: Tuesday, October 28, 2003 10:22 PM
> Subject: Re: shopping cart : creating a new context
>
>
>
> On Oct 28, 2003, at 4:52 PM, julien bloit wrote:
>
> > Hi all,
> >
> > I want to implement a rather classical type of webapp where the user
> > browses a catalog, adds items to its shopping cart, and logs in or
> > registers when he's ready to buy the items from his cart.
> >
> > I browsed through the mailing list archive and it seems I could
> > proceed using the session transformer.
> >
> > Here's a snippet of my sitemap :
> >
> >
>
> <snippet />
>
>
> >
> > Aside from knowing where the error might come from, I'd like to know
> > if this seems a correct way to proceed to store user data while he's
> > not logged yet.
> >
>
> If you want to see another (experimental) approach, look at the
> PetStore Sample. It uses flow script to achieve this functionality. At
> the moment I'm implementing the missing parts of the sample, using
> woody as form framework. Expect a patch in the next days.
>
> /leo
>
>
>
> > many many thanks for your thoughts!
> > Cheers,
> > Julien
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
RE: shopping cart : creating a new context
Posted by Peter Dietz <di...@ipsi.fhg.de>.
Hi,
I also had problems creating and accessing session contexts. I solved
them using the "session logicsheet". You can find the doc here
http://cocoon.apache.org/2.1/userdocs/xsp/session.html
Have fun,
Peter
-----Original Message-----
From: julien bloit [mailto:Julien.Bloit@ircam.fr]
Sent: Mittwoch, 29. Oktober 2003 11:59
To: users@cocoon.apache.org
Subject: Re: shopping cart : creating a new context
Alright, I'll try it.
What do you mean by "experimental"? It's not wise to implement it in a
production project for the moment ?
----- Original Message -----
From: "leo leonid" <te...@leonid.de>
To: <us...@cocoon.apache.org>
Sent: Tuesday, October 28, 2003 10:22 PM
Subject: Re: shopping cart : creating a new context
On Oct 28, 2003, at 4:52 PM, julien bloit wrote:
> Hi all,
>
> I want to implement a rather classical type of webapp where the user
> browses a catalog, adds items to its shopping cart, and logs in or
> registers when he's ready to buy the items from his cart.
>
> I browsed through the mailing list archive and it seems I could
> proceed using the session transformer.
>
> Here's a snippet of my sitemap :
>
>
<snippet />
>
> Aside from knowing where the error might come from, I'd like to know
> if this seems a correct way to proceed to store user data while he's
> not logged yet.
>
If you want to see another (experimental) approach, look at the
PetStore Sample. It uses flow script to achieve this functionality. At
the moment I'm implementing the missing parts of the sample, using
woody as form framework. Expect a patch in the next days.
/leo
> many many thanks for your thoughts!
> Cheers,
> Julien
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: shopping cart : creating a new context
Posted by julien bloit <Ju...@ircam.fr>.
Alright, I'll try it.
What do you mean by "experimental"? It's not wise to implement it in a
production project for the moment ?
----- Original Message -----
From: "leo leonid" <te...@leonid.de>
To: <us...@cocoon.apache.org>
Sent: Tuesday, October 28, 2003 10:22 PM
Subject: Re: shopping cart : creating a new context
On Oct 28, 2003, at 4:52 PM, julien bloit wrote:
> Hi all,
>
> I want to implement a rather classical type of webapp where the user
> browses a catalog, adds items to its shopping cart, and logs in or
> registers when he's ready to buy the items from his cart.
>
> I browsed through the mailing list archive and it seems I could
> proceed using the session transformer.
>
> Here's a snippet of my sitemap :
>
>
<snippet />
>
> Aside from knowing where the error might come from, I'd like to know
> if this seems a correct way to proceed to store user data while he's
> not logged yet.
>
If you want to see another (experimental) approach, look at the
PetStore Sample. It uses flow script to achieve this functionality. At
the moment I'm implementing the missing parts of the sample, using
woody as form framework. Expect a patch in the next days.
/leo
> many many thanks for your thoughts!
> Cheers,
> Julien
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: shopping cart : creating a new context
Posted by leo leonid <te...@leonid.de>.
On Oct 28, 2003, at 4:52 PM, julien bloit wrote:
> Hi all,
>
> I want to implement a rather classical type of webapp where the user
> browses a catalog, adds items to its shopping cart, and logs in or
> registers when he's ready to buy the items from his cart.
>
> I browsed through the mailing list archive and it seems I could
> proceed using the session transformer.
>
> Here's a snippet of my sitemap :
>
>
<snippet />
>
> Aside from knowing where the error might come from, I'd like to know
> if this seems a correct way to proceed to store user data while he's
> not logged yet.
>
If you want to see another (experimental) approach, look at the
PetStore Sample. It uses flow script to achieve this functionality. At
the moment I'm implementing the missing parts of the sample, using
woody as form framework. Expect a patch in the next days.
/leo
> many many thanks for your thoughts!
> Cheers,
> Julien
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org