Re: woody and content aggregation

2004-04-20 Thread Jan Hoskens
Title: woody and content aggregation I'm not sure what you're meaning here, please give some more information (sitemap pieces, aggregation pipeline/display pipeline). Why do you refer to multiple forms on one page? Are you just meaning that you're aggregating a page and the display pipeline

RE: Link: Project: InvitoCMS - Web based WYSIWYG CMS

2004-04-20 Thread Derek Hohls
Thanks for all the info Horst; possibly someone who is German/English speaker may be interested in this project and look to help support English-speaking Cocoon users as well; after all, Cocoon is designed to handle internationalisation! Derek Horst Rechner [EMAIL PROTECTED] 2004/04/19

RE: Cocoon WebMail Client Application - java.lang.RuntimeException: org.xml.sax.SAXException:

2004-04-20 Thread Marot Laurent
many thanks Laurent -Message d'origine- De : Joerg Heinicke [mailto:[EMAIL PROTECTED] Envoyé : lundi 19 avril 2004 21:57 À : [EMAIL PROTECTED] Objet : Re: Cocoon WebMail Client Application - java.lang.RuntimeException: org.xml.sax.SAXException: On 19.04.2004 21:29, Marot Laurent wrote:

RE: cocoon under eclipse

2004-04-20 Thread Carmona Perez, David
I use Tomcat 4.1.x with Eclipse 2.1.x successfully. For that I use the Sysdeo plugin: http://www.sysdeo.com/eclipse/tomcatPlugin.html . -Mensaje original- De: Flavio Palumbo [mailto:[EMAIL PROTECTED] Enviado el: lunes, 19 de abril de 2004 17:10 Para: [EMAIL PROTECTED] Asunto: Re:

Re: how to build webpage of growing length by cocoon

2004-04-20 Thread Yves Vindevogel
I use some DHTML to do that ... Look at www.belgium-explorer.be. Click on a letter in the list (sorry, site in dutch and french, but code in java ;)) ) I execute a script there to update the content of a DIV. You can do the same. Dynamically change the content of your page. All elements you

Re: Newbie: Searching with html form parameters

2004-04-20 Thread David Swearingen
Nina: I didn't see a reply to your post. I'm relatively new to Cocoon but can relate to your question and was considering this tonight. Yes, if you're new to this environment it's going to be intimidating to figure this out since yes, it's straightforward to do ith with a relational db and

Re: Flow-Woody-Event-Woody... possible?

2004-04-20 Thread Steve Steinitz
Hello List, Thank you for your reply to my colleague's query, Marc. Marc Portier wrote: not trying to subvert the relation between the form and it's actions you should 'complete' the form and go onto the next one change the action into: fd:submit id=remove action-command=remove

Re: how to build webpage of growing length by cocoon

2004-04-20 Thread laurent_rorive
Hi, It is perhaps better if you use the Woody capabilities (also known as Cocoon Forms) There you have possibilities to create a kind of growing tables Check in the cocoon samples : PetStore Laurent Lechael Han [EMAIL PROTECTED] 20/04/2004 10:27 Please respond to users To:

Re: Flow-Woody-Event-Woody... possible?

2004-04-20 Thread Joerg Heinicke
On 20.04.2004 09:44, Steve Steinitz wrote: We couldn't find that example but here is what we've done: fd:submit id=remove action-command=remove fd:labelRemove/fd:label /fd:submit and in our xsp wt:widget id=remove/ and in the flow if (remove.equals(form.submitId))

Re: woody and content aggregation

2004-04-20 Thread laurent_rorive
Hi, I also do the same and it works correctly : Here is my aggregate page ( = a called resource) == !-- generate a page by merging all parts making up a page -- map:resource name=show-simple-form map:act type=locale map:aggregate element=PAGE

Re: Flow-Woody-Event-Woody... possible?

2004-04-20 Thread Marc Portier
Steve Steinitz wrote: Hello List, Thank you for your reply to my colleague's query, Marc. Marc Portier wrote: not trying to subvert the relation between the form and it's actions you should 'complete' the form and go onto the next one change the action into: fd:submit id=remove

Re: Newbie: Searching with html form parameters

2004-04-20 Thread laurent_rorive
Nina , Just us Lucene . This is the search tool of Cocoon Check the cocoon block David Swearingen [EMAIL PROTECTED] 20/04/2004 06:42 Please respond to users To: [EMAIL PROTECTED], [EMAIL PROTECTED] cc: Subject: Re: Newbie: Searching with html form parameters

RE: Link: Project: InvitoCMS - Web based WYSIWYG CMS

2004-04-20 Thread Robert Soesemann
Oops, I didn't know a project submission email goes to the whole mailing list. As am not an active project member righjt now PLEASE DON'T REPLY TO THIS EMAIL. USE THE ADRESS [EMAIL PROTECTED] FOR FURTHER CONTACT to the InvitoCMS project. I forwarded your request to my collegues. They will

Re: for (...)

2004-04-20 Thread olivier demah
Jan Hoskens a écrit : In your XSP you're not allowed to use and other xml characters that serve special purposes (you're still in xml while writing java!) thus replace i in for with i lt; or set a CDATA section around it so that xml will copy it literally. oh ; yes i forgot that details ;

Re: Flow-Woody-Event-Woody... possible?

2004-04-20 Thread Marc Portier
Joerg Heinicke wrote: On 20.04.2004 09:44, Steve Steinitz wrote: We couldn't find that example but here is what we've done: fd:submit id=remove action-command=remove fd:labelRemove/fd:label /fd:submit and in our xsp wt:widget id=remove/ and in the flow if

[i18n] Xalan replaces encoded characters with entities

2004-04-20 Thread Sjur Nørstebø Moshagen
Hello, [I tried to Google, but could not find any references to the above; accept my apologies if this has been discussed before, and send me a pointer to that discussion] I have the opposite problem of what Upayavira described a few days ago: all my XML documents are completely in UTF-8, but

Woody - XML binding - float datatype - problem found

2004-04-20 Thread Hubert Trzewik
I found a problem with binding data to woody form. Example: In this example binding works perfectly.. XML data for binding: MyFactor55/MyFactor Form definition: wd:field id=myfactor wd:labelMy facor:/wd:label wd:datatype base=string/ /wd:field But if we change datatype in definition to

Re: Woody - XML binding - float datatype - problem found

2004-04-20 Thread Marc Portier
Hubert Trzewik wrote: I found a problem with binding data to woody form. Example: In this example binding works perfectly.. XML data for binding: MyFactor55/MyFactor Form definition: wd:field id=myfactor wd:labelMy facor:/wd:label wd:datatype base=string/ /wd:field But if we change datatype

Flowscript, Actions!?

2004-04-20 Thread beyaNet Consultancy
Hi, ok, so I have been using actions thus far to perform things like login, and now discover the beauty and simplicity of flowscript. So why actions? Anyway, I want to convert an action I currently have to check a users login details to flowscript. So my question is, what do I need to do? My user

cli:// offline-generation, how to avoid get-variables in the generated-filenames

2004-04-20 Thread Boris Althaus
hy all, i'm working with the offline-generation of cocoon at the moment. In my websites i have flash-movies which are initialized with get-variables. The corresponding filenames are like my.swf_name=value. Is there a way to avoid this by configuration, or is it nessesary to rename the

org.apache.avalon.framework.configuration.ConfigurationException: No languages defined!

2004-04-20 Thread beyaNet Consultancy
hi, I have added the following lines of code to my sitemap, and am now getting the above mentioned error message: map:flow-interpreters default=JavaScript/> map:selector name=exception src=org.apache.cocoon.selection.XPathExceptionSelector> exception name=invalid-continuation

Re: cli:// offline-generation, how to avoid get-variables in the generated-filenames

2004-04-20 Thread Upayavira
Boris Althaus wrote: hy all, i'm working with the offline-generation of cocoon at the moment. In my websites i have flash-movies which are initialized with get-variables. The corresponding filenames are like my.swf_name=value. Is there a way to avoid this by configuration, or is it nessesary

Re: org.apache.avalon.framework.configuration.ConfigurationException: No languages defined!

2004-04-20 Thread beyaNet Consultancy
Ok, i have discovered that the following line caused my sitemap to bomb out: map:flow-interpreters default=JavaScript/> What does this line do, is it required, will commenting it out prevent flowscript from working properly Peter On 20 Apr 2004, at 11:37, beyaNet Consultancy wrote: Hi,

ressource reader bug with IE (linked to caching)

2004-04-20 Thread Joel Reungoat
Hello users, I'm trying to access DOC or PDF files using the ressource reader component as described in the sitemap below and get the following error only under Microsoft IE : Internet Explorer cannot download test.doc from localhost Internet Explorer was not able to open this Internet site.

R: woody and content aggregation

2004-04-20 Thread Trevisani Andrea
It's true, your solution works correctly, but in my opinion is not an approach generalized to the use of cocoon formsinsidea webpage composedby various and variables parts (fragments).As an example, if youwant to reuse the same pipeline and the same flowscript function to manage

Problems passing parameters to XSP

2004-04-20 Thread Carlos Dias
Hi, I know that this is a very well documented subject, but I try it, and doesn't work. My pipeline is: map:match pattern="test-*-*"map:generate src="" strip-root="false"map:parameter name="user_id" value="{1}"/map:parameter name="app_id" value="{2}"//map:generatemap:serialize

Re: cli:// offline-generation, how to avoid get-variables in the generated-filenames

2004-04-20 Thread Boris Althaus
Hello Upayavira, for html-file this behavior make sense because index.html?name=foo and index.html?name=bar have different content. But my.swf?name=foo and my.swf?name=bar should be the same file. The strange thing is, that my.swf?name=foo becomes my.swf_name=foo. Probably because the ? is

Writing generated content to file with cocoon

2004-04-20 Thread robby . pelssers
Hi all, I would like to write some generated content (generated by xsp-page) to a textfile (plain tekst but preferrably xml). What is the easiest way to do this in cocoon ?? Kind regards, Robby - To unsubscribe, e-mail:

Re: Writing generated content to file with cocoon

2004-04-20 Thread Jan Hoskens
Take a look at the SourceWritingTransformer: http://cocoon.apache.org/2.1/userdocs/transformers/sourcewriting-transformer.html Kind Regards, Jan - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, April 20, 2004 1:49 PM Subject: Writing generated content

Re: Problems passing parameters to XSP

2004-04-20 Thread Jan Hoskens
I tend to use this instead of util:.../: String s = parameters.getParameter("my_sitemap_parameter", "default_value"); This does work for me. I wonder why you're using the "cocoon:/" protocol, because the docs say: cocoon:/ - get a pipeline from the current sitemap I don't think you

Reference to undeclared namespace prefix: 'xmldb'.

2004-04-20 Thread Nina Juliadotter
Hi everyone, I've finally managed to get Cocoon and Xindice to talk to eachother :) but I get this evil error: The XML page cannot be displayed Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.

AW: Portal Engine in JBOSS?

2004-04-20 Thread Hauke Ernst
Thanxs, after updating the collections.jar it worked! -Ursprüngliche Nachricht- Von: Janek Bogucki [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 15. April 2004 16:27 An: [EMAIL PROTECTED] Betreff: Re: Portal Engine in JBOSS? On Thu, 2004-04-15 at 13:14, Hauke Ernst wrote:

Global parameters for custom generator

2004-04-20 Thread Christian Rosenberger
Hello! I have developed my custom generator and now i want to pass a parameter to all generators of this type on the sitemap. My idea would be to define a generator this way: map:generators default=file map:generator name=mygen src=de.myapp.MyGenerator parameter

XSP and cocoon cache

2004-04-20 Thread Olivier Billard
Hi Cocooners ! What is the cache used by Cocoon when rendering a pipeline ? and a pipeline error ? When a runtime error occurs in an XSP, the rendered cocoon error page still displays when calling this page another time, but with a case that doesn't cause any error... I'm sure the error

Re: ressource reader bug with IE (linked to caching)

2004-04-20 Thread Marcin Okraszewski
Hi, Are you trying to access a file through SSL? I found similar problems with IE in SSL mode. Regards, Marcin Okraszewski Hello users, I'm trying to access DOC or PDF files using the ressource reader component as described in the sitemap below and get the following error only under

XSP and logicsheets namespaces inclusions

2004-04-20 Thread Olivier Billard
Hi again, I have an XSP that includes some logicsheets. Some of these logicsheets also includes a logicsheet (xsp-request for example). But some times (10% of the time) after a restart of the server, a compilation error occurs, caused by the xsp-request logicsheet not beeing translated, and

Problem: Enabling uploads

2004-04-20 Thread Tuomo L
Hi, We're having some serious problems with Cocoon upload mechanism. Nothing ends up in the upload-dir. The form enctype is set to multipart/form-data, enable-uploads=true and autosave-uploads=true in web.xml. What could be the problem? Running Cocoon 2.1.4 on Tomcat 4.1.24. -Tuomo

Re: XSP and cocoon cache

2004-04-20 Thread Jan Hoskens
Are you using subsitemaps? Then check that you're having this attribute on your mount: map:mount check-reload=yes ../ If not, check cocoon.xconf for sitemap check-reload=yes ../ I think that should do it. (well I'm not having troubles with XSP pages that don't recompile;) Kind Regards, Jan

RE: Problem: Enabling uploads

2004-04-20 Thread Steve Schwarz
Hi Tuomo IIRC the file will only exist for the duration of the pipeline invoked by the form action. So you need to process it within that pipeline as cocoon deletes it right afterwards. HTH, Steve Hi, We're having some serious problems with Cocoon upload mechanism. Nothing ends up in the

RE: SAXParseException: Content is not allowed in prolog.

2004-04-20 Thread Carmona Perez, David
Thanks all of you for your tips. I don't know the cause, but as the output is correctly generated, finally I've opted to create a log filter to filter out all the messages with its lengthy call stack (it is time consuming and generates really very big log files). -Mensaje original-

Re: cocoon under eclipse

2004-04-20 Thread Olivier Billard
Flavio, Personnaly, I don't start jetty in Eclipse, but use the cocoon servlet-debug command and plug my Eclipse on the (default) debug port of jetty and it works well. For tomcat, I added a debug clause in a special catalina.bat to plug Eclipse in there. And it also works good. I don't see

[portal] Opening portal page from CachingURICoplet's flow

2004-04-20 Thread Alex Romayev
I have implemeneted registration form as a CForm inside a CachingURICoplet. At the end of registration (on confirm) I need to do the following in my flowscript: 1. Write results to the database 2. Log the user with the new username/passoword to portal 3. Redirect to the main portal page (maintab

Re: R: woody and content aggregation

2004-04-20 Thread laurent_rorive
That's exactly what I do and it work correctly !!! the only thing is that I have in my woody_template.xml a special _javascript_ that change the document.forms[0].action and replace it with the correct URI script // Force the generic form to us the continue statement var form=

Re: XSP and cocoon cache

2004-04-20 Thread Olivier Billard
Hi Jan, Thanks for you answer. Answers below : Jan Hoskens wrote: Are you using subsitemaps? Yes Then check that you're having this attribute on your mount: map:mount check-reload=yes ../ all is ok If not, check cocoon.xconf for sitemap check-reload=yes ../ doesn't this feature tell cocoon to

Re: ressource reader bug with IE (linked to caching)

2004-04-20 Thread laurent_rorive
Hi, I encounter exactly the same problem, I try to create my own reader but it fails . what I done is that I create a separate servlet that specially read files from the file system and stream them to the HttpResponse . It seems that the reader does not really us the real Http Response ? (Is

need help with xsp:formval

2004-04-20 Thread Vlad Ali
Hi all! i'm newbie in cocoon/ Explain to me pls where i can write xsp-formval:... logicsheet's tags? I have not found clear explanation this question on cocoonwiki and google vmch thx - To unsubscribe, e-mail: [EMAIL

memory oddnes

2004-04-20 Thread Joose Vettenranta
cocoon: 2.1.3 ibm jre 1.4.1 option: -Xmx1536m cocoon.xconf: store-janitor logger=core.store.janitor parameter name=freememory value=1500/ parameter name=heapsize value=146000/ parameter name=cleanupthreadinterval value=10/ parameter name=adaptivethreadinterval

org.apache.avalon.framework.CascadingRuntimeException: Continuation is not defined

2004-04-20 Thread beyaNet Consultancy
Hi, Why am I getting the above error message? I have defined one .js file called login.js which has one function in it called login(): function login(){ importClass(Packages.test.User); var msg = Success; var obj = new User(); obj.getUser(cocoon.request.get(password)); while (true){

Re:Woody-XMLbinding-floatdatatype-problemfound

2004-04-20 Thread Hubert Trzewik
Marc, your solution looked pretty well, but in fact it does not work, there is probably bug. A message from erro message screen is: java.lang.RuntimeException: Incorrect value type for myfactor (expected class java.lang.Float, got class java.math.BigDecimal. As you can see string from XML is

Re: XSP and cocoon cache

2004-04-20 Thread Jan Hoskens
Hmm, you're right, I was a bit off on that one. But you don't need to shut down your server, just clean your working dir. If you're using Tomcat, you can find your compiled XSP pages under the work dir: C:\app\Jakarta-Tomcat_4.1.29\work\Standalone\localhost\_\cocoon-files\org\ap

Re: Problems passing parameters to XSP

2004-04-20 Thread Carlos Dias
Thanks for the answer. I read what you said about the "cocoon:/" protocol, I call the xsp directly and it works fine. The point is that I had implemented a generic pipeline for xsp files, that's why I used the protocol. The generic pipeline for xsp files is: map:match

Re: ProblemspassingparameterstoXSP

2004-04-20 Thread Hubert Trzewik
Hi, XSP:EXPR should be outside of XSP:LOGIC block.. try: select xsp:logic String app_id = util:get-sitemap-parameter name=app_id/; String user_id = util:get-sitemap-parameter name=user_id/; /xsp:logic END OF XSP:LOGIC BLOCK MOVED HERE val1xsp:exprapp_id/xsp:expr/val1

Re: Re: Woody - XML binding - float datatype - problem found

2004-04-20 Thread Bruno Dumon
On Tue, 2004-04-20 at 17:38, Hubert Trzewik wrote: Marc, your solution looked pretty well, but in fact it does not work, there is probably bug. A message from erro message screen is: java.lang.RuntimeException: Incorrect value type for myfactor (expected class java.lang.Float, got class

RE: Problem: Enabling uploads

2004-04-20 Thread Steve Schwarz
Tuomo I believe the behavior changed in 2.1 so that that is no longer true: http://wiki.cocoondev.org/Wiki.jsp?page=FileUploadsWithCocoon2.1 Steve Hi, But if autosave-uploads=true, the the file should be saved in the upload-dir permanently, right? -Tuomo On Tue, 20 Apr 2004, Steve Schwarz wrote:

Flowscript problems with cocoon version 2.1.4

2004-04-20 Thread beyaNet Consultancy
Hi, I getting an error while trying to setup my first flowscript code. The error I am getting is: org.apache.avalon.framework.CascadingRuntimeException: Continuation is not defined Could anyone out there please send me a copy of their sitemap, so as I can see how to properly setup up flowscript

Re: ProblemspassingparameterstoXSP

2004-04-20 Thread Carlos Dias
Hubert, Sorry, but that's wrong... you can call xsp:expr inside of a xsp:logic block. You can see this kind of things in all cocoon documentation CDias - Original Message - From: Hubert Trzewik [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, April 20, 2004 4:53 PM Subject: Re:

RE: Global parameters for custom generator

2004-04-20 Thread Roth, Scott
You can declare your Generator as Configurable [1], and pass the config file to the component in the component definition. You can then do whatever you want with the configuration information in the configure() method. See the LinkStatusGenerator for an example. [1]

Flowscript to Uploadfile

2004-04-20 Thread olivier demah
Hi, i try to upload some images and i use = http://wiki.cocoondev.org/Wiki.jsp?page=FileUploadsWithFlow it's working on some js but failed on one : this one works : var role = 'org.apache.cocoon.components.upload.FileUploadManager'; function upload_shop_photo() { var uploader =

Re: ProblemspassingparameterstoXSP

2004-04-20 Thread Hubert Trzewik
I just copied your code into my XSP page for testing, and it works.. You sure, you have all the xsp:page things correct? ?xml version=1.0 encoding=UTF-16? xsp:page language=java xmlns:xsp=http://apache.org/xsp; xmlns:util=http://apache.org/xsp/util/2.0;

RE: Flowscript to Uploadfile

2004-04-20 Thread Jeroen Reijn
Hi, maybe i'm thinking in the wrong direction, but the error messege says that it's getting a String. Is your form type correct(multipart) ? Just my 2 cents. Jeroen -Original Message- From: olivier demah [mailto:[EMAIL PROTECTED] Posted At: Tuesday, April 20, 2004 6:23 PM Posted To:

Re: ProblemspassingparameterstoXSP

2004-04-20 Thread Carlos Dias
I already try it without the cocoon:/ protocol and works OK. The problem is that my generic pipeline for xsp doesn't support the passing of parameters. In a previews email (with the same subject) I post my generic pipeline if you could give a look at that I will appreciate! CDias -

Re: Flowscript problems with cocoon version 2.1.4

2004-04-20 Thread Christopher Oliver
Most likely you have another version of Rhino in your classpath. beyaNet Consultancy wrote: Hi, I getting an error while trying to setup my first flowscript code. The error I am getting is: *org.apache.avalon.framework.CascadingRuntimeException: Continuation is not defined *Could anyone out

Global parameters for custom generator

2004-04-20 Thread Christian Rosenberger
Hello! I have developed my custom generator and now i want to pass a parameter to all generators of this type on the sitemap. My idea would be to define a generator this way: map:generators default=file map:generator name=mygen src=de.myapp.MyGenerator parameter

Link Hosting:JSP Zone Web Hosting

2004-04-20 Thread JSPZone Hosting
Jsp Java servlet hosting - supports Cocoon 2.1.3 2.1.4, Tomcat4 Tomcat5 http://www.jspzone.net/ Contact: [EMAIL PROTECTED] Thank You John Howell

Re: Flowscript problems with cocoon version 2.1.4

2004-04-20 Thread beyaNet Consultancy
Christopher, the version of Rhino I have installed in my web-inf/lib folder is : rhino1.5r4-continuations-20030906.jar. Is this the correct version for cocoon version 2.1.4? If not, where can I get the correct .jar from? Peter On 20 Apr 2004, at 18:08, Christopher Oliver wrote: Most likely

Re: need help with xsp:formval

2004-04-20 Thread Christian Haul
Vlad Ali wrote: Hi all! i'm newbie in cocoon/ Explain to me pls where i can write xsp-formval:... logicsheet's tags? I have not found clear explanation this question on cocoonwiki and google You can write then anywhere on your XSP. However, IMO you should consider to use the

Re: Woody/Cocoon forms questions

2004-04-20 Thread Sebastian
Dnia Mon, 19 Apr 2004 22:41:50 +0200, Marc Portier [EMAIL PROTECTED] napisa: see the aggregate-sample with the 'switch' button (of course that is a somewhat giving you the idea that you _should_ have multiple templates for one form, but you should at least notice that both templates mention

sitemap problem

2004-04-20 Thread Vlad Ali
hi i have error from cocoon: org.apache.avalon.framework.configuration.ConfigurationException: No languages defined! in my sitemap i write : map:flow-interpreters default=javascript/ map:flow language=javascript map:script src=flow/form_test.js/ /map:flow and in cocoon.xconf i have

RE: Global parameters for custom generator

2004-04-20 Thread Christian Rosenberger
Sorry for double posting. Don't know, why it happens! Thanks for the help! Regards, Christian -Original Message- From: Christian Rosenberger [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 20, 2004 3:22 PM To: [EMAIL PROTECTED] Subject: Global parameters for custom generator Hello! I

Re: Flowscript problems with cocoon version 2.1.4

2004-04-20 Thread beyaNet Consultancy
is anybody having problems with flowscript on version 2.1.4 of cocoon? If not, could you send me a copy of your js.jar and rhino1.5r4-continuations-20030906.jar as I continue to get the following error message: x-tad-biggerReferenceError: Continuation is not defined.

Re: Flowscript problems with cocoon version 2.1.4

2004-04-20 Thread Michael Wechner
beyaNet Consultancy wrote: is anybody having problems with flowscript on version 2.1.4 of cocoon? not really, but we had some confusing exceptions because we used some global variables within a certain flowscript. The flowscript which had the global variables continued to run fine, but all

Re: Woody/Cocoon forms questions

2004-04-20 Thread Marc Portier
Sebastian wrote: Dnia Mon, 19 Apr 2004 22:41:50 +0200, Marc Portier [EMAIL PROTECTED] napisa: ^^^ did I? gosh :-$ snip / Ok. I've looked at C2.1.5. Lot of new stuff. It looks interesting. Saddly I'm not web developer anymore and don't have so much time to spend

Re: Flowscript to Uploadfile

2004-04-20 Thread Geoff Howard
Jeroen Reijn wrote: Hi, maybe i'm thinking in the wrong direction, but the error messege says that it's getting a String. Is your form type correct(multipart) ? Just my 2 cents. That (String) can also happen if uploads are not turned on in web.xml - in case these are different webapps, or on

Re: Problem: Enabling uploads

2004-04-20 Thread Geoff Howard
Steve Schwarz wrote: Tuomo I believe the behavior changed in 2.1 so that that is no longer true: http://wiki.cocoondev.org/Wiki.jsp?page=FileUploadsWithCocoon2.1 Steve Exactly - and the general security weakness of the old system (unlimited uploads to any url handled by any cocoon server with

How to pass a XML file to another WebService application?

2004-04-20 Thread Sean Xue
Hi, All, I am relatively new to cocoon. Please provide some guidelines, thanks. We have a WebService applicationthat canprocess and return XML files. My question is how to ask cocoon to pass a XML file to that WebService and receive the returned XML message. Assuming the WebService is

[I18n Transformer] Message Locations

2004-04-20 Thread Alex Romayev
Hi, It seems that I18nTransformer is now looking for messages in the relative to the current sitemap directory. Is it possible to have a single base location for all messages? Thanks, -Alex - To unsubscribe, e-mail: [EMAIL

Re: [I18n Transformer] Message Locations

2004-04-20 Thread Antonio Gallardo
Alex Romayev dijo: Hi, It seems that I18nTransformer is now looking for messages in the relative to the current sitemap directory. Is it possible to have a single base location for all messages? Yep. In sitemap.xmap you can set it using context: map:transformer name=i18n catalogues

Hibernate vs. reload-scripts

2004-04-20 Thread Mark Lundquist
I used to enjoy the automatic recompilation of my Java classes with cocoon/flow-interpreters/component-instance/reload-scripts... ...until I started using Hibernate w/ Cocoon. Hibernate needs to see all your persistent classes in the classpath, so now my WEB-INF/lib/ has links to my class

Re: Hibernate vs. reload-scripts

2004-04-20 Thread Mark Lundquist
On Apr 20, 2004, at 4:12 PM, I wrote: I used to enjoy the automatic recompilation of my Java classes with cocoon/flow-interpreters/component-instance/reload-scripts... ...until I started using Hibernate w/ Cocoon. Hibernate needs to see all your persistent classes in the classpath, so now my

Re: [I18n Transformer] Message Locations

2004-04-20 Thread Alex Romayev
I am mounting my application outside of cocoon directory structure, so if I remember correctly, I will not be able to use context:// protocol, is there another way? Thanks, -Alex --- Antonio Gallardo [EMAIL PROTECTED] wrote: Alex Romayev dijo: Hi, It seems that I18nTransformer is now

redirect problem with flowscript : No pipeline matched request: safe_user_area

2004-04-20 Thread beyaNet Consultancy
Hi, i have a flowscript funtion which does the following: var user = null; importClass(Packages.test.User); var newUser = new User(); var msg = ; function login() { while (user == null) { cocoon.sendPageAndWait(login.jx, {msg:msg}); try { user = newUser.getUser(cocoon.request.get(username),

Using CLI as a conversion tool

2004-04-20 Thread Antonio Gallardo
Hi: I never user the CLI outside forrest. My question is: Is posible to use CLI as a conversion tool for applications from ISO-8859-1 to UTF-8? There are some xslt, xsp, xml, xmap and xconf files. Some of them are in ISO-8859-1. The result need to be in the same directory structure but in

Re: [I18n Transformer] Message Locations

2004-04-20 Thread David Crossley
Alex Romayev wrote: I am mounting my application outside of cocoon directory structure, so if I remember correctly, I will not be able to use context:// protocol, is there another way? Have you tried the file:// protocol ...

Re: [I18n Transformer] Message Locations

2004-04-20 Thread David Crossley
Alex Romayev wrote: I am mounting my application outside of cocoon directory structure, so if I remember correctly, I will not be able to use context:// protocol, is there another way? Have you tried the file:// protocol ...

Re: [I18n Transformer] Message Locations

2004-04-20 Thread Alex Romayev
My application is being deployed in different environments, so I can't rely on the file path. What I really need is application context, but I'm afraid there is no such protocol. I think I'll just have to wrap it with a pipeline, so that I would use cocoon:// instead. Thanks everyone, -Alex

Re: Using CLI as a conversion tool

2004-04-20 Thread Upayavira
Antonio Gallardo wrote: Hi: I never user the CLI outside forrest. My question is: Is posible to use CLI as a conversion tool for applications from ISO-8859-1 to UTF-8? There are some xslt, xsp, xml, xmap and xconf files. Some of them are in ISO-8859-1. The result need to be in the same

Best Practices for Debugging XML?

2004-04-20 Thread David Swearingen
Newbie question: what's the best way to view raw xml when debugging pipelines for web development? I think my question comes down to these two points: 1) Should serializers be switched to type="xml" so that I can see raw xml results in a browser? 2) If so, or, in general, are there some good

RE: Best Practices for Debugging XML?

2004-04-20 Thread David Leangen
David (I like your name!) Try using views. http://cocoon.apache.org/2.1/userdocs/concepts/views.html Regards, David -Original Message- From: David Swearingen [mailto:[EMAIL PROTECTED] Sent: April 21, 2004 11:21 To: [EMAIL PROTECTED] Subject: Best Practices for Debugging XML?

RE: Best Practices for Debugging XML?

2004-04-20 Thread Neil Bacon
Use a view - see http://cocoon.apache.org/2.1/userdocs/concepts/views.html Usage: myURL?cocoon-view=content -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of David Swearingen Sent: Wednesday, 21 April 2004 12:21 PM To: [EMAIL PROTECTED] Subject: Best

Re: Flowscript problems with cocoon version 2.1.4

2004-04-20 Thread Christopher Oliver
What is your environment like? That is the correct jar. What I'm saying is that there is probably another Rhino jar somewhere in your class path. One way to find out is this:

Re: Hibernate vs. reload-scripts

2004-04-20 Thread Christopher Oliver
What error do you get? AFAIK it should work. Why exactly does hibernate need to see all your persistent classes in the classpath? Mark Lundquist wrote: I used to enjoy the automatic recompilation of my Java classes with cocoon/flow-interpreters/component-instance/reload-scripts... ...until I

xmldb namespace in xindice results file

2004-04-20 Thread Nina Juliadotter
Hi everyone, I've come across a strange problem that I'm not sure how to get around, or if it's just me doing something wrong. Short description: When I use cocoon to query the xindice database and display the results, the result file generated has an undeclared namespace xmldb. This has the

[Help]How to get uploaded file name using different form-encoding?

2004-04-20 Thread roy huang
Hi,all: This's a strange question stuff me up.I set form-encoding to utf-8 in web.xml for display and submit.I can use this code to get the correct string in Chinese,the form encoding is utf-8: userName = new String(request.getParameter(nameField).getBytes(ISO-8859-1)); But in the

Re: Flow-Woody-Event-Woody... possible?

2004-04-20 Thread Steve Steinitz
Hello Joerg On Tuesday, 20 April 2004 at 9:52am, Joerg Heinicke wrote: On 20.04.2004 09:44, Steve Steinitz wrote: We couldn't find that example but here is what we've done: fd:submit id=remove action-command=remove fd:labelRemove/fd:label /fd:submit and in our xsp