Re: create new Violation: xmlForm

2003-06-02 Thread Andrew Timberlake
Hill Firstly, the error is in the line List list = null; You need to initialise the list to something. You are calling list.add(... in the following line. I use the following method: private List AddViolation(String path, String message) { Violation violation = new Violation();

Re: IE not displaying static PDF files properly?

2003-02-13 Thread Andrew Timberlake
Derek I believe the mime type is incorrect and should be application/pdf instead of text/pdf Andrew On Thu, 2003-02-13 at 15:48, Derek Hohls wrote: I am not sure what the source of this error is, but instead of static PDF files served by Cocoon being processed and displayed by the Adobe

Re: AW: AW: AW: AW: AW: xsp-element equivalent to xsl:param?

2003-02-02 Thread Andrew Timberlake
Thorsten On Sun, 2003-02-02 at 05:27, Thorsten Scherler wrote: Hello Andrew, how is weather in SA? Here in Germany it is snowing! Here it is hotter than I have experienced for many years. What problem are you still experiencing? The code you included produced the following results when run

Re: xsp-element equivalent to xsl:param?

2003-01-31 Thread Andrew Timberlake
- 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] For additional commands, e-mail: [EMAIL PROTECTED] -- Andrew

Re: Get session variables for a generator

2003-01-31 Thread Andrew Timberlake
: [EMAIL PROTECTED] -- Andrew Timberlake [EMAIL PROTECTED] - 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

Re: AW: xsp-element equivalent to xsl:param?

2003-01-31 Thread Andrew Timberlake
in the xsp page. -- Andrew Timberlake [EMAIL PROTECTED] - 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

Re: AW: xsp-element equivalent to xsl:param?

2003-01-31 Thread Andrew Timberlake
On Fri, 2003-01-31 at 16:09, Scherler, Thorsten wrote: Hello Jan, I couldn't find the error. But I attached it. I was reading your previous post in which you posted your xsp source. Instead of this: esql:execute-query esql:query select * from info_bericht where country

Re: AW: AW: xsp-element equivalent to xsl:param?

2003-01-31 Thread Andrew Timberlake
, dataset, xspAttr ); xspAttr.clear(); this.characters(\n ); try{ String timeOfDay = (new SimpleDateFormat(MM/dd/)).format(request.getParameter(date)); }catch(Exception e){} this.characters(\n\t\t); ... -Ursprüngliche Nachricht- Von: Andrew Timberlake

Re: AW: AW: AW: xsp-element equivalent to xsl:param?

2003-01-31 Thread Andrew Timberlake
not getting any results because is always timeOfDay = . I will look into using esql:parameter tags. Thanks for your patience. -Ursprüngliche Nachricht- Von: Andrew Timberlake [mailto:[EMAIL PROTECTED]] Gesendet: Freitag, 31. Januar 2003 16:07 An: [EMAIL PROTECTED] Betreff: Re: AW

Re: AW: AW: AW: AW: xsp-element equivalent to xsl:param?

2003-01-31 Thread Andrew Timberlake
thrown, then you are going to have to change the request parameter value into a valid java.util.Date object. my question: How? - I am so stupid when it comes to Java (or maybe in general ;-)) -Ursprüngliche Nachricht- Von: Andrew Timberlake [mailto:[EMAIL PROTECTED]] Gesendet: Freitag

Re: AW: AW: AW: AW: AW: xsp-element equivalent to xsl:param?

2003-01-31 Thread Andrew Timberlake
until we fully understand each other. -- Andrew Timberlake [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

Re: AW: AW: AW: AW: AW: AW: xsp-element equivalent to xsl:param?

2003-01-31 Thread Andrew Timberlake
xsp:exprmyDate /xsp:expr /test /dataset /xsp:page -- Andrew Timberlake [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq

Re: Accessing session variables in the sitemap.xmap

2003-01-30 Thread Andrew Timberlake
a sitemap parameter named selected_stylesheet. There is a little written about input modules on the cocoon wiki. Thanks in advance Heiko. -- Andrew Timberlake [EMAIL PROTECTED] - Please check that your question

Re: Accessing session variables in the sitemap.xmap

2003-01-30 Thread Andrew Timberlake
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] For additional commands, e-mail: [EMAIL PROTECTED] -- Andrew Timberlake [EMAIL PROTECTED

Re: Accessing session variables in the sitemap.xmap

2003-01-30 Thread Andrew Timberlake
in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Andrew Timberlake [EMAIL PROTECTED] - Please check

Getting CVS version to run on Tomcat 4.1.12

2002-12-12 Thread Andrew Timberlake
I have checked that latest sources out of CVS Copied the Xerces etc jars into $JAVA_HOME/jre/lib/endorsed/ run ./build.sh -Dinclude.webapp.libs=yes clean webapp I have then copied the cocoon.war into webapps and restarted tomcat I now get the error below. I am using RedHat 8.0, Sun's JVM

RE: Getting CVS version to run on Tomcat 4.1.12

2002-12-12 Thread Andrew Timberlake
the jars aren't there, or when there is a version mismatch between the jars in endorsed and the ones in WEB-INF/lib. HTH, Geoff Howard -Original Message- From: Andrew Timberlake [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 12, 2002 7:34 AM To: [EMAIL PROTECTED] Subject

Re: Reports PDF

2002-10-24 Thread Andrew Timberlake
Look into using the ESQL logicsheet and xsp: http://xml.apache.org/cocoon/userdocs/xsp/esql.html Follow the links on the left for more information on XSP. XSP is similar to JSP but helps to create the XML in SAX events in a rapid development script language. Andrew On Thu, 2002-10-24 at 17:47,

Re: fop

2002-08-02 Thread Andrew Timberlake
The only way I could get images to work through cocoon was to provide an absolute file system path to the image using the file:// protocol. I used a sitemap parameter to pass the path into my stylesheet so that it was still configurable on different machines. Andrew On Fri, 2002-08-02 at 12:01,

Run once code?

2002-06-05 Thread Andrew Timberlake
Is there a place in cocoon to invoke run-once code such as a singleton class which handles initialization? TIA Andrew - Please check that your question has not already been answered in the FAQ before posting.

RE: Run once code?

2002-06-05 Thread Andrew Timberlake
-05 at 18:00, Vadim Gritsenko wrote: From: Andrew Timberlake [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 05, 2002 10:40 AM To: [EMAIL PROTECTED] Subject: Run once code? Is there a place in cocoon to invoke run-once code such as a singleton class which handles initialization? You

RE: Run once code?

2002-06-05 Thread Andrew Timberlake
Timberlake wrote: Vadim Configurable didn't help. I added ThreadSafe and then it worked. I'm new to Avalon. Does this allow it to be created globally instead of as it is needed maybe? Andrew On Wed, 2002-06-05 at 21:50, Vadim Gritsenko wrote: From: Andrew Timberlake [mailto:[EMAIL

Re: multipart/forms binary upload in mysql

2002-06-05 Thread Andrew Timberlake
Gerhard I think that your problem is not mysql but the use of the DatabaseAddAction. Looking through the source for the DatabaseAddAction indicates no awareness of Uploaded Files. The error you are receiving below shows that cocoon is correctly retrieving your file and placing it in a

Re: cocoon web log system

2002-06-04 Thread Andrew Timberlake
Conny What do you mean by work? XML pages are markup (storage) they don't work, they are used during work. Give us some more information as to the problem you're trying to solve and we can try to help. Andrew On Tue, 2002-06-04 at 09:24, Conny Pemfors wrote: does anybody know how to make xml

Re: How to upload a file???

2002-06-04 Thread Andrew Timberlake
Anurag In Cocoon's default state it should already handle the uploads transparently for you. Cocoon has two RequestWrappers which handle all uploads and save the files to a location which by default is (Assuming Tomcat) tomcat dir/Work/Standalone/localhost/cocoon/cocoon-files/upload-dir You can

Re: How to upload a file???

2002-06-04 Thread Andrew Timberlake
commands, e-mail: [EMAIL PROTECTED] -- Andrew Timberlake Digital Design Development http://www.ddd.co.za mailto:[EMAIL PROTECTED] 011 705 1737 082 415 8283 If debugging is the process of removing bugs, then programming must be the process of putting them

Re: cocoon web log system

2002-06-04 Thread Andrew Timberlake
] For additional commands, e-mail: [EMAIL PROTECTED] -- Andrew Timberlake Digital Design Development http://www.ddd.co.za mailto:[EMAIL PROTECTED] 011 705 1737 082 415 8283 If debugging is the process of removing bugs, then programming must be the process of putting them

Re: I am new to Cocoon?Anyone can help me?

2002-05-23 Thread Andrew Timberlake
Read http://xml.apache.org/cocoon/faq.html#faq-24 I use Xvfb on our server and it works well! Andrew On Thu, 2002-05-23 at 23:33, myzdf wrote: I am new to Concoon, when i follow the instanll document to install cocoon with resin 1.3.b1,i catch this exception: ERROR (2002-05-22)

[OT] Services?

2002-05-21 Thread Andrew Timberlake
in some way. I'm looking for suggestions and experiences etc. Thanks -- Andrew Timberlake Digital Design Development http://www.ddd.co.za mailto:[EMAIL PROTECTED] 011 705 1737 082 415 8283 If debugging is the process of removing bugs, then programming must be the process of putting them

MS Excel

2002-05-15 Thread Andrew Timberlake
Excel 2000? Anyone got some ideas on what I may be doing wrong thanks. PS. Cocoon 2.0.2a -- Andrew Timberlake Digital Design Development http://www.ddd.co.za mailto:[EMAIL PROTECTED] 011 705 1737 082 415 8283 If debugging is the process of removing bugs, then programming must be the process

Re: MS Excel

2002-05-15 Thread Andrew Timberlake
for everything and looking in WEB-INF/logs/* for details? -Andy Andrew Timberlake wrote: I understand that the XSL Serializer is now Cocoon's domain instead of POI. I know that using Gnumeric to create initial xml for use through the serializer should work. I am using Gnumeric 1.0.4

Re: MS Excel

2002-05-15 Thread Andrew Timberlake
Andrew Timberlake wrote: I understand that the XSL Serializer is now Cocoon's domain instead of POI. I know that using Gnumeric to create initial xml for use through the serializer should work. I am using Gnumeric 1.0.4 on Redhat 7.3 to generate a basic spreadsheet and then trying to serialize

Re: MS Excel

2002-05-15 Thread Andrew Timberlake
an XSL transformation, what information can be left out of the gmr namespace and what cannot. Can I just include cell information or do I need the style and print information as well? Thanks for any help Andrew On Wed, 2002-05-15 at 21:20, Andrew Timberlake wrote: Andy I thought I'd add

NEWBIE: Logging?

2002-05-10 Thread Andrew Timberlake
Please could someone help me with this, seemingly, obvious question. I am writing an action for cocoon 2 which extends AbstractLogger indirectly through extending other cocoon classes. I am then calling getLogger.debug(debug text here); No debug info is appearing in any of the log files within

Re: dispatch to new window in web browser possible?

2002-05-03 Thread Andrew Timberlake
. - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Andrew Timberlake Digital