Re: webservice proxy question

2003-07-02 Thread Tony Collen
Peter Ross wrote: I am trying to use the webservice proxy to access a webservice that I have made available using Apache Axis. Can anyone thing of what the problem may be? Pete, See this thread in the message archive, it is a known problem and I'm working on tracking down the problem. http

Re: "host is null" bugfix for WebServiceProxyGenerator

2003-07-03 Thread Tony Collen
Peter Ross wrote: On Wed, Jul 02, 2003 at 11:36:25AM -0500, Tony Collen wrote: See this thread in the message archive, it is a known problem and I'm working on tracking down the problem. http://marc.theaimsgroup.com/?t=10570741806&r=1&w=2 The following patch works for me,

[ Lists ] Moderation messages from archives.real-time.com ?

2003-07-03 Thread Tony Collen
Is anyone else getting messages from [EMAIL PROTECTED] that say something like "You message is being held until the list moderator can review it for approval." ? I assume this is a side effect from the list changeover, but damn this is annoying to get whenever I post. Just wondering Tony

Re: [ Lists ] Moderation messages from archives.real-time.com ?

2003-07-03 Thread Tony Collen
Bertrand Delacretaz wrote: Might have to do with viruses being sent with you address as the sender? Happens a lot to me these days, but not from the address that you mention (or I didn't notice). Hum, I doubt it, but maybe. It only started up when the list switchover took effect. (by the

Re: test - please ignore

2003-07-06 Thread Tony Collen
also testing... la de d.. :) tony - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [A SOLUTION] Speicifed the error for the map:handle-error

2003-07-16 Thread Tony Collen
Lionel Crine wrote: I found something working, but I think this is not clean! For any Exception I throw a processingException. Then the gets it. lionel At 16:03 16/07/2003 +0200, you wrote: Hi, I'd the to handle my custom exception (not only the 404 and 500). Where can i do that ? Is there

Re: [ANN] OXF 2.0 Released

2003-07-21 Thread Tony Collen
Erik Bruchez wrote: OXF is an XML transformation framework built on top of J2EE technologies. Pardon my ignorance, but how is this Cocoon-related? Is this built on top of Cocoon? Is it just a repackaged (and more expensive) Cocoon? Tony ---

Re: dynamic node selection

2003-07-23 Thread Tony Collen
Adam Flegman wrote: Hi Guys, I have been trying to re-factor some existing xslt code and wonder if it is possible to select nodes based on a string. The string is built up by parameters so the value of the target node is determined each time the xsl template is called. I am having trouble using t

Re: dynamic node selection

2003-07-23 Thread Tony Collen
Adam Flegman wrote: For example if parameters parentNode = "foo" and childNode = "bar", then $targetNode would evaluate to the string "foo/bar". I would want the 'for-each' statement to select all the "bar" nodes under the "foo" parent node. I think the only step I am missing is how to write a xpa

Re: multiple request parameters? how to?

2003-07-28 Thread Tony Collen
John Bresnik wrote: can't seem to find anything in the docs that talks about use more than one parameter in your URL - i.e. http://localhost/mypage.html?param1=foo¶m2=bar how can i access foo *and* bar in my sitemap [pipeline]? thanks Hi John, Try the request parameter input module: http://c

Re: multiple request parameters? how to?

2003-07-28 Thread Tony Collen
John Bresnik wrote: thanks. do you have an example of it? Yep, In your WEB-INF/cocoon.xconf file, you probably have something like: ... ... If this isn't there, add it. It might only be in 2.1 AFAIK. Then in your sitemap, you can use {request-param:foo} or {request-param:ba

Re: multiple request parameters? how to?

2003-07-28 Thread Tony Collen
John Bresnik wrote: Then in your sitemap, you can use {request-param:foo} or {request-param:bar} to get the values for foo and bar as you previously described. hey thanks for the help, i appreciate it - one more thing, could elaborate on the preceeding example? is this the correct sitemap syntax

New InputModule docs

2003-07-30 Thread Tony Collen
Hi Everybody, I just wrote up some docs for two InputModules that were previously (mostly) undocumented... the GlobalInputModule and the RequestParameterModule. You can view them at the bottom of the wiki page at http://wiki.cocoondev.org/Wiki.jsp?page=InputModules Would it make sense to give

Re: Wiki, Documentation too wide to print

2003-07-31 Thread Tony Collen
Joerg Heinicke wrote: e nio wrote: Can there be a simple solution out there? I tried converting it to PDF but was just not successful. I have pleaded before for a solution to help us out "old" people who have terrible time scrolling side to side to view a web page or even printing it, where the

Re: RSS aggregation in a Cocoon framework

2003-08-14 Thread Tony Collen
Geoff Deering wrote: You might want to take a look at these URLs http://archives.real-time.com/pipermail/cocoon-users/2003-March/030526.html http://www.manero.org/weblog/archives/87.html http://www.webweavertech.com/ovidiu/weblog/archives/11.html http://www.xml.com/pub/a/2003/04/23/cocoon-

Atom API

2003-08-19 Thread Tony Collen
Mark Pilgrim has a CGI implementation [1] of the Atom API. How long until we see a Cocoon implementation? :) Just getting the gears turnin' :) Tony [1] http://diveintomark.org/archives/2003/08/18/atom_api_implementation - To

Re: how to create object of an external class ?

2003-08-20 Thread Tony Collen
Reuben Christie wrote: can somebody throw some light on it? it will be a great help to me. NB: my Test.java and Test.class are both in the same folder with my xsp page. h i haven't done a ton with XSP but you might have to put the .class file in the WEB-INF/classes/ directory for XSP to see i

Re: Date in Sitemap

2003-08-20 Thread Tony Collen
g4 wrote: Is it possible to throw date functions from within the sitemap? Jason, Check the DateInputModule: http://wiki.cocoondev.org/Wiki.jsp?page=InputModules Tony - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: Atom API

2003-08-20 Thread Tony Collen
Michael Wechner wrote: Tony Collen wrote: Mark Pilgrim has a CGI implementation [1] of the Atom API. How long until we see a Cocoon implementation? :) a couple of weeks ago I have started an Atom based blog publication based on Lenya http://article.gmane.org/gmane.comp.cms.lenya.user/378

Re: how to create object of an external class ?

2003-08-20 Thread Tony Collen
Reuben Christie wrote: public class Test{ Test(){ } public String myFunc() { return "hello world"; } } try making your constructor public. Tony - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mai

Re: Acrobat Control ActiveX error

2003-08-20 Thread Tony Collen
Upayavira wrote: Dear All, I've just done my first FO page, basing my FO on the FOP sample. When I try the FOP sample, the PDF loads up acrobat correctly. But my example brings up a box saying file type: Adobe Acrobat Control for ActiveX, 'would you like to open the file or save it to your comp

Re: HTTP status code

2003-08-21 Thread Tony Collen
Michael Wechner wrote: Michael Wechner wrote: How can I set the HTTP status code (e.g. 204) of a response within a pipeline? Is there a similar attribute as in handle-errors (e.g. type="500")? what else could it have been ;-) On a side note, is there a good way of arbitrarily sending HTT

Re: Blocks Manual

2003-08-27 Thread Tony Collen
Robert Simmons wrote: Greetings, Is there a manual that describes all of what each block in cocoon 2.1 does ? Perhaps I missed it. Thanks --Robert Robert, Check out http://wiki.cocoondev.org/Wiki.jsp?page=BlockDescriptions There isn't a lot there, but it might be a useful jumping point. Tony

New Scheduler Docs on Wiki

2003-08-28 Thread Tony Collen
Hi everybody, I dove into the scratchpad scheduler that Cartsten talked about earlier, and a Wiki page came out of it. You can check it out at http://wiki.cocoondev.org/Wiki.jsp?page=Scheduler Input welcome, as are suggestions for additions to the docs (ie writing your own target). Tony

Re: Remote IP Detection - client detection issues

2003-08-29 Thread Tony Collen
Jonothan Stribling wrote: Hi All, This issue is not so much specifically a problem with Cocoon, it is more an environmental issue. We use mod_proxy and Apache HTTP Server and proxy requests to Cocoon on port 8080. The problem is that we need to detect the Client IP address from cocoon and using

Re: Remote IP Detection - client detection issues

2003-08-29 Thread Tony Collen
Geoff Howard wrote: > Kind of ugly though (even if correct) because that would force you to code towards mod_proxy. Can mod_proxy be configured to pass through the real IP? I've been using mod_jk but wanting to switch to mod_proxy but I have been holding off until I can test all these issues.

Re: PhpGenerator does not return an answer

2003-09-05 Thread Tony Collen
Michael Wechner wrote: I would like to try out the PhpGenerator and followed the Wiki step by step http://wiki.cocoondev.org/Wiki.jsp?page=PHPGenerator and everything worked fine, but when I request the php file, then the browser just keeps browsing and the server doesn't really respond. Well, I

Re: String to bytestream?

2003-09-05 Thread Tony Collen
Timothy Larson wrote: How do you convert a string to a byte stream, such as XMLByteStreamCompiler.getSAXFragment() produces? All my attempts fail with "org.xml.sax.SAXException: End of input reached." when the the byte stream is later interpreted. I am just trying to encode a text node. Hmm, well

Re: GettingStartedWithFlow sample

2003-09-06 Thread Tony Collen
e nio wrote: This wiki sample does not seem to work with the newest cocoon-2.1 release. Maybe some typo? like the line . Is it suppose to be "javascript" like the Petstore samples? It seems it matters with it being "JavaScript" the error it complains is of line 31 where it can not form a good fl

Re: wsproxy and request parameters

2003-09-11 Thread Tony Collen
Jeff Ramsdale wrote: I discovered that changing my search from "johnny depp" to "depp" returns a list of results. The problem, then, would seem to be the encoding of spaces in my request parameters. When I submit my search form it converts the space to a "+" in my browser. Examining the logs I see

Re: wsproxy and request parameters

2003-09-11 Thread Tony Collen
Jeff Ramsdale wrote: I discovered that changing my search from "johnny depp" to "depp" returns a list of results. The problem, then, would seem to be the encoding of spaces in my request parameters. When I submit my search form it converts the space to a "+" in my browser. Examining the logs I see

Re: Sitemap question

2003-09-19 Thread Tony Collen
Diego Cattelan wrote: This is a standard matchers in cocoon sitemap. How can I use more than one generator like this? The XSP added is used in database query for example. How can I achi

Re: JSPGen. RequestParameter Encoding

2003-09-19 Thread Tony Collen
Jeff Ramsdale wrote: Tony (& others), Is this the same problem we talked about last week on wsproxy parameter encoding? http://archives.real-time.com/pipermail/cocoon-users/2003-September/038837.h tml That thread was left hanging. Hrm.. it seems similar, but I'm not too sure. As far as the wsprox

Re: JSPGen. RequestParameter Encoding

2003-09-19 Thread Tony Collen
Jeff Ramsdale wrote: Tony (& others), Is this the same problem we talked about last week on wsproxy parameter encoding? http://archives.real-time.com/pipermail/cocoon-users/2003-September/038837.h tml That thread was left hanging. Jeff, It seems the WSPG is getting decoded parameters, but is not

Re: wsproxy and request parameters

2003-09-22 Thread Tony Collen
Jeff Ramsdale wrote: It hadn't occured to me that this was a problem with wsproxy. I just thought I needed to do something to convert the format. But then I realized that I had to manually change my all my "&"s to "&"s. Which format should the user be expected to use for the src attribute of the

Re: wsproxy and request parameters

2003-09-22 Thread Tony Collen
Jeff Ramsdale wrote: From: Tony Collen [mailto:[EMAIL PROTECTED] Jeff, Could you try the following test and tell me if you get search results? Worked great! Thanks! Yes, but I've re-opened the bug, because it really isn't re-encoding the request parameters correctly. The WSProxy,