Re: Serializing document in UTF-16 encoding

2003-09-15 Thread Ed Sinjiashvili
Yury Mikhienko [EMAIL PROTECTED] writes: in serializers section I have: map:serializer logger=sitemap.serializer.text mime-type=text/plain name=UTF_16_text src=org.apache.cocoon.serialization.TextSerializer encodingUTF-16/encoding /map:serializer in pipeline section:

Re: File upload with flow (Wiki examples)

2003-09-15 Thread Geoff Howard
Stephen Ramsay wrote: On Sun, Sep 14, 2003 at 10:01:05PM -0400, Geoff Howard wrote: Stephen Ramsay wrote: On Sun, Sep 14, 2003 at 08:33:01AM -0400, Geoff Howard wrote: Aha! That wiki example has a problem I just noticed -- you shouldn't return null here (I just corrected the wiki). Use the

Actions and Session

2003-09-15 Thread Giancarlo Rosso
Hi, I'm just trying to figure out the differences between Parameter and ObjectModelHelper; using authentication framework with DatabaseAuthenticatorAction, i put a var (username) into session: select dbcol=username request-param=username to-session=username/ Then i try to access this var in an

CLI and HTMLGenerator

2003-09-15 Thread arturl
How to ensure th HTMLGenerator to work with Cocoon CLI ver.2.1 ? I've got the recent Cocoon version, also followed the Wiki CLI instruction but it doesn't seem to work correctly. Artur - To unsubscribe, e-mail: [EMAIL

Re: CLI and HTMLGenerator

2003-09-15 Thread Upayavira
arturl wrote: How to ensure th HTMLGenerator to work with Cocoon CLI ver.2.1 ? I've got the recent Cocoon version, also followed the Wiki CLI instruction but it doesn't seem to work correctly. Artur IIRC, the HTMLGenerator was fixed in 2.1.1 (it previously depended upon being run within a

Re: CLI and HTMLGenerator

2003-09-15 Thread Joerg Heinicke
The HTMLGnerator in 2.1 depends heavily on a servlet environment. Carsten has removed some of them on September 3rd (so after 2.1). You can try 2.1.1, hopefully this works. As I know the last one who had a problem with it was satisfied by Carsten's change. Joerg arturl wrote: How to ensure th

Re: Unhandled exception type SQLException

2003-09-15 Thread Frank Taffelt
try the following, note the nested esql:row-results in esql:results: esql:connection esql:poolsheria/esql:pool esql:execute-query esql:querySELECT loginname, password FROM actors/esql:query esql:results users esql:row-results user loginesql:get-string

Re: esql: Unhandled exception type SQLException

2003-09-15 Thread Christopher Painter-Wakefield
It looks to me as if there is an error in the error reporting. The actual error is (and should be) a compilation error - these lines: org.apache.cocoon.components.language.LanguageException: Error compiling test_xsp: ERROR 1 (org/apache/cocoon/www/tutorial/test_xsp.java): I'm not

xmldb:xindice pseudo protocol in cocoon2.1

2003-09-15 Thread Yury Mikhienko
Hi all! I mount the xindice1.1b1 as Tomcat webapp on localhost host. After I trying access to xindice1.1b1 database and get the Could not read resource error: org.apache.cocoon.ProcessingException: Could not read resource xmldb:xindice://localhost:8080/db/web/news-arch/:

Re: Instructing TraxTransformer to do catalog resolution with document() function [Too mundane to be cared after?]

2003-09-15 Thread Albert Bruffaerts
At 17:12 13/09/2003 +0200, Florian G. Haas wrote: My problem is, therefore: while the Generator used in the pipeline in question correctly does catalog resolution and uses the local copy of the DTD referenced as expected, the transformer fails to do so when accessing a document via document(). Is

Re: [shameless plug] Let's GetTogether

2003-09-15 Thread Steven Noels
Stefano Mazzocchi wrote: I'm writing this because the more we are, the more fun we get and the more cocoon will grow and the more fun we can get in the future. Gee, thanks, Stefano. That was a pleasant surprise. :-) As the person who organized this last year, and who, after careful

Re: Screen Resolution / BrowserSelector?

2003-09-15 Thread Joerg Heinicke
You can get the screen resolution via JavaScript. If you want to use it server side you have to send it via request parameters to the server. You don't need the browser selector. Joerg g4 wrote: Hi list, Is it possible to do a screen resolution detect through eh browser selector or another

How to integrate Cocoon with JMS?

2003-09-15 Thread Robert McKinnon
What is the quickest way to integrate Cocoon with JMS? Is there a JMS Generator available anywhere? In my case, I have the possibility to interact with services via JMS topics on which I can receive and publish XML messages (not SOAP). I would like to use Cocoon as a framework to produce

No support for SAX DTDHandler() - guidance please?

2003-09-15 Thread Fred Toth
Hi, Last week I discovered that the XSLT function unparsed-entity-uri() does not work in cocoon transforms. After digging around a bit, I discovered that cocoon's SAX handlers to not contain any support for the SAX DTDHandler interface which contains the methods that are necessary to make this

Re: File upload with flow (Wiki examples)

2003-09-15 Thread Geoff Howard
Geoff Howard wrote: Stephen Ramsay wrote: On Sun, Sep 14, 2003 at 10:01:05PM -0400, Geoff Howard wrote: Stephen Ramsay wrote: On Sun, Sep 14, 2003 at 08:33:01AM -0400, Geoff Howard wrote: Aha! That wiki example has a problem I just noticed -- you shouldn't return null here (I just corrected

Re: SQLTransformer not committing Inserts

2003-09-15 Thread David Kavanagh
This is because when you end a pipeline with the map:redirect, nothing else gets executed. The redirect happens when the pipeline is setup. We've had need for similar pipelines where processing is done, then a redirect is performed. We wrote a redirect transformer that we'd be glad to

Re: File upload with flow (Wiki examples)

2003-09-15 Thread Geoff Howard
Geoff Howard wrote: I just finally got a second to look at the code, and my vague memory was right. During a security related refactoring of the upload code before 2.1M1 (U2/MLK fans may be interested to know it was early morning, April 4 by complete coincidence) an unconfigurable (means it

Re: SQLTransformer not committing Inserts

2003-09-15 Thread Geoff Howard
David Kavanagh wrote: This is because when you end a pipeline with the map:redirect, nothing else gets executed. The redirect happens when the pipeline is setup. We've had need for similar pipelines where processing is done, then a redirect is performed. We wrote a redirect transformer that

RE: Maintaining request in match string.

2003-09-15 Thread Conal Tuohy
Use the request-param input module: map:match pattern=info.html ... map:parameter name=x value={request-param:x}/ See http://wiki.cocoondev.org/Wiki.jsp?page=RequestParameterModule Cheers COn -Original Message- From: Joel P W Pitt [mailto:[EMAIL PROTECTED] Sent:

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 Upayavira
I'm pretty sure the following will work: 1) In the sitemap: map:transform src=xxx map:parameter name=x value={request-param:image.x}/ map:parameter name=y value={request-param:image.y}/ /map:transform 2) In flowscript: var x = cocoon.request.getParameter(image.x); var y =

Re: Maintaining request in match string.

2003-09-15 Thread Joel P W Pitt
Thanks Upayavira! Both those options work fine. I knew there must be a simple solution to it ;) Thanks, Joel Upayavira wrote: I'm pretty sure the following will work: 1) In the sitemap: map:transform src=xxx map:parameter name=x value={request-param:image.x}/ map:parameter name=y