Re: Problem with PDF generation

2004-08-31 Thread KOZLOV Roman
Check also logkit-*.jar file existence. Roman Reynald Borer wrote: > The file is there... > > I've tried something else: on another server I've got an old redhat 9 > with tomcat 4 and cocoon 2.1.4 running. PDF generation works well, so > I've tried to copy the webapps/cocoon directory from this

Re: String array in xsp

2004-08-31 Thread KOZLOV Roman
Sure, yes Adriano Smith wrote: > Is it possible to declare array of Strings in xsp? > > Like String []cmd ; > > > > [Image] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: HTML as input

2004-08-27 Thread KOZLOV Roman
Lincoln Mitchell wrote: > How do you get HTML as input using cocoon. An example would really help. > > Linc > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROT

Re: Access denied to .htc file

2004-08-27 Thread KOZLOV Roman
Did you try to get them by the similar way as for javascript files (with appropriate mime-type): Roman "B.J. Faught" wrote: > I've tried that, and all it does is allow me to download the file through > the browser. It doesn't make the behavior work for the DHTML. Sorry I > didn't say I

Re: Help me please how to WritingNonPipelineSitemapComponents (actions, matchers, selectors, readers)

2004-08-27 Thread KOZLOV Roman
Hi, Could you, please, specify a little bit more what do you mean by "WritingNonPipelineSitemapComponents" ? Did you read cocoon's documentation? Roman ANDI KUSNADI wrote: > Dear all, > > how to made simplest hello world from > > WritingNonPipelineSitemapComponents (actions, matchers, selectors,

Re: Jar files

2004-08-26 Thread KOZLOV Roman
There should be a mandatory result document's root tag (with any name): . ... Class methods and variables definitions ... ... The main code. There you can call your methods ... Roman Adriano Smith wrote: > The directory is cocoon/build/webapp/WEB-INF/lib > > However i get the

Re: Attaching files in cocoon

2004-08-26 Thread KOZLOV Roman
Hi, Look at http://wiki.apache.org/cocoon/FileUploadsWithCocoon2_2e1 See example there. I've used an action to upload files (FileUploadWithAction example). Roman ??? wrote: > Hi everyone. > > I have a number of xsl/xsp programs working under Cocoon 2.1. These > programs connects t

Re: Jar files

2004-08-25 Thread KOZLOV Roman
Hi, Jones A wrote: > I have a jar file \"test.jar\" which i have placed in the WEB-INF/ lib directory. > > The jar contains a class com/test/mail/send.class > > How can this class be used in xsp? > http://apache.org/xsp";> com.test.mail.send ... > Is it necessary to include the name of the j

Re: realpath module and subsitemaps

2004-08-25 Thread KOZLOV Roman
Hi Steve, It seems to be due to different web application's contexts. You can try to use {realpath:/}../a/templates/ - it should always to be the .../webapps/a/tempates Roman Steve Butcher wrote: > Ack. I sent the last one with the wrong email...I'm not sure if it will > go through or not. I ap

Re: fop2pdf through chained transformers

2004-08-25 Thread KOZLOV Roman
You have to create fo (formatted objects) xml input instead of html for fo2pdf serializer. Roman Matt Rich wrote: > Hello! > > I'm trying to export in pdf the result of an SQL request > that has been passed through a chain of transformers like this: > > > > > >

Re: Cocoon request decoding

2004-08-24 Thread KOZLOV Roman
Hi Timur, You can use SetCharacterEncodingAction. Roman Timur Izhbulatov wrote: > Hi all! > > I'm investigating the problem described in [1] and I have some questions. As > I can see in the browser's address line, any non-ASCII character is escaped > according to my current platform encoding (

Re: matching html elements in transformation

2004-08-23 Thread KOZLOV Roman
Be sure that your use the same letter's case in both html and xml. It's better to use template "a|A" instead of simple "a". Roman "Schultz, Gary - COMM" wrote: > We are transitioning from a html web site to xml files that include html > elements. We cannot get html elements to match in the xsl tr

Re: hrefs doesnt work on Unix

2004-08-17 Thread KOZLOV Roman
I'm using the xsl:include: Roman Narasingarao Kommireddi wrote: > I fixed that issue, thnx once again. But i am still searching answers to > my second question > > The following statements in my XSL are working fine on windows 2000 machine > i.e. href automatically appends the absolute pat

Re: Namespace problem on form binding

2004-08-17 Thread KOZLOV Roman
We had the same error message when upgraded xerces. Compare versions of it on these machines. Roman Derek Hohls wrote: > I have a strange error that is only happening on > *one* machine (the host site for the application). > > When I try to save to a new XML file after ediitng the > orginal via

Re: javascript in XSL

2004-08-16 Thread KOZLOV Roman
Hi, What is your pipeline for this? Check it. Siaw Ling Lo wrote: > hi, > > I am using cocoon2 and trying to build a tree that can > collapse and expand when click. > > I tried various methods in getting the javascript to > work with XSL to display an XML but it just can't work > - error: org.ap

Re: Problem with " Resolving a source "

2004-08-16 Thread KOZLOV Roman
Hi Vladimir, 1. Can you get your gif directly typing in the browser "http://localhost:/pics/z82.gif"; ? 2. The path "../pics/z82.gif" used in the "http://localhost:/html-xml/sp"; request refers to the "http://localhost:/pics/z82.gif"; and is not processed by the sitemap of the html-xm

Re: Problem with " Resolving a source "

2004-08-13 Thread KOZLOV Roman
Hi Vladimir, According to your sitemap "sp" and "pics/" are on the same level. Why do you refer to gif with "../" prefix? The path should be (according the sitemap) "http://localhost:/html-xml/pics/z82.gif"; so that reference is "pics/z82.gif" and not "../pics/z82.gif ". Vladimir Lisin wrote:

Re: Action Sets

2004-08-12 Thread KOZLOV Roman
Hi, try {../ID} in the subaction. Marco Friedrich wrote: > Hello! > > i have a little question about map:act section from sitemap.xmap. > > it is true that i can't use an map:act within another map:act? > here is my problem (see comments) > > > > // here i can use the us

ResourceExistsAction doesn't catch ResourceNotFoundException

2004-08-12 Thread KOZLOV Roman
Hello, Could someone help me, please.I tryed to upgrade the Cocoon I've been using (2.0.3) up to 2.1.5 and faced with the fact that ResourceExistsAction doesn't fails as it was before when resource doesn't exists - it now gives the following message in the response: W:\jakarta-tomcat-5.0.25\weba