PDF attachment using Sendmail and 2.0.4

2003-06-25 Thread Tony Edwards
Title: PDF attachment using Sendmail and 2.0.4 Hi all, I checked out the sendmail item on wiki and tried to mail the results of a pipeline serialized as PDF. I followed the wiki instructions to the letter. The mail worked alright, but the PDF file was attached as uuencoded text (at least

Re: i18n

2003-06-25 Thread Konstantin Piroumian
Take a look at i18n transformer configuration in your sitemap. Probably it defines the 'untranslated-text' parameter which is used instead of the key value. -- Konstantin - Original Message - From: Kavitha Ramesh To: [EMAIL PROTECTED] Sent: Tuesday, June 24, 2003

Re: esql !!!HELP!!!

2003-06-25 Thread Frank Taffelt
you could try annother msssql jdbc driver. I'm using http://jtds.sourceforge.net also with stored procedures and it works. The driver from microsoft is known to have some bugs. hth, Frank - To unsubscribe, e-mail: [EMAIL

Re:i18n

2003-06-25 Thread Kavitha Ramesh
Hi Konstantin, My sitemap configuration is as follows: map:transformer name="i18n" src="" catalogue-namemessages/catalogue-name catalogue-locationtranslations/catalogue-location /map:transformer I dont have anything like untranslated-text in my sitemap configuration,,, I cannot understand where

Re:i18n

2003-06-25 Thread Stavros Kounis
i use to have untranslated texts caused by 1.wrong keys 2.cocoon caching system 1. check your key values 2. del tomcat's working directory ---stavros On Wed, 25 Jun 2003, Kavitha Ramesh wrote: Hi Konstantin, My sitemap configuration is as follows: map:transformer name=i18n

ASP generator

2003-06-25 Thread Sylvain.Thevoz
Hello, Is there a way to read a dynamic HTML page generated by a Microsoft ASP application? Do I need the HTML generator or another asp generator? Thanks Sylvain - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

RE: ASP generator

2003-06-25 Thread Reinhard Pötz
From: [EMAIL PROTECTED] Hello, Is there a way to read a dynamic HTML page generated by a Microsoft ASP application? Do I need the HTML generator or another asp generator? No, the HTML generator should do it! Reinhard

Re: ASP generator

2003-06-25 Thread Upayavira
Just use either the HTML or the file (xml) generator, depending upon the output of the ASP page. I've done this, and it is pretty trivial. Regards, Upayavira On 25 Jun 2003 at 11:11, [EMAIL PROTECTED] wrote: Hello, Is there a way to read a dynamic HTML page generated by a Microsoft ASP

Re: A tranformer for sxw files

2003-06-25 Thread Denis Svishchev
24 2003 21:11 Vindevogel - van Loco (a): Take a look at the wiki ... I published a document there how you can do this ;.. Thank you! I'll try to use it. -- Best regards, Denis Svishchev ZAO Mobicom-Kavkaz - To

Esql error?!

2003-06-25 Thread Maxime.Gheysen
what is wrong with my page? It worked before, and since I change the version of cocoon (from 2.0 to 2.1) it doesn't work anymore (the page make a timeout) : ... } else { /xsp:logic form action=add-param-configdb_add method=post table thselect/th thcolumn name/th xsp:logic

Re: esql:query problem

2003-06-25 Thread Christian Haul
On 24.Jun.2003 -- 08:48 AM, Tim Bachta wrote: Here is what I am trying, I am getting an invalid parameter bindings error, do I need to register the out parameters? Yes -- unless your driver returns a result set. This is highly dependent on the jdbc driver :-( If you know how to do it in

Re: sendMail sample not working for Cocoon2.1M2...

2003-06-25 Thread Christian Haul
On 24.Jun.2003 -- 10:00 AM, Yan, Charlene wrote: Chris, Looks like that to field is not changed in the logs. I hope this email is going to go through. After the send, the same page comes up. Charlene, I have send a direct reply yesterday. In short, I cannot reproduce this with a clean cvs

Re: Chaining pipelines --- write a file to server --- email it as an attachment -- delete the file

2003-06-25 Thread Christian Haul
On 24.Jun.2003 -- 03:41 PM, Yan, Charlene wrote: When I click a Send Email button on the page, the application will create a rtf file on the server, and then sendMail will send email to an email address entered by the user with attachment of the rtf file and idealy the rtf file should be

Re: esql !!!HELP!!!

2003-06-25 Thread Christian Haul
On 24.Jun.2003 -- 12:35 PM, Tim Bachta wrote: Does cocoon compile an xsp into a Java class file? If so where does it put it. The reason why I am asking is that my procedures that I am having trouble with in cocoon work fine in a java class file. Please post relevant parts of that file. It

[SUMMARY] RE: Esql error?!

2003-06-25 Thread Maxime.Gheysen
I don't know why it worked like this before, but I remarked that the error is : while(mytester != null) { -wrong while(!mytester.equals()) { -right Because when SQL returns a NULL value in XSP this value is not NULL, but ! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

RE: Pls help! not working response.encodeURL(String.valueOf(xsl:copy-of select=$href/))

2003-06-25 Thread a000
Does anybody think wrapping some other tags around xsl:copy-of select=$curSel/ could solve the problem? I was experimenting with util:include-expr, util:expr and xsp:expr but no success. Are there similar ones which I don't know yet? I'd really appreciate some help. Regards, Harry I have

RE: Chaining pipelines --- write a file to server --- email it as an attachment -- delete the file

2003-06-25 Thread Yan, Charlene
Thanks, Chris. I am looking at the example. I think my problem is more complicated. When I click on Send Email button, I need to post an xml string to Cocoon pipeline to generate the rtf file. Then I can use the rtf as an attachment to the email. It would be easier if I had a pipeline that

Cocoon and Jbos3.0.6 configuration

2003-06-25 Thread Mitchell, Lincoln L.
I am trying to get cocoon (any version) working with Jbos-3.0.6 and have tried following the instruction you mentioned on the apache site but to no avail as only Jboss 2 is mentioned. I also browsed the cocoon mailing list and it seems others have had this problem but I don't understand the

Error message not displayed

2003-06-25 Thread Dmitry Diskin
Hello I have been struggling with blank page in my browser for a while, and the problem was in invalid xsl:call-template.. element - it was referring to non-existent template. No error message was displayed, except. I think that error.log is not enough for such type of error. Or I'm missing

problems with new coplets in my portal

2003-06-25 Thread Matthias Wessendorf
hello, just having a problem with the portal-framework of cocoon i wrote a new coplet added it to coplet-profile wrote a pipeline in the sitemap activated in global-profile but i did not get the information, only the error-message of the coplet_not_available-Tag anyone a idea? thx a lot

RE: esql:query problem

2003-06-25 Thread Tim Bachta
Here is my code in plain Java: import java.util.*; import java.sql.*; import javax.sql.*; import javax.naming.*; import java.text.*; import com.microsoft.jdbc.sqlserver.SQLServerDriver; public class Test { public static void main(String args[]) { boolean retVal = false;

RE: esql:query problem

2003-06-25 Thread Tim Bachta
Forgot to add that I am getting an invalid parameter bindings error from cocoon. Tim Bachta (913)693-0538 Office (913)486-5213 Mobile -Original Message- From: Tim Bachta Sent: Wednesday, June 25, 2003 9:53 AM To: [EMAIL PROTECTED] Subject: RE: esql:query problem Here is my code in

Re: Cocoon and Jbos3.0.6 configuration

2003-06-25 Thread Ryan Hoegg
Hi, I got Cocoon 2.1 pre-M1 working on JBoss 3.0.7 with nothing like this kind of complication. You have to get accustomed to the new Cocoon build process (since we don't have a binary distribution anymore) but once its built I simply put my cocoon app into the cocoon WAR and drop it in

Re: esql:query problem

2003-06-25 Thread Roger I Martin PhD
Guessing a little; should it be little case int instead of Int at esql:parameter direction=in type=Intxsp:exprnumber/xsp:expr/esql:parameter -Roger - Original Message - From: Tim Bachta [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, June 25, 2003 10:53 AM Subject: RE: esql:query

RE: esql:query problem

2003-06-25 Thread Tim Bachta
I thought the same but that did not work. The Int declares the types so if you look in the java code it is transformed into _esql_query.getCallableStatement().setInt(1,(number)); Tim Bachta (913)693-0538 Office (913)486-5213 Mobile -Original Message- From: Roger I Martin PhD

Re: esql:query problem

2003-06-25 Thread Christian Haul
On 25.Jun.2003 -- 09:53 AM, Tim Bachta wrote: Here is my code in plain Java: snip/ CallableStatement stmt = con.prepareCall({call rptLocationDeviations(?,?,?,?)}); stmt.setInt(1, 199); stmt.setString(2, Rm 130 B);

RE: esql:query problem

2003-06-25 Thread Tim Bachta
My code now looks like this w/out the user-results tag: esql:execute-query esql:call{call rptLocationDeviations(esql:parameter direction=in type=Intxsp:exprnumber/xsp:expr/esql:parameter, esql:parameter direction=in type=Stringxsp:exprroom/xsp:expr/esql:parameter, esql:parameter direction=in

RE: esql:query problem

2003-06-25 Thread Tim Bachta
Well I tried that and no error, the only problem is I get no results either. I was looking at the example that I am working from http://cocoon.apache.org/2.1/userdocs/xsp/esql.html#Stored+Procedure+Sup port And it uses the call-results tag as well as the use-results tag. I guess this may be bad

Re: esql:query problem

2003-06-25 Thread Christian Haul
On 25.Jun.2003 -- 10:48 AM, Tim Bachta wrote: Well I tried that and no error, the only problem is I get no results either. I was looking at the example that I am working from Maybe you need to add the needs-query attribute. Some drivers don't like it if a CallableStatement is just execute()'ed

Re: PDF attachment using Sendmail and 2.0.4

2003-06-25 Thread Christian Haul
On 25.Jun.2003 -- 04:12 PM, Tony Edwards wrote: Hi all, I checked out the sendmail item on wiki and tried to mail the results of a pipeline serialized as PDF. I followed the wiki instructions to the letter. The mail worked alright, but the PDF file was attached as uuencoded text (at least

RE: esql:query problem

2003-06-25 Thread Tim Bachta
Chris, That was it, thank you for the help. All of you that helped thank you. Tim Bachta -Original Message- From: Christian Haul [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 25, 2003 10:56 AM To: [EMAIL PROTECTED] Subject: Re: esql:query problem On 25.Jun.2003 -- 10:48 AM, Tim

Re: problems with new coplets in my portal

2003-06-25 Thread hgadm
Hi Matthias, please check whether your sitemap entry for that particular coplet is corresponding to the respective entry in \profiles\copletprofile.xml (compare every single character - I trapperd into a misspelling once). Otherwise please try flushing the cache. Regards, Holger On Wed, 25 Jun

wildcard matcher broken?

2003-06-25 Thread Sully
greetings I have just checked 2.1 out of cvs and built without any local.b*.properties files using ./build.sh webapp I am running ./cocoon.sh servlet for my quick testing. I'm trying to generate a list of thumbnails from a directory of images, the directory generator is working without any

Parameter in a hidden field in xsp

2003-06-25 Thread Yan, Charlene
Hi, I would like to have the value of a parameter Foo put in a hidden filed. The parameter is passed over from previous page. Obviously input type=hidden name=from value=xsp-request:get-parameter xmlns:xsp-request=http://apache.org/xsp/request/2.0; name=Foo// is not working. Can anyone

Re: Parameter in a hidden field in xsp

2003-06-25 Thread JD Daniels
Try: input type=hidden name=from xsp:attribute name=value xsp-request:get-parameter xmlns:xsp-request=http://apache.org/xsp/request/2.0; name=Foo/ /xsp:attribute/ JD - Original Message - From: Yan, Charlene [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday,

RE: Parameter in a hidden field in xsp

2003-06-25 Thread Yan, Charlene
Thank you very much! The syntax is like xsl. But it would take me longer to find out how if you had not helped me. Appreciate it! Charlene input type=hidden name=from xsp:attribute name=value xsp-request:get-parameter xmlns:xsp-request=http://apache.org/xsp/request/2.0;

Random ArrayIndexOutOfBoundsException

2003-06-25 Thread Gabriel Egolf
Hello all. I'm in the last stages of development on a rather large project, and for some time now have been plagued by a rather annoying problem. I'm not sure even how the problem began, but I'll try to give as much information as possible and hopefully one of you has run across it in the

Re: wildcard matcher broken?

2003-06-25 Thread Geoff Howard
You don't say explicitly what the file is really named. If it's 011.jpg, then you need to use src={1} which is the first sub expression. {0} is the whole matched expression, as you see in the specifics of the file not found. The matcher is working exactly as designed. Geoff Howard At

RE: Chaining pipelines --- write a file to server --- email it as an attachment -- delete the file

2003-06-25 Thread Yan, Charlene
Let me try to explain my problem again. http://wiki.cocoondev.org/Wiki.jsp?page=MailBodyViaPipeline is only part of what I'm trying to do. When Send Email button is clicked, an xml String named Foo is passed to pipeline processOrder and a rtf file is generated. Then pipeline send will send

xsp question

2003-06-25 Thread Tim Bachta
I am trying to use logic in an xsp page to get the output formatted correctly, here is what I want the output to look like taskanddate date2003-05-20/date tasks deviation0/deviation completed-bySomebodys, Name/completed-by deviation0/deviation completed-bySomebodys,

cocoon on Dynamo

2003-06-25 Thread Barback, Lisa R
I am trying to Install Cocoon on Dynamo 5.1.1. I have created am EAR file from the Cocoon WAR file. I have also created a DAR file from the EAR file. When I start the dynamo server, the DAR file appears to load correctly. -loadingApplication : Loading J2EE application from:

cocoon interface for HSQLDB

2003-06-25 Thread Bruno Pierre
Hi everybody, I'm looking for a cocoon interface (mounted subsitemap) for managing a HSQLDB like phpmyadmin for mysql. Has anyone heard about this? Do I have to do it by myself? if i have to, does someone have a good reference for the SQL of HSQLDB because everything i found is really not

RE: xsp question

2003-06-25 Thread Tim Bachta
I tried using more tags like you suggested and I get an error: The XML page cannot be displayed Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.

Re: Random ArrayIndexOutOfBoundsException

2003-06-25 Thread Joerg Heinicke
Hello Gabriel, you seem to have the infamous endorsed libs problem. Try the environment check mentioned at http://wiki.cocoondev.org/Wiki.jsp?page=NoMoreDtmIdError to be sure. Also a short overview about solutions is given. A more complete description of the problem can be found at

Re: cocoon on Dynamo

2003-06-25 Thread Joerg Heinicke
No, but I guess it's more an issue with Dynamo than with Cocoon. So it would be better to ask on a Dynamo forum, wouldn't it? I'm not a J2EE expert, but we use JBoss and AFAIK we simply deploy (uncompressed, no WAR) Cocoon as it is. Joerg Barback, Lisa R wrote: I am trying to Install Cocoon

Re: Error message not displayed

2003-06-25 Thread Joerg Heinicke
That's a logging issue, so should be configurable in logkit.xconf. If you want to see it in the browser, you should add an error handler to the pipe. You can find samples in the Cocoon samples I guess. Joerg Dmitry Diskin wrote: Hello I have been struggling with blank page in my browser for a

Re: Cocoon and Jbos3.0.6 configuration

2003-06-25 Thread Joerg Heinicke
Hello Lincoln, we deploy Cocoon 2.0.4 as it is (not as War, but uncompressed, setting a symlink named cocoon.war to our webapps/ROOT directory) in JBoss 3.0.6 + Tomcat 4.1.18. The symlink allows changes in Cocoon without redeploy. Joerg Mitchell, Lincoln L. wrote: I am trying to get cocoon

Re: XHTML+DTD problem

2003-06-25 Thread Joerg Heinicke
Hello Joel, yes, we had this issue already on the mailing lists, but IIRC no solution was provided. Is following simple solution an option for you? Add a map:transform src=copy.xsl/ to the pipeline. The copy.xsl looks like following: xsl:template match=/ xsl:copy-of select=// /xsl:template

RE: PDF attachment using Sendmail and 2.0.4

2003-06-25 Thread Tony Edwards
thanks Christian, I'll try and see if I can retro fit the new stuff otherwise I'll bite the bullet and get into 2.1! Its probably the incentive I need to move up! Tony -Original Message- From: Christian Haul [mailto:[EMAIL PROTECTED] Sent: Thursday, 26 June 2003 2:36 AM To: [EMAIL

RE: Random ArrayIndexOutOfBoundsException

2003-06-25 Thread Geoff Howard
Really? I don't recognize that error as the typical endorsed lib problem, and thought Jetty handled endorsed libs differently and so didn't suffer this problem. Gabriel, did this work? Geoff -Original Message- From: Joerg Heinicke [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 25,

xindice exception on startup

2003-06-25 Thread John Rundle
I am trying to use Xindice 1.0 with Cocoon 2.0.4, on tomcat 3.2.4. I = added the appropriate lines to sitemap.xmap and cocoon.xconf as = suggested in=20 http://www.cocooncenter.de/cc/documents/resources/xindice/index.html http://www.cocooncenter.de/cc/documents/resources/xindice/index.html

RE: xindice exception on startup

2003-06-25 Thread John Rundle
actually I was able to get this to work on Apache Tomcat 4.0, maybe its an out of data xml jar file? -Original Message- From: John Rundle Sent: Wed 6/25/2003 8:18 PM To: [EMAIL PROTECTED] Cc: Subject: xindice exception on startup

Re: Error message not displayed

2003-06-25 Thread Dmitry Diskin
Hi Joerg, Thanks for your answer. Would you mind to show me the example - I was unable to find it.. Dmitry. Joerg Heinicke wrote: That's a logging issue, so should be configurable in logkit.xconf. If you want to see it in the browser, you should add an error handler to the pipe. You can