RE: Can cocoon write pdf to a file?

2002-08-16 Thread Derek Hohls
Can you supply a link to this discussion/anwer? [EMAIL PROTECTED] 16/08/2002 12:20:57 This has been answered in the archives. I used the pdf transformer and saved the output stream to a file. TA -Original Message- From: Geoff Howard [mailto:[EMAIL PROTECTED]] Sent: Thursday, August

RE: [Q] SunRise roles?

2002-08-16 Thread Per Kreipke
Any comments on previous message? Per - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED]

RE: esql patch for paging and ResultSets from Oracle stored procs

2002-08-16 Thread neil
I just tried the latest from the cocoon_2_0_3_branch and got... org.apache.cocoon.components.language.LanguageException: Error compiling control_xsp: Line 448, column 45: unreported exception: java.lang.IllegalAccessException; must be caught or declared to be thrown Line 448 in

RE: [Q] SunRise roles?

2002-08-16 Thread Carsten Ziegeler
Per Kreipke wrote: Ah, philosophy :-) Yupp! Ok, I think we reached a state where it's difficult to say who is right and who is wrong. Personally, I think that the meaning of 'groups' and roles is mixed somewhere in the servlet spec. *My* understanding is that a person can be in several

RE: sexy open source

2002-08-16 Thread ROSSEL Olivier
But if you use schema-based storage, you can have your XML internally stored into SQL tables. And XPath queries are rewritten (yes yes!) into corresponding SQL equivalent. That's on the feature list, but is it implemented yet? If so, where? In XSU? Oracle 9iR2 (yes R2 makes the

Re: NO JdbcConnection class available --cocoon 2.0.3 binary relea se u sing informix jdbc driver 2.21

2002-08-16 Thread Christian Haul
On 15.Aug.2002 -- 09:32 AM, Wang, Gonghui wrote: Thanks, it actually works by switching back to an older verion of jdbc driver and only use ifxjdbc.jar. One more gotya when using XSP however, when I use esql:get-string column=name/ twice for the same column, option

Cocoon 2 - Internal server error

2002-08-16 Thread Hassan Abolhassani
Frequently I recieve following error. Can anybody help me to resolve this issue. The Sitemap is null, this should never be! description java.lang.RuntimeException: The Sitemap is null, this should never be! sender org.apache.cocoon.servlet.CocoonServlet source Cocoon servlet request-uri

[Cocoon 2] - Tomcat 4.1.9Beta avaliable

2002-08-16 Thread Antonio Gallardo Rivera
Hi all: I downloaded the last Tomcat beta release and is working fine with Cocoon2. more info at: http://jakarta.apache.com/ download at: http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.1.9-beta/ Antonio Gallardo

RE: [Cocoon 2] - Tomcat 4.1.9Beta avaliable

2002-08-16 Thread ROSSEL Olivier
Hi all: I downloaded the last Tomcat beta release and is working fine with Cocoon2. more info at: http://jakarta.apache.com/ download at: http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4 .1.9-beta/ This week being the Off-topic week, I will ask something so OT: is

Options to insert multiple HTTP parameters into SOAP request

2002-08-16 Thread Werner Guttmann
Hi, could somebody please advise me on what options I have to include one or more request parameter values into a soap request (using the soap logicsheet of Cocoon 2.0.3). Iow, with a request message similar to xsp:page language=java xmlns:xsp=http://apache.org/xsp;

including fragments of xml-documents

2002-08-16 Thread Rainer Häner
hallo, i want to include single-nodes or fragments of xml-documents. simply i can do this with a stylesheet xsl:template match="xlink" ... !-- show attributes -- xsl:value-of select="@pathToFile"/ !--= docs/samples/xml-file.xml --xsl:value-of select="@xpathExpression"/ !-- =

Error no connections in the pool with mySQL?

2002-08-16 Thread Derek Hohls
I have an old problem on a new machine ;-( The new machine, where I have just done a 'clean' installation of an app that runs without any problems on my machine (and on the local Unix box) has the following config: - Windows2000 - IIS - Tomcat 4.0.01 - Cocoon 2.0 - mySQL 3.23.xx Cocoon itself

[Q]getting values from action

2002-08-16 Thread Kenny Chow
Hi all, I am running in a difficulty where I can't get a value from an action. 'myAction' will define a key called 'myParam' and return its value via the Map object. Now myURL.xsp, in turn, tries to get the param from the sitemap (see below); the param contains null. I have tried

Re: Error no connections in the pool with mySQL?

2002-08-16 Thread Kenny Chow
--org.gjt.mm.mySQL.Driver I define mine as org.gjt.mm.mysql.Driver instead... __ Do You Yahoo!? HotJobs - Search Thousands of New Jobs http://www.hotjobs.com - Please

Re: Cocoon 2 - Internal server error

2002-08-16 Thread Vadim Gritsenko
Hassan Abolhassani wrote: Frequently I recieve following error. Can anybody help me to resolve this issue. You forgot to specify what Cocoon version you use and what's your servlet engine. Vadim The Sitemap is null, this should never be! description java.lang.RuntimeException: The

Re: Options to insert multiple HTTP parameters into SOAP request

2002-08-16 Thread Vadim Gritsenko
Werner Guttmann wrote: Hi, could somebody please advise me on what options I have to include one or more request parameter values into a soap request (using the soap logicsheet of Cocoon 2.0.3). Iow, with a request message similar to xsp:page language=java xmlns:xsp=http://apache.org/xsp;

Re: including fragments of xml-documents

2002-08-16 Thread Vadim Gritsenko
Rainer Häner wrote: hallo, i want to include single-nodes or fragments of xml-documents. simply i can do this with a stylesheet xsl:template match=xlink ... !-- show attributes -- xsl:value-of select=@pathToFile/ !-- = docs/samples/xml-file.xml -- xsl:value-of

Re: Error no connections in the pool with mySQL?

2002-08-16 Thread Derek Hohls
Thanks for the suggestion - I see it was it was all lowercase on my machine too - however, when I changed it to 'mySQL' here, and restarted Tomcat, I did not get any errors on my machine - in other words, the case doesnt not affect the problem happening on the client machine. so I dont think

Re: [Q]getting values from action

2002-08-16 Thread Vadim Gritsenko
Kenny Chow wrote: Hi all, I am running in a difficulty where I can't get a value from an action. 'myAction' will define a key called 'myParam' and return its value via the Map object. Now myURL.xsp, in turn, tries to get the param from the sitemap (see below); You did not tell how XSP gets

Re: Error no connections in the pool with mySQL?

2002-08-16 Thread Michael Mangeng
Hi Which version of Cocoon are you using? You only mentioned Cocoon 2.0 which isn´t enought. Cocoon 2.0.2 has a problem with the connection pooling caused by the JDBC update in JDK 1.4.0. I had a similar problem - a update to cocoon 2.0.3 solved my problem. greetings mike - Original

Re: Error no connections in the pool with mySQL?

2002-08-16 Thread Derek Hohls
Mike I have the original version 2.0 (I dont think it had any numbers...) and the machine is running JDK 1.31 - this is vitually the same setup on the all the machines running here and v. similar to the clients I agree that if I had JDK 1.4 I would need a Cocoon upgrade. Derek [EMAIL

Re: [Q]getting values from action

2002-08-16 Thread Kenny Chow
I use parameters.getParameter(myParam) in the xsp. 'myParam' doesn't show up in sitemap.log. Thanks KOZLOV. {../myParam} unfortunately doesn't work either. --- Vadim Gritsenko [EMAIL PROTECTED] wrote: Kenny Chow wrote: Hi all, I am running in a difficulty where I can't get a

Re: [Q]getting values from action

2002-08-16 Thread Vadim Gritsenko
Kenny Chow wrote: I use parameters.getParameter(myParam) in the xsp. 'myParam' doesn't show up in sitemap.log. May be something is wrong with the action. Vadim Thanks KOZLOV. {../myParam} unfortunately doesn't work either. --- Vadim Gritsenko [EMAIL PROTECTED] wrote: Kenny

Re: [Cocoon 2] - Tomcat 4.1.9Beta avaliable

2002-08-16 Thread Nicola Ken Barozzi
ROSSEL Olivier wrote: Hi all: I downloaded the last Tomcat beta release and is working fine with Cocoon2. more info at: http://jakarta.apache.com/ download at: http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4 .1.9-beta/ This week being the Off-topic week, I will ask

RE: [Q] SunRise roles?

2002-08-16 Thread Per Kreipke
Ah, philosophy :-) Yupp! Ok, I think we reached a state where it's difficult to say who is right and who is wrong. Personally, I think that the meaning of 'groups' and roles is mixed somewhere in the servlet spec. *My* understanding is that a person can be in several groups at a time

RE: Can cocoon write pdf to a file?

2002-08-16 Thread Terry Anderson
All, Sorry, mentioned the wrong transformer earlier. Used stream generator, posted xml, saved to file. See code below. JAVA CLASS: URL url = new URL(http://path/xml2pdf.pdf;); HttpURLConnection httpConn = null; try { httpConn =

RE: Can cocoon write pdf to a file?

2002-08-16 Thread Argyn Kuketayev
Title: RE: Can cocoon write pdf to a file? will this code get .pdf file over HTTP? if yes, then wouldn't it be more efficient if instead of that, you somehow directly write on the hard disk without loading a Web server? -Original Message- From: Terry Anderson [mailto:[EMAIL

RE: Can cocoon write pdf to a file?

2002-08-16 Thread Geoff Howard
will this code get .pdf file over HTTP? if yes, then wouldn't it be more efficient if instead of that, you somehow directly write on the hard disk without loading a Web server? Yes! you want SourceWritingTransformer from Cocoon 2.1 dev. There is a parameter to tell it how to serialize the

RE: Can cocoon write pdf to a file?

2002-08-16 Thread ROSSEL Olivier
Yes! you want SourceWritingTransformer from Cocoon 2.1 dev. There is a parameter to tell it how to serialize the output. It writes to a file on the local hard drive. SWT can have its own serializer? What a great stuff! Is this feature available in the scratchpad of C2.0.3?

RE: Can cocoon write pdf to a file?

2002-08-16 Thread Argyn Kuketayev
Title: RE: Can cocoon write pdf to a file? thanks, I've seen it mentioned earlier. -Original Message- From: Geoff Howard [mailto:[EMAIL PROTECTED]] Sent: Friday, August 16, 2002 10:12 AM To: '[EMAIL PROTECTED]' Subject: RE: Can cocoon write pdf to a file? will this code

RE: Can cocoon write pdf to a file?

2002-08-16 Thread Geoff Howard
Yes! you want SourceWritingTransformer from Cocoon 2.1 dev. There is a parameter to tell it how to serialize the output. It writes to a file on the local hard drive. SWT can have its own serializer? What a great stuff! Is this feature available in the scratchpad of C2.0.3?

RE: Can cocoon write pdf to a file?

2002-08-16 Thread Argyn Kuketayev
Title: RE: Can cocoon write pdf to a file? isn't there to be a serializer after the transformer in the pipeline? -Original Message- From: Geoff Howard [mailto:[EMAIL PROTECTED]] Sent: Friday, August 16, 2002 10:22 AM To: '[EMAIL PROTECTED]' Subject: RE: Can cocoon write pdf to

XSP logicsheet for the ServletContext object

2002-08-16 Thread Werner Guttmann
Hi, just looking at the available XSP logicsheets, it seems that there is not a logicsheet for the ServletContext that would offer the kind of functionality the request logicsheet offers for interacting with the HttpServletRequest. If that's true, how does one access e.g. context parameters of

RE: Can cocoon write pdf to a file?

2002-08-16 Thread ROSSEL Olivier
Sure. The main pipeline continues but the portion of XML corresponding to the SWT has been replaced by the result of the SWT step. Input: ... source:write content_to_write ... /content_to_write /source:write ... Output: ... source:result isSuccess='true'/ ... Note: this is not the

[repost] MySQL no suitable driver

2002-08-16 Thread Jan Willem Penterman
[repost] still stuck on this [/repost] I'm quite new to Cocoon but want to set up a MySQL connection using ESQL. I followed the directives on http://www.cocooncenter.de/cc/documents/resources/db-app/index.html and altered the settings for MySQL like I see them everwhere in the mail archives. So

RE: Can cocoon write pdf to a file?

2002-08-16 Thread Argyn Kuketayev
Title: RE: Can cocoon write pdf to a file? I still don't see how this will work with PDF. PDF comes only from FOPSerializer. the last step in the pipeline. So, if you want to write its result on the disk, how can SWT be useful? I thought, maybe it makes a sense to have a special type of

RE: Can cocoon write pdf to a file?

2002-08-16 Thread Geoff Howard
right, and the output of the cocoon pipeline gives the result of the output which you can transform into a report back to the user who called the action, or ignore it entirely. -Original Message- From: ROSSEL Olivier [mailto:[EMAIL PROTECTED]] Sent: Friday, August 16, 2002 10:35 AM

RE: Can cocoon write pdf to a file?

2002-08-16 Thread ROSSEL Olivier
well, the SWT writes to a WritableSource, AFTER being serialized by its OWN serializer. So the main pipeline can be a HTML report of the PDF written to disk. -Message d'origine- De: Argyn Kuketayev [mailto:[EMAIL PROTECTED]] Date: vendredi 16 août 2002 16:40 À: '[EMAIL PROTECTED]' Objet:

RE: Can cocoon write pdf to a file?

2002-08-16 Thread Argyn Kuketayev
Title: RE: Can cocoon write pdf to a file? ok, I'll check that, thanks -Original Message- From: ROSSEL Olivier [mailto:[EMAIL PROTECTED]] Sent: Friday, August 16, 2002 10:43 AM To: '[EMAIL PROTECTED]' Subject: RE: Can cocoon write pdf to a file? well, the SWT writes to a

RE: Can cocoon write pdf to a file?

2002-08-16 Thread Geoff Howard
-Message d'origine- De: Argyn Kuketayev [mailto:[EMAIL PROTECTED]] Date: vendredi 16 août 2002 16:40 À: '[EMAIL PROTECTED]' Objet: RE: Can cocoon write pdf to a file? ... on the other hand, having the caching configured properly would probably solve the problem too.

RE: Can cocoon write pdf to a file?

2002-08-16 Thread ROSSEL Olivier
on the other hand, having the caching configured properly would probably solve the problem too. Wait, this last statement makes it sound like you are only interested in keeping the results cached to reduce load. If that is the case, use cocoon caching - it will automatically keep

RE: Can cocoon write pdf to a file?

2002-08-16 Thread Argyn Kuketayev
Title: RE: Can cocoon write pdf to a file? well, I don't remember who started the thread, not me though :) I'll also need some sort of solution with large PDF files. The idea is that you come and launch report, and given a URL to check it later (when PDF is ready). The URL would point to a

RE: Can cocoon write pdf to a file?

2002-08-16 Thread ROSSEL Olivier
I think you can use such a a pipeline: - SWT -- Serializer : PDF - sucessOrFailure2mail.xsl - Sendmail transformer So the first step makes the PDF and provides a report as XML . The second step creates a report mail from the XML output of the SWT. The third step sends the mail (may

XSP Java Class Include

2002-08-16 Thread Brian Schwark
Hello, I'm new to Cocoon, trying to work my way through the documentation. So far, I've been able to get most things to work satisfactorily enough, however I've run into a roadblock while trying to implement XSPs. So far, I've written a quick and dirty example, of which all I want to do is

Re: including fragments of xml-documents

2002-08-16 Thread Rainer Häner
thanks, this works fine, sorry, i did not read most of the documentation the idea behind my question was to write a logicsheet which simulates xlink and xpointer have a nice weekend, rainer - Original Message - From: Vadim Gritsenko [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent:

RE: XSP Java Class Include

2002-08-16 Thread Lai, Harry
Hi Brian, I'm not totally sure if this is the cause of your problem, but make sure your xsp:structure element is inside your xsp:page element, but outside your content element. So for example: xsp:page _namespace stuff_ xsp:structure

Re: XSP Java Class Include

2002-08-16 Thread Christian Haul
On 16.Aug.2002 -- 11:27 AM, Brian Schwark wrote: directory is to include the following tag in my XSP, (or XSL? Can someone clarify this please? The documentation is sketchy and I have seen examples using either method. Are both kosher?): In a logicsheet, yes, in a stylesheet there's no point

problem with dynamic parameters in XSP + ESQL

2002-08-16 Thread Georg Spar
-BEGIN PGP SIGNED MESSAGE-Hash: SHA1 Hi @ll, I 've got a problem with dynamic parameters in an XSP-ESQL-CombinedPage.What I want to do:I just want to write a dynamically generated XSP-Page which put outthe results of an ESQL-Query in a html-table. Each row of the tableshould have

Re: XSP Java Class Include

2002-08-16 Thread Werner Guttmann
And more importantly, do not to forget to put a xsp:expinstance_of_your_class/xsp:expr at the place where you want the generated XML to be inserted into your document. Werner Lai, Harry wrote: Hi Brian, I'm not totally sure if this is the cause of your problem, but make sure your

RE: XSP Java Class Include

2002-08-16 Thread Brian Schwark
Thank you everyone very much for the replies.. My xsp:structure element was indeed within the content, right before I call the logic.. however, moving it out just under the xsp:page tag did no good, Cocoon still failed to find the class. I find that if when calling my method in the logic, I

Re: [repost] MySQL no suitable driver

2002-08-16 Thread MTiffany71
I had the exact same problem... which was solved by uploading an *uncompressed* mysql driver .jar to WEB-INf/lib (yes yes, it seems like a a lot of voodoo nonsense...) good luck

RE: problem with dynamic parameters in XSP + ESQL

2002-08-16 Thread Naquin, Beth
I think I did something similar with a stylesheet. I'm not sure if this is quite what you want, but here's what I did: I had a logicsheet that used esql which results in xml like this: row pin1/pin other_infoinfo/other_info more_infomore/more_info /row row pin2/pin

host selector

2002-08-16 Thread Silke Schön
Thanks a lot, Vadim! Now I changed my pipeline as you said, using a host selector this time: # #map:match pattern=**research.pdf # map:generate src=content/research/research.xml/ # map:select type=host # map:when test=localhost # map:transform src=transforms/page-fo.xsl/ #

Summary:getting values from action

2002-08-16 Thread Kenny Chow
Yes. Just noticed that map.put(key, value) was mistakenly placed. But let me do a summary of my problem anyhow. == Problem: get parameters from action in xsp Context: Suppose you have an action and it returns parameters via its map object; and an xsp will

how to process based on dtd

2002-08-16 Thread Harry J. Foxwell
I'm just starting a Cocoon project, looking for docs or preferably example of how to do the following read display a URL in a browser window...the URL contents may include a link to an XML file that must use a specific DTD. The name of the XML file can be

RE: Session-handling without cookies

2002-08-16 Thread Thomas Garger
hi - thank you! another question - do i have to change something in my java-code of my action. i use bea weblogic6.0sp2 and hp-unix and cocoon2.0.2 greetings -Original Message- From: Carsten Ziegeler [mailto:[EMAIL PROTECTED]] Sent: Freitag, 16. August 2002 08:01 To: [EMAIL

FP and Cocoon2

2002-08-16 Thread Dwayne Kemp
Im using Cocoon 2.0.3 with Tomcat 4.0.1. I have this code in my file... fp:if-post fp:write to=external-item select=when xsp-request:get-parameter name=when/ /fp:write /fp:if-post fp:redirectxsp-request:get-parameter name=file//fp:redirect Cocoon processes this but will not add to the

handle POST request, send to CGI script?

2002-08-16 Thread gv
Is there a way to have Cocoon handle a POST request and send it to a Perl CGI script? The Perl script returns XML which I want to use in the pipeline. If there's no way to call the Perl CGI script (and I presumably have to rewrite it in XSP/Java) how can I get at the POST data and process it

RE: XSP Java Class Include

2002-08-16 Thread Geoff Howard
I don't have experience using Torque, but can't see any reason why torque's auto generated classes should have a problem. Here's a few questions that may help debugging: - What jdk did torque use to create the classes and what is cocoon using (that should be defined in cocoon.xconf)? - Which

J2EE needed? UserTransaction not found..

2002-08-16 Thread Jan
It seems to be that Cocoon uses J2EE (witch I do not have) for it uses javax.transaction.UserTransaction.. is this correct or have I possibly done something wrong during the build process? The whole trace is included below. Oh by the way: The link is in a class within the scratchpad, so...

Re: XSP logicsheet for the ServletContext object

2002-08-16 Thread Vadim Gritsenko
Werner Guttmann wrote: Hi, just looking at the available XSP logicsheets, it seems that there is not a logicsheet for the ServletContext that would offer the kind of functionality the request logicsheet offers for interacting with the HttpServletRequest. They (context parameters) are not

Using internal paths for sendmail attachments

2002-08-16 Thread Paul Pattison
Hi everyone, I'm working on a web app where I'd like to have a page send an email to someone and attach a file to the email. The attachment would actually be an html or pdf document generated by Cocoon. Right now the 'sendmail' logicsheet allows attachments, but the filename is an absolute

RE: XSP Java Class Include

2002-08-16 Thread Brian Schwark
Geoff - Thanks for the reply. I'll try to answer your questions to the best of my ability so you've got a little clearer picture of my setup, I apologize for the vagueness of my description but as I said, being new to Cocoon I'm still learning all of this as I go along. :) What jdk did torque

Re: FP and Cocoon2

2002-08-16 Thread Vadim Gritsenko
Dwayne Kemp wrote: Im using Cocoon 2.0.3 with Tomcat 4.0.1. I have this code in my file... fp:if-post fp:write to=external-item select=when xsp-request:get-parameter name=when/ /fp:write /fp:if-post What's 'fp'? If this is some logicsheet, what is namespace? Cocoon 2.0.3 does not have any

Re: Using internal paths for sendmail attachments

2002-08-16 Thread Vadim Gritsenko
Paul Pattison wrote: Hi everyone, I'm working on a web app where I'd like to have a page send an email to someone and attach a file to the email. The attachment would actually be an html or pdf document generated by Cocoon. Right now the 'sendmail' logicsheet allows attachments, but the

Re: XSP Java Class Include

2002-08-16 Thread Vadim Gritsenko
Brian Schwark wrote: Geoff - Thanks for the reply. I'll try to answer your questions to the best of my ability so you've got a little clearer picture of my setup, I apologize for the vagueness of my description but as I said, being new to Cocoon I'm still learning all of this as I go along. :)

RE: ESQLcompile error: page must catch or throw exception

2002-08-16 Thread Azmi, Amir
Try changing ur esql snippet to following, esql:connection esql:poolusers/esql:pool esql:execute-query esql:queryselect * from users/esql:query esql:results table esql:row-results tr tdesql:get-string column=username//td tdesql:get-string column=password//td /tr /esql:row-results /table

cocoon powerpoint presentation

2002-08-16 Thread Kasper Nielsen
Hi, Im looking for a cocoon2 powerpoint presentation, and I would rather not start from scratch. Anybody got one that I could cut and paste from? - Kasper - Please check that your question has not already been answered in

RE: XSP Java Class Include

2002-08-16 Thread Geoff Howard
hmm. you've checked the logs in WEB-INF/logs? Geoff -Original Message- From: Brian Schwark [mailto:[EMAIL PROTECTED]] Sent: Friday, August 16, 2002 3:47 PM To: [EMAIL PROTECTED] Subject: RE: XSP Java Class Include Geoff - Thanks for the reply. I'll try to answer your

RE: XSP Java Class Include

2002-08-16 Thread Naquin, Beth
Title: RE: XSP Java Class Include Is the response blank, or just the display in the browser (ie., do a view source) When I'm able to get cocoon to correctly locate the class by using it's fully qualified name while calling it (I still can't get it to find my class using xsp:structure and

RE: cocoon powerpoint presentation

2002-08-16 Thread Azmi, Amir
Take a look at, http://www.pankaj-k.net/cocoon/ --Amir -Original Message- From: Kasper Nielsen [mailto:[EMAIL PROTECTED]] Sent: August 16, 2002 5:31 AM To: [EMAIL PROTECTED] Subject: cocoon powerpoint presentation Hi, Im looking for a cocoon2 powerpoint presentation, and I would

RE: XSP logicsheet for the ServletContext object

2002-08-16 Thread Per Kreipke
I just noticed that class XSPUtil (the implementing class for util taglib) has the following function, which also shows how to get context info in Java: public static Object getContextAttribute(Map objectModel, String name) { Context context = ObjectModelHelper.getContext(objectModel);

Re: problem with dynamic parameters in XSP + ESQL

2002-08-16 Thread Christian Haul
On 16.Aug.2002 -- 06:03 PM, Georg Spar wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi @ll, I 've got a problem with dynamic parameters in an XSP-ESQL-Combined Page. What I want to do: I just want to write a dynamically generated XSP-Page which put out the results of an

Making a new Action

2002-08-16 Thread admin
Hi, I understand how to implement new actions in the sitemap, however i don't understand exacly how to define those actions. Actions are java code which i write seperatly from everything else. Do i save this file as a.java or .jsp? What directories do i have to place in into in order for it

RE: Making a new Action

2002-08-16 Thread Geoff Howard
Actions are java code which i write seperatly from everything else. right. Do i save this file as a.java or .jsp? .java, and then you compile it. What directories do i have to place in into in order for it to properly compile you can compile it from anywhere, but you need your

Re: problem with dynamic parameters in XSP + ESQL

2002-08-16 Thread Georg Spar
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 - -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 very funny! this is what I tried out: !-- -snip --- xsp:logic String ref = esql:get-string column=mail_ID/; String m_from = esql:get-string column=mail_from/; /xsp:logic !--

RE: [repost] MySQL no suitable driver

2002-08-16 Thread Jan Willem Penterman
I upgraded to the com.mysql.jdbc.Driver, same error. The settings you described are like I already had. Try jdk1.4.1 and the cvs HEAD of Cocoon. If your going to be on the edge, then being one or two versions back can be rougher than being where the developers are; the developers are

Re: Sending a parameter to Xerces (allow java char encodings)

2002-08-16 Thread Vadim Gritsenko
Jesse Reynolds wrote: At 22:29 -0400 15/8/2002, Vadim Gritsenko wrote: Jesse Reynolds wrote: At 22:10 -0400 15/8/2002, Vadim Gritsenko wrote: Jesse Reynolds wrote: And I've made the changes to JaxpParser.java as Vadim has suggested to get it to tell Xerces to allow-java-encodings but

Re: Sending a parameter to Xerces (allow java char encodings)

2002-08-16 Thread Jesse Reynolds
Hi Vadim Okay, I've modified the JaxpParser.java and placed it at: $TOMCAT_HOME/webapps/cocoon/WEB-INF/classes/org/apache/avalon/excalibur/xml/Attic/JaxpParser.java Ahem... Take a look at package ... line in the source code. *This* line should match directory, not URL from CVS. It should

Re: Sending a parameter to Xerces (allow java char encodings)

2002-08-16 Thread Vadim Gritsenko
Jesse Reynolds wrote: ... OK! Now we're getting somewhere. All my debug output is now happening, YAY, but now cocoon is not initialising. H. I must have stuffed up the code I guess, I will review... What version of Excalibur is shipped with Cocoon 2.0.2??? See jar name. Usually it