Re: i18n

2003-06-24 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 18

PDF attachment using Sendmail and 2.0.4

2003-06-24 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 that'

Re: [Error] Sendmail Logicsheet and Cinclude

2003-06-24 Thread Bill Humphries
On Friday, June 20, 2003, at 04:52 AM, Christian Haul wrote: I'd appreciate some assistance with this. Once I've found my way around this problem, I'll write up a how-to for the cocoondev.org wiki. Deal! Those notes are now at http://wiki.cocoondev.org/Wiki.jsp?page=MailBodyViaPipeline Amplica

Re: [Error] Sendmail Logicsheet and Cinclude

2003-06-24 Thread Bill Humphries
On Friday, June 20, 2003, at 04:52 AM, Christian Haul wrote: [EMAIL PROTECTED] wrote: I've been stumbling the past couple of days through the sendmail logicsheet and sendmail actions in 2.1-M1. Here's what I'm trying to do: Include generated content (i.e. content produced by a pipeline) into the

XHTML+DTD problem

2003-06-24 Thread Joel Ekstrand
I have problems reading xhtml-files. The problem occours when I have a DTD specified. I tried this just to see what is going on:       I then request test.xml and I have a file like this in documents/test.html:   http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">http://www.w3.or

Re: java docs?

2003-06-24 Thread Roger I Martin PhD
C:\apache\cocoon-2.1\build\cocoon-2.1m3-dev\javadocs locally; http://cocoon.apache.org/2.1/apidocs/index.html remotely. Can get there from http://cocoon.apache.org/2.1/developing/index.html -Roger - Original Message - From: "Tim Bachta" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tue

java docs?

2003-06-24 Thread Tim Bachta
Where are the cocoon javadocs located? Thanks Tim - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: esql !!!HELP!!!

2003-06-24 Thread Tim Bachta
Thanks, I have gotten past that problem, and on to the next. I was able to view the actual java code that cocoon compiled my page into and figured out a few errors on my end now I am stuck again. I am getting an error of Invalid parameter binding(s). My code now looks like this: {call rptLocat

Re: esql !!!HELP!!!

2003-06-24 Thread Roger I Martin PhD
Hi, Every one that your driver supports. The error message your getting appears to be from the SQLServer 2000 Driver for JDBC showing java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Syntax error at token t, line 0 offset 7. talking about a syntax error it exceptions on. Do sim

Re: Dynamically generated forms with dynamically generated verification

2003-06-24 Thread Jens Maukisch
Hi > I have to generate dynamically a form out of the structure Information of > some XML-data (it's SCORM for learning metadata). Is there a way to verify > dynamically the data entries when submitting the form? maybe you should have a look at woody http://wiki.cocoondev.org/Wiki.jsp?page=Woody

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

2003-06-24 Thread Yan, Charlene
Chris, I'm able to run the example now. Please follow my other thread "Chaining pipelines --- write a file to server --- email it as an attachment -- delete the file" Thanks. Charlene > > > > > It did not give me much useful info (see below). Actually, the crucial part wo

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

2003-06-24 Thread Yan, Charlene
All, Please let me know if this is possible with Cocoon to accomplish the following: 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

Re: clob import: best practice?

2003-06-24 Thread Arthur Allen
I tried the latest sqltransformer & it did the right thing !!! Now if only someone could fix the session generator in the same way ;), as it seems quite happy to drop xml as cdata into the xml event stream. Thanks! Arthur Allen Ditto using the sql transformer. Drats! I actually was looking at t

Invalid Parameter Bindings

2003-06-24 Thread Tim Bachta
Can someone give me a general idea of what Invalid parameter bindings is and what may be causing it in an esql:call? Thank you Tim Bachta - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EM

Re: Reference of transforms in sub-sitemap

2003-06-24 Thread Jeff Sexton
On Tue, 24 Jun 2003, Andreas Hartmann wrote: > But I would rather suggest to use a common location-independent > cocoon:// call: > > > > The common stylesheets would be served by your main sitemap > (or a special sub-sitemap). This enables you to change the > stylesheet location without affecting

Re: Reference of transforms in sub-sitemap

2003-06-24 Thread Andreas Hartmann
Jeff Sexton wrote: Can I reference a a stylesheet that is off in a different subsite instead? Something like: Yes, this is possible. But I would rather suggest to use a common location-independent cocoon:// call: The common stylesheets would be served by your main sitemap (or a special sub-s

RE: esql !!!HELP!!!

2003-06-24 Thread Tim Bachta
Does anyone know what the different types of parameters there are for esql:parameter. I know String and Int. Tim Bachta (913)693-0538 Office (913)486-5213 Mobile -Original Message- From: Tim Bachta Sent: Tuesday, June 24, 2003 12:56 PM To: [EMAIL PROTECTED] Subject: RE: esql !!!HELP

RE: esql !!!HELP!!!

2003-06-24 Thread Tim Bachta
Geoff, Thanks for the help that was really helpful. Now I was able to get a step further in my quest. I am running the following code: {? = rptLocationDeviations(number,room,beginTime,endTime)} (ResultSet) and I am now getting this error message: org.apache.cocoon.ProcessingExc

RE: esql !!!HELP!!!

2003-06-24 Thread Geoff Howard
Yes. The .java file is in your servlet container's work directory under cocoon-files. There will be an org/apache/cocoon... structure the path and name will mimic your xsp file's name and location after a certain point. If you're using tomcat, the work dir is under %tomcat_home%\work in jetty

Reference of transforms in sub-sitemap

2003-06-24 Thread Jeff Sexton
In a subsite map, I'd like to use an xsl in a transform clause that is off under a different part of my project. Transform entries in subsite maps use relative paths, so I have all mine reading something like this: So 'stylesheets' is a directory under the applications directory, as defined i

RE: esql !!!HELP!!!

2003-06-24 Thread Tim Bachta
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. Tim Bachta -Original Message- From: Tim Bachta Sent: Tuesday, June 24, 2003 12:21

Dynamically generated forms with dynamically generatedverification

2003-06-24 Thread Mathias Wiegard
Hi, I have to generate dynamically a form out of the structure Information of some XML-data (it's SCORM for learning metadata). Is there a way to verify dynamically the data entries when submitting the form? If yes, how does it function or where can I get further informations? Best regards, Matze

RE: esql !!!HELP!!!

2003-06-24 Thread Tim Bachta
I wish I could make the stored procedure easier, but unfortunately this is the procedure that I have been given. Tim Bachta -Original Message- From: Scherler, Thorsten [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 24, 2003 12:07 PM To: [EMAIL PROTECTED] Subject: RE: esql !!!HELP!!! He

living without the document() function?

2003-06-24 Thread Dominic Chambers
I have been having problems with caching and the XSLT document function, and have read that the document function is a 'bad thing'(tm) anyway. Generally I have been using XInclude for this purpose, but I also allow my pages to refer to a site template that they should be rendered within, and I use

RE: A tranformer for sxw files

2003-06-24 Thread Vindevogel - van Loco
Take a look at the wiki ... I published a document there how you can do this ;.. -Original Message- From: Denis Svishchev [mailto:[EMAIL PROTECTED] Sent: dinsdag 24 juni 2003 8:51 To: [EMAIL PROTECTED] Subject: A tranformer for sxw files Hi! Is there a transformer for StarOffice

RE: esql !!!HELP!!!

2003-06-24 Thread Scherler, Thorsten
Hello Tim, your code is quite complex. I had heaps of problem with similar code. Can you break it down to 1 or 2 parameter? Your error: Line 702, column 45: ')' expected Line 707, column 65: ';' expected Line 710, column 6: illegal start of expression Line 702, column -1: inconvertible types S

esql !!!HELP!!!

2003-06-24 Thread Tim Bachta
Ok, I am using the syntax exactly like that of the example at http://cocoon.apache.org/2.1/userdocs/xsp/esql.html#Stored+Procedure+Sup port and I am getting errors. I am really confused on why I am getting these error

RE: Stored Procedure Help

2003-06-24 Thread Tim Bachta
It's a different error this time. Error getting ascii data for column ActionName Thanks for the help Tim Bachta -Original Message- From: Frank Taffelt [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 24, 2003 11:17 AM To: [EMAIL PROTECTED] Subject: Re: Stored Procedure Help try the fo

RE: ESQL help

2003-06-24 Thread Scherler, Thorsten
Hello Tim, first hint: http://wiki.cocoondev.org/Search.jsp?query=esql I think what you are looking for: http://wiki.cocoondev.org/Wiki.jsp?page=DatabaseConnectionOverview Hope that helps -Original Message- From: Tim Bachta [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 24, 2003 6:08 P

Re: Stored Procedure Help

2003-06-24 Thread Frank Taffelt
try the following: {call rptLocationDeviations(number,room,beginTime,endTime)} - To unsubscribe, e-mail: [EMAIL PROTECTED] For additi

cocoon protocol issue

2003-06-24 Thread Frank Taffelt
Hi, in my application i'm using the paginator transformer. This transformer gets its pagesheet rules from an external file. In my case the paginator pagesheet is addressed over the cocoon protocol: where the pagesheet is created based on data from the database: The Pagesheet

ESQL help

2003-06-24 Thread Tim Bachta
Does anyone know of a good place to get help with esql issues? I am having a very difficult time finding any information regarding how to correctly call a MS SQL stored procedure. I have looked at the official cocoon documentation and have the Cocoon developers handbook, neither have much useful

Stored Procedure Help

2003-06-24 Thread Tim Bachta
I am using MS SQL 2000 as a database. I am trying to run a stored procedure using the following code: {? = call rptLocationDeviations(number,room,beginTime,endTime)} I am ge

Re: Problem installing cocoon 2.0.4 on Tomcat 4.1.18

2003-06-24 Thread Gururaja H
Thanks for the information.   Upayavira <[EMAIL PROTECTED]> wrote: > What may be the cause of following ??> Opening database: C:\Program Files\Apache Group\Tomcat> 4.1\webapps\cocoon\WEB-INF\db\cocoondb HSQLDB server 1.7.1 is running> Use SHUTDOWN to close normally. Use [Ctrl]+[C] to abort abruptly

Re: Problem installing cocoon 2.0.4 on Tomcat 4.1.18

2003-06-24 Thread Upayavira
> What may be the cause of following ?? > Opening database: C:\Program Files\Apache Group\Tomcat > 4.1\webapps\cocoon\WEB-INF\db\cocoondb HSQLDB server 1.7.1 is running > Use SHUTDOWN to close normally. Use [Ctrl]+[C] to abort abruptly That is the HSQL database starting up that is integrated into

i18n

2003-06-24 Thread Kavitha Ramesh
Hi,   I read the following in a documentation:   untranslated-text: text used for untranslated keys (default is to output the key name).   But when I dont have translations in my messages.xml, i get something like "untranslated-text".Actually it should display the key name.I use IBM Websphere 4.0 w

Suggestion for a Cocoon newbie

2003-06-24 Thread Alberto Zanon
Hello! I'm a Java developer and I'm looking for a solid system to construct my sites. I have already realized an e-commerce site, but without rules. My jsp pages contain both logic and presentation layer. Only the data layer is encapsulated into java classes called from jsp. Now I have to construc

Re: Problem installing cocoon 2.0.4 on Tomcat 4.1.18

2003-06-24 Thread Gururaja H
Hi,   I get the following log when tomcat is started: C:\Program Files\Apache Group\Tomcat 4.1\bin>startupUsing CATALINA_BASE:   C:\Program Files\Apache Group\Tomcat 4.1Using CATALINA_HOME:   C:\Program Files\Apache Group\Tomcat 4.1Using CATALINA_TMPDIR: C:\Program Files\Apache Group\Tomcat 4.1\t

Re: Problem installing cocoon 2.0.4 on Tomcat 4.1.18

2003-06-24 Thread Gururaja H
Hi,   I get the following log when tomcat is started: C:\Program Files\Apache Group\Tomcat 4.1\bin>startupUsing CATALINA_BASE:   C:\Program Files\Apache Group\Tomcat 4.1Using CATALINA_HOME:   C:\Program Files\Apache Group\Tomcat 4.1Using CATALINA_TMPDIR: C:\Program Files\Apache Group\Tomcat 4.1\tem

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

2003-06-24 Thread Yan, Charlene
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. Thanks. Charlene : Current Sitemap Parameters: LEVEL 1 PARAM: '1' VALUE: 'new.html' PARAM: '0' VALUE: 'new.html' DEBUG (2003-06-24) 09:40.21:261

Re: Problem installing cocoon 2.0.4 on Tomcat 4.1.18

2003-06-24 Thread Geoff Howard
At 09:39 AM 6/24/2003, you wrote: I am able to access localhost:8080/cocoon/ from my browser. Does that mean my install is working correctly ? Yes. What made you think you had a problem to begin with? Geoff - To unsubscribe, e

Re: Problem installing cocoon 2.0.4 on Tomcat 4.1.18

2003-06-24 Thread Austin Tashis
On Tuesday, June 24, 2003, at 09:39 AM, Gururaja H wrote:  I am able to access localhost:8080/cocoon/ from my browser.   Does that mean my install is working correctly ? It's certainly a good indication, but I wouldn't say it was working correctly without testing everything. Go through the examp

RE: esql:query problem

2003-06-24 Thread Tim Bachta
Here is what I am trying, I am getting an invalid parameter bindings error, do I need to register the out parameters? {? = call rptLocationDeviations(number, room, beginTime , endTime)}

Re: Problem installing cocoon 2.0.4 on Tomcat 4.1.18

2003-06-24 Thread Gururaja H
  I am able to access localhost:8080/cocoon/ from my browser.   Does that mean my install is working correctly ? David Crossley <[EMAIL PROTECTED]> wrote: Gururaja H wrote:>> I am having problem installing cocoon 2.0.4 on Tomcat 4.1.18> on Windows 2000(on Sun J2SDK 1.3.1_08. I have down loaded the>

Re: clob import: best practice?

2003-06-24 Thread Morten Ludvigsen
> > Ditto using the sql transformer. Drats! > I actually was looking at the same problem a couple of days ago. It turns out that the SQL transformer has code that should detect XML automatically. However there has been an error that meant that the XML parser never got instatiated, and that XML

Re: A tranformer for sxw files

2003-06-24 Thread Upayavira
Check out: http://wiki.cocoondev.org/Wiki.jsp?page=OpenOfficeGeneration On 24 Jun 2003 at 10:50, Denis Svishchev wrote: > Hi! > > Is there a transformer for StarOffice sxw files? > I want to use a StarOffice document in sxw format as a source and show > its content as html or pdf. > > Thanks

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

2003-06-24 Thread Christian Haul
On 23.Jun.2003 -- 05:28 PM, Yan, Charlene wrote: > > I'm using Cocoon2.1M2. I tried to run sample at > http://localhost:8080/cocoon/samples/mail/sendmail/new.html. It > failed. I didn't get any emails sent. The mailing archive indicated > to me that mail.jar and activation.jar should be in > $

Re: clob import: best practice?

2003-06-24 Thread Christian Haul
On 24.Jun.2003 -- 12:16 AM, Arthur Allen wrote: > With some help from my friends I've been able to read largish XML clobs > into a session attributes using modular data base actions. Great! > Unfortunately my hope of doing any actual xml processing on these suckers > using the session attribute g

Re: How to get a parameter from web.xml

2003-06-24 Thread Lionel Crine
you can try : Context context = ObjectModelHelper.getContext(objectModel); String my_variable = context.getInitParameter("my-variable"); Lionel At 18:34 20/06/2003 +0200, you wrote: There are some cocoon parameters set in web.xml, e.g. upload-directory. How can I manage to get the values of my ow