Deploying coplets into other portlet containers

2007-05-10 Thread Bruce Atherton
Does anyone have any documentation, tutorials, examples, or what have you to show how to go about deploying a Cocoon application as a set of coplets into a JSR168 portlet container that is not Cocoon? I have a large application that uses Cocoon with a sitemap pipeline, flowscript, CForms, Hand

Re: (newbiew) Determine program flow

2007-05-10 Thread Joerg Heinicke
On 10.05.2007 23:41, ypomonh wrote: "A googd rule for database actions i sto use them either, or when the result of the database operations somehow will influence the pipeline." I understand that this book was written before flows took of but is this approach still advisable?

Re: (newbiew) Determine program flow

2007-05-10 Thread Grzegorz Kossakowski
ypomonh pisze: Grzegorz thank you very much for your helpful reply! No problem. Last week I had the opportunity to get a hold of the book "Cocoon Developer's Guide", where in Ch. 16 "Cocoon Interfaces: Databases", pg. 355 says: "Because actions can influence pipeline operation, by both

Re: (newbiew) Determine program flow

2007-05-10 Thread ypomonh
Grzegorz Kossakowski wrote: SQL transformer is intended to be used in linear flows. I mean that you cannot choose pipeline execution depending on sql transformer result. You have two options: 1. Maintain your conditional processing in XSL file (produce content depending on result of sql transfo

Re: AW: Enumerated datatype with selection lists.

2007-05-10 Thread Grzegorz Kossakowski
Baptiste Placé pisze: Hi Grzegorz, The use of toString() / fromString() methods is actually suggested on the cocoon daisy (like here : http://cocoon.zones.apache.org/daisy/cdocs-forms/g1/forms/concepts/487.html). The usual 2.1 documentation does not mention it. Anyway, I quickly found the par

Re: Un-Escaping XML in transformer

2007-05-10 Thread Andreas Hartmann
Grzegorz Kossakowski schrieb: > Andreas Hartmann pisze: >> Hi Cocooners, >> >> I have a SAX stream containing fragments of escaped XML, e.g. >> >>this is a link >> >> and want to convert the characters into SAX events: >> >>this is a link >> >> I collect and assemble the

Re: Un-Escaping XML in transformer

2007-05-10 Thread Grzegorz Kossakowski
Andreas Hartmann pisze: Hi Cocooners, I have a SAX stream containing fragments of escaped XML, e.g. this is a link and want to convert the characters into SAX events: this is a link I collect and assemble the character events, but I don't know how to parse the resul

Un-Escaping XML in transformer

2007-05-10 Thread Andreas Hartmann
Hi Cocooners, I have a SAX stream containing fragments of escaped XML, e.g. this is a link and want to convert the characters into SAX events: this is a link I collect and assemble the character events, but I don't know how to parse the resulting string and generate S

Re: AW: Enumerated datatype with selection lists.

2007-05-10 Thread Baptiste Placé
Hi Grzegorz, The use of toString() / fromString() methods is actually suggested on the cocoon daisy (like here : http://cocoon.zones.apache.org/daisy/cdocs-forms/g1/forms/concepts/487.html). The usual 2.1 documentation does not mention it. Anyway, I quickly found the part where the name is giv

Re: order of execution in the pipeline

2007-05-10 Thread Stefan Shoeman
Thanks a lot for your hints, Joerg. I will try it soon and post here, how it works. 2007/5/4, Joerg Heinicke <[EMAIL PROTECTED]>: On 04.05.2007 17:58, Stefan Shoeman wrote: > Hello Marc, > > thanks for your hints. No, I can't use the standard pdf serializer, > because I have to create them with

Session in cocoon

2007-05-10 Thread Maduravalli
Hi, I need to set a session variable in wml/html/chtml page generated by cocoon. How to do this? The form values are submitted to the php page, and through this how to get a session values in cocoon sitemap.xmap or in wml/html/chtml pages? I need to maintain the values throughout the p

Re: AW: Enumerated datatype with selection lists.

2007-05-10 Thread Grzegorz Kossakowski
Baptiste Placé napisał(a): Hi Franziska , Thanks for the tip, it works quite well :) Although a cleaner way with toString() method would be the best ^^ I'm not sure if this issue is really a bug but if you think so create an issue in our JIRA, please. If you submit a patch I'll be happy to co

own attribute

2007-05-10 Thread Amon
Best users, Is there are way to add my own attribute to the fd:item element, let say selected="selected" , which i can use in my xslt? http://apache.org/cocoon/forms/1.0#definition";> Thanks in advance,Amon _ Get the new Win

Re: AW: Enumerated datatype with selection lists.

2007-05-10 Thread Baptiste Placé
Hi Franziska , Thanks for the tip, it works quite well :) Although a cleaner way with toString() method would be the best ^^ -Baptiste Franziska Witzani a écrit : Hi Baptiste, Actually I don't have a solution for your problem, but a way around it. :) Try using the I18n-Transformer and supply

Re: Preselected items fd:multivaluefield

2007-05-10 Thread Christofer Dutz
Hi Amon Well, I do that in my JavaFlow or Flowscript ... I guess you could do that in your binding aswell. widget.setValue('item1, item2, item10'); } Chris Amon schrieb: Hi Chris, Thanks for the help. Should ik do it like this? I tried that and it does not work. C

Re: Preselected items fd:multivaluefield

2007-05-10 Thread Dev at weitling
Hi Amon, > I wonder how i can multiple preselected items in a fd:multivaluefield widget? > > > Theme: > > > > can't test it at the moment but try in your theme.xml in your item nodes something like this: MyBlay Bye, Florian -

RE: Preselected items fd:multivaluefield

2007-05-10 Thread Amon
Hi Chris, Thanks for the help. Should ik do it like this? I tried that and it does not work. Cheers, Amon > Date: Thu, 10 May 2007 11:13:30 +0200> From: [EMAIL PROTECTED]> To: > users@cocoon.apache.org> Subject: Re: Preselected items fd:multivaluefield> > > Hi Amon,> > try setting t

Re: Preselected items fd:multivaluefield

2007-05-10 Thread Christofer Dutz
Hi Amon, try setting the widgets value to a komma-separated string list of values Chris Amon schrieb: Best Users, I wonder how i can multiple preselected items in a fd:multivaluefield widget? I have the following definition Theme: Any help is very welcome, Thanks in adva

Preselected items fd:multivaluefield

2007-05-10 Thread Amon
Best Users, I wonder how i can multiple preselected items in a fd:multivaluefield widget? I have the following definition Theme: Any help is very welcome, Thanks in advance, Amon _ Call friends with PC-to-PC calling