Re: map:parameter and xsl defaults

2003-12-16 Thread Tony Collen
Anders Forsgren wrote: Hi all I want to use a request param passed on as an argument to a transform. The sitemap snippet looks like this: map:match pattern=log map:generate src=log/log.xml/ map:transform src=log/log2page.xsl map:parameter name=start

Re: cocoon-blank.war II

2003-12-10 Thread Tony Collen
Geoff Howard wrote: snip great! My idea was to offer cocoon creator. It's a web application (at the of this writing in PHP -- I will convert it to cocoon if the concept is good enough) asking you some build-specific question (JDK to build, Cocoon version, blocks to include). Based on this

Re: About Java and XML

2003-12-06 Thread Tony Collen
Josep Riudavets wrote: Hi Tony But I need some Java code for insterting it into a xsp. Thanks ... Well, if you really feel like hardcoding it that way, just use some sort of DOM API and load your xml config from your XSP, and traverse the DOM tree. I'd think the use of transformers and

Re: About Java and XML

2003-12-05 Thread Tony Collen
Josep Riudavets wrote: Hi all ... it is not a really cocoon question ... but I think you will know how to solve it It's very very simple ... but I have been trying to solve it all day... I have and XML document, called cad.xml cad ... nserie34242342/nserie ... /cad I want to develop some

[JOBS] Cocoon Job Opp in Boston, MA, USA

2003-12-04 Thread Tony Collen
It's that time again: There's been a job posted for a contract position for a Cocoon publishing project. FYI: I'm not affiliated with anybody posting this job (or monster.com), but I'm just doing this in case anyone's interested. You can view the posting at:

Re: [flow] accessing the real HttpServletRequest

2003-12-03 Thread Tony Collen
Paul Crabtree wrote: Hi, I'm trying to get access to the real HttpServletRequest from inside Flow because i need to suck in the contents of a post into a Document using getInputStream(). There doesnt seem to be a cocoon equivalent and in the StreamGenerator, which has similar functionality it

Re: Spaces in request parameters: Problems with raw-request-param

2003-12-01 Thread Tony Collen
(I am bringing this thread over to -dev to ask the experts for help) Kai Benndorf wrote: Hi Tony, i've opened the following bug: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25102 Best Regards Kai Alright, due to my limited knowledge of Avalon, and my brain being in a general state of

The problem with image-based authentication

2003-11-28 Thread Tony Collen
http://www.w3.org/TR/2003/WD-turingtest-20031105/ The W3C has a good writeup about image-based authentication (The Cocoon samples have something like this which I implemented in Flow). They also offer some good suggestions for alternatives to IBA. At a former job, I had a coworker who was

Re: Spaces in request parameters: Problems with raw-request-param

2003-11-28 Thread Tony Collen
Kai Benndorf wrote: Hi all, in my Cocoon application i process a HTML formular and request XML data from an http request using the standard FileGenerator: Something similar to: map:generate src=http://localhost/FMPRO?-db=KD_Produkt_DBamp;producer={raw-request-param:SEARCH-producer}

Re: Cocoon Install With Different AppServer

2003-11-24 Thread Tony Collen
Tomas Marek wrote: I tried to follow instructions at wiki.cocoondev.org describing how to install Cocoon inside Tomcat. However, I think the info is out of date 'cos there is need of cocoon.war file insid cocoon_install dir. Using 2.1.3, I have no such a file in there so I'm clueless how to

[JOBS] Contract opportunity in Boulder, CO

2003-11-20 Thread Tony Collen
I'm not affiliated with the people staffing this position, but it's one of the few job postings on Monster.com that I've found in the US: http://jobsearch.monster.com/getjob.asp?JobID=19940056AVSDM=2003%2D11%2D20+15%3A36%3A00Logo=1col=dltcicy=USbrd=1%2C1862%2C1863lid=316fn=q=cocoon Job

Re: URL Encoding (Coccon 2.1 cvs as of about 2 weeks ago)

2003-11-19 Thread Tony Collen
Simon Hutchinson wrote: This solution works until I try to generate a uri with an illegal character ie a space. It appears that the request-param is (correctly) decoding the parameter I am passing it but unfortunately this is not the behaviour I require. Is there any way that I can

Re: Job opportunity in Boston

2003-11-19 Thread Tony Collen
Alex Romayev wrote: Hi, Sorry if this is not relevant. I was contacted by a recruiter (who saw Cocoon on my resume) for a position in Boston, MA which requires the knowledge of Cocoon. Let me know if you're interested and I'll put you in contact with him. Here is the description: I'm not

Re: Job opportunity in Boston

2003-11-19 Thread Tony Collen
Alex Romayev wrote: I have my resume on Monster.com, so I assume this is where he found me. From what I've seen from job postings in the US, it's usually a nice to have skill listed together with Struts and Velocity (don't ask me...) and after all the core must have java skills have been

Re: [ARTICLE] Enterprise Application Integration using Apache Cocoon 2.1

2003-11-13 Thread Tony Collen
Stephan Michels wrote: FYI, I found the following article on xml.com: http://www.xml.com/pub/a/2003/11/12/cocoon-eai.html Stephan. Ahh, interesting... The author mentions pipeline lock-in .. it sounds as if they haven't heard of the Flowscript yet ;) Always nice to read stuff someone else

Re: [ARTICLE] Enterprise Application Integration using Apache Cocoon 2.1

2003-11-13 Thread Tony Collen
Matthew Langham wrote: The author mentions pipeline lock-in .. it sounds as if they haven't heard of the Flowscript yet ;) He mentions Flow at the end of the article: Our form handling mechanisms are totally proprietary simply because there were no satisfactory solutions in Cocoon. Cocoon

Re: [ARTICLE] Enterprise Application Integration using Apache Cocoon 2.1

2003-11-13 Thread Tony Collen
Ryan Hoegg wrote: Bad? I can't imagine that, judging by my buying frequency... Reader's advantage to the rescue. But you are absolutely right. Take into consideration all the new stuff in Cocoon and the timeframe for writing a new book (or expanding on the given one) and someone needs to

Re: Diff for Patches

2003-11-12 Thread Tony Collen
Carmona Perez, David wrote: Hi all, Does anyone know how to get the diff tool to create patches?. I'm working under Windows. David, diff -u filename.java filename.diff Should work If you're using CVS, you can do: cvs diff -u filename.java filename.diff HTH, Tony

Re: session-context from sitemap

2003-11-12 Thread Tony Collen
McDonald, Bruce wrote: Hey all, Wonder if anyone could short-circuit my searching through the cocoon codebase (yes, I know, its good for me :). I want to access a http request header variable (placed by siteminder) and use it in a transform stage. So, here my test pipeline: !-- welcome

Re: Cocoon Users in New York City

2003-11-10 Thread Tony Collen
Oleg Dulin wrote: Are there Coocon users in New York who'd be interested in starting a users group along the lines of what the Zurich guys are doing ? Ditto this, but for Minneapolis, St Paul MN :) Perhaps we need a Wiki page for this. Oleg Tony

Re: XSP session

2003-11-06 Thread Tony Collen
Lionel Crine wrote: Hello, I'm trying to get a string from a session parameter. My transformer put it : this.session.setAttribute(request, query); then I have an xsp reading it : xsp-session:get-attribute name=3Drequest as=3Dxml/ I believe what you need is the xsp-session:getxml/ tag:

Re: How to propagate exception in Cocoon

2003-11-06 Thread Tony Collen
Jorg Heymans wrote: i think the problem here is that all exceptions are propagated, but not all are caught by the handle:errors section. It would be good to get a statement from an expert here on exactly what exception to throw so they are guaranteed to be caught by the handle:error. You can

Re: Using Cocoon constants in XSLT

2003-10-30 Thread Tony Collen
Arje Cahn wrote: Hi all, I'm trying to display the Cocoon versionnumber in my XSL's. I've tried the following method, using a Xalan extension call to the cocoon constants, but it doesn't work.. Any ideas? Arje, At first I thought there was an InputModule to do this, but apparently there isn't.

X2EE

2003-10-27 Thread Tony Collen
I just found this interesting link: http://www.x2ee.org/index.html Check out the forrest skin! Cocoon is also mentioned. Anyone know who's behind this all? Tony - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: Possible to POST using a HTML Generator?

2003-10-24 Thread Tony Collen
Nick Smith wrote: Well, the need is still there, and its sufficient that I'm prepared to get my hands dirty with a bespoke component. Any pointers as to were I should start? I'm guessing I need to write a new generator, but HTTPGenerator doesn't seem to have access to the guts of the url

Re: Patterns and Authentication

2003-10-24 Thread Tony Collen
Brent L Johnson wrote: I can't seen to do the pattern matching on a pipeline to work when using authentication. I successfully got the Authentication Framework working properly (thanks Laurent Trillaud for the link to the mailing list archive). Here is the match: map:match pattern=info/*.html

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: 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

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: cocoon 2.0 - catch a request parameter in sitemap

2003-10-22 Thread Tony Collen
[EMAIL PROTECTED] wrote: hi i try to catch a request parameter inside the sitemap and sent it as parameter in a xslt transformation something like map:transform src=stylesheets/my.xsl map:parameter name=your-parameter-name value={request-param:my-parameter-value}/ /map:transform but in

Re: cocoon 2.0 - catch a request parameter in sitemap

2003-10-22 Thread Tony Collen
[EMAIL PROTECTED] wrote: BUT i have to do this in 2.0.4 ??? Hmm, I was under the impression that we had InputModules in 2.0.4... perhaps I am wrong :/ Tony - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: Setting a global sitemap parameter

2003-10-17 Thread Tony Collen
Oleg Dulin wrote: Dear Distinguished Colleagues: Does anybody know how to set a global sitemap parameter that I can access across all pipelines ? Yes! this is very easy! :) in your sitemap, you will see something that looks like this: map:component-configurations global-variables

Re: directory tree like presentation of xml contents

2003-10-15 Thread Tony Collen
Lars Huttar wrote: Internet Explorer will display XML in an indented, tree-like style (if there is no attached stylesheet). You can also look at the Pretty-printing XML FAQ at http://www.dpawson.co.uk/xsl/sect2/pretty.html By the way this is a topic for an XML or XSL list rather than Cocoon.

Re: What's wrong with use of the document() function in Cocoon?

2003-10-14 Thread Tony Collen
gerritjan wrote: Hello, Using the document() function for aggregation in Cocoon may break Separation of Concerns (SoC). That is, the designers of Cocoon view inclusion and transformation as different functions, best handled by separate Cocoon components. Treating them separately allows you to

Re: comments on cocoon docs: installing/updating page

2003-10-14 Thread Tony Collen
Lars Huttar wrote: [snip] I hope these changes can save others some time and effort as they upgrade. Lars, Thanks for the suggestions-- I'll take a look at them when I have some time. In the future, please do not hesitate to file a bug in bugzilla against the documentation, or even submit a

Re: Conditional processing in XSLT

2003-10-13 Thread Tony Collen
Josep Riudavets Aguilo wrote: Depending the content of mail, a different code has to be executed (HTML result will be different depending on mail content). I don't know how to capture the mail tag from the xsp page. Out of the xsl:when than, I use xsl:value-of select=mail/ ... but, how can

Re: Pass sitemap params to xslt transformer?

2003-10-08 Thread Tony Collen
Sonny Sukumar wrote: snip; Hmm, did you mean {request:requestURI} ? I did a quick Google search and that's all I found. I know some of these input modules were renamed within the past few months. Well, I was specifically looking at this:

Re: Pass sitemap params to xslt transformer?

2003-10-08 Thread Tony Collen
Sonny Sukumar wrote: From: Horsfield, Peter A. [EMAIL PROTECTED] Ok you're right; and Tony picked up on the right solution as far as I can see, because you need to target the URI as a whole and embed it inside a document. Thats just the way cinclude works. Yeah, so maybe the requestURI input

[OT] [Humor] Cocoon can improve sexual performance!

2003-10-01 Thread Tony Collen
I heard a funny commercial in the radio on the way home tonight. It was for a product called Cocooon GH, and it had an impressive list of features: quote from=website Users report these age-reversing benefits: reduction of high blood pressure, alleviation of depression, improved sex drive,

Re: Forms + XUL

2003-09-30 Thread Tony Collen
Sylvain Wallez wrote: snip/ Oh my, what a pain! Why don't you _teach_ this class? Definately possible. The teacher might not like being out of a job though %-) What does the HTML that Woody produces looks like? Will it validate? To what extent? Validate ? Sure: it's simply a bunch of

Re: Call Axis based web services using flowscript

2003-09-30 Thread Tony Collen
Markus Heussen wrote: Hi all, can someone give me a hint how I can call a rpc or document style based Axis web service from a flowscript? Maybe there are useful descriptions somewhere in the web? Markus, Have a look at the recent thread entitled, Flow and Web Services [1] on the mailing list

Re: Forms + XUL

2003-09-29 Thread Tony Collen
Sylvain Wallez wrote: snip/ You should check out the Woody samples (Various and Flowscript pages) in the latest CVS : it includes tabbed forms, switching panels with a popup to select the panel, etc. It's based on some high-level grouping tags that automatically produce the needed HTML, CSS

Re: ImageReader not working?

2003-09-26 Thread Tony Collen
Mustafa Ali, Halgurt wrote: Hi, I want to use the ImageReader, but I am getting an error: Invalid system ID. Is it working at all? Or how shall one use it? Thanks, Halgurt Hello Halgurt, How are you specifically using the reader in your sitemap? Regards, Tony

Re: Building cocoon: where are block descriptions?

2003-09-26 Thread Tony Collen
Javier Ramos wrote: That's useful, thanks. Finally I found the information in the samples enough to decide what to include. Except for that 'naming' blick, which I still do not know what does. It appears as if the naming block contains the LDAP Transformer. Naming comes from the javax.naming.*

Re: Building cocoon: where are block descriptions?

2003-09-25 Thread Tony Collen
Geoff Howard wrote: Werner Guttmann wrote: And where could one possibly maybe find a complete description ? Werner Obviously its still a work in progress - if such a document existed you would have found it by now or we would have sent you to it. I'd suggest reviewing the samples for each

Forms + XUL (Was: Re: EJB + Cocoon, Best Practices)

2003-09-24 Thread Tony Collen
Reinhard Poetz wrote: snip/ Yep, I was very impressed by that you showed me. It's also the first business application that uses XUL. So the work of your company could encourage many people using XUL - in the future XUL is an equivalent possibility how to create the UI. Hrmm... this makes me

Re: wsproxy and request parameters

2003-09-23 Thread Tony Collen
Jeff Ramsdale wrote: snip/ Actually, I figured that was probably the case. So Tony's example must have been an error. I wanted to trust him! ;-) Yes, I messed up.. all those 's should read as amp;. I was lazy and stupid. Anyway, the short of it is that the proxy takes the provided request

Re: wsproxy and request parameters

2003-09-22 Thread Tony Collen
Jeff Ramsdale wrote: snip/ 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 amp;s. Which format should the user be expected to use for the src attribute of

Re: wsproxy and request parameters

2003-09-22 Thread Tony Collen
Jeff Ramsdale wrote: From: Tony Collen [mailto:[EMAIL PROTECTED] snip/ 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, along

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

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 that

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 that

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 map:flow-interpreters default=JavaScript/ . Is it suppose to be javascript like the Petstore samples? It seems it matters with it being JavaScript the error it complains is of

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: 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.

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: 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

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)? map:serialize type=xml status-code=204/ what else could it have been ;-) On a side note, is there

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

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

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,

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 -

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

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: 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=fooparam2=bar how can i access foo *and* bar in my sitemap [pipeline]? thanks Hi John, Try the request parameter input module:

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

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. snip/ 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: [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 map:handle-errors gets it. lionel At 16:03 16/07/2003 +0200, you wrote: Hi, I'd the map:handle-error to handle my custom exception (not only the 404 and

[ 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

<    1   2