How to get the upload-diretory inside an Action?

2002-07-26 Thread Fabricio Chalub
Hello, I can get the uplodaded_file inside an Action fine, but can I get the upload-diretory web.xml parameter? The upload.xsp file gives me an example, but apparently the Context object it uses is not the same Context one gets by using ObjectModelHelper.getContext(objectModel). Thanks,

XML Forms and i18n

2002-07-26 Thread michael_hampel
Hello, I was just trying to change the XMLFormTransformer to add an i18n:text tag, when the Transformer is dealing with violations. I tried the following in the startElementViolations method: 1.) I tried to add the tag like this: // render violation tag

RE: 2.0.2 - 2.0.3: ClassNotFoundException on startup

2002-07-26 Thread Mark S. Kent
0. Do you use the *same* JRE to compile and run Cocoon? Yes. 1. Check that user you use to launch tomcat can read jars: chmod 666 $TOMCAT_HOME/webapps/cocoon/WEB-INF/* Or even: chmod -R 666 $TOMCAT_HOME/webapps/cocoon All files/folders are owned by tomcat.dev. I left the permissions

remove namespaces from final html output ?

2002-07-26 Thread Barbara Post
Hello, my stylesheet header is the following, right before I use map:serialize type=html/ : ?xml version=1.0 encoding=UTF-8? xsl:stylesheet version=1.0 xmlns:xsl=http://www.w3.org/1999/XSL/Transform; xmlns:collection=http://apache.org/cocoon/xmldb/1.0; xmlns:javamydate=baepp.MyDate xsl:import

Re: remove namespaces from final html output ?

2002-07-26 Thread Joerg Heinicke
xsl:stylesheet version=1.0 xmlns:xsl=http://www.w3.org/1999/XSL/Transform; xmlns:collection=http://apache.org/cocoon/xmldb/1.0; xmlns:javamydate=baepp.MyDate exclude-result-prefixes=javamydate collection Regards, Joerg Barbara Post wrote: Hello, my stylesheet header is the

RE: How to switch to another resource if one resource is not available?

2002-07-26 Thread Piroumian Konstantin
From: [EMAIL PROTECTED] Hi, im a beginner with cocoon. Maybe it is an easy question, but i donĀ“t know where to start. I am just playing a bit round with the sitemap, generaters, serializers and so on. Now i wonder, how i can set up a matcher for JPG, that delivers a JPG if

RE: remove namespaces from final html output ?

2002-07-26 Thread Lindy Quick
Title: RE: remove namespaces from final html output ? Having a template that matches your html tag in your xsl that you use to serialize will eliminate the xmlns tags in the output -Original Message- From: Barbara Post [mailto:[EMAIL PROTECTED]] Sent: Friday, July 26, 2002 10:06 AM

Re: Antwort: Re: Antwort: RE: XML Forms and i18n

2002-07-26 Thread Ivelin Ivanov
The fact that nested tags in assert messages aren't copied is a known bug in the SchematronValidator. It uses jxptr.getValue() of the assert( or rule) element which in turn returns the text() value of the XML element. A text() value of an XML element does not include it's subelements. Dmitri had

RE: mutual exclusion on a page

2002-07-26 Thread Vadim Gritsenko
From: sylviat [mailto:[EMAIL PROTECTED]] Hello - I am writing a database application where I want to restrict update access to a particular table to one user at a time. What I want to do is implement some sort of 'lock' that would be, in java servlets terms, saved on the

RE: How to switch to another resource if one resource is not available?

2002-07-26 Thread Vadim Gritsenko
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Finally got it! The {1} vs. {../1} thing was a little tricky to find out. BTW: If both (jpg and svg) exist, though both actions should be taken, cocoon seems to prefer the svg. How is the conflict resoveld? Is any First encountered

RE: 2.0.2 - 2.0.3: ClassNotFoundException on startup

2002-07-26 Thread Vadim Gritsenko
From: Mark S. Kent [mailto:[EMAIL PROTECTED]] 0. Do you use the *same* JRE to compile and run Cocoon? Yes. 1. Check that user you use to launch tomcat can read jars: chmod 666 $TOMCAT_HOME/webapps/cocoon/WEB-INF/* Or even: chmod -R 666 $TOMCAT_HOME/webapps/cocoon All