RE: New name of the input-module name=URI/...

2002-10-31 Thread Piroumian Konstantin
From: Antonio Gallardo Rivera Thanks Chris. Can I remove it? Yes! Simply use: {request:requestURI} instead or any other property from the Cocoon Request object. Take a look at the input modules sample for almost the complete list of possible values. It's in Cocoon 2.1-dev at:

RE: Cocoon and EJB

2002-10-25 Thread Piroumian Konstantin
I have a logicsheet for EJB somewhere, but was developed for Cocoon 1. If anybody is interested then I can try to find it and send. -- Konstantin Piroumian -Original Message- From: Martin Schimak [mailto:cocoon-users;schimak.at] Sent: Friday, October 25, 2002 6:46 PM To: [EMAIL

RE: Cocoon and EJB

2002-10-25 Thread Piroumian Konstantin
] Sent: Friday, October 25, 2002 6:54 PM To: [EMAIL PROTECTED] Subject: Re: Cocoon and EJB Piroumian Konstantin wrote: I have a logicsheet for EJB somewhere, but was developed for Cocoon 1. If anybody is interested then I can try to find it and send. If it's not too complicated, yes

RE: Cocoon and EJB

2002-10-25 Thread Piroumian Konstantin
From: Gustavo Nalle Fernandes [mailto:gustavonf;terra.com.br] In J2EE world, cocoon would play the role of the presentation tier, same as struts. In some cases, cocoon would bypass EJBs, to provide read-only data-retrieval (faster than instantiate thousands of bean in memory). What

RE: JSPEngineImplWLS

2002-10-24 Thread Piroumian Konstantin
The source of the class is definitely there: \xml-cocoon\2.0.3\src\java\org\apache\cocoon\components\jsp\JSPEngineImplWLS .java But it will be compiled only if WebLogic servlet classes are present. Particularly, build looks for a weblogic.servlet.internal.ServletContextImpl class in the

RE: Emitting SAX events

2002-10-18 Thread Piroumian Konstantin
From: simo kauranen [mailto:slkauranen;yahoo.com] I have a transformer which writes the incoming document to disk. Does anyone happen to know how I could forward the SAX events after writing down the pipeline? AbstractSAXTransformer has some send methods but how to use them? Now my code

RE: Emitting SAX events

2002-10-18 Thread Piroumian Konstantin
xml file. Can't help more, sorry. You should check your own code for errors or missing super.*** calls. -- Konstantin S.K. --- Piroumian Konstantin [EMAIL PROTECTED] wrote: From: simo kauranen [mailto:slkauranen;yahoo.com] I have a transformer which writes the incoming

RE: Date Input Module

2002-10-18 Thread Piroumian Konstantin
Christian, From: Christian Haul [mailto:haul;dvs1.informatik.tu-darmstadt.de] On 18.Oct.2002 -- 12:21 PM, Martin Schimak wrote: Hello! Does anybody know how to tell the Date Input Module to deliver a certain date format? see java.text.SimpleDateFormat and pass it via the

RE: Date Input Module

2002-10-18 Thread Piroumian Konstantin
From: Christian Haul [mailto:haul;dvs1.informatik.tu-darmstadt.de] On 18.Oct.2002 -- 03:41 PM, Piroumian Konstantin wrote: Christian, ... What if we could do this in the sitemap: map:parameter name=date value={date:date?format=dd/MM/yy} /? It would be possible (easily

RE: Cocoon and hsqldb

2002-10-14 Thread Piroumian Konstantin
It is started automatically when Cocoon is loaded. Usually, you can see a message like: Server started. Press Ctrl+C to shutdown in console window - it is the HSQLDB message. If don't get a similar message then check logs to see what's wrong. -- Konstantin Piroumian -Original

RE: Cocoon and hsqldb

2002-10-14 Thread Piroumian Konstantin
. KP Sylvain -Message d'origine- De: Piroumian Konstantin [mailto:[EMAIL PROTECTED]] Date: lundi, 14. octobre 2002 10:50 á: '[EMAIL PROTECTED]' Objet: RE: Cocoon and hsqldb It is started automatically when Cocoon is loaded. Usually, you can see a message like: Server

RE: i18n:when

2002-10-13 Thread Piroumian Konstantin
From: Alex Romayev [mailto:[EMAIL PROTECTED]] Hello, Just wanted to follow through on the discussion from a couple of month back. There was a proposal that Konstantin was going to work on to implement i18:when tag as an alternative to using message files, so that you could have in

RE: Writing a custom transformer

2002-10-10 Thread Piroumian Konstantin
From: simo kauranen [mailto:[EMAIL PROTECTED]] Hi, Maybe I'm a little dumb but I can't figure out from the source codes how I should write my own transformer. Several questions remain: Which functions should a transformer implement? Transformer is an implementation of a SAX

RE: local site setup

2002-10-09 Thread Piroumian Konstantin
From: Kim Jelmoni [mailto:[EMAIL PROTECTED]] Hi, try the target clean-webapp on build, you will get a clean cocoon without samples. The other possibility is that you work in webapps/cocoon directory. You can try to work in a subdirectory that you mount in the main sitemap so

RE: [Ann] Amazon Functionality Syndication demo

2002-10-09 Thread Piroumian Konstantin
Great showcase! Minor issues (e.g. http://www.cocoonhive.org/portal/page-amazon-bookInfo?AsinSearch=047120708X ): - the page is wider than it is supposed to be, isn't it? - seems that you don't process the inline P, HR and BR elements and they come out as text. I feel that I've

RE: Writing a custom Transformer?

2002-10-09 Thread Piroumian Konstantin
From: simo kauranen [mailto:[EMAIL PROTECTED]] Hi, Does anyone happen to know where I could find a simple and thorough example of writing a custom transformer. I've searched all over the net but haven't found anything detailed enough. Take a look at the Cocoon transformers' source:

RE: Changing request Parameters in an Action.

2002-10-07 Thread Piroumian Konstantin
Exactly like that. You can't change request parameters, you should use request attributes instead. In theory, if you need different request parameters then you should create a new request and set all the parameters you need. But I don't think that you'll need this approach for your task.

RE: how to use Input Modules ?

2002-10-07 Thread Piroumian Konstantin
First of all I should warn you to be careful with InputModules until some oficial release, cause they are actively discussed right now at the dev list and they can be changed (names, behavior, interfaces). You have been warned. To use the DefaultsMetaModule you should tweak your cocoon.xconf

RE: i18n with sub sitemaps

2002-10-07 Thread Piroumian Konstantin
From: Majcen, Kurt [mailto:[EMAIL PROTECTED]] Hi all! Is it possible to tell the i18n transformer to use a fixed catalogue-location from the projects root directory (so something like '/translations' instead of 'translations') I'm working with mounted sitemaps in sub-directories.

RE: getting mad

2002-10-03 Thread Piroumian Konstantin
Try to do 'build clean install' from sources. Should help. If not, then try to see in logs what happens and what is the real problem (sometimes the error messages contain too sparse information). Konstantin -Original Message- From: Barbara Post [mailto:[EMAIL PROTECTED]] Sent:

RE: i18n language choice

2002-10-02 Thread Piroumian Konstantin
Passing the locale name using a sitemap parameter was added since version 2.0.2 or even 2.0.3. In the older versions the i18n transformer uses LocaleAction's method internally to obtain the locale. Check the sitemap in latest i18n samples (/cocoon/samples/i18n/) - they use LocaleAction to get

RE: i18n language choice

2002-10-02 Thread Piroumian Konstantin
preferences in a session attribute. Thanks again, L. -Messaggio originale- Da: Piroumian Konstantin [mailto:[EMAIL PROTECTED]] Inviato: mercoledÍ 2 ottobre 2002 14.49 A: '[EMAIL PROTECTED]' Oggetto: RE: i18n language choice Passing the locale name using a sitemap parameter

RE: Combining Cocoon and Struts

2002-09-30 Thread Piroumian Konstantin
From: Dag Nygaard [mailto:[EMAIL PROTECTED]] There are a lot of questions raised around Cocoon and Struts, but few (if any) answers of how to combine the two - FAQ-food?. I am now in the process of attempting the combination and not being very knowledgeable in either Cocoon, Struts,

RE: xsl question

2002-09-30 Thread Piroumian Konstantin
From: Kavitha Ramesh [mailto:[EMAIL PROTECTED]] Please do not ask pure XSLT questions here. Take a look at XSLT specific mail lists. Hi, I have an xml file as follows: user userid100/userid /user My XSL file is as follows: xsl:template match=user html /body a

RE: xsl question

2002-09-30 Thread Piroumian Konstantin
From: Piroumian Konstantin [mailto:[EMAIL PROTECTED]] From: Kavitha Ramesh [mailto:[EMAIL PROTECTED]] Please do not ask pure XSLT questions here. Take a look at XSLT specific mail lists. Hi, I have an xml file as follows: user userid100/userid /user My XSL file

RE: i18n question

2002-09-25 Thread Piroumian Konstantin
From: Mathias Ochsendorf [mailto:[EMAIL PROTECTED]] a href=/test img xsl:attribute name=src i18n:translate i18n:text/images/test.svg?label_text={0}amp;label_color={1} /i18n:text There is no need for i18n:text wrapper here if don't want to

RE: using html tag in i18n

2002-09-25 Thread Piroumian Konstantin
From: Kavitha Ramesh [mailto:[EMAIL PROTECTED]] Hi, I have a problem using sup®/sup(which is for ® ) in messages_en.xml and messages_de.xml. I really dont know how to use these tags in messages.xml. If someone knows please help me,,, Unfortunately, in the current implementation

RE: [SUMMARY] How can I log in non-Cocoon Java classes?

2002-09-13 Thread Piroumian Konstantin
From: Alan Hodgkinson [mailto:[EMAIL PROTECTED]] More material for the (soon to be written) Cocoon hackers guide. :) Logging in non-Cocoon Java Classes -- This explaines how to implement Cocoon-style logging, in a Java class that is not inherited

RE: [SUMMARY] How can I log in non-Cocoon Java classes? -- Improved solution

2002-09-13 Thread Piroumian Konstantin
From: Alan Hodgkinson [mailto:[EMAIL PROTECTED]] Dear Piroumian, I'd say: 'Dear Konstantin'. (Reminder to myself: Create a FAQ entry for the name format of our Exchange server ;)). This explaines how to implement Cocoon-style logging, in a snip/ 1. The class must extend

RE: building from CVS

2002-09-13 Thread Piroumian Konstantin
From: Barbara Post [mailto:[EMAIL PROTECTED]] [javadoc] E:\BP\cvs\cocoon21\xml-cocoon2\build\cocoon\src\org\apache\cocoon\co mponents\pipeline\AbstractProcessingPipeline.java:76: Class sun.tools.tree.ThisE xpression not found in import. [javadoc] import

RE: JSP Server Page

2002-09-10 Thread Piroumian Konstantin
Title: Message You need jasper-compiler.jar (jasper.jar won't help). And you should use paths starting with '/' as source for the JSPGenerator and JSPReader, e.g.: map:generate type="jsp" src="/jsp/page.jsp" / -- Konstantin Piroumian -Original Message-From: Sushil Bhattarai

RE: if not working

2002-09-05 Thread Piroumian Konstantin
Title: Message Try to use "search".equals(xsp-request .../) instead. -- Konstantin Piroumian [EMAIL PROTECTED] -Original Message-From: Ganael LAPLANCHE [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 05, 2002 5:49 PMTo: [EMAIL PROTECTED]Subject: "if" not working

RE: Converting html documents to plain text

2002-09-05 Thread Piroumian Konstantin
Title: Message Cocoon allowsto setup a pipeline that will retrieve remote HTML documents, transform them and write to the HD. I think you'll have to run Cocoon from command line and provide the list of all the documents you need. Though, I'm not so sure that Cocoon's command line

RE: i18n transformer empty message element ignored?

2002-09-02 Thread Piroumian Konstantin
From: Dr. Hans M. Rupp [mailto:[EMAIL PROTECTED]] Hallo! Sometimes we need the behavior, that the i18n transformer replaces something with nothing. Somehow this does not seem to work. Yes, it doesn't work. A support for empty messages was requested a while ago (from Michael Enke) and I

RE: XPath transformer?

2002-08-30 Thread Piroumian Konstantin
From: Jeff Turner [mailto:[EMAIL PROTECTED]] Hi, I have a user manual in XML format: document body s1 title=Introduction ... /s1 s1 title=Getting Started ... /s1 ... /body /document Is there any way that I could extract out just one s1

RE: Deploying cocoon application on IBM Websphere under Z/OS

2002-08-29 Thread Piroumian Konstantin
Title: Message If don't need neither FOPnor Barik then you can simply remove all the related entries from your sitemap and remove all the libraries and components from Cocoon. Also, take a look at the Cocoon FAQs, you'll find some answers to your questions. -- Konstantin Piroumian

RE: difference between xsp-session and session

2002-08-29 Thread Piroumian Konstantin
From: Geert Poels [mailto:[EMAIL PROTECTED]] Hi, I was browsing Cocoon documentation and wondered what the difference in use and definition was between using xmlns:session=http://apache.org/xsp/session/2.0; and xmlns:xsp-session=http://apache.org/xsp/session/2.0; There is no

RE: #xxxx in resulting HTML source

2002-08-28 Thread Piroumian Konstantin
Title: Message Do you set encodingCp1251/encoding parameter of the serializer? I don't remember that I've ever had this kind of problems with Russian characters,though I didn't check it for a long time.BTW, I always use UTF-8 for my XML documents. -- Konstantin Piroumian

RE: jsp-engine

2002-08-27 Thread Piroumian Konstantin
- From: Piroumian Konstantin [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, August 27, 2002 12:24 PM Subject: RE: jsp-engine From: Raul Wild-Spain [mailto:[EMAIL PROTECTED]] Hi!, I'm looking for documentation about the jsp-engine tag at cocoon.xconf

RE: jsp-engine

2002-08-27 Thread Piroumian Konstantin
works correctly' then it's fine and your method is exactly what it should be. your opinion about, please? Everything seems Ok to me. thanks a lot, Knstntn! ;-) No problems - Original Message - From: Piroumian Konstantin [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday

RE: JSP troubles

2002-08-26 Thread Piroumian Konstantin
From: Raul Wild-Spain [mailto:[EMAIL PROTECTED]] Hi! in my cocoon the exemples (server section) for JSP (JSP Generator and JSP Reader) fails. Exactly: **4JSPgenerator** --- The org.apache.cocoon.www.sitemap_xmap notifies that org.apache.cocoon.ProcessingException says: Exception

RE: i18n transformer problem II

2002-08-26 Thread Piroumian Konstantin
don't have anything like bla xmlns:i18n=something wrong / wrapping the second result. Any ideas?? No other ideas. If you send relevant files then I'll try to find out what's wrong. Konstantin This is really driving me nuts. :-( Many thanks, Hans Piroumian Konstantin wrote

RE: JSP troubles

2002-08-26 Thread Piroumian Konstantin
From: Raul Wild-Spain [mailto:[EMAIL PROTECTED]] No wonder that JSP fails. The default settings of the JSPEngine in Cocoon are for Tomcat and not Resin. Take a look at WEB-INF/cocoon.xconf and change the jsp-engine section to point to the JSP servlet in Resin. There were some

RE: how to add a white space in i18n?

2002-08-21 Thread Piroumian Konstantin
From: kavitha ramesh [mailto:[EMAIL PROTECTED]] Hi, I have something like FrauKavitha in the browser.Frau comes from the messages_de.xml file and kavitha comes from the main xml file.Iam using i18n and my messages_de.xml is as follows: message key=femaleFrau/message and my xml

RE: Common practice: how to keep links to html-trees consistent

2002-08-20 Thread Piroumian Konstantin
From: Whalley, Anthony [mailto:[EMAIL PROTECTED]] Make all your links relative to the root directory Eg /index.html /products/productA.html In this case browser interprets your links relative to the host and not the application context. You should perform a transformation to generate

RE: How to translate?

2002-08-15 Thread Piroumian Konstantin
From: Albert Cervera Areny [mailto:[EMAIL PROTECTED]] Hi, the thread is quite old... but anyway, I've tried to make the stylesheet I've attached my version for comparison. (please tell me if it is right, by the way how could I avoid that xmlns:i18n in each generated tag?). This

RE: i18n:attr processing problem (ArrayIndexOutOfBoundsException)

2002-08-14 Thread Piroumian Konstantin
From: Piroumian Konstantin [mailto:[EMAIL PROTECTED]] This is not a bug of i18n transformer. If you see, the problem comes from the org.xml.sax.helpers.AttributesImpl.removeAttribute(AttributesI mpl.java:439). This is known bug in Xerces and it was fixed in latest versions. So

RE: i18n:attr processing problem (ArrayIndexOutOfBoundsException)

2002-08-14 Thread Piroumian Konstantin
From: Piroumian Konstantin [mailto:[EMAIL PROTECTED]] From: Piroumian Konstantin [mailto:[EMAIL PROTECTED]] This is not a bug of i18n transformer. If you see, the problem comes from the org.xml.sax.helpers.AttributesImpl.removeAttribute(AttributesI mpl.java:439

[OT][Q] Servlet authorization

2002-08-12 Thread Piroumian Konstantin
Dear all! It was a long time ago when I've asked a question here, but now I need your help. (The question is a little off-topic, but I hope that many of us are familiar with this issue). So: I am trying to implement an application with container-based authentication and authorization. As you

RE: DTD or Schema

2002-08-12 Thread Piroumian Konstantin
From: Dr. Hans M. Rupp [mailto:[EMAIL PROTECTED]] Hallo! Any chance that a current DTD or Schema is available for the sitemap? Might be helpful for developing applications. A Schema for the sitemap (2.1 version) is available in CVS:

RE: log-files!

2002-08-02 Thread Piroumian Konstantin
See: cocoon-webapp/WEB-INF/logs/*.log -- Konstantin Piroumian [EMAIL PROTECTED] -Original Message- From: Wolle [mailto:[EMAIL PROTECTED]] Sent: Friday, August 02, 2002 1:04 PM To: [EMAIL PROTECTED] Subject: log-files! hi! i am using cocoon 2.0.3. where can find some

RE: XML Forms and i18n

2002-07-29 Thread Piroumian Konstantin
From: [EMAIL PROTECTED] Hello, first I want to thank you for your great help in the last days. We have solved the problem now with your proposed solution: tagging the xml with a stylesheet. Great to hear that. Would you let us know when your application is ready and if't

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

[SUMMARY] using different stylesheets for different xml files

2002-07-25 Thread Piroumian Konstantin
From: kavitha ramesh [mailto:[EMAIL PROTECTED]] Dear Mr.Oliver, It works and thank you so much for your valuable information. Kavitha, don't forget to add the [SUMMARY] when your question is answered. This helps people to find answers to their questions in mailing archives and can

RE: == I18N question ==

2002-07-24 Thread Piroumian Konstantin
From: Vadim Gritsenko [mailto:[EMAIL PROTECTED]] From: Piroumian Konstantin [mailto:[EMAIL PROTECTED]] I think that this discussion that happened at Forrest project will help you a little: http://marc.theaimsgroup.com/?t=10240438142r=1w=2 or you can simply do something (don't

RE: Link Hosting: free developer accounts

2002-07-22 Thread Piroumian Konstantin
Would you like your site to be listed in Cocoon links and/or Cocoon hosting pages? And it would be fine if you could upgrade Cocoon on your server to 2.0.3 release version, cause there were a lot of fixes and some broken links where removed/fixed also. -- Konstantin Piroumian [EMAIL

RE: xml-forms

2002-07-22 Thread Piroumian Konstantin
From: [EMAIL PROTECTED] Hello, i have a new problem:) In my FormAction I want to send back a request parameter with my page to use this parameter in a xsl-stylesheet. Therefore I tried the following: if(view == first) if(cmd == next)

RE: pulling content - reader vs. generator + serializer

2002-07-22 Thread Piroumian Konstantin
From: gv [mailto:[EMAIL PROTECTED]] I'm pulling some existing web page content into my Cocoon app by simply mapping a URI in Cocoon to an HTTP URI. I'm using a Reader with the mime-type set to text/html; works fine. I also tried a FileGenerator and Serializer, both type html, which also

RE: How to match jsessionid?

2002-07-22 Thread Piroumian Konstantin
From: Johannes Koch [mailto:[EMAIL PROTECTED]] Hi, I have URLs like this: 'foo.do;jsessionid=abcdefg?bar=blah' When I try to match it with the wildcard matcher map:match pattern=foo* ... /map:match {1} is only '.do'. How can I match the jsessionid part? Try this: map:match

RE: How to match jsessionid?

2002-07-22 Thread Piroumian Konstantin
From: Johannes Koch [mailto:[EMAIL PROTECTED]] Piroumian Konstantin wrote: From: Johannes Koch [mailto:[EMAIL PROTECTED]] Hi, I have URLs like this: 'foo.do;jsessionid=abcdefg?bar=blah' When I try to match it with the wildcard matcher map:match pattern=foo* ... /map:match {1

RE: How to match jsessionid?

2002-07-22 Thread Piroumian Konstantin
From: Johannes Koch [mailto:[EMAIL PROTECTED]] Piroumian Konstantin wrote: From: Johannes Koch [mailto:[EMAIL PROTECTED]] Piroumian Konstantin wrote: From: Johannes Koch [mailto:[EMAIL PROTECTED]] Hi, I have URLs like this: 'foo.do;jsessionid=abcdefg?bar=blah' When I try

RE: sitemap variables?

2002-07-19 Thread Piroumian Konstantin
From: icewind [mailto:[EMAIL PROTECTED]] I looked at the threads, and in my sitemap, and figured that defining something like: map:global-parameters map:global-parameter name=doc-base value=/home/icewind0/cocoon-files/ /map:global-parameters I can't figure out how to use it

RE: Modifying an xslt stylesheet before utilisation.

2002-07-18 Thread Piroumian Konstantin
From: GB [mailto:[EMAIL PROTECTED]] Dear Cocoon readers ! I need to transform a xslt stylesheet before using it over an xml file. In fact, what I want to do is to modify the stylesheet so that a parameter, taken out of the http request, could be used as an xpath string inside an

RE: runtime exception, resource not found (C 2.0.3)

2002-07-18 Thread Piroumian Konstantin
From: Vadim Gritsenko [mailto:[EMAIL PROTECTED]] From: Barbara Post [mailto:[EMAIL PROTECTED]] I'm trying to use a resource and have the following. I use c203 binary for jvm 1.3 (jdk 1.3.1). org.apache.cocoon.ProcessingException: Failed to execute pipeline.:

RE: Re: mixing xml and xsl with i18n

2002-07-18 Thread Piroumian Konstantin
From: kavitha ramesh [mailto:[EMAIL PROTECTED]] Hi Jeorg, The output is just a blank page.My sitemap is as follows(My file is a jsp file): map:match pattern=jsp/* map:generate type=jsp src=/concatenate/jsp/{1}.jsp/ map:transform type=i18n/ map:transform src=conc.xsl/

RE: RE: Re: mixing xml and xsl with i18n

2002-07-18 Thread Piroumian Konstantin
be difficult to learn XSP. It's very similar to XML syntax of JSP 1.2. 3.As per your suggestion I ran the transformer once in the sitemap.But still in the browser, nothing is displayed,,, So, try other suggestions from the above. Konstantin Kavitha. On Thu, 18 Jul 2002 Piroumian Konstantin

[SUMMARY] using i18n in xsl

2002-07-17 Thread Piroumian Konstantin
them. So, in your case you see the Subject and the question and solution are below: Konstantin From: kavitha ramesh [mailto:[EMAIL PROTECTED]] It works,,,Thanks a million! Kavitha On Tue, 16 Jul 2002 Piroumian Konstantin wrote : From: kavitha ramesh [mailto:[EMAIL PROTECTED

RE: [SUMMARY] using i18n in xsl

2002-07-17 Thread Piroumian Konstantin
in translations and parameters, inline translation features and some other goodies. Konstantin - Original Message - From: Piroumian Konstantin [EMAIL PROTECTED] To: 'kavitha ramesh' [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Wednesday, July 17, 2002 10:32 AM Subject: [SUMMARY] using i18n

RE: newbie: delete whitespace

2002-07-17 Thread Piroumian Konstantin
From: Daniel Meier [mailto:[EMAIL PROTECTED]] hi there is there a simple solution to transform an xml-file to a new one without any whitespace? If you mean any *ignorable* whitespace then use this in your stylesheet: ?xml version=1.0 encoding=UTF-8? xsl:stylesheet version=1.0

RE: i18n inside XSL

2002-07-15 Thread Piroumian Konstantin
From: Albert Cervera Areny [mailto:[EMAIL PROTECTED]] Hi, I've been able to use an HTML file (which I've not designed) as my stylesheet and in which I call each XML document I want to process. I get this XML file as a parameter to the stylesheet. The thing is now that I'd like

RE: i18n inside XSL

2002-07-15 Thread Piroumian Konstantin
From: Albert Cervera Areny [mailto:[EMAIL PROTECTED]] I think I didn't explain it very well. The thing is that I've got an XSL file that calls throw xsl:apply-templates select=document($document)/ Where $document is a parameter I give to the stylesheet (forget about the thing of the

RE: Looking for help in the upcomming release - (i've tested it)

2002-07-12 Thread Piroumian Konstantin
Thanks for your feedback, Josema. I've just refactored i18n and JSP samples, they can be accessed from: '/cocoon/samples/welcome' page. Hopefully, will have time to look also at XSP samples to add 'Back' links. For the form I've created - seems that it was not a good idea since result of the

RE: XML Form, extended validation and error messages

2002-07-12 Thread Piroumian Konstantin
From: [EMAIL PROTECTED] Hello, snip why=can't help at the moment / By the way I got the FormTransformer plus the Schematron error messages running with i18n and will post how it worked for me next week (after I tested it a liitle bit more) Great news! Looking forward to see that.

RE: i18n seems to work, but does not translate

2002-07-11 Thread Piroumian Konstantin
From: Volker Schneider [mailto:[EMAIL PROTECTED]] Dear colleagues, on Windows NT with WebSphere Application Deveolper 4.0.2 we have our application working. When we deploy it to a Solaris machine we have the effect, that i18n seems to work (the log files told us so) but there isn't

RE: [SUMMARY] JspReader/JspGenerator in 2.0.2

2002-07-11 Thread Piroumian Konstantin
From: Lajos Moczar [mailto:[EMAIL PROTECTED]] Hi all - I've seen several rather frustrated posts from users trying to figure out how to make JspReader and/or JspGenerator work in Cocoon 2.0.2. This email describes how. JspReader Edit

RE: i18n seems to work, but does not translate

2002-07-11 Thread Piroumian Konstantin
generator and i18n transformer (serialize as XML) and see what happens. Konstantin Best regards - Volker - -Original Message- From: Piroumian Konstantin [mailto:[EMAIL PROTECTED]] Sent: Donnerstag, 11. Juli 2002 11:04 To: '[EMAIL PROTECTED]' Subject: RE: i18n seems to work

RE: i18n seems to work, but does not translate

2002-07-11 Thread Piroumian Konstantin
it). Konstantin Thank you, best regards - Volker - -Original Message- From: Piroumian Konstantin [mailto:[EMAIL PROTECTED]] Sent: Donnerstag, 11. Juli 2002 13:16 To: '[EMAIL PROTECTED]' Subject: RE: i18n seems to work, but does not translate From: Volker Schneider [mailto:[EMAIL

RE: I18n

2002-07-11 Thread Piroumian Konstantin
From: Alex Romayev [mailto:[EMAIL PROTECTED]] Hi Konstantin, Thanks for your help -- it makes sense. On that note, do you happen to have any good patterns for modeling I18nised data in both database and XML? I understand, why you'd want to keep it in the DB, but I would also like to

RE: Looking for help in the upcomming release

2002-07-11 Thread Piroumian Konstantin
From: Carsten Ziegeler [mailto:[EMAIL PROTECTED]] The Cocoon Project is working very hard to release 2.0.3 by Monday, July 15. To meet this goal -- which clearly will benefit all users -- we need some *specific* QA (quality assurance) input from the user community. To help, here's

RE: Looking for help in the upcomming release

2002-07-11 Thread Piroumian Konstantin
From: Nicola Ken Barozzi [mailto:[EMAIL PROTECTED]] Piroumian Konstantin wrote: ... What if we provide a feedback form on the site for this? The form can include all the needed fields (like in XMLForm example) and have 'action=mailto:[EMAIL PROTECTED];'. This will make reporting

RE: Looking for help in the upcomming release

2002-07-11 Thread Piroumian Konstantin
From: Diana Shannon [mailto:[EMAIL PROTECTED]] On Thursday, July 11, 2002, at 12:34 PM, Piroumian Konstantin wrote: On the way already. Thanks!! Not sure about the format of the page. Making it in document format is unnecessary, isn't it? No. And also document2html.xsl does

RE: i18n

2002-07-08 Thread Piroumian Konstantin
From: kavitha ramesh [mailto:[EMAIL PROTECTED]] Hi, Iam working with i18n in cocoon.I have a page which displays 2 languages English and German.If I go to the Internet Option and change the language to arabic , Iam getting an error Unable to locate resources:message.Now I would like

RE: XML Forms again

2002-07-05 Thread Piroumian Konstantin
From: [EMAIL PROTECTED] Hello, ... Still I am wondering, if I can use the bean used for the model, outside of my FormAction or if it is only possible to use it in this action. The map:parameter name=xmlform-scope value=session/ indicates the scope of your instance data (e.g.

RE: Ref. : Re: Ref. : Re: cocoon jaxme transformer! (Othman Haddad)

2002-07-05 Thread Piroumian Konstantin
, it seems to have escaped me that Castor XML is capable of generating SAX events. Well, so far about alledgedly knowing a package ... Werner Piroumian Konstantin wrote: Exactly the opposite: it takes your JavaBeans and generate SAX events from them. The best way to learn how one

RE: Design Assistance

2002-07-05 Thread Piroumian Konstantin
From: Jason Foster [mailto:[EMAIL PROTECTED]] I am in the process of trying to create a Cocoon baby-block that can be used to generate output from a DocBook source file. I was hoping that the group could help me puzzle through the right way to accomplish my goal. The process

RE: XML-Forms

2002-07-04 Thread Piroumian Konstantin
From: [EMAIL PROTECTED] Hello, Before I start working with the xml-form implementation in Cocoon, I want to find out if it is possible to use xml_form together with the i18n Transformer to display xf:captionFirst Namexf:caption in different languages:

RE: sunspotdemo

2002-07-03 Thread Piroumian Konstantin
From: Lutz Lenzen [mailto:[EMAIL PROTECTED]] Hi everybody, there is the following line in the sitemap map:generate src=admin type=sunSpot-conf/ Normally the the src-attribute of the generate-tag holds an XML-file. Here it is admin. What does that mean, is it an

RE: Form Validator - RESOLVED ! Need a Patch ?

2002-07-03 Thread Piroumian Konstantin
Would you please post the patch to Bugzilla as described in: http://xml.apache.org/cocoon/howto/howto-patch.html ? Konstantin From: Sascha Kulawik [mailto:[EMAIL PROTECTED]] The diff for AbstractValidatorAction.java is: 564a565,566 }catch (NullPointerException e) {

RE: castorTransformer

2002-07-03 Thread Piroumian Konstantin
Title: Message Source: xml-cocoon\src\scratchpad\src\org\apache\cocoon\transformation\CastorTransformer.java Samples: xml-cocoon\src\scratchpad\webapp\mount\castor\ Docs: xml-cocoon\src\scratchpad\webapp\mount\castor\doc\castortransformer.xml -- Konstantin Piroumian [EMAIL PROTECTED]

RE: dynamic pipelines?

2002-07-02 Thread Piroumian Konstantin
Title: Message Don't get confused.What you describe here is astatic pipeline and dynamic parameters for it. E.g.: map:match pattern="dynamic" map:act type="get-page-and-stylesheet" map:generate src="{page}" / map:transform src="{stylesheet}" / map:serialize/ /map:act /map:match You

RE: Workaround against i18n(2.0.1) bug (divided buffered keys)

2002-07-02 Thread Piroumian Konstantin
From: KOZLOV Roman [mailto:[EMAIL PROTECTED]] Hello, It's just concerning i18n transformer in Cocoon 2.0.1. There is known bug of i18n related to untranslated-text because of keys divided by parser. I'd say there was a known bug. I've fixed that bug several months ago. You can just get

RE: Workaround against i18n(2.0.1) bug (divided buffered keys)

2002-07-02 Thread Piroumian Konstantin
From: Piroumian Konstantin [mailto:[EMAIL PROTECTED]] From: KOZLOV Roman [mailto:[EMAIL PROTECTED]] ... Could someone, who is more familiar with these issues confirm that this workaround could help to avoid the bug or it just decrease probability of keys dividing? Just get

RE: SUMMARY: Re: Workaround against i18n(2.0.1) bug (divided buffered keys)

2002-07-02 Thread Piroumian Konstantin
. Piroumian Konstantin wrote: From: Piroumian Konstantin [mailto:[EMAIL PROTECTED]] From: KOZLOV Roman [mailto:[EMAIL PROTECTED]] ... Could someone, who is more familiar with these issues confirm that this workaround could help to avoid the bug or it just decrease

RE: basic start

2002-07-01 Thread Piroumian Konstantin
From: Diego Lluna [mailto:[EMAIL PROTECTED]] hi, i've been trying to test the simplest xsp pages from a local site. ... since i copied the example from existing ones, i suspect i have some kind of config problem, maybe in the sitemap.xmap anybody can help? i'm providing more

RE: Xindice and Cocoon

2002-06-28 Thread Piroumian Konstantin
From: Cenk Uysal [mailto:[EMAIL PROTECTED]] Hi, I try to use Xindice as my XML source database. I know that Cocoon has special generators for this purpose. But I try to do this by the help of JSP(don't ask why :)). So we prepared a library which allows us to connect Xindice from JSP

RE: Wierd image / cocoon problem

2002-06-27 Thread Piroumian Konstantin
From: daniel robinson [mailto:[EMAIL PROTECTED]] My sitemap specifies: map:match pattern=images/**.gif map:read src=images/{1}.gif mime-type=image/gif/ /map:match map:match pattern=images/**.jpg map:read src=images/{1}.jpg mime-type=image/jpg/ /map:match

RE: sent map parameters into another sitemap

2002-06-27 Thread Piroumian Konstantin
From: yuryx [mailto:[EMAIL PROTECTED]] Hi all! Does is possible sent sitemap parameters into mounted sitenap like this: map:mount check-reload=yes src=test/ uri-prefix=info reload-method=synchron map:parameter name=use-connection value=personnel/ /map:mount Yes!!! ...but

RE: sent map parameters into another sitemap

2002-06-27 Thread Piroumian Konstantin
From: zze-STIENNE Nicolas FTRD/DMI/CAE I tried the solution you give but it don't seams to work (for me). No error message comes, I just don't obtain the values of the parameters. Note: Tomcat4.0.4, W2000, JDK1.3.1_3, Cocoon2.0.2-scr ( I know you said only in 2.1-dev version but my

RE: sent map parameters into another sitemap

2002-06-27 Thread Piroumian Konstantin
will propose another quicker solution. and is that normal, I get no error message ? When specifing parameters to mount? Yes. Most of the sitemap elements are parametrizable, but in map:mount they simply ignored. Konstantin De : Piroumian Konstantin [mailto:[EMAIL PROTECTED]] From: zze

RE: Giving up! Cocoon too big, slow and confusing

2002-06-27 Thread Piroumian Konstantin
From: Argyn Kuketayev [mailto:[EMAIL PROTECTED]] Good post :) Wake up, guys! John raised a real issue. You can't simply say Don't give up, be patient, read mailing-list, look into sources... and so on. If you want this framework to catch the train, then there must be better

  1   2   3   >