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: >

RE: i18n transformer problem II

2002-08-26 Thread Piroumian Konstantin
Check that you don't have anything like 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, > >

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 section to point to the JSP servlet in Resin. > > > > There were so

RE: jsp-engine

2002-08-27 Thread Piroumian Konstantin
> From: Raul Wild-Spain [mailto:[EMAIL PROTECTED]] > > Hi!, > > I'm looking for documentation about the jsp-engine tag at > cocoon.xconf. The > documentation/cocoon.xconf specifies nothing about this tag. > > Someone know where I can get it? There is a comment in cocoon.xconf:

RE: jsp-engine

2002-08-27 Thread Piroumian Konstantin
Did JSPEngine found the needed servlet class? Konstantin > > > > - Original Message - > From: "Piroumian Konstantin" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Tuesday, August 27, 2002 12:24 PM > Subject: RE: jsp-engine > > > > > Fro

RE: jsp-engine

2002-08-27 Thread Piroumian Konstantin
ecific project of my company and I'm a little > lost) ... even so > the example works right, ¿? I don't quite understand these characters: ¿?. If you are saying that 'the example works correctly' then it's fine and your method is exactly what it should be. > &g

RE: &#xxxx in resulting HTML source

2002-08-27 Thread Piroumian Konstantin
Title: Message Do you set Cp1251 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 -Original Message-

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

2002-08-29 Thread Piroumian Konstantin
Title: Message If don't need neither FOP nor 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 [EM

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"; Ther

RE: XPath transformer?

2002-08-30 Thread Piroumian Konstantin
> From: Jeff Turner [mailto:[EMAIL PROTECTED]] > > Hi, > > I have a user manual in XML format: > > > > > ... > > > ... > > ... > > > > Is there any way that I could extract out just one element, and > render it as a page? Ie, like an XPath transfor

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) a

RE: "if" not working

2002-09-05 Thread Piroumian Konstantin
Title: Message Try to use "search".equals() 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 Hi all,  

RE: Converting html documents to plain text

2002-09-05 Thread Piroumian Konstantin
Title: Message Cocoon allows to 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 inter

RE: JSP Server Page

2002-09-09 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.: -- Konstantin Piroumian -Original Message-From: Sushil Bhattarai [mailto:[EMAIL PROTECTED]] Sent: Tuesday, Se

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 inh

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 > > > > > > 1. The class must extend Abst

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 sun.tools.tree.ThisExp

RE: i18n question

2002-09-25 Thread Piroumian Konstantin
> From: Mathias Ochsendorf [mailto:[EMAIL PROTECTED]] > > > > > > > > > > > > /images/test.svg?label_text={0}&label_color={1} > There is no need for wrapper here if don't want to translate the '/images/...' string itself. > > >

RE: using html tag in i18n

2002-09-25 Thread Piroumian Konstantin
> From: Kavitha Ramesh [mailto:[EMAIL PROTECTED]] > > Hi, > > I have a problem using ®(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 i

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, St

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: > > > 100 > > > My XSL file is as follows: > > > > > > Menu Menu This should help. Konstantin > > >

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 fo

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 the

RE: i18n language choice

2002-10-02 Thread Piroumian Konstantin
something wrong. Anyway, this is fine for me, > since I'm going to store preferences in a session attribute. > > > Thanks again, > > L. > > > -Messaggio originale- > Da: Piroumian Konstantin [mailto:[EMAIL PROTECTED]] > Inviato: mercoledÍ 2 ottobre 2002

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: Thu

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. Konstan

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 wher

RE: how to use Input Modules ?

2002-10-07 Thread Piroumian Konstantin
t they were implemented by Carsten. IMO, input modules cover almost all the tasks that global parameters solve (except for the propogating values to sub-sitemaps in map:mount). -- Konstantin > > Don't mean to offend. > > Babs > - Original Message - > From:

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-direct

RE: Useful directory structure (was AW: i18n with sub sitemaps)

2002-10-08 Thread Piroumian Konstantin
e to see all webapp contents in their usual places (/, images/, css/, etc.). But for the translations, validation rules, etc. - they are some kind of a meta-data that are used by several componenets to process the response and they are never referred from the user's browser - so the best

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 sitema

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 , and elements and they come out as text. I feel that I've seen

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' sou

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: 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 ha

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 Message

RE: Cocoon and hsqldb

2002-10-14 Thread Piroumian Konstantin
anything like that is bundled with Cocoon. 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 >

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

RE: Emitting SAX events

2002-10-18 Thread Piroumian Konstantin
d SAX events when written > in a file form a valid 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 kaur

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

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: > > > > ? > > It would be possible (eas

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 classpath

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: [EMA

RE: Cocoon and EJB

2002-10-25 Thread Piroumian Konstantin
mak.at] > 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

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). Wh

RE: New name of the ...

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: What is Cocoon good for???

2001-11-13 Thread Piroumian, Konstantin
This is done to allow Cocoon 2 to run in any environment and not only servlet container. C2 can be used also in any other environment, e.g.: command line (this one is implemented), EJB (this one is possible, although I've never heard of implementations). Regards, Konstantin Piroumain - O

Re: What is Cocoon good for???

2001-11-13 Thread Piroumian, Konstantin
>>This is done to allow Cocoon 2 to run in any environment and not only >>servlet container. C2 can be used also in any other environment, e.g.: >>command line (this one is implemented), EJB (this one is possible, >>although >>I've never heard of implementations). > >Extending from a class doesn't

Re: C2rc2 documentation got slimmer

2001-11-14 Thread Piroumian, Konstantin
Btw, i18n transformer documentation is out-of-date in the part of working with dictionaries. The dictionary format was changed in C2.1-dev and changes has been ported to C2.0 too, but the document remained the old one. As I remember, in C2.1 documentation had been updated too, but now it seems tha

Re: Generators.. was: Re: SV: What is Cocoon good for???

2001-11-14 Thread Piroumian, Konstantin
This can be implemented as a logicsheet and you'll forget about pure Java in your XSPs and have much clear XSP pages. More over, if you develop a transformer for this then you'll be able to apply it even to pure XML files. This way a logicsheet can be used: http://apache.org/xsp";

Re: Sitemap variables?

2001-11-15 Thread Piroumian, Konstantin
For a more flexible flow control you can use selectors: http://xml.apache.org/cocoon2/userdocs/selectors/selectors.html Personally, I don't like selectors' syntax and prefer the Struts's version of flow control: it works like a switch - case operator in Java and is less verbose.

Re: Outputting Plain Text

2001-11-15 Thread Piroumian, Konstantin
> Dear All > > Is it possible to get Cocoon 1.x to output plain text to a web browser using > an XSL stylesheet? I find that unless the resulting document is valid XML > (which plain text isn't) Cocoon gives an error. As I remember, you should use a fake root element, which will be stripped from

Re: Other potential sitemap variables

2001-11-15 Thread Piroumian, Konstantin
I'm not sure, but maybe this can be achieved by using XML entity references. See this message from Struts mail list for an example: http://www.mail-archive.com/struts-user@jakarta.apache.org/msg13216.html regards, Konstantin > While I was rewriting my sitemap file today, I noticed how much "

Re: session time out

2001-11-15 Thread Piroumian, Konstantin
Cocoon uses its own session class: org.apache.cocoon.environment.Session, so you should simply use it exactly as if you were using the javax.servlet.http.Session. Remove javax.servlet.http.* from imports and everything must work (as I remember Cocoon's session class is imported already) Regards,

Re: Cocoon 2: Multiple actions in 1 form

2001-11-22 Thread Piroumian, Konstantin
Why don't you use and define an action with name? E.g. - I think this will work. A while ago I've suggested an enhancement for C2's actions-set to solve multiple cases, but unfortunately hadn't time to implement it. The solution was to add additional attributes to action-set tag, that would

Re: Coconn-EJB application build

2001-12-04 Thread Piroumian, Konstantin
Hi, > I'm migrating from Tomcat/Jboss to Cocoon2/Tomcat/Jboss and need some data > on how the packaged application would look like. > > Currently the "app.ear" consists of: > app.war > appEjb.jar > application.xml > sun-j2ee-ri.xml > Manifest.mf > > Now I'm wondering what has to be included in c

Re: Coconn-EJB application build

2001-12-06 Thread Piroumian, Konstantin
to have problems with finding the classpath. Is there any path to be set somewhere in Cocoon? Tx and regards, Ulli -Ursprüngliche Nachricht- Von: Piroumian, Konstantin [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 4. Dezember 2001 17:39 An: [EMAIL PROTECTED] Betreff: Re: Coconn-EJB applicat

Re: Reading a JSP file

2001-12-10 Thread Piroumian, Konstantin
Hi! JSPReader were added only to the C2.1-dev branch, cause it seemed to me that nobobdy is interested in it and I didn't post a patch for C2.0. The attached is the src of JSPReader that I used with Cocoon 2.0 (a few weeks old version), hope it will work with the release too. P.S. If anybody els

Re: Reading a JSP file

2001-12-18 Thread Piroumian, Konstantin
d I have not much time to deal with Cocoon now. Regards, Konstantin > > 127.0.0.1 - - [15/Dec/2001:10:53:03 -0800] "GET > /cocoon/intranet/apptracker.jsp HTTP/1.1" 404 645 > > Which is not very helpful. > > Any help would be appreciated! > > Thanks! >

Re: Rendering a jsp : JSP it compiled 3 times -> performance problem

2002-01-31 Thread Piroumian, Konstantin
Hi! What is your configuration? Platform, servlet engine, etc. Regards, Konstantin Piroumian > hey ! > My Problem : > > I want to render a JSP (Struts Tags) with cocoon ! > Everything works fine ! > 1. A servlet arrange the data an puts the beans to the request. > 2. forward to the coocoon

Re: Help with i18n

2002-02-01 Thread Piroumian, Konstantin
Hi! For locale selection use LocaleAction like this: ... You can use this action at the top level to allow locale selection for all requests. See: Currently, the locale for the translation is selected internaly, using the same LocaleAction.getLoc

Re: Cocoon 2 and i18n

2002-02-01 Thread Piroumian, Konstantin
Please, use plain text format for your messages. - Original Message - From: Chitharanjan Das To: [EMAIL PROTECTED] Sent: Friday, February 01, 2002 2:50 AM Subject: Cocoon 2 and i18n Hello,     My env is Platform Win2K Cocoon 2.0 Tom

Re: bug in i18n transformer?

2002-02-01 Thread Piroumian, Konstantin
> I'm having some problems with the i18n transf. of Cocoon 2.0.1 (worked > fine with 2.0) > I have an XML file with an elementi like > > scelta viaggio > > and the corrisponding messages_it.xml containing > Scelta del viaggio > > the sitemap is the simple one: > > > > however, while other string

Re: bug in i18n transformer

2002-02-03 Thread Piroumian, Konstantin
> I checked the SAX API (looking at > http://www.saxproject.org/?selected=quickstart ) and it explicitly > says that 'a SAX driver is free to chunk the character data any way it > wants, so you cannot count on all of the character data content of an > element arriving in a single characters event'

Re: JSPGenerator encoding problem

2002-02-07 Thread Piroumian, Konstantin
Is it the problem of JSPGenerator or maybe this happens during transformation or serialization? Try to remove the transformer from the pipeline or replace JSPGenerator with FileGenerator and use static content in KOI8-r to find out what is the cause of the problem. Regards, Konstantin Piroumi

Re: JSPGenerator encoding problem

2002-02-07 Thread Piroumian, Konstantin
ge- >>From: yuryx [mailto:[EMAIL PROTECTED]] >>Sent: Thursday, February 07, 2002 1:06 PM >>To: [EMAIL PROTECTED] >>Subject: Re: JSPGenerator encoding problem >> >>Without transformation I have >> >> >> >> >> >>ÐÒÉ×ÅÔ! >>

Re: JSPGenerator encoding problem

2002-02-08 Thread Piroumian, Konstantin
> > From: yuryx [mailto:[EMAIL PROTECTED]] > > > > Thanx for ideas ,Vadim. > > But I can't undestand how declare JSP encoding. > > Try to read JSP specification. The correct declaration is: <%@ page language="java" import="java.text.SimpleDateFormat,java.util.*" pageEncoding="KOI8-R"%> Note, th

Re: JSPGenerator encoding problem

2002-02-08 Thread Piroumian, Konstantin
> > From: yuryx [mailto:[EMAIL PROTECTED]] > > > > Hi all! > > My JSPGenerator or jasper-compiler don't supported KOI8-R charset > > encoding. What is me do? > > Use UTF-8 or Win-1251 which are (IIRC) supported. KOI8-R is supported too. I've just checked. > > Vadim > > > Instructions llike

Re: in jsp causeing error

2002-02-14 Thread Piroumian, Konstantin
> > From: Gasper [mailto:[EMAIL PROTECTED]] > > > > Hello > > > > I'm building a site using cocoon 2.0 and jsp's for dynamic content In > my jsp > > I'm trying to forward to a page using a simple tag but > this > > causes an error below. I'm using tomcat 3.2.3 > > > > Does anybody know a solution

Re: (xsp) i18n:text passed for attribute

2002-02-20 Thread Piroumian, Konstantin
> Hello, For attribute translation use this: In i18n:attr attribute's value you can place a space separated list of attribute names that you want to translate. The key for translation is the value of the attribute to be translated. Look at the i18n transformer documentation and i18n samples -

Re: cocoons ServletContext

2002-03-01 Thread Piroumian, Konstantin
> > Lai, Harry wrote: > > >Hi Yury, > > > >Within the act method, you can access the cocoon ServletContext via the > >objectModel parameter. Just use the constants in > >org.apache.cocoon.Constants. For example: > > > > Context cocoonServContext = (Context) > >objectModel.get(Constants.CONTEXT_O

Re: Cocoon as visualisation framework.

2002-03-06 Thread Piroumian, Konstantin
> Hello cocoon-users, > > Can anybody tell be any way to solve a problem with help of Cocoon - > I want to use Cocoon as base for View level in Web-application. Now > I use Struts as MVC framework but JSP is not the best choice to > create and support web-resource. Is there any way to use

Re: Problem with encoding non-english request parameters

2002-03-11 Thread Piroumian, Konstantin
> On Mon, 11 Mar 2002 18:32:26 +0300 > yuryx <[EMAIL PROTECTED]> wrote: > > > Vadim Gritsenko wrote: > > > > >RTFM > > >http://xml.apache.org/cocoon/userdocs/xsp/request.html: > > >8< > > >8< > > > > > >Vadim > > > > >

Re: Problem with encoding non-english request parameters

2002-03-11 Thread Piroumian, Konstantin
> Piroumian, Konstantin wrote: > > >>On Mon, 11 Mar 2002 18:32:26 +0300 > >>yuryx <[EMAIL PROTECTED]> wrote: > >> > >>>Vadim Gritsenko wrote: > >>> > >>>>RTFM > >>>>http://xml.apache.org/cocoon/userdocs/x

Re: Problem with encoding non-english request parameters

2002-03-12 Thread Piroumian, Konstantin
> > >>Is serializer serialized request also? (this stupid question may be...) > >> > > > >Do you need to set encoding on the coming request? This can be done with an > >action. > > > Yes, in action or use form-encoding attribute (in XSP page with use > logicsheet),or use manual encoding > li

Re: cocooncenter.de is now cocooncenter.org

2002-03-12 Thread Piroumian, Konstantin
Hi!   I have a small tutorial on logicsheet creation. It consists of 2 simple logicsheets and step-by-step instructions on how to create and install them in C2. Feel free to place it on your site if you think it'll be useful.   Regards,     Konstantin Piroumian - Original Message -

Re: cocooncenter.de is now cocooncenter.org

2002-03-12 Thread Piroumian, Konstantin
Hi!     My name is mariano from argentina. I just want to ask yuo a question. are good at cocoon? I have installed and the problem i have is even when i see the directory with the file when i click a page i see only xml tags but not a page at normal "way".   This usually means

RE: Pizza

2002-03-15 Thread Piroumian, Konstantin
> From: Yyy Xxx [mailto:[EMAIL PROTECTED]] > > On a totally different level... > > This has XML hard-coded inside a Cocoon XSP as a Java > string. That's a little odd. I would say, it's _very_ add, because the main purpose of XSP is to make XML generation easier than hard-coding it in Java co

RE: XSP Question

2002-03-19 Thread Piroumian, Konstantin
> -Original Message- > From: Joseph Rajkumar [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, March 19, 2002 12:37 AM > To: cocoon-users > Subject: XSP Question > > > Hi Folks > > I have taken Konstantin Piroumian's > sample logic sheet ie "db.xsp" and I am trying > to modify it so t

RE: XSP Questions

2002-03-19 Thread Piroumian, Konstantin
> -Original Message- > From: Je vous site [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, March 19, 2002 11:53 AM > To: [EMAIL PROTECTED] > Subject: XSP Questions > > > hello, > > I try to learn about Xsp, so I read the example. > > I have this fragment > > http://apache.org/xsp";> >

RE: XSP Question

2002-03-19 Thread Piroumian, Konstantin
> From: Joseph Rajkumar [mailto:[EMAIL PROTECTED]] > > Hi > I understand that db.xsl has to be modified, > but my problem is that I am not able to set any > attribute values for the db:employees tag. > > In this case I am trying to set the > attribute start to some value or default

RE: [HELP]Exception JspGenerator.generate()

2002-03-19 Thread Piroumian, Konstantin
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, March 19, 2002 7:54 PM > To: [EMAIL PROTECTED] > Cc: [EMAIL PROTECTED] > Subject: [HELP]Exception JspGenerator.generate() > > > Description:org.apache.cocoon.ProcessingException: Exception > JspGe

RE: Question about Static Variables

2002-03-20 Thread Piroumian, Konstantin
> -Original Message- > From: Stefano Bonnin [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, March 20, 2002 1:21 PM > To: [EMAIL PROTECTED] > Subject: Question about Static Variables > > > Hi, > > I'd like to know the answer at the following question: > > how can I define (with Cocoon) a

RE: Running Cocoon on non-compliant servlet engines

2002-03-20 Thread Piroumian, Konstantin
> -Original Message- > From: Sylvain Wallez [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, March 20, 2002 4:22 PM > To: [EMAIL PROTECTED]; [EMAIL PROTECTED] > Subject: Running Cocoon on non-compliant servlet engines > > > Hi folks, > > The project I'm currently working on requires Cocoo

RE: logicsheets driving me insane

2002-03-20 Thread Piroumian, Konstantin
> From: Peter Wieland [mailto:[EMAIL PROTECTED]] > > Hi, > > I'm trying for one day to get a logicsheet to do some work > for me. I want to print out a drop down menu with values from > a database and the format speciefied in my xsp source. > > here is the relevant part of the xsp-page (test

RE: including cocoon in jsp using struts

2002-03-21 Thread Piroumian, Konstantin
Why not to use RequestDispatcher's include? Opening a new URL connection for every include on a page is performance overhead. Do you have separate web application contexts for Struts and Cocoon? If yes, then URL connection is the only way, but if you place Cocoon in the same webapp context and ma

RE: i18 support for dynamic pages.

2002-03-21 Thread Piroumian, Konstantin
Title: Message You can setup 3 different serializers one for every encoding and then use a selector in sitemap to choose the needed one. --Konstantin Piroumian[EMAIL PROTECTED] -Original Message-From: Arun.N [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 21, 2002 7:15 A

RE: logicsheets driving me insane

2002-03-21 Thread Piroumian, Konstantin
> From: Peter Wieland [mailto:[EMAIL PROTECTED]] > > Hi, > > > But this will not be the final state and I think I will try out java > variables. But: on the cocoon site I found about variables > > * Even when using enclosing braces around the > section, there's > always the risk that the p

RE: i18n questions

2002-03-22 Thread Piroumian, Konstantin
Title: Message Hi From: M. Reck [mailto:[EMAIL PROTECTED]] Sent: Friday, March 22, 2002 12:29 AMTo: [EMAIL PROTECTED]Subject: i18n questionsHi all, I am trying to develop a multilingual site by use of the i18n-Transformer. But some questions arise: 1. Is it possible to

RE: [HELP]SAXException JspGenerator.generate() - Using Tom Cat 4.0.1 and latest Cocoon build JDK 1.3.1

2002-03-22 Thread Piroumian, Konstantin
> -Original Message- > From: Chitharanjan Das [mailto:[EMAIL PROTECTED]] > > Hello Peter, > > Interestingly there are no errors in the core.log., whatsoever... > There are no errors in error.log > The only error was in sitemap.log*** Does Cocoon JSP samples work? Try to use JSPReader t

RE: Where is tag coming from?

2002-03-22 Thread Piroumian, Konstantin
> From: MJ Ray [mailto:[EMAIL PROTECTED]] > > Derek Hohls wrote: > > write(''); > > write(''); > > in the XSL file, and causing it to become: > > I think it's because cocoon sees the tags, not the context. > Rather, to > cocoon, the tags are the context and the rest is just so

RE: Alternate formats for xml.apache.org/cocoon ?

2002-03-25 Thread Piroumian, Konstantin
Title: Message Hi! -Original Message-From: von Schwerdtner, Thomas (GXS, FPI) [mailto:[EMAIL PROTECTED]] Sent: Friday, March 22, 2002 9:40 PMTo: '[EMAIL PROTECTED]'Subject: FW: Alternate formats for xml.apache.org/cocoon ?  Folks,    I'd like to print some of the docu

RE: Where is tag coming from?

2002-03-25 Thread Piroumian, Konstantin
> From: Derek Hohls [mailto:[EMAIL PROTECTED]] > > Konstantin > > Thanks - this works fine when the JavaScript is included in > the XSL file - does not work when the JS is a separate, > linked file, tho'. Hm... So, what's the result? If you include a file then it must become something like:

RE: [HELP]SAXException JspGenerator.generate() - Using Tom Cat 4.0.1 and latest Cocoon build JDK 1.3.1

2002-03-25 Thread Piroumian, Konstantin
in reliance on the contents of this information is strictly > prohibited and may be unlawful. If you have received this > communication > in error, please notify us immediately by responding to this email and > then delete it from your system. Accordia Inc. is neither > liable for the &g

RE: XSL question

2002-03-25 Thread Piroumian, Konstantin
> -Original Message- > From: Martin Mauri [mailto:[EMAIL PROTECTED]] > Sent: Monday, March 25, 2002 5:36 PM > To: [EMAIL PROTECTED] > Subject: Re: XSL question > > > Dear Alexandre, > > Yes, I already know how to use params, but the point here is > that I need to > pass the param from

RE: XSL question

2002-03-25 Thread Piroumian, Konstantin
> From: Martin Mauri [mailto:[EMAIL PROTECTED]] > Dear Konstantin, > > That's fine, but what I need to do is to choose dinamically > between two stylesheets to include in the current one, so > it's not possible to use select statement in that stage of > the page. I mean: > > I want to includ

RE: XSL question

2002-03-25 Thread Piroumian, Konstantin
> From: Chitharanjan Das [mailto:[EMAIL PROTECTED]] > > Just another thought > > If you have the handle to the Transformer object, you could > parse or obtain the parameters and then set use the > setParameter() method on the Transformer object to set the > parameters for the XSL... To

RE: HTML Output Issues

2002-03-26 Thread Piroumian, Konstantin
> -Original Message- > From: Corey Jewett [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, March 26, 2002 12:50 PM > To: [EMAIL PROTECTED] > Subject: HTML Output Issues > > > Rookie cocoon user. Asked this question about a week ago and got no > answer, trying to rephrase it. > > I have very

RE: [HELP]SAXException JspGenerator.generate() - Using Tom Cat 4.0.1 and released cocoon 2.0.2

2002-03-26 Thread Piroumian, Konstantin
JSPReader), so the problem should be somewhere in the core or the sitemap. I'll take a look at it today and hope will solve the problem. -- Konstantin Piroumian [EMAIL PROTECTED] > > Thanks in advance, > Chiths > > > > -Original Message- > From: Piroumian

RE: Cocoon-2.0.2 - Status of the Demo Samples

2002-03-27 Thread Piroumian, Konstantin
> From: Joseph Rajkumar [mailto:[EMAIL PROTECTED]] > > Hi > I tried to send this directly to > Carsten Ziegeler, but the email was rejected > with this message: > >> <[EMAIL PROTECTED]>: > >> 212.8.217.2 failed after I sent the message. > >> Remote host said: 552 Error: content rejected >

  1   2   3   >