specifying format for DateInputModule

2004-08-19 Thread qMax
Is there a way to specify date format other then configuring in cocoon.conf ? Say, if i need date in formats and MM - should i specify 2 module instances with different config ? -- qMax - To unsubscribe, e-mail: [EMAIL

newby Q: how to aggregate source in resource

2004-08-19 Thread qMax
I want to set up my pipelines with final stage page-html-format called from resource: map:pipeline map:match map:generate ... / map:transform ... / map:call resource name=format-page.html/ /map:match /map:pipeline But this format-page.html should aggregate various other sources:

how to get xmldata

2004-08-19 Thread magic
hi, all I have a form including repeater, and I want to load data from a xml into repeater. I wrote a function in flow, but it doesn't work. error message: getElement is not a function function obm1(form) { var documentURI = cocoon.parameters[documentURI]; var document =

Variable name

2004-08-19 Thread Adriano Smith
Is there any way i can use variable names with a hyphen in Flowscript? something like var mail-user="hello"; I get an error when i tried this. Or is it possible to use the same in XSP?

Re: authentication-manager and application load

2004-08-19 Thread Jan Hoskens
I've just tried a little test (I never worked with applications in authentication before) This does work fine: sitemap snippets: authentication-manager handlers handler name=AuthenticationHandler redirect-to uri=cocoon:/login.html/

Re: Variable name

2004-08-19 Thread Jan Hoskens
Why do you want that hyphen? I would suggest to use normal java way of capitalization: mailUser = hello; Kind Regards, Jan Adriano Smith wrote: Is there any way i can use variable names with a hyphen in Flowscript?br br something like br var mail-user=hello;br br I get an error when i tried

RE: [portal] Bug in portal-page.xsl

2004-08-19 Thread Carsten Ziegeler
Hi Markus, thanks for reporting this - it's fixed now. Carsten -Original Message- From: Markus Heussen [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 17, 2004 9:32 PM To: [EMAIL PROTECTED] Subject: [portal] Bug in portal-page.xsl Playing around with Cocoon's portal engine I

Really urgent - Configuration problem 2.1.5.1 - Element.getLocalName() - NoSuchMethod Error

2004-08-19 Thread laurent_rorive
- Forwarded by Laurent Rorive/MARINEPOWER on 19/08/2004 09:16 - [EMAIL PROTECTED] 13/08/2004 18:40 Please respond to users To: [EMAIL PROTECTED] cc: Subject: Configuration problem 2.1.5.1 - Element.getLocalName() - NoSuchMethod Error Dear All, I

RE: submit from xsp

2004-08-19 Thread Derek Hohls
No, you will need to post the values as usual from a normal HTML form; the transform should take care of this part. [EMAIL PROTECTED] 2004/08/19 06:21:48 AM Is it possible to submit using pseudo html?? i want to post the values and then do the transform as usual. Quoting [EMAIL PROTECTED]:

Re[2]: Authentication - passing user info to non-protected match?

2004-08-19 Thread qMax
Thursday, July 15, 2004, 10:24:22 PM, [EMAIL PROTECTED] wrote: OB The user informations are given by the auth-protect action. OB So you can't access these infos the same way without using the action. OB A workaround is to store these infos in session with the OB SessionPropagatorAction, just

CachingURICoplet versus URICoplet and Refresh

2004-08-19 Thread Philippe Guillard
Hi, Question1: I'd like to know if there is another way to refresh CachingURICoplet than setting bookmarks or cl:link evrywhere, or even invalidate the cache. Maybe for that purpose i should use URICoplets ? Question2: Until now i adopted this rule : if i need CForms + Flow (continuation) or

RE: Memory leaks in Cocoon?

2004-08-19 Thread Perez Carmona, David
Hi, Finally here is my conclusions about memory usage with an 46Mb XML input file, depending on how I do the transform: Xalan interpreted: 130 Mb Xalan compiled (XSLTC): 90 Mb with the same stylesheet Custom one pass SAX transformer: 4 Mb !! So XSLTC does a better job in memory usage than

RE: loops in XSP

2004-08-19 Thread robby . pelssers
Well, you maybe right... Sometimes i get confused of when i should use the xsp:content tag... I think only when you want to write a tag with a xsp:expr in between, is that right? -Original Message- From: Perez Carmona, David [mailto:[EMAIL PROTECTED] Sent: 19 August, 2004 10:07 To:

Request decoding problem

2004-08-19 Thread Jyri P
Hi, We are having trouble with request parameters that have special characters (scandinavian letters) not decoding correctly. These parameters are passed from a form in the request to be displayed on another form, but they are not decoded properly from the uri (for example the letter ä becomes

Using the Command Line Interface

2004-08-19 Thread floris . tjoen
Hi,With the CLI(Cocoon-2.1.5) I want to generate a xml-file with a xsp , connecting a postgres database.when I start up cocoon as a servlet and enter in my browser http://127.0.0.1:/testcli/client-list.xml , the correct file is shown.But when using the CLI it doesn't work :First I composed my

RE: Request decoding problem

2004-08-19 Thread robby . pelssers
I too had some problem with encoding formparameters i used the xsp:includejava.net.URLEncoder/xsp:include public String getRequestElementEncodedValue() throws Exception { return this.field.hasValue() ? amp; + this.parametername + = +

Re: Request decoding problem

2004-08-19 Thread Antonio Gallardo
Jyri P dijo: Hi, We are having trouble with request parameters that have special characters (scandinavian letters) not decoding correctly. These parameters are passed from a form in the request to be displayed on another form, but they are not decoded properly from the uri (for example the

Re: newby Q: how to aggregate source in resource

2004-08-19 Thread [EMAIL PROTECTED]
qMax wrote: [...] More general: I need main page template (currently i use XSLT) which uses (and slightly transforms) original HTML content and content from some other sources (currently i use map:aggregate as input to this XSLT) and should produce final HTML with menu and all that stuff. What

Re[2]: authentication-manager and application load

2004-08-19 Thread g[R]eK
. Hi Jan! . Thursday, August 19, 2004, 8:43:21 AM, you wrote: JH I've just tried a little test (I never worked with applications in JH authentication before) JH This does work fine: snip/ JH Inside the protected area I used an xsp to quickly get the session content: JH String test =

Re[2]: authentication-manager and application load

2004-08-19 Thread szefu18
Hello Jan, Thursday, August 19, 2004, 8:43:21 AM, you wrote: JH map:pipeline JH map:match pattern=test.xml JH map:generate src=test.xml/ JH map:serialize type=xml/ JH /map:match JH map:match pattern=** JH

Re: CForms: Bind Onload upload widget???

2004-08-19 Thread oceatoon
Hello I am trying to declare a Java Pacakge in the binding javascript/onload tag but I can't seem to get this to work???  is it possible to import Java Packages like in flow in the binding javascript / onload tag ? fb:javascript id=path path=@path direction=load fb:load-form  var path =

Creating matches in lenya pipeline

2004-08-19 Thread Pratik
I managed to solve the template problem. I have created multiple templates deriving from a single base template. Now my problem is using different templates based on different urls. I am defining my pipelines in publication- sitemap giving match as **/RFI*.* as given below. By this I want all

Re[2]: newby Q: how to aggregate source in resource

2004-08-19 Thread qMax
Thursday, August 19, 2004, 4:11:31 PM, [EMAIL PROTECTED] wrote: Vr qMax wrote: [...] More general: I need main page template (currently i use XSLT) which uses (and slightly transforms) original HTML content and content from some other sources (currently i use map:aggregate as input to this

Re: how to use roles in web application

2004-08-19 Thread Paul Joseph
Thank you Ralph. I also found from a web search the following thread that was quite helpful. http://archives.real-time.com/pipermail/cocoon-users/2004-January/044588.html Also, at the bottom of this thread Stefan writes: For that I wrote a transformer. My pages contain statements of the form

UTF-8 encoding and VelocityGenerator

2004-08-19 Thread Björn Voigt
Hello cocooners, I use the velocity-generator to load an utf-8 encoded XML-File and fill in a UTF-8 encoded sitemap-parameter. OK the is parameter filled in correctly but the file seems to be decoded in ISO-8859. Is it possible or how is it possible to configure the generator to decode the

Fw: Configuration problem 2.1.5.1 - Element.getLocalName() - NoSuchMethod Error

2004-08-19 Thread Laurent Rorive \(EDPNET\)
- Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, August 19, 2004 1:55 PM Subject: Fw: Configuration problem 2.1.5.1 - Element.getLocalName() - NoSuchMethod Error - Forwarded by Laurent Rorive/MARINEPOWER on 19/08/2004 13:50 -

Re: newby Q: how to aggregate source in resource

2004-08-19 Thread [EMAIL PROTECTED]
qMax wrote: [...] Oh! Thanks! This solution has slept from my view. But actually included content is not ready-to-use HTML, but is XML to integrate into final HTML via XSLT. In particular - block meta has additional xml-info about current site node (page), and is dependant on current request URL

Re: how to use roles in web application

2004-08-19 Thread Ralph Goers
Not that I'm aware of. I can tell you that it isn't very hard to write your own. We have our own authentication framework that returns the user's permissions after being authenticated. I then wrote a selector that checks the permission specified in the sitemap against the map containing all

Difference between Actions

2004-08-19 Thread Sebastian Gnoyke
Hi to all, i have a question about the cocoon portal and the actions, which are used. There are 2 actions: auth-logout and portal-logout. Can anyone tell me, whats the difference between the actions? Thanks :) Seb -- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/

Post automatically

2004-08-19 Thread Adriano Smith
I retrieve 2 parameters from a url using xsp request. is there any way to post these 2 parameters to the next url automatically without having a submit button ? ie the url http://xxx?x=3=4 should automatically direct to a page where the values of x and y will be posted.

RE: Difference between Actions

2004-08-19 Thread Carsten Ziegeler
The portal-logout logs the user out of the portal which means all information in the session about the portal are removed. But not the session itself. The auth-logout action logs the user out of the authentication handler and eventually terminates the session. This is a result of the different

RE: CachingURICoplet versus URICoplet and Refresh

2004-08-19 Thread Carsten Ziegeler
Question1: I'd like to know if there is another way to refresh CachingURICoplet than setting bookmarks or cl:link evrywhere, or even invalidate the cache. Maybe for that purpose i should use URICoplets ? You can invalidate the cache manually from within flow or any component using

Re: how to use roles in web application

2004-08-19 Thread Paul Joseph
Thank you Ralph, this is most helpful. -Paul --- Ralph Goers [EMAIL PROTECTED] wrote: Not that I'm aware of. I can tell you that it isn't very hard to write your own. We have our own authentication framework that returns the user's permissions after being authenticated. I then wrote a

Re: Difference between Actions

2004-08-19 Thread Sebastian Gnoyke
Very big thanks :) On Thu, 19 Aug 2004 15:44:29 +0200, Carsten Ziegeler [EMAIL PROTECTED] wrote: The portal-logout logs the user out of the portal which means all information in the session about the portal are removed. But not the session itself. The auth-logout action logs the user out of the

Re: Post automatically

2004-08-19 Thread Derek Hohls
Smith In Cocoon, its the role of the pipeline to handle requests... Assuming I type http://xxx?x=3y=4 into my browser, or that this URI results from another form somewhere in the system, why not just have a pipeline match for this: map:match pattern=xxx map:generate type=serverpages

Handle Non-HTML Files

2004-08-19 Thread Kirk Storer
I was wondering if there was an easy way to handle non-html files. I have a few entries in my sitemap such as this. map:match pattern=images/*.gif map:read mime-type=images/gif src=resources/images/{1}.gif/ /map:match However, trying to guess all the different files types people

Re: Handle Non-HTML Files

2004-08-19 Thread Kirk Storer
To clarify, I am refering to serving files that have been uploaded. I am not trying to generate these documents. --- Kirk Storer [EMAIL PROTECTED] wrote: I was wondering if there was an easy way to handle non-html files. I have a few entries in my sitemap such as this. map:match

Re: CForms: Bind Onload upload widget???

2004-08-19 Thread oceatoon
Thanks Bruno Indeed , the multiPart type isn't the same , This doesn't work. well as anybody else would do in this case , I changed the idea :) Anyhow thanks for he help T. Bruno Dumon wrote: On Thu, 2004-08-19 at 11:54, oceatoon wrote: Hello I am trying to declare a Java Pacakge in the

Portal Actions

2004-08-19 Thread JACOB, ERIC
Hi, In the portal sitemap, I found these actions: map:action name=portal-login src=org.apache.cocoon.portal.acting.LoginAction/ map:action name=portal-logout src=org.apache.cocoon.portal.acting.LogoutAction/ map:action name=portal-object-model

How do I prevent elements being re-ordered when calling Form.save()

2004-08-19 Thread will . durrant
I'm binding a schema validated xml document to a cocoon form and then re-saving and sending it back to the database. However, at some point the xml elements are being re-ordered in alphabetical order which causes the schema validation to fail. I'm assuming that this alphabetical re-ordering

SQLTransformer and stored procedures

2004-08-19 Thread Stephan Coboos
Hello, is it possible to use stored procedures within a SQL sheet of the SQLTransformer? Thank you. Regards Stephan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

AW: SQLTransformer and stored procedures

2004-08-19 Thread Stephan Coboos
I'm sorry I mean prepared statements. Is it possible to use it within a SQL sheet of the SQLTransformer? Thank you. Regards Stephan -Ursprüngliche Nachricht- Von: Stephan Coboos [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 19. August 2004 20:00 An: [EMAIL PROTECTED] Betreff:

cocoon lib searchpath

2004-08-19 Thread Matthias Pekny
I want to put some application specific jar files in the application's WEB-INF/lib directory. So I've created the following structure: cocoon_dir/WEB_INF/lib [1] /myapplication/WEB-INF/lib [2] [1] this is cocoon's default lib dir [2] this is where my jar are when using the default

dynamcically altering a global variable

2004-08-19 Thread Paul Joseph
Hi, I am wondering how best to do this in Cocoon: When a user logs in, the user has to check if they are the first person to login for the day and if so, do some tasks. To do this, I though of setting a global variable say FIRST_LOGIN=true at midnight every night - using the Quartz scheduler.

Re[2]: Handle Non-HTML Files

2004-08-19 Thread g[R]eK
. Hi Kirk! . Thursday, August 19, 2004, 4:39:31 PM, you wrote: KS To clarify, I am refering to serving files that have KS been uploaded. I am not trying to generate these KS documents. KS --- Kirk Storer [EMAIL PROTECTED] wrote: I was wondering if there was an easy way to handle non-html

Re: cocoon lib searchpath

2004-08-19 Thread Scott Yeadon
Matthias, You could try editting cocoon's web.xml file (in cocoon_dir/WEB-INF) and adding the jars to the extra-classpath init-param. This didn't work for me but you could give it a go. Not sure if there's another way, I lost patience and ended up using Cocoon's lib directory (your [1]) Scott.

RE: [cocoon] SQLTransformer and stored procedures

2004-08-19 Thread Ernesto Echeverría
YES. It's all explained in: http://cocoon.apache.org/2.1/userdocs/transformers/sql-transformer.html José Ernesto Echeverría -Original Message- From: Stephan Coboos [mailto:[EMAIL PROTECTED] Sent: Jueves, 19 de Agosto de 2004 12:00 p.m. To: [EMAIL PROTECTED] Subject: [cocoon]

Samples Calendar Broken in Cocoon Dist?

2004-08-19 Thread Ernesto Echeverría
Checking the calendar in http://localhost:8080/cocoon/samples/cal Show a broken calendar, with JULY (instead of August) and the days all messed starting with july 31. Could it be a problem of locales (I'm working a spanish version of Windows XP) or is it a general problems for other users as

Installation xindice and cocoon 2.1.4

2004-08-19 Thread Andres Taborda
Hello list, Some user can help me with steps for the integration of xindice and cocoon 2.1.4 Thanks very much. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Post automatically

2004-08-19 Thread Adriano Smith
In handle_page.xsp i will read the parameters and pass it to another url.How can this be specified in handle_pag.xsp ie redirecting to another url, which will have a pipeline match pattern (containing my_next_page.xsp as generator). Also why have you given transform as page2html.xsl? Can it be