Re: Flow Control using Java and not JavaScript?

2004-10-07 Thread Ralph Goers
Robert Simmons Jr. wrote: I was reading the flow ontrol documentation and I am uncomfortable with the whole idea of doing my app mostly in javascript. Would it be possible to do flow control with just java itself? That would be cool and much easier to debug. You can use Javaflow. It isn't

RE: XForms/DENG passing parameters to Cocoon?

2004-10-07 Thread Lars Huttar
OK, having sniffed the http transaction, here is what I get... When submitting data using an HTML form, I get the following request body: Linguistic_Subgroup_Id=69413Subgroup_Name=Turkicgo=Submit This is just what I want: the parameters and values. I know how to make Cocoon understand that.

JXTemplateGenerator: strange behaviour with jx:set

2004-10-07 Thread Taryn East
Hi there. While trawling through the web hoping to find a solution to a bug we've found I discovered an email with the above subject line in the archives of this list: http://archives.real-time.com/mailman/listinfo/cocoon-users relevant post:

Re: Flow Control using Java and not JavaScript?

2004-10-07 Thread Ugo Cei
Il giorno 07/ott/04, alle 01:55, Robert Simmons Jr. ha scritto: I was reading the flow ontrol documentation and I am uncomfortable with the whole idea of doing my app mostly in javascript. Would it be possible to do flow control with just java itself? That would be cool and much easier to

Re: xltc and Attempt to output character of integral value 232 that ...

2004-10-07 Thread Leszek Gawron
Antonio Gallardo wrote: DRION CHRISTOPHE dijo: Hi, I've got following error : 'Attempt to output character of integral value 232 that is not represented in specified output encoding of ' when I make transformation with xsltc : especially when I use the following xsl function : xsl:value-of

Re: empty attribute string using xslt with request parameters

2004-10-07 Thread Jorg Heymans
John Small Berries wrote: On Wed, 06 Oct 2004 18:35:21 +0200, Jorg Heymans [EMAIL PROTECTED] wrote: John Small Berries wrote: Just for reference, I'm trying to get the continuation id out of my flowscript with var contId = cocoon.continuation.id; cocoon.sendPageAndWait(aPage, {contId: contId});

Re: cforms + flow contination problem

2004-10-07 Thread Philipp Rech
Hello Peter, i looked into your stuff and work with it a little. In my opinion the onClick=history.go(-1) is a good idea and works fine. As a link and as a button. Both are resiplaying the data just fine. Also i've done it on a 2nd CForms page and NOT on the JX Template!!! The more 'Cocoonish'

Re: Flow Control using Java and not JavaScript?

2004-10-07 Thread Patrick Verboom
Hi, I tried running flows in java on a bea Weblogic 6.1 without success. The java code worked fine on a tomcat. Java is much more work than javascript. Using Javascript for the flows was something i didn't like either. Now after written a couple of flowscripts in javascript i changed my mind. I

Re: XForms/DENG passing parameters to Cocoon?

2004-10-07 Thread Upayavira
Lars Huttar wrote: OK, having sniffed the http transaction, here is what I get... When submitting data using an HTML form, I get the following request body: Linguistic_Subgroup_Id=69413Subgroup_Name=Turkicgo=Submit This is just what I want: the parameters and values. I know how to make Cocoon

RE: multivalue list - set a value greater than 1000

2004-10-07 Thread Bruno Dumon
On Thu, 2004-10-07 at 05:36, Joe Latty wrote: I think you will find that the value is being formatted with 1,000 (hence no match) try adding this to your multivaluefield fd:datatype base=decimal fd:convertor type=formatting datatype=number fd:patterns

Re: Flow Control using Java and not JavaScript?

2004-10-07 Thread John L. Webber
We have a lot of flowscripts that typically assemble request parameters and information from the session and then create new Java objects which are sent to createX or saveX methods on DAO objects. These functions are usually around 20 lines of code, sometimes longer. In theory we could

Re: cforms + flow contination problem

2004-10-07 Thread pguillard
Hi, I don't really have a full understanding on continuations but with JX i use continue.#{$cocoon/continuation/parent/parent/id}, i mean pointing one more parent gets me back to the page before. To be able to be sure where i get back i also added some var continuation =

RE: multivalue list - set a value greater than 1000

2004-10-07 Thread oceatoon
maybe this javascript caster could be of hand var int = parseInt(your_num_value_or_string,10) Rgards Tibor - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Flow Control using Java and not JavaScript?

2004-10-07 Thread Ugo Cei
John L. Webber wrote: We have a lot of flowscripts that typically assemble request parameters and information from the session and then create new Java objects which are sent to createX or saveX methods on DAO objects. These functions are usually around 20 lines of code, sometimes longer. In

Re: cforms + flow contination problem

2004-10-07 Thread Peter Krpfl
I don't really have a full understanding on continuations but with JX i use continue.#{$cocoon/continuation/parent/parent/id}, i mean pointing one more parent gets me back to the page before. To be able to be sure where i get back i also added some var continuation =

smtp-auth for sendmail?

2004-10-07 Thread pguillard
Hi, Is there an smtp-auth implementation disponible today, i don't find any in sendmail logicsheet/transformer /action. (Need to send mail to server that requires authentication). Regards, Phil - To unsubscribe, e-mail: [EMAIL

Re: cforms + flow contination problem

2004-10-07 Thread Peter Krpfl
Philipp Rech i looked into your stuff and work with it a little. In my opinion the onClick=history.go(-1) is a good idea and works fine. As a link and as a button. Both are resiplaying the data just fine. Also i've done it on a 2nd CForms page and NOT on the JX Template!!! html

Link Livesites: Cocoon 2.1.5

2004-10-07 Thread John Sheridan
Title: Link Livesites: Cocoon 2.1.5 http://www.fenc.org.uk A consortium of Further Education Colleges in the UK, using Cocoon to power both the website and to generate standards compliant xml-based learning resources. John Sheridan FENC 01553 779537 www.fenc.org.uk

Re: cforms + flow contination problem

2004-10-07 Thread pguillard
I avoid this by reloadind my form datas from a bean (form.load(some_bean);), if you don't use a bean, maybe you can try like this, then i hope you reload the form. var form = new Form(forms/registration.xml); var model = form.getModel(); //1 form.load(model); //2

Re: cforms + flow contination problem

2004-10-07 Thread Peter Krpfl
I avoid this by reloadind my form datas from a bean I don't use beans yet (maybe there will be no way without doing beans) (form.load(some_bean);), if you don't use a bean, maybe you can try like this, then i hope you reload the form. var form = new Form(forms/registration.xml); var

Re: cforms + flow contination problem

2004-10-07 Thread Philipp Rech
hallo Peter, maybe you should put input type=button value=Back via JS onClick=history.go(-1) / or... a href=javascript: history.go(-1)Back via JS Link/a into the XSLT Stylesheet (for JX Template transformation). Works fine for me and data gets redisplayed without the fd:output / element.

on-delete-row question

2004-10-07 Thread Jorg Heymans
Hi, How can i make it so that when repeater-rows are deleted, CForms immediately updates the underlying collection in the bean that binds to it? ATM, CForms only updates the bean *after* pressing submit in the form that holds the repeater. I have fb:on-delete-row fb:delete-node/

RE: multivalue list - set a value greater than 1000

2004-10-07 Thread Paul Joseph
Thank you very much - this fixed it. Of the three solutions suggested (how lucky one is to have the list!) I went with the plain convertor as that seemed to be closest to the root cause ;-) Wonder why this problem doesn't show up for other widgets such as a simple field styled as drop-down, but

RE: XForms/DENG passing parameters to Cocoon?

2004-10-07 Thread Lars Huttar
Thank you thank you! Suggestion, for doc editors: a cross-reference from the Request Generator page to StreamGenerator. http://cocoon.apache.org/2.1/userdocs/generators/request-generator.html describes the Request Generator as Generates an XML representation of the incoming request. Which is true

Starting a session with an action.

2004-10-07 Thread Roger Hyam
I am having problems with sessions. I need the entry point for my application to be a post or get from somewhere in the outside world. Some of the parameters in the request need to be written to the session and then the user sent on to view a resource on the basis of the parameters in their

Re: Starting a session with an action.

2004-10-07 Thread Nick Goupinets
Hi Roger, I don't know if this will help, but there is a Session Action http://cocoon.apache.org/2.1/apidocs/org/apache/cocoon/webapps/session/acting/SessionAction.html It allows one to create and delete sessions. BTW, If you are planning on using authentication, you might want to take a look at

retrieving webdav metadata

2004-10-07 Thread Francois Jannin
Hi all, I'm trying to use Cocoon with Webdav server (Slide), and i can't figure out how to retrieve custom metadatas i put on collections and resources. Traversable generator just returns a set of collection elements that do not reflect my properties. Is there a way to customize request to

Embedding fonts using fo2pdf serializer

2004-10-07 Thread Westemeyer, Sebastian, VF-DE
Hi all! I am working on an XSLT conversion to FO and a serialisation into PDF using the fo2pdf serializer. Now I have tried following the description on cocoon.apache.org to embed a simple Helvetica type of font into my document. By now I believe I have read everything there is on the web

Re: Ghent on Sunday

2004-10-07 Thread Steven Noels
On 05 Oct 2004, at 19:01, Ugo Cei wrote: I've got my plane ticket and train schedule in front of me and they tell me that I'll be in Ghent next Sunday (not before 10pm circa, though). So, if anyone else will be there on Sunday too, we might have a few beers or a dinner somewhere. We can use the

RE: Changing the portal layout dynamically

2004-10-07 Thread Andrew MacDonald
Thanks for the suggestion Carsten. I tried auth-protecting both the call to the flow, and the regular pipeline, but unfortunately it didn't seem to make a difference... I'm still receiving the same errors. Here's the relevant sitemap code: map:match pattern= map:act type=auth-protect

Re: XForms/DENG passing parameters to Cocoon?

2004-10-07 Thread Upayavira
Lars Huttar wrote: Thank you thank you! Suggestion, for doc editors: a cross-reference from the Request Generator page to StreamGenerator. http://cocoon.apache.org/2.1/userdocs/generators/request-generator.html describes the Request Generator as Generates an XML representation of the incoming

Re: Ghent on Sunday

2004-10-07 Thread Steven Noels
On 07 Oct 2004, at 16:41, Steven Noels wrote: I'll be in The Vooruit around 9PM. We'll leave a note on the front door or at the bar if we start shopping around for dinner (or snacks rather, since Ghent doesn't have many real restaurants which still offer à la carte after 10PM) ... and we

Read web.xml

2004-10-07 Thread Carlos Dias
A simple question... how can I read the web.xml file? My goal is to get the value of the initial parameters. Thanks, CDias

Re: Starting a session with an action.

2004-10-07 Thread Roger Hyam
Thanks for this Nick. Just what I need. Didn't find it before because it is in an odd package. I was looking in org.apache.cocoon.acting before. Is there away the API doc could be annoted to this I wonder? I'll check out the authentication framework as well. Nick Goupinets wrote: Hi Roger, I

Re: Empty request object

2004-10-07 Thread Emond Papegaaij
On Thursday 07 October 2004 01:42, Adam Walsh wrote: Emond Papegaaij wrote: When running our cocoon application on some systems, we run into a very strange and hard to find problem. Our application uses cForms and a custom flow engine to display these forms. In some cases, when the user

CMS Survey deadline for free survey results approaching

2004-10-07 Thread cms study
Dear Apache Cocoon User, We would like to remind you that e-guana.net is conducting a survey of the eleven leading open source content management systems. We are interested in your experiences with Apache Cocoon. Those who complete the survey by tomorrow will receive a complimentary free copy

RE: Embedding fonts using fo2pdf serializer

2004-10-07 Thread Conal Tuohy
-Original Message- From: Westemeyer, Sebastian, VF-DE Sent: Friday, 8 October 2004 03:31 To: [EMAIL PROTECTED] Subject: Embedding fonts using fo2pdf serializer I am working on an XSLT conversion to FO and a serialisation into PDF using the fo2pdf serializer. Now I have tried

Re: CMS Survey – deadline for free survey results approaching

2004-10-07 Thread Antonio Gallardo
Hi Shai: As I already told, the survey is incorrect. The is Cocoon as CMS. And Cocoon is not a CMS. The CMS system that use Cocoon is: lenya: http://cocoon.apache.org/lenya Please fix the survey if you want to receive positive feedback. Best Regards, Antonio Gallardo cms study dijo: Dear

Re: xltc and Attempt to output character of integral value 232 that ...

2004-10-07 Thread Antonio Gallardo
Leszek Gawron dijo: Antonio Gallardo wrote: DRION CHRISTOPHE dijo: Hi, I've got following error : 'Attempt to output character of integral value 232 that is not represented in specified output encoding of ' when I make transformation with xsltc : especially when I use the following xsl

Re: smtp-auth for sendmail?

2004-10-07 Thread Antonio Gallardo
pguillard dijo: Hi, Is there an smtp-auth implementation disponible today, i don't find any in sendmail logicsheet/transformer /action. (Need to send mail to server that requires authentication). Hi Phil: The cocoon 2.1.6-dev (currently on SVN) contains already the patch you want:

Re: smtp-auth for sendmail?

2004-10-07 Thread pguillard
Thanks! Antonio Gallardo wrote: pguillard dijo: Hi, Is there an smtp-auth implementation disponible today, i don't find any in sendmail logicsheet/transformer /action. (Need to send mail to server that requires authentication). Hi Phil: The cocoon 2.1.6-dev (currently on SVN) contains