RE : Authentication Framework: manipulating session parameters?

2003-10-23 Thread Laurent Trillaud
AFAIK, you can change the 'maxInactiveInterval' in the Sitemap with the session input module. http://localhost:/samples/modules/session.xsp I know that you hate it, but you have an example to change it with an XSP http://localhost:/samples/xsp/java/session Laurent Trillaud > -Message d

Re: Possible to POST using a HTML Generator?

2003-10-23 Thread Geoff Howard
Geoff Howard wrote: Joerg Heinicke wrote: HTMLGenerator? Why it should use httpclient? The proxy generators, yes. We have an example accessing remote server with HTMLGenerator in the Cocoon samples (the page switched from Yahoo News to Google SciFi not so long ago). http://www.remoteserver.co

Re: Possible to POST using a HTML Generator?

2003-10-23 Thread Geoff Howard
Joerg Heinicke wrote: On 23.10.2003 23:01, Geoff Howard wrote: Joerg Heinicke wrote: Should be possible if an action handles the file upload, stores the file on the server, returns the position on the server to the sitemap. The HTMLGenerator (yes it's the only possibility of pushing HTML thro

Re: cocoon url redirection using action?

2003-10-23 Thread Joerg Heinicke
AFAIK the request query string is not forwarded to the redirect. Using input modules allows you to access the complete query string. I don't know if this is possible in 2.0.3. You will have a get request then. Newer Cocoon versions provide proxy generators as you can read in different recent th

Re: Special Chars in HTML Output

2003-10-23 Thread Joerg Heinicke
and 1 < 2 should be handled the same way - and both work for em. Though I prefer also the external scripts. Joerg On 24.10.2003 00:15, Horsfield, Peter A. wrote: I think you missed the problem Joerg. No one wants to code if(1 < 2) Brent wants his scripts untouched. Solution: ext

RE: Special Chars in HTML Output

2003-10-23 Thread Horsfield, Peter A.
I think you missed the problem Joerg. No one wants to code if(1 < 2) Brent wants his scripts untouched. Solution: external scripts. All the best, Peter -Original Message- From: Joerg Heinicke [mailto:[EMAIL PROTECTED] Sent: Thursday, October 23, 2003 6:13 PM To: [EMAIL PROTECTED] Su

Re: Special Chars in HTML Output

2003-10-23 Thread Joerg Heinicke
Hello Brent, it works for me by default. function test() { if (1 < 2) {} } in the stylesheet is converted to (1 < 2) in the HTML output when using the HTML serializer. This is with Cocoon 2.1 and Xalan 2.5.1. I have neither configured something special in xsl:output nor the seriali

RE: URL encoding for request

2003-10-23 Thread Conal Tuohy
I believe the RawRequestParameterModule input module may be the answer here. This will provide access to the original (URLEncoded) parameter. Otherwise it's like the RequestParameterModule. Cheers Con > -Original Message- > From: Joerg Heinicke [mailto:[EMAIL PROTECTED] > Sent: Friday, 2

Re: URL encoding for request

2003-10-23 Thread Joerg Heinicke
On 23.10.2003 13:35, Fleischer Roman wrote: I think it is a problem for the used "searcheDatabase Servlet". For the result I use a file-generator, but in reality it is a service like: src="http://server1.inside.com?cmd=configurator.SearchProduct&output=xml &keyword={request-param:searchString}&cm

Re: Possible to POST using a HTML Generator?

2003-10-23 Thread Joerg Heinicke
On 23.10.2003 23:38, Tony Collen wrote: We have an example accessing remote server with HTMLGenerator in the Cocoon samples (the page switched from Yahoo News to Google SciFi not so long ago). http://www.remoteserver.com"/> But this will not result in a POST AFAIK, but a GET request, while the

Re: Possible to POST using a HTML Generator?

2003-10-23 Thread Tony Collen
Joerg Heinicke wrote: > Oh no, I missed "results of a POST request". I combined POST and HTML and XML and thought file upload. Sorry for that. As the HTML generator uses the httpclient package I think it could be modified to do this, but I don't know for sure. HTMLGenerator? Why it should use

Re: Troubles with CLI

2003-10-23 Thread Alex Romayev
Thanks Simon, I've got it working now -- the trick was: follow instructions ;-) --- Simon Mieth <[EMAIL PROTECTED]> wrote: > On Thu, 23 Oct 2003 12:03:34 -0700 (PDT) > Alex Romayev <[EMAIL PROTECTED]> wrote: > > > Hi, > > > > I'm trying to run a very simple "Hello World" test > > (one XML/one XS

Re: Possible to POST using a HTML Generator?

2003-10-23 Thread Tony Collen
Geoff Howard wrote: Joerg Heinicke wrote: Should be possible if an action handles the file upload, stores the file on the server, returns the position on the server to the sitemap. The HTMLGenerator (yes it's the only possibility of pushing HTML through the pipeline) reads it from there and th

Re: Possible to POST using a HTML Generator?

2003-10-23 Thread Joerg Heinicke
On 23.10.2003 23:01, Geoff Howard wrote: Joerg Heinicke wrote: Should be possible if an action handles the file upload, stores the file on the server, returns the position on the server to the sitemap. The HTMLGenerator (yes it's the only possibility of pushing HTML through the pipeline) reads

Re: where messages are logged?

2003-10-23 Thread Geoff Howard
Joerg Heinicke wrote: On 22.10.2003 20:14, Rui Alberto L. Gonçalves wrote: Me again, my assumptions where right and everything is working as supposedI didn't copied the new compiled component to the correct location and was using an old version... You know...it's not my day...:) Thanks to al

Re: Possible to POST using a HTML Generator?

2003-10-23 Thread Geoff Howard
Joerg Heinicke wrote: Should be possible if an action handles the file upload, stores the file on the server, returns the position on the server to the sitemap. The HTMLGenerator (yes it's the only possibility of pushing HTML through the pipeline) reads it from there and the rest goes on as norm

Re: Troubles with CLI

2003-10-23 Thread Simon Mieth
On Thu, 23 Oct 2003 12:03:34 -0700 (PDT) Alex Romayev <[EMAIL PROTECTED]> wrote: > Hi, > > I'm trying to run a very simple "Hello World" test > (one XML/one XSL) using CLI and getting the following > error: flect.Method.invoke(Method.java:324) > at Loader.invokeMain(Unknown Source) >

Re: Cut root element in CInclude inclusion ?

2003-10-23 Thread Joerg Heinicke
On 22.10.2003 15:39, Olivier Billard wrote: Hi all ! The doc and javadoc aren't very clear : is there a way to cut the root element of an xml fragment included via the CInclude transformer ? I read there is an attribute for surrounding the content by an element, but not for cutting the root el

Re: where messages are logged?

2003-10-23 Thread Joerg Heinicke
On 22.10.2003 20:14, Rui Alberto L. Gonçalves wrote: Me again, my assumptions where right and everything is working as supposedI didn't copied the new compiled component to the correct location and was using an old version... You know...it's not my day...:) Thanks to all... On Wed, 2003-10-2

Re: Changes finished from Component to Service?

2003-10-23 Thread Joerg Heinicke
Hello Stephan, this question is a bit to specific for the users list. I guess you get more response on the dev list. The conversion is not finished and will never for Cocoon 2.1. In 2.2 components will be replaced as much as possible. Please correct me if I'm wrong. Joerg On 22.10.2003 14:34

Re: Possible to POST using a HTML Generator?

2003-10-23 Thread Joerg Heinicke
Should be possible if an action handles the file upload, stores the file on the server, returns the position on the server to the sitemap. The HTMLGenerator (yes it's the only possibility of pushing HTML through the pipeline) reads it from there and the rest goes on as normally. Is this correct

Re: Authentication with JDBC

2003-10-23 Thread Jens Maukisch
Hi, this should help you: http://marc.theaimsgroup.com/?l=xml-cocoon-users&m=105289531706378&w=2 -- * best regards * Jens Maukisch * www: http://www.maukisch.net * rss0.91: http://www.maukisch.net/rss.php - To

Authentication with JDBC

2003-10-23 Thread Brent L Johnson
I can't quite figure out how (or where) Cocoon runs the SQL necessary for testing my userid/passwords for the Authentication Framework. Does Cocoon make a call out to some specific Java class that I need to write in the auth-login pipeline or something? I've read the doc on Authentication, and th

FW: Babeldoc 1.2.0-RC2 Release

2003-10-23 Thread McDonald, Bruce
Reinhard, Please feel free to email me or otherwise contact me to talk about this off list if you want - I am not sure how interested people are in this. I really want to get babeldoc into Apache as a project. I understand the first question that I will be asked is: How is Babeldoc different

Re: Cocoon Forms or not?

2003-10-23 Thread Christian Haul
Gianluca Sartori wrote: Okay, thank you all, I think I'll go with the "FormValidatorActions". It seems to be the most documented. Unfortunally I don't have much time neither to follow Woody progress nor to try undocumented features. If you really want to use plain HTML forms you should make sure to

Re: Example for session output module anyone?

2003-10-23 Thread Christian Haul
Mika Fonsen wrote: Hi, As far as I know, output modules work only from modular database actions (set in the descriptor files). I asked this few messages back and got confirmation to this. This would be a great feature, tough :) This is incorrect. Output modules are in no way tied to the database

Re: Flowscript and releaseComponent()

2003-10-23 Thread Joerg Heinicke
On 23.10.2003 12:08, Reinhard Poetz wrote: Jörg, The handling of pooled components was discussed several times. AS we wanted to ship 2.1 ASAP we decided that it is the responsibility of the writer to handle components. But if somebody comes up with a working solution that we don't need to worry a

Re: Getting a JNDI datasource from Cocoon

2003-10-23 Thread Martin Holz
"Mark H" <[EMAIL PROTECTED]> writes: > > I would like Hibernate and Cocoon to use the same connection pooling > mechanism. Is there any way to get a JNDI datasource from Cocoon? Yes. See http://cocoon.apache.org/2.1/developing/datasources.html -- Martin Holz <[EMAIL PROTECTED]> Softwareentw

Troubles with CLI

2003-10-23 Thread Alex Romayev
Hi, I'm trying to run a very simple "Hello World" test (one XML/one XSL) using CLI and getting the following error: Executing - Main Class: org.apache.cocoon.Main cocoon 2.1.3-dev Copyrig

RE: Babeldoc 1.2.0-RC2 Release

2003-10-23 Thread Reinhard Poetz
From: McDonald, Bruce > Heres are some things: > > The big difference is the configuration and the dynamic > modularity. You cannot do the same with Cocoon. In order to > use Cocoon from the commandline you need to supply an xconf > file. This is handled differently in babeldoc: > > 1. T

Re: xsp request parameter conundrum

2003-10-23 Thread Luca Morandini
Frank Daly wrote: I had put the quotes in the url, e.g. ...?code='red23' and so I didn't put the quotes into the xsp file. This worked for querying the database when generating the xsl:fo. This also worked when using this xsp file as the transformer in a pipeline which was then serialized into ht

Re: hello everyone

2003-10-23 Thread John Blumer
Maybe my syntax, whatever, is wrong for the sh directory? setenv JAVA_HOME /System/Library/Frameworks/JavaVM.framework/Home #!/bin/sh -x On Thursday, Oct 23, 2003, at 12:36 America/Chicago, Michael McConnell wrote: versus a directory

Re: hello everyone

2003-10-23 Thread John Blumer
Sorry, my sloppiness -typo. I checked to make sure though! On Thursday, Oct 23, 2003, at 12:25 America/Chicago, Rod Giffin wrote: Paths are case sensitive. Your listing shows /Users/...etc., not /users/

Re: hello everyone

2003-10-23 Thread Michael McConnell
and you shouldn't have any individual file listed within the path, there should only be directories. (I have been reading this thread, and I am assuming that cocoon.sh is an individual file (like it is on my system) versus a directory).   -M>>> [EMAIL PROTECTED] 10/23/2003 12:25:55 PM >>> John Bl

Re: hello everyone

2003-10-23 Thread Rod Giffin
John Blumer said: > Maybe this is wrong. What all do I need to show for my path in .sh? > > set path = $PATH /users/johnblumer/cocoon-2.1.2/cocoon.sh Paths are case sensitive. Your listing shows /Users/...etc., not /users/ so your path is going elsewhere. Rod. --

Re: hello everyone

2003-10-23 Thread John Blumer
Maybe this is wrong. What all do I need to show for my path in .sh? set path = $PATH /users/johnblumer/cocoon-2.1.2/cocoon.sh On Thursday, Oct 23, 2003, at 12:11 America/Chicago, McDonald, Bruce wrote: How did you go looking at why the cocoon.sh script is not running.  Please confirm that the co

Re: hello everyone

2003-10-23 Thread Rod Giffin
John Blumer said: > Maybe the file is corrupt. How do I do a clean install, please. It's in install.txt, but having just done that yesterday on my XP box (I do use Cocoon on my Linux systems too) I did ./build clean to remove the existing build, then ./build [option] where option is optional and

RE: hello everyone

2003-10-23 Thread McDonald, Bruce
How did you go looking at why the cocoon.sh script is not running.  Please confirm that the commands referenced from the cocoon.sh script are indeed in your path. -Original Message-From: John Blumer [mailto:[EMAIL PROTECTED]Sent: Thursday, October 23, 2003 1:08 PMTo: [EMAIL P

Re: hello everyone

2003-10-23 Thread John Blumer
I sent this as an attachment a while ago. Maybe I shouldn't have sent it that way. Are attachments cool, if small? Last login: Thu Oct 23 11:46:18 on ttyp1 Welcome to Darwin! [jb:~] johnblumer% cd /Users/johnblumer/cocoon-2.1.2 [jb:~/cocoon-2.1.2] johnblumer% ls -al total 424 drwxrwxr-x 25 john

Re: hello everyone

2003-10-23 Thread John Blumer
cocoon ls -al.rtf Description: RTF file On Thursday, Oct 23, 2003, at 11:38 America/Chicago, McDonald, Bruce wrote: es, There are numerous possibilities here.- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: hello everyone

2003-10-23 Thread John L. Webber
What are the permissions on the file? John Blumer wrote: /User/johnblumer/cocoon-2.1.2/cocoon.sh: No such file or directory But it is there! I opened up and looked! On Thursday, Oct 23, 2003, at 11:19 America/Chicago, Rod Giffin wrote: Try it without the trailing slash. -- -

Cocoon Dev Handbook: FormValidatorAction error...

2003-10-23 Thread Joe Williams
Working on the examples in Lajos and Jeremy's book, I cannot get the new ticket form to return the results. It just keeps displaying the blank form, without updating the database. (This has nothing to do with the xsp-formval logicsheet...I haven't even gotten that far. :-) ) >From sitemap log: D

RE: hello everyone

2003-10-23 Thread McDonald, Bruce
Yes, There are numerous possibilities here. What might help is the following commands: cd /User/johnblumer/cocoon-2.1.2 ; ls -la And then post the results. -Original Message- From: Rod Giffin [mailto:[EMAIL PROTECTED] Sent: Thursday, October 23, 2003 12:33 PM To: [EMAIL PROTECTED] Subj

Woody repeater size / paging

2003-10-23 Thread Philippe JOURNAULT
While using the woody repeater, it seems that I cannot display more than 10 elements in the list. I suppose this is linked to a default parameter of the repeater, but: 1) I do not know which one and how it can be modified. 2) Is there the capability to view page by page the content of a repeater (1

Re: hello everyone

2003-10-23 Thread Rod Giffin
John Blumer said: > /User/johnblumer/cocoon-2.1.2/cocoon.sh: No such file or directory But > it is there! I opened up and looked! I bet it's not executable (a permissions thing). If you have enough rights to the directory, you should be able to change the permissions with chmod +x (or read man

Re: hello everyone

2003-10-23 Thread John Blumer
Maybe the file is corrupt. How do I do a clean install, please. On Thursday, Oct 23, 2003, at 11:19 America/Chicago, Rod Giffin wrote: Try it without the trailing slash. /Users/johnblumer/cocoon-2.1.2/cocoon.sh Rod. John Blumer said: /Users/johnblumer/cocoon-2.1.2/cocoon.sh/: Not a directory. On

RE: hello everyone

2003-10-23 Thread McDonald, Bruce
Make sure that files accessed from the script are all there...   Look at the first line:   #!/bin/sh   Make sure that this file exists.  (ls -la /bin/sh)   If this is ok.  Edit the file:  #!/bin/sh -x (this adds debugging printouts)   Bruce. -Original Message-From: John Blumer

Re: hello everyone

2003-10-23 Thread John Blumer
/User/johnblumer/cocoon-2.1.2/cocoon.sh: No such file or directory But it is there! I opened up and looked! On Thursday, Oct 23, 2003, at 11:19 America/Chicago, Rod Giffin wrote: Try it without the trailing slash.

Re: hello everyone

2003-10-23 Thread Rod Giffin
Try it without the trailing slash. /Users/johnblumer/cocoon-2.1.2/cocoon.sh Rod. John Blumer said: > /Users/johnblumer/cocoon-2.1.2/cocoon.sh/: Not a directory. > On Thursday, Oct 23, 2003, at 10:57 America/Chicago, McDonald, Bruce > wrote: > >> >> Well, what directory are you in? ---

Re: hello everyone

2003-10-23 Thread John Blumer
I should have added that this is the path to cocoon.sh On Thursday, Oct 23, 2003, at 10:57 America/Chicago, McDonald, Bruce wrote: Well, what directory are you in?

Re: hello everyone

2003-10-23 Thread John Blumer
/Users/johnblumer/cocoon-2.1.2/cocoon.sh/: Not a directory. On Thursday, Oct 23, 2003, at 10:57 America/Chicago, McDonald, Bruce wrote: Well, what directory are you in?

RE: hello everyone

2003-10-23 Thread McDonald, Bruce
Well, what directory are you in? Please find the cocoon.sh and then execute it. You may need to do a little searching. -Original Message- From: John Blumer [mailto:[EMAIL PROTECTED] Sent: Thursday, October 23, 2003 11:54 AM To: [EMAIL PROTECTED] Subject: Re: hello everyone I get the

RE: Babeldoc 1.2.0-RC2 Release

2003-10-23 Thread McDonald, Bruce
Heres are some things: The big difference is the configuration and the dynamic modularity. You cannot do the same with Cocoon. In order to use Cocoon from the commandline you need to supply an xconf file. This is handled differently in babeldoc: 1. The configuration of babeldoc is "merged"

Re: hello everyone

2003-10-23 Thread John Blumer
I get the same error: ./cocoon.sh: Command not found On Thursday, Oct 23, 2003, at 10:36 America/Chicago, McDonald, Bruce wrote: So it looks like your web container is not running...

RE: Babeldoc 1.2.0-RC2 Release

2003-10-23 Thread Reinhard Poetz
From: McDonald, Bruce > Babeldoc is really quit different from Cocoon. Beside that Babeldoc is different (How pipelines are described? Non-XML-data, ...) I don't see any difference between Cocoon used via the command line interface (CLI) and Babeldoc. Or more concrete I don't know what you can d

RE: hello everyone

2003-10-23 Thread McDonald, Bruce
So it looks like your web container is not running... Try: ./cocoon.sh servlet -Original Message- From: John Blumer [mailto:[EMAIL PROTECTED] Sent: Thursday, October 23, 2003 11:31 AM To: [EMAIL PROTECTED] Subject: hello everyone Hello, I have just installed cocoon, and am getting a

hello everyone

2003-10-23 Thread John Blumer
Hello, I have just installed cocoon, and am getting a 404 (server not found) in my Safari browser. I think I'm missing something simple. I also get "command not found." in the terminal when I type 'cocoon servlet.' Something has not initialized properly, or-more likely- I didn't do something

cocoon url redirection using action?

2003-10-23 Thread Tsui, Alban
Title: cocoon url redirection using action? Hi I want to do some redirection using                                                     Assuming the redirect url is generated by my action as above, would it automatically redirect all

Re: Default value for input modules?

2003-10-23 Thread Tony Collen
[EMAIL PROTECTED] wrote: Hi, I want to use the "request-param" input module on the sitemap to define a parameter's value. My question is: is it possible to "initialize" this parameter with an default value? I saw something in the documentation under "modules" for xsp but not for the sitemap: ..

RE: Babeldoc 1.2.0-RC2 Release

2003-10-23 Thread McDonald, Bruce
Babeldoc is really quit different from Cocoon. Introduction Everthing is build around pipelines (which is similar to cocoon) but babeldoc does not require any kind of web container (cocoon used to require this). The configuration of babeldoc is also quite interesting. Here is a sm

RE: Babeldoc 1.2.0-RC2 Release

2003-10-23 Thread McDonald, Bruce
Please see the response I made to Oleg. -Original Message- From: Reinhard Poetz [mailto:[EMAIL PROTECTED] Sent: Thursday, October 23, 2003 11:03 AM To: [EMAIL PROTECTED] Subject: RE: Babeldoc 1.2.0-RC2 Release What are use cases for Babeldoc and when is it the better (only) solution comp

RE: Babeldoc 1.2.0-RC2 Release

2003-10-23 Thread Reinhard Poetz
What are use cases for Babeldoc and when is it the better (only) solution compared to Cocoon? Reinhard > -Original Message- > From: McDonald, Bruce [mailto:[EMAIL PROTECTED] > Sent: Thursday, October 23, 2003 4:46 PM > To: [EMAIL PROTECTED] > Subject: Babeldoc 1.2.0-RC2 Release > > > A

Re: Babeldoc 1.2.0-RC2 Release

2003-10-23 Thread Oleg Dulin
How come you didn't use COcoon as a based framework ? Also, how does it compare with http://www.openadaptor.org/ Oleg McDonald, Bruce wrote: As much as I work with Cocoon (which is a lot), I want to announce that the second release candidate for Babeldoc 1.2 has been release. Babeldoc is inten

RE: [auth-fw] NPE in Application Manager

2003-10-23 Thread Carsten Ziegeler
I think I have fixed now the bug, so the NPE should not occur any more. Please cross check. Thanks Carsten Carsten Ziegeler wrote: > > Hi, > > I guess you have found a bug :( > Your assumptions are right, except that the save uri is called > on logout. Currently you have to do it manually using

Re: Xalan Extension functions not working in Cocoon

2003-10-23 Thread Oleg Dulin
Thank you so much, kind sir! :-) This should solve most of my string manipulation problems for the time being. Kind regards, Oleg McDonald, Bruce wrote: This should all "work out of the box". Here is something that I use in babeldoc: http://www.w3.org/1999/XSL/Transform"; xmlns:java="http:

Babeldoc 1.2.0-RC2 Release

2003-10-23 Thread McDonald, Bruce
As much as I work with Cocoon (which is a lot), I want to announce that the second release candidate for Babeldoc 1.2 has been release. Babeldoc is intended for those applications which Cocoon is not suitable. It is generally a commandline utility. It is dynamically modular, both at build time

RE: Special Chars in HTML Output

2003-10-23 Thread Brent L Johnson
That does make since that it wouldnt escape the chars between script tags. So I checked my sitemap file and I was indeed serializing to xhtml - so I changed it to html and I'm still having the same problem. Pretty straightforward. I'll dig through the docs r

RE: Xalan Extension functions not working in Cocoon

2003-10-23 Thread McDonald, Bruce
This should all "work out of the box". Here is something that I use in babeldoc: http://www.w3.org/1999/XSL/Transform"; xmlns:java="http://xml.apache.org/xslt/java"; xmlns:xalan="http://xml.apache.org/xalan"; xmlns:my-ext="ext1" extension-element-prefixes="my-ext"> Yo

Default value for input modules?

2003-10-23 Thread mathias . wiegard
Hi, I want to use the "request-param" input module on the sitemap to define a parameter's value. My question is: is it possible to "initialize" this parameter with an default value? I saw something in the documentation under "modules" for xsp but not for the sitemap: ... ... --

Re: Refering to parts of the URI using a matcher

2003-10-23 Thread Oleg Dulin
Same problem... Note that I also have things like: which come later in the pipeline to ensure proper prioritization. Oleg Geoff Howard wrote: Oleg Dulin wrote: Joerg: and then refer to the parts of the "**" and "*.xml" parts of the match using "{1}" and "{2}.xml" respectively. What's

Re: element name value in xsl

2003-10-23 Thread Zamek
Hello All, McDonald, Bruce wrote: > The best place to get questions about XSL and generally fool about is > http://www.zvon.org/ Go and check out the tutorials and tools. Quite > honestly XML and XSLT (especially) is quite a learning curve so you will > need to do some work. Ok I understand,

Xalan Extension functions not working in Cocoon

2003-10-23 Thread Oleg Dulin
This was probably discussed before, but I can't find a solution. I am trying to use extension functions in XSLT as described at http://xml.apache.org/xalan-j/extensions.html and I keep getting: Description: org.apache.cocoon.ProcessingException: Failed to execute pipeline.: java.lang.RuntimeExc

RE: Getting a JNDI datasource from Cocoon

2003-10-23 Thread Grange, John
Title: RE: Getting a JNDI datasource from Cocoon in Borland Enterprise Server: http://wiki.cocoondev.org/Wiki.jsp?page=JNDIDatasourceWithBorlandEnterpriseServer5.1 In JBoss : http://wiki.cocoondev.org/Wiki.jsp?page=JNDIDatasourceWithJBoss3.0.6 There is also one for tomcat, but i can't find

Re: Refering to parts of the URI using a matcher

2003-10-23 Thread Geoff Howard
Oleg Dulin wrote: Joerg: and then refer to the parts of the "**" and "*.xml" parts of the match using "{1}" and "{2}.xml" respectively. What's the problem? It's exactly as you wrote it. The problem is that as long as i have pattern="/foo/**/some/other/stuff" the match is triggered. As soon

Re: directorygenerator for a shared drive

2003-10-23 Thread Jorg Heymans
right..it's like this : Although i explicitly granted full control to my user account for the share, and i explicitly setup the tomcat service to logon as my user account, and in task manager the service seems to run under my user account, windows *still* does not like the permissions set on th

Re: Refering to parts of the URI using a matcher

2003-10-23 Thread Oleg Dulin
Joerg: and then refer to the parts of the "**" and "*.xml" parts of the match using "{1}" and "{2}.xml" respectively. What's the problem? It's exactly as you wrote it. The problem is that as long as i have pattern="/foo/**/some/other/stuff" the match is triggered. As soon as I change it to "

Re: Refering to parts of the URI using a matcher

2003-10-23 Thread Joerg Heinicke
Oleg Dulin wrote: Dear Distinguished Colleagues: I need to do the following: Given URIs like these: /foo/bar/baz/bom/bim.xml/some/other/stuff /foo/bar/blah/boom.xml/some/other/stuff I need to write a match like this: and then refer to the parts of the "**" and "*.xml" parts of the match usin

Refering to parts of the URI using a matcher

2003-10-23 Thread Oleg Dulin
Dear Distinguished Colleagues: I need to do the following: Given URIs like these: /foo/bar/baz/bom/bim.xml/some/other/stuff /foo/bar/blah/boom.xml/some/other/stuff I need to write a match like this: and then refer to the parts of the "**" and "*.xml" parts of the match using "{1}" and "{2}.x

Re: xsp request parameter conundrum

2003-10-23 Thread Frank Daly
Many thanks for your replies; my transformation now works. I had put the quotes in the url, e.g. ...?code='red23' and so I didn't put the quotes into the xsp file. This worked for querying the database when generating the xsl:fo. This also worked when using this xsp file as the transformer in a p

Re: Lookup of generator failed

2003-10-23 Thread Ivo Limmen
I just found of that I casted the ServiceSelector wrong and that it resulted in a ClassCastException that is only logged in debug mode because it is wrapped into something else. Geoff Howard wrote: Ivo Limmen wrote: I just saw that the constructor is called with each request I make, I don't t

Re: xsp request parameter conundrum

2003-10-23 Thread gounis
r u sure that you get tha parameter? the most common problem i have is that is empty or with wrong content for 2 reasons 1. encoding problems 2. parameters that have % symbol for example ?id=10&desc=50% -- stavros On Thu, 23 Oct 2003, Frank Daly wrote: > Hi > > I have an xsp file which

Re: xsp request parameter conundrum

2003-10-23 Thread Luca Morandini
Frank Daly wrote: In the xsp file when I hard code the query parameter, i.e. where code 'red23' the results display correctly. However when I use where code = I get either nothing, if the match pattern is not pdf, or this file does not begin with '%pdf-' if the match pattern ends with the pdf ex

RE: URL encoding for request

2003-10-23 Thread Fleischer Roman
I think it is a problem for the used "searcheDatabase Servlet". For the result I use a file-generator, but in reality it is a service like: http://server1.inside.com?cmd=configurator.SearchProduct&output=xml &keyword={request-param:searchString}&cmid={request-param:cmid}"/> When I use UTF-8 encod

Re: Lookup of generator failed

2003-10-23 Thread Geoff Howard
Ivo Limmen wrote: I just saw that the constructor is called with each request I make, I don't think that is normal behaviour. Ivo Limmen wrote: I use Cocoon 2.1.2 on Tomcat 4.1.24. I had build an generator in Cocoon 2.0.3 and wanted to update the code to use the ServiceableGenerator class. I a

xsp request parameter conundrum

2003-10-23 Thread Frank Daly
Hi I have an xsp file which queries a database, the results of which are then displayed on pdf. In the xsp file when I hard code the query parameter, i.e. where code 'red23' the results display correctly. However when I use where code = I get either nothing, if the match pattern is not pdf, o

RE: Authentication FW: auth. by java class?

2003-10-23 Thread Carsten Ziegeler
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > Sent: Thursday, October 23, 2003 10:01 AM > To: [EMAIL PROTECTED] > Subject: Authentication FW: auth. by java class? > > > Hi again, > I tested the authentication fw in cocoon 2.1.2. In the user's > manual is

RE: Authentication Framework: manipulating session parameters?

2003-10-23 Thread Carsten Ziegeler
Do you mean the session timeout? This has nothing to do with the authentication fw, it's a parameter of the servlet that can be set in the web.xml Carsten > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > Sent: Thursday, October 23, 2003 10:34 AM > To: [EMAIL PR

Getting a JNDI datasource from Cocoon

2003-10-23 Thread Mark H
Hi, I would like Hibernate and Cocoon to use the same connection pooling mechanism. Is there any way to get a JNDI datasource from Cocoon? Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAI

Re: how to mount subsitemap based on request parameters?

2003-10-23 Thread gounis
is this what r u looking for ? http://wiki.cocoondev.org/Wiki.jsp?page=WildcardRequestParameterMatcher -- stavros On Thu, 23 Oct 2003, Tsui, Alban wrote: > hi > > I am having an url something like: > > http://server/cocoon?p1=x&p2=y&p3=z > > How do I define a pipeline in my main sitemap

how to mount subsitemap based on request parameters?

2003-10-23 Thread Tsui, Alban
Title: how to mount subsitemap based on request parameters? hi I am having an url something like: http://server/cocoon?p1=x&p2=y&p3=z How do I define a pipeline in my main sitemap to determine which subsite map it should go to depending on the first parameter p1 and then passing all requ

Re: learning flows: question

2003-10-23 Thread Patrick Hess
Reinhard Poetz wrote: Use the JXTemplateGenerator before the WoodyTransformer. Thanks! Works fine now!! Cocoon is geat! :-) I really love it... Patrick - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mai

RE: learning flows: question

2003-10-23 Thread Reinhard Poetz
From: Patrick Hess > Hi, > > I'm trying to leran :) how flows work at the moment and after playing > with the examples I get a feeling how the things fit together. Now I > wanted to test my knownledge own my own project. > > I think it's a simple question: > > How to get the ${continuation.i

RE: Flowscript and releaseComponent()

2003-10-23 Thread Reinhard Poetz
From: Joerg Heinicke > On 22.10.2003 16:39, Reinhard Poetz wrote: > > > Additionally there has also been a prototyp by Christopher > that does > > all the magic without user defined interceptions but has > never reached > > CVS (checkout the archives to find out more). > > Wasn't there an

Re: Cocoon Forms or not?

2003-10-23 Thread Gianluca Sartori
Okay, thank you all, I think I'll go with the "FormValidatorActions". It seems to be the most documented. Unfortunally I don't have much time neither to follow Woody progress nor to try undocumented features. Of course the choice I've done is for the current project only. I'll keep following Woody

learning flows: question

2003-10-23 Thread Patrick Hess
Hi, I'm trying to leran :) how flows work at the moment and after playing with the examples I get a feeling how the things fit together. Now I wanted to test my knownledge own my own project. I think it's a simple question: How to get the ${continuation.id} in my XML/XSP? I need it in my woody

Authentication Framework: manipulating session parameters?

2003-10-23 Thread mathias . wiegard
Sorry that I'm flooding the list with my questions.. :( Now, the last one for today,.. hopefully ;): Is there any way to configure the session's parameter in the auth.-fr.? Specifically, I want so set the maximum inactive interval... I'd hate to do this with a xsp-page and java code... Mat --

Authentication FW: auth. by java class?

2003-10-23 Thread mathias . wiegard
Hi again, I tested the authentication fw in cocoon 2.1.2. In the user's manual is said that - as the authentication resource - a java class could be used... Can You directly call a java class in a pipeline (is that what the resource protocol is meant for?). How has the class an its returning valu

Re: URL encoding for request

2003-10-23 Thread Joerg Heinicke
Seems to be more weird than it should be. In your database there is "Gießharz" I think and not the URL encoded form of it. Furthermore the string is correctly in your pipelines, so everything should work. But some representations of this string are not correct, so that they don't match. One of

Re: Flowscript and releaseComponent()

2003-10-23 Thread Joerg Heinicke
On 22.10.2003 16:39, Reinhard Poetz wrote: Additionally there has also been a prototyp by Christopher that does all the magic without user defined interceptions but has never reached CVS (checkout the archives to find out more). Wasn't there an agreement about avoiding automagic also for releasing

Re: [Newbie]jsp and cocoon

2003-10-23 Thread Andrew Smith
Joerg Heinicke wrote: On 23.10.2003 05:38, Andrew Smith wrote: I am going to have my stylesheet generate jsp scriplets, as well as html. After the stylesheet is applied, I have jsp content, how do I get that filtered through the jsp engine, and have the output sent back. I have looked at js

  1   2   >