RE: Acrobat 4.0 and Cocoon/FOP

2003-09-18 Thread Conal Tuohy
I had the same experience. In my case it was Acrobat's fault: it was popping up a dialog box (asking to upgrade, I think) but the dialog box was hidden behind the browser and couldn't be seen. By using alt-tab repeatedly, I was able to find the dialog and close it. HTH. Con > -Original Messag

RE: Executing an action at the end of a series of transformers

2003-09-17 Thread Conal Tuohy
Probably you want to define a Transformer rather than an Action: -Original Message- From: jcplerm [mailto:[EMAIL PROTECTED] Sent: Thursday, 18 September 2003 2:48 p.m. To: [EMAIL PROTECTED] Subject: Execu

RE: Maintaining request in match string.

2003-09-16 Thread Conal Tuohy
Hi Joel Joel wrote: > >> When I examine the XML returned by the RequestGenerator, > it has all > >> the headers > >> etc. and then the parameters. The relevent part looked like: > >> > >> > >> > >> Since you report that the parameters appeared in the RequestGenerator output, you could extract

RE: Maintaining request in match string.

2003-09-16 Thread Conal Tuohy
David Kavanagh wrote: > Your original note said the URL looked like ... index?35,45 (or > something like that). Normally, the image map (or for image > button) will > have a name and the params returned are image.x and image.y. > If you use > the request generator, what params are shown? A simple

RE: Maintaining request in match string.

2003-09-15 Thread Conal Tuohy
Sorry ... I read your question properly this time: I think you might be able to use the RequestGenerator to get your image map co-ordinates. > -Original Message- > From: Joel P W Pitt [mailto:[EMAIL PROTECTED] > Sent: Tuesday, 16 September 2003 4:52 p.m. > To: [EMAIL PROTECTED] > Subject:

RE: Maintaining request in match string.

2003-09-15 Thread Conal Tuohy
Use the request-param input module: ... See http://wiki.cocoondev.org/Wiki.jsp?page=RequestParameterModule Cheers COn > -Original Message- > From: Joel P W Pitt [mailto:[EMAIL PROTECTED] > Sent: Tuesday, 16 September 2003 4:52 p.m. > To: [EMAIL PROTECTED] > Subject: M

RE: cgi perl and cocoon

2003-09-08 Thread Conal Tuohy
I have integrated a (non-perl) cgi by calling it with a Cocoon reader. The Cocoon reader passes parameters to the CGI (it's a Windows executable, running under IIS on a separate Windows box) and the CGI calls Cocoon back to extract information from other Cocoon pipelines, before returning data to t

RE: XSP works, XSLT works, XSLT after XSP doesn't work

2003-09-06 Thread Conal Tuohy
Chris Wilkes wrote: > Figured out my problem. A Serializer takes as inputs SAX events: > http://wiki.cocoondev.org/Wiki.jsp?page=Serializer > And I wasn't giving it that, rather some straight text. The solution > was to put take my XML string and use the xsp:util logicsheet: > > > It would

RE: Implementing XSLT Tag Libraries?

2003-08-27 Thread Conal Tuohy
Robert Simmons wrote: > I meant the XSP logicsheets. Thanks for the link. However, I > wonder if one > can create XSLT taglibs as wall. That would be cool. It *is* cool :-) See http://wiki.cocoondev.org/Wiki.jsp?page=MetaStylesheets -

RE: mac os x/lucene indexing

2003-08-20 Thread Conal Tuohy
Bill French wrote: > perhaps it should. by default mac os x shows: > > bash-> ulimit -a > open files(-n) 256 > while linux (redhat 7.1) shows: > > bash-> ulimit -a > open files 1024 > apparently there are more default limitations imposed by the > OS on mac >

RE: mac os x/lucene indexing

2003-08-19 Thread Conal Tuohy
Bill French wrote: > i've been working for a while trying to find the source of a > nasty "too > many open files" error when building lucene indexes using cocoon's > LuceneIndexTransformer on mac os x. just for kicks, i decided to try > everything out on a linux machine and didn't have any pr

RE: best browsers for viewing xml?

2003-08-17 Thread Conal Tuohy
Sonny Sukumar wrote: > I'd like a browser that > can show an XML > document in tree form--preferably clickable. Consider using an XSLT in Cocoon to transform the XML to an HTML representation of the XML. I have seen some stylesheets for doing this but I'm not sure where ... it would be easy

RE: basic form tutorial

2003-08-15 Thread Conal Tuohy
Ben, you can pass the form values to your XSLT something like this: Check out the RequestParameterModule: http://wiki.cocoondev.org/Wiki.jsp?page=RequestParameterModule Cheers Con > -Original Message- > From: Ben Munat [mailto:[EMAIL PROTECTED] > Sent: Satu

RE: using LuceneIndexTransformer

2003-08-15 Thread Conal Tuohy
Hi Bill I think your Cocoon setup looks fine now. I have heard of the "too many open files" error before (though I've never had it myself). You ought to check this out in the Lucene mailing lists. http://www.mail-archive.com/[EMAIL PROTECTED] Good luck Con > -Original Message- > From:

RE: another question on search

2003-08-14 Thread Conal Tuohy
ml is a file i generated statically on my own, > based on all > of my xml content docs. hitting search now returns just the following: > > > > do i want to be generating my index as i am above? > > i really appreciate all your help. i'm new to cocoon and some of the >

RE: another question on search

2003-08-14 Thread Conal Tuohy
Hi Bill. Yes you are confused: you should have 2 distinct pipelines: one to create or update the index (using the LuceneIndexTransformer) and a separate pipeline to search the index (using SearchGenerator). Con -Original Message- From: Bill French [mailto:[EMAIL PROT

RE: question about LuceneIndexTransformer

2003-08-14 Thread Conal Tuohy
Bill French wrote: > thanks for your reply. do i generate the index once statically and then > keep the index somewhere, or generate it every time the user performs a > search? how do i go about limiting my results to those matching search > terms? The index transformer generates the index and

RE: MS Word Transformer

2003-08-14 Thread Conal Tuohy
You don't need to use special "Office" CSS - you can just serve an ordinary HTML page, with an ordinary CSS, embedded or linked, and Word will interpret it. The key is just to serialise the file with a mime-type of "application/msword". To do this, add a serializer to the section of your sitemap a

RE: question about LuceneIndexTransformer

2003-08-14 Thread Conal Tuohy
> i added the following line to my sitemap.xmap file, inside the > element: > > logger="sitemap.transformer.luceneindextransformer" > > src="org.apache.cocoon.transformation.LuceneIndexTransformer"/> > > now i'm at a loss as for what to do next. do i define a pipelin

RE: IE6: Can't open dynamic PDF from applet

2003-08-14 Thread Conal Tuohy
Hi Victor I think you need to have a look at the HTTP layer. What I use for these debugging situations is a little java app called "NetTool". It's small but it's excellent for debugging HTTP, esp SOAP. You can use it to tunnel http connections, so you can see the HTTP request sent by your browse

RE: dynamic node selection

2003-07-23 Thread Conal Tuohy
NB to avoid problems namespaces you might want to use the local-name() function instead of the name() function. e.g. if $parent="foo" and $child="bar" then: /*[local-name()=$parent][*[local-name()=$child]] should return all nodes which match the xpath "/foo/bar" Cheers Con > -Original M

RE: dynamic node selection

2003-07-23 Thread Conal Tuohy
Adam there's no "dynamic" xpath expression evaluation in XSLT - you'll probably want to find some other way to identify the nodes you want to deal with since writing a generic xpath evaluator in XSLT is not going to be easy. It would be feasible though to parse some standard type of expressions

RE: How to add Content-Length headers?

2003-07-23 Thread Conal Tuohy
[answering my own question] Ah ... it seems that some of my pipelines aren't cached ... that'll be why. Con > -Original Message- > From: Conal Tuohy > Sent: Wednesday, 23 July 2003 7:37 p.m. > To: Cocoon-Users (E-mail 2) > Subject: How to add Content-Length

How to add Content-Length headers?

2003-07-23 Thread Conal Tuohy
I have a Cocoon site which I'm trying to cache (with a reverse-proxy). To cache a page, the proxy seems to require a Content-Length header, but some of my Cocoon pipelines don't return this header. I don't know why - can anyone enlighten me? I'm using c2.1m2 Cheers Con -

Cocoon + Apache + mod_proxy + mod_cache problems

2003-07-21 Thread Conal Tuohy
I am putting an reverse-proxying cache in front of a Cocoon site. The proxy is Apache httpd version 2 with mod_proxy and mod_cache. Some of the pages are cached by Apache httpd and are served up again and again without asking Tomcat/Cocoon. Once I've requested a page I can even shut down Tomcat a

RE: How to redirect XSL output to more than one file?

2003-07-20 Thread Conal Tuohy
Hi Marco Yes your idea will work, and in fact I think you've given a very clear expression of the usual pattern for "chunking" using Cocoon. Perhaps you could post a version of your email as a "HowTo" on the Wiki, and add a link from the "HowTos" page? http://wiki.cocoondev.org/Wiki.jsp?page=HowTo

RE: How to redirect XSL output to more than one file?

2003-07-20 Thread Conal Tuohy
Hi Marco Some others have already addressed the issue of chunking, but I'd like to point out that Cocoon also has a ZipArchiveSerializer which you can use both for the chunking AND/OR to bundle the final HTML pages together into a single package for download. http://cocoon.apache.org/2.1/userdocs

RE: Command Line Interface

2003-07-20 Thread Conal Tuohy
Steve Kurzman wrote: > About my hopeful usage, I'm the webmaster for a non-profit web-zine on > international disability news, policy issues, etc. We want > to provide our > content as text and PDF, as well as HTML, so visitors can > read it offline if > they like. Hence, my foray into XML. B

RE: Lucene XSP compilation problem

2003-07-12 Thread Conal Tuohy
Hi Upayavira I don't know the answer to your problem, but ... you may like to take a look at the LuceneIndexTransformer as an alternative. There's a page about it on the Cocoon Wiki. It doesn't involve crawling the site, and it's significantly quicker than the crawler version. Cheers Con -

<    1   2