I18n

2002-07-11 Thread Alex Romayev
Hi all, I'm trying to figure out how to build an internationalised web site.I've read the documentation on Cocoon I18n and looked at the samples. I understand how its dictionary approach works for lables, messages and instructional copy, however I don't understand how I would use it if I have

RE: I18n

2002-07-11 Thread Alex Romayev
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 exchange my data with other applicatons via the XML.

RE: == I18N question ==

2002-07-29 Thread Alex Romayev
Konstantin, Thanks for the link to the forest-dev thread. I've been going back and forth around the 1 vs. many files issue for a while now. I'm migrating my website from JSP to Cocoon and looking for a better approach to what I have at the moment. My website does not use a database -- it's a

RE: == I18N question ==

2002-07-29 Thread Alex Romayev
That's excellent! How would I get a copy of that? From: Alex Romayev [mailto:[EMAIL PROTECTED]] Konstantin, Thanks for the link to the forest-dev thread. I've been going back and forth around the 1 vs. many files issue for a while now. I'm migrating my website from JSP to Cocoon

Better way to aggregate?

2002-07-30 Thread Alex Romayev
I've been looking into the aggregation techniques and there seems to be two ways people go about doing it. I'm trying to understand the pros/cons of the two approaches. Approach 1: Aggregate HTML Each map:part calls a pipeline, which generates, transforms and serializes to HTML, e.g.,

Re: Leftover tags from I18n

2002-08-09 Thread Alex Romayev
--- Joerg Heinicke [EMAIL PROTECTED] wrote: Alex Romayev wrote: exclude-result-prefixes in the same file as declares the prefix worked. A little explanation: Namespace prefix and namespace uri are two different things. You can declare xmlns:bla=http://apache.org/cocoon/i18n

Encoding problem

2002-09-17 Thread Alex Romayev
Hello, I'm having what seems to be an encoding problem -- not sure it's related to Cocoon, but... ;) xsl:for-each select=//city-name a href=city-detail?city-name={.}xsl:value-of select=.//abr/ /xsl:for-each All my xml is UTF-8, it work in English, but not in Russian. Any ideas? Thanks,

Re: Pgination - Total # of pages

2002-09-18 Thread Alex Romayev
I've seen this happen when the last page has the maximum number of allowed records per page, but I haven't had a chance to confirm to report this as a bug. --- Richard [EMAIL PROTECTED] wrote: Hi Guys, Have anybody encountered this... The total attribute under the page:page element is

Pagination: number of records

2002-09-18 Thread Alex Romayev
Hello, I'm using Paginator transformer and would like to be able to display something like: Viewing records 21-30 out of 53. Is it possible to get this information from the transformer - would that be an enhancement or am I just missing a way of doing this? Thanks, -alex

Re: Encoding problem

2002-09-18 Thread Alex Romayev
=$cityxsl:value-of select=$city//a After transformation I get: a href=city-detail=%D0%94%D0%B5%D0%BB%D0%B8Äåëè/a --- Alex Romayev [EMAIL PROTECTED] wrote: Hello, I'm having what seems to be an encoding problem -- not sure it's related to Cocoon, but... ;) xsl:for-each select=//city-name

Re: Encoding problem

2002-09-18 Thread Alex Romayev
- Original Message - From: Alex Romayev [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, September 18, 2002 12:53 PM Subject: Re: Encoding problem Let me be more specific and also simplify the example: Works: xsl:param name=city select='Delhi'/ ... a href

Re: Encoding problem

2002-09-18 Thread Alex Romayev
--- Vadim Gritsenko [EMAIL PROTECTED] wrote: Alex Romayev wrote: Let me be more specific and also simplify the example: ... Does not work: xsl:param name=city select='Äåëè'/ Are these funny characters above in UTF-8? Does your XSL has encoding=UTF-8 on the top? Yes. Also

Re: Encoding problem

2002-09-18 Thread Alex Romayev
--- Vadim Gritsenko [EMAIL PROTECTED] wrote: Alex Romayev wrote: --- Vadim Gritsenko [EMAIL PROTECTED] wrote: Alex Romayev wrote: Let me be more specific and also simplify the example: ... Does not work: xsl:param name=city select='Äåëè

Re: Encoding problem

2002-09-18 Thread Alex Romayev
--- Vadim Gritsenko [EMAIL PROTECTED] wrote: Alex Romayev wrote: --- Vadim Gritsenko [EMAIL PROTECTED] wrote: Alex Romayev wrote: --- Vadim Gritsenko [EMAIL PROTECTED] wrote: ... Good point, I may have a problem in another stylesheet (part of the pipeline

Source Writing Transformer: Adding namespaces

2002-09-26 Thread Alex Romayev
Hi, I'm using Source Writing Transformer to write XML to file. I need to add namespace declarations to the root node, does anyone know how to do this? Thanks, -Alex - Please check that your question has not already been

Re: Source Writing Transformer: Adding namespaces

2002-09-26 Thread Alex Romayev
--- funing [EMAIL PROTECTED] wrote: Can you use the insert tag? On Thu, 26 Sep 2002 02:17:56 -0700 (PDT) Alex Romayev [EMAIL PROTECTED] wrote: Hi, I'm using Source Writing Transformer to write XML to file. I need to add namespace declarations to the root node, does anyone know how

Re: global form-encoding setting

2002-09-26 Thread Alex Romayev
Try: map:action name=set-character-encoding src=org.apache.cocoon.acting.SetCharacterEncodingAction/ and map:act type=set-character-encoding map:parameter name=form-encoding value=KOI8-R/ /map:act --- yuryx [EMAIL PROTECTED] wrote: Hi folks! Is there a way to change default

Re: Source Writing Transformer: Adding namespaces

2002-09-27 Thread Alex Romayev
, SourceWritingTransformer seems to be dropping the namespace declarations and writing everything else! Is this is a bug within the transformer or is there another way of getting the namespace declarations written out? I would appreciate any help. -Alex --- Alex Romayev [EMAIL PROTECTED] wrote

Re: Source Writing Transformer: Adding namespaces

2002-09-28 Thread Alex Romayev
--- Vadim Gritsenko [EMAIL PROTECTED] wrote: Alex Romayev wrote: I'm still struggling with this problem. Let me try to state it more clearly: I would like to write XML to a file. My XML contain namespaces. I declare the namespaces in the root element, just the way I would like

SunShine-InsertTransformer: encoding problem

2002-10-04 Thread Alex Romayev
Hi, I'm trying my way around SunShine and running into 2 problems: 1) I have an existing XML file with UTF-8 encoding. I use InsertTransformer to add a new record. It does so correctly, but changes the file encoding to ISO-8859-1 and replaces all non-English text with #1057;s and alike. 2) I

Re: SunShine-InsertTransformer: encoding problem

2002-10-04 Thread Alex Romayev
Sorry the C is supposed to read as (I'm separating with spaces) # 1 0 5 7 ;, the browser displays it as a letter C. --- Alex Romayev [EMAIL PROTECTED] wrote: Hi, I'm trying my way around SunShine and running into 2 problems: 1) I have an existing XML file with UTF-8 encoding. I use

Re: SunShine-InsertTransformer: encoding problem

2002-10-07 Thread Alex Romayev
Sorry for the re-post, but there have been some mail problems on Friday when I posted it and I haven't heard from anyone since then. I'm still struggling with both problems, so any help would be greatly appreciated. Alex --- Alex Romayev [EMAIL PROTECTED] wrote: Sorry the C is supposed to read

RE: SunShine-InsertTransformer: encoding problem

2002-10-07 Thread Alex Romayev
--- Carsten Ziegeler [EMAIL PROTECTED] wrote: Alex Romayev wrote: Hi, I'm trying my way around SunShine and running into 2 problems: 1) I have an existing XML file with UTF-8 encoding. I use InsertTransformer to add a new record. It does so

RE: SunShine-InsertTransformer: encoding problem

2002-10-08 Thread Alex Romayev
--- Carsten Ziegeler [EMAIL PROTECTED] wrote: Alex Romayev wrote: This is currently hard coded into the transformer(!) which means you can't do anything against it... The InsertTransformer has been merged with the SourceWritingTransformer in 2.1-dev

i18n:when

2002-10-11 Thread Alex Romayev
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 the same file something like: page title i18:when

RE: SunShine-InsertTransformer: encoding

2002-10-11 Thread Alex Romayev
:00 +0200 Hi Alex, I just checked in a fix for the namespace problem - now it works for me - could you please check - if everything is working for you, too. Thanks Carsten -Original Message- From: Alex Romayev [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 08, 2002 1

RE: SunShine-InsertTransformer: encoding

2002-10-14 Thread Alex Romayev
fixes it sometimes is if I open the file in XMLSpy and pretty-print XML text. To be honest with you, I haven't really done any proper testing to be able to isolate the problem, but if you have any ideas, it would be greatly appreciated. Cheers, -Alex --- Alex Romayev [EMAIL PROTECTED] wrote: Hi

Re: Encoding problem with HTML-serializer and URLs

2002-10-14 Thread Alex Romayev
Try this in your sitemap: map:action name=set-character-encoding src=org.apache.cocoon.acting.SetCharacterEncodingAction/ and map:act type=set-character-encoding map:parameter name=form-encoding value=your-encoding/ /map:act --- Stefan Riegel [EMAIL PROTECTED] wrote: Hello,

Re: SourceWritingTransformer.

2002-10-15 Thread Alex Romayev
From what I understand, yes. In 2.1 SourceWritingTransformer has been merged with ex-sunrise InsertTransformer. Alex --- ROSSEL Olivier [EMAIL PROTECTED] wrote: I use old-style SWT: source:write src=... tree-to-be-written ... /tree-to-be-written /source It seems that there is a

SessionTransformer: multiple select

2002-10-21 Thread Alex Romayev
Hello, I have a "multiple" select, which is being submitted by a form, so that my request string looks like: my-action?selectItem=1selectItem=2selectItem=3... Does anyone know how I could retrieve all of the "selectItem" request paramters? I've tried (just to see what happens): session:getxml

RE: URL Rewriting

2002-10-21 Thread Alex Romayev
Have you looked at EncodeURLTransformer? -Alex -Original Message- From: Christoph Stocker [mailto:chris.stocker;gmx.at] Sent: Mon 10/21/2002 12:13 PM To: [EMAIL PROTECTED] Cc: Subject: URL Rewriting hi all! i use cocoon2.0.2, winxp and weblogic6.0sp2 i use cookies for session

XML Forms without JavaBeans

2002-10-21 Thread Alex Romayev
Hello, I've looked through XMLForm documentation, but haven't really read it in detail yet. Quick question before I went off in the wrong direction. I would like to build forms which whould save information to XML files rather than the database. I would also like to use

SessionTransformer: setting attributes

2002-10-21 Thread Alex Romayev
Hello, I'm using SessionTransformer and would like to set an attribute with the value of a request parameter. I understand, that if I were to set an element I would do something like: itemidsession:getxml context="request" path="/parameter/id"//id/item However, what I would like to do is:

RE: SessionTransformer: multiple select

2002-10-21 Thread Alex Romayev
/; for(int i=0; i ![CDATA[]] selectItems.length; i++) { item xsp:attribute name=idxsp:exprselectItems[i]/xsp:expr/xsp:attribute /item } /xsp:logic /items -Original Message- From: Alex Romayev [mailto:aromay;sapient.com mailto:aromay;sapient.com ] Sent: Monday, October 21

Re: London Cocoon users

2002-10-25 Thread Alex Romayev
Hey guys, Sounds good. I'm working on the client site Monday-Thursday in Milton Keynes and in London (near Bank station) on Fridays. Cheers, -Alex On Thursday, Oct 24, 2002, at 12:59 Europe/London, Alex McLintock wrote: Hi folks, Are there any London based Cocoon users on this list

Cocoon 2.1 Authentication Samples

2002-10-29 Thread Alex Romayev
Hello, A number of people a couple of weeks ago had problems getting 1.2 dev authentication samples (as well as portal) to run. The issue was an IlligalState exception or something of that sort. Does anyone know if it's been fixed in the current CVS? Thanks, -Alex

SessionTransformer questions

2002-10-30 Thread Alex Romayev
Hello, I have a couple of questions on how to use SessionTransformer: 1. I have a multiple select, which is being submitted by a form, so that my request string looks like: my-action?selectItem=1selectItem=2selectItem=3... Does anyone know how I could retrieve all of the selectItem request

Developing Cacheable Components

2002-10-31 Thread Alex Romayev
Hello, I have a transformer which I would like to make Cacheable. I've noticed there have been some changes in 2.1 dev in how to make components Cacheable. Is there any documentation which explains how to do that? Thanks, -Alex

Authentication: redirect

2002-10-31 Thread Alex Romayev
Hello, I can't seem to figure out how to redirect back to a protected resource after the authentication. The sample only has one resource called protected. For example, I would like to protect anything that is under cocoon/admin/*. Let's say someone requests cocoon/admin/add-user resource.

java.lang.OutOfMemoryError

2002-11-01 Thread Alex Romayev
Hello, I've just changed the verstion of Tomcat from 4.04 to 4.1.12 with Cocoon 2.1 dev from a couple of weeks ago and now running into memory problems. The site now runs extremely slow (over 1 min for some pages) spits out: java.lang.OutOfMemoryError no stack trace available. I've

RE: java.lang.OutOfMemoryError

2002-11-01 Thread Alex Romayev
Sorry, it's 196M, not 96M. Still not much, but it had been sufficient enough untill I've upgraded Tomcat to 4.1.12! --- Hunsberger, Peter [EMAIL PROTECTED] wrote: After I've made the changes, I don't seem to get the OutOfMemory exception anymore, but the site still runs extremely

Re: java.lang.OutOfMemoryError

2002-11-02 Thread Alex Romayev
Tomcat 4.1.12 and the latest Cocoon 2.1 dev? Any issues with that? Any ideas, even half baked would help at the moment! Thanks, -Alex --- Kjetil Kjernsmo [EMAIL PROTECTED] wrote: On Friday 01 November 2002 16:32, Alex Romayev wrote: Sorry, it's 196M, not 96M. Still not much, but it had

Re: Authentication: redirect

2002-11-04 Thread Alex Romayev
I'm afraid this e-mail got missed over the weekend. Carsten or anyone else familiar with 2.1 authentication would you be able to help? Thanks, -Alex --- Alex Romayev [EMAIL PROTECTED] wrote: Hello, I can't seem to figure out how to redirect back to a protected resource after

Re: cocoon-users Digest 4 Nov 2002 20:21:42 -0000 Issue 1677

2002-11-05 Thread Alex Romayev
later, md Date: Mon, 4 Nov 2002 09:32:18 -0800 (PST) From: Alex Romayev [EMAIL PROTECTED] Subject: Re: Authentication: redirect To: [EMAIL PROTECTED] I'm afraid this e-mail got missed over the weekend. Carsten or anyone else familiar with 2.1 authentication would you be able to help

Authenication FW: Protecting multiple resources

2002-11-06 Thread Alex Romayev
Hello, I'm still struggling with trying to protect multiple resources using authentication framework. I've modified the sitemap in the authentication-fw sample to use wildcard match (see the examples below), but either I'm not using it correctly, or there is a bug in the framework. !--

Re: No more DTM IDs are available

2002-11-06 Thread Alex Romayev
Take a look at: http://www.mail-archive.com/cocoon-users;xml.apache.org/msg19907.html --- Peter Smink [EMAIL PROTECTED] wrote: during the execution of my xsp page with logicsheets I get the DTMException No more DTM IDs are available how can i prevent this error? Peter Smink Osirion b.v.

Authenication FW: Single sign-on to multiple handlers

2002-11-14 Thread Alex Romayev
Hello, I'm figuring out my way through the authentication and portal frameworks and ran into a problem of logging into multiple handlers. It seems that there is no single sign-on to all handlers facility provided by the framework. Here is a scenario. I have three roles of users in the

Passing request parameters to coplets

2002-11-18 Thread Alex Romayev
Hello, Is it possible to pass request parameters to coplets? Thanks, -Alex - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To

Out of memory error... cocoon bug?

2002-12-13 Thread Alex Romayev
Executive summary: I think Out of memory error is in fact a bug. Frequently it has nothing to do with your actual available memory. Blurb: I had this problem before (see the details below), and I searched the mailing lists and have been following it on the mailing lists for a while now, and

Augment Transformer does not ignore javascript

2003-01-01 Thread Alex Romayev
Hi, I've noticed that Augment Transformer (which is very useful), ignores absolute URLs, but not javascript. I'm trying to create a go back link and the transformer is appending my javascript:back() with the full path. Of cource I could create my own transformer to ignore javascript in addition

SessionTransformer - Getting request parametervalues

2003-01-21 Thread Alex Romayev
Hi, I'm looking for help in how to extract parameter values using SessionTransformer. My uri looks like this: myaction?item=1item=2item=3 The SessionTransformer generates the following path: parametervalues cinclude:parameters cinclude:parameter cinclude:nameitem/cinclude:name

Re: SessionTransformer - Getting request parametervalues

2003-01-22 Thread Alex Romayev
Thanks Yves, however I'm not using xsp and according to Carsten from his earlier posting this functionality should work. Has anyone else used it? Thanks, -Alex --- Yves Vindevogel [EMAIL PROTECTED] wrote: I don't see the reason to use the SessionTransformer ... Use the XSP generator. This

Portal bug? - Using SessionTransformer inside coplets

2003-01-22 Thread Alex Romayev
I've run into a strange problem. It seems like using SessionTransormer inside a coplet results in java.lang.NullPointerException. Here is what I found: 1. If I run my coplet by invoking the coplet's uri directly everything works as expected. 2. If I invoke the coplet as part of a portal page

RE: Portal bug? - Using SessionTransformer inside coplets

2003-01-23 Thread Alex Romayev
= -Original Message- From: Alex Romayev [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 23, 2003 1:38 AM To: [EMAIL PROTECTED] Subject: Portal bug? - Using SessionTransformer inside coplets I've run

RE: Portal bug? - Using SessionTransformer inside coplets

2003-01-23 Thread Alex Romayev
source code cannot cause your problem? Carsten -Original Message- From: Alex Romayev [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 23, 2003 1:38 AM To: [EMAIL PROTECTED] Subject: Portal bug? - Using SessionTransformer inside coplets I've run into a strange

RE: Portal bug? - Using SessionTransformer inside coplets

2003-01-23 Thread Alex Romayev
I tried today's snapshot and got a java.lang.OutOfMemory exception. I believe someone else got it as well. I'll try again in a couple of days. Cheers, -Alex --- Carsten Ziegeler [EMAIL PROTECTED] wrote: Alex Romayev wrote: I'm using a version from a couple of months ago. I'll get

SourceWritingTransformer: namespaces

2003-01-28 Thread Alex Romayev
Hi, I'm need to use a namespace insite source:replace tag, for example: source:insert xmlns:source=http://apache.org/cocoon/source/1.0; xmlns:myns=http://foo.org/myns; source:path//source:path source:replacemyns:item/source:replace source:fragment.../source:fragmen /source:insert When

Cocoon hosting

2003-02-11 Thread Alex Romayev
Hi, I'm looking for a cheap hosting provider to host a low volume Cocoon site based on 2.1 dev code. Does anyone have any experience with the ones mentioned at the cocoon hosting page or any others? Since I'm using 2.1 dev version, I assume it is better if they are not running Cocoon, since

Unable to run cocoon-2.1-dev on tomcat 4.1.18

2003-02-25 Thread Alex Romayev
Hello, I'm unable to run cocoon-2.1-dev on tomcat 4.1.18 -- it seems to be crashing tomcat without any error messages. Here is what I've done: -Downloaded and installed tomcat 4.1.18 -Started tomcat -- worked fine -Downloaded and built cocoon-2.1-dev with scratchpad and no blocks -Copied cocoon

Re: unable to run cocoon2 on tomcat

2003-02-26 Thread Alex Romayev
Hi Kieran, This seems to be related to the problem I'm having, the the message: http://www.mail-archive.com/[EMAIL PROTECTED]/msg25061.html. By just doing simple comparison, I don't think it's tomcat versions, as you're using 4.0.1 and I've had problems with both 4.1.12 and 4.1.18. What is

Re: Unable to run cocoon-2.1-dev on tomcat 4.1.18

2003-02-26 Thread Alex Romayev
running it from the command line using the appropriate batch file (%CATALINA_HOME%\bin\startup.bat for windows). If this helps, see my earlier post on this subject: http://www.mail-archive.com/[EMAIL PROTECTED]/msg24914.html Regards, Richard - Original Message - From: Alex

Re: Unable to run cocoon-2.1-dev on tomcat 4.1.18

2003-02-26 Thread Alex Romayev
: Alex Romayev [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, February 26, 2003 12:47 AM Subject: Unable to run cocoon-2.1-dev on tomcat 4.1.18 Hello, I'm unable to run cocoon-2.1-dev on tomcat 4.1.18 -- it seems to be crashing tomcat without any error messages. Here

Problem with AuthenicationManager in 2.1 dev

2003-02-26 Thread Alex Romayev
Hi, I'm using the lastest build and having problems using authentication-fw. The error I'm getting is: Could not find component (role [org.apache.cocoon.webapps.authentication.components.AuthenticationManager]) Has anyone seen this? Have there been any changes lately that I likely to cause

Passing format to DateInputModule

2003-02-27 Thread Alex Romayev
Hi, It looks like DateInputModule has changed and doesn't accept format like it used to. Here is what I used to be able to do in cocoon.xconf: component-instance class=org.apache.cocoon.components.modules.input.DateInputModule logger=core.modules.input name=my-date format-MM-dd/format

2.1 build fails

2003-02-26 Thread Alex Romayev
Hi I tried running today's build without any changes and got the following error: BUILD FAILED file:///C:/dev/xml-cocoon-2.1-dev/build.xml:610: IOException: java.io.FileNotFoundException: C:\dev\xml-cocoon-2.1-dev\b uild\webapp\samples\sitemap.xmap (The system cannot find the path specified)

Very strange behaviour -- caching bug?

2003-03-03 Thread Alex Romayev
Hello, There is a very strange behaviour that my site exibits ever since I've upgraded my 2.1 dev code from what it was in Nov-Dec last year to the most current version (less than a week old). Here is what's going on. There is a portlet which is generated by calling another pipeline fragment

RE: Very strange behaviour -- caching bug?

2003-03-03 Thread Alex Romayev
and debug. -Original Message- From: Alex Romayev [mailto:[EMAIL PROTECTED] Sent: 03 March 2003 02:57PM To: [EMAIL PROTECTED] Subject: Very strange behaviour -- caching bug? Hello, There is a very strange behaviour that my site exibits ever since I've upgraded my 2.1 dev code

Re: Very strange behaviour -- caching bug?

2003-03-03 Thread Alex Romayev
Do you know the syntax for making a pipeline noncaching? --- Leszek Gawron [EMAIL PROTECTED] wrote: On pon, mar 03, 2003 at 10:01:03 -0800, Alex Romayev wrote: Hi Mark, Thanks for your help. I like your test case -- it simpler and cleaner. Do you (or anyone else) know how

Using parameterised URL in FileGenerator

2003-03-24 Thread Alex Romayev
Hi, I'm running into problems trying to use FileGenerator go get XML via a parameterised URL. The following is invalid XML: map:generate src=http://foo.com?param1=xparam2=yparam3=z/ and the following is not the right URL: map:generate src=http://foo.com?param1=xamp;param2=yamp;param3=z/ Any

Re: Using parameterised URL in FileGenerator

2003-03-24 Thread Alex Romayev
It didn't come out quite clearly on the email, but the basic point is that if I use , it's not valid XML, and if I substitute it with amp; the URL is incorrect. --- Alex Romayev [EMAIL PROTECTED] wrote: Hi, I'm running into problems trying to use FileGenerator go get XML via a parameterised

Re: Using parameterised URL in FileGenerator

2003-03-24 Thread Alex Romayev
Never mind, I had a space in my URL -- just like publicly talking to myself ;) --- Alex Romayev [EMAIL PROTECTED] wrote: It didn't come out quite clearly on the email, but the basic point is that if I use , it's not valid XML, and if I substitute it with amp; the URL is incorrect

Re: Problem in converting umlaut characters..

2003-03-25 Thread Alex Romayev
Hi Jaya, Have you looked in Wiki (Cocoon documentation site), if not, try http://wiki.cocoondev.org/Search.jsp?query=encoding. Let me know if this doesn't help. Cheers, -Alex --- jaya [EMAIL PROTECTED] wrote: Hello, I am using Cocoon latest version. When I am generating a text file from

Re: Cocoon-2.1-dev build fails

2003-03-25 Thread Alex Romayev
Just a thought: 1. mail.jar has a different name, like mail-timestamp.jar -- then change jars.xml file to the right name. 2. mail.jar is not needed, remove it from jars.xml 3. mail.jar is somewhere else, put it into the lib directory. --- Bobby Mitchell [EMAIL PROTECTED] wrote: I'm trying to

Paginator Transformer

2003-03-31 Thread Alex Romayev
Hi, I'm having problems declaring Paginator in my sitemap, I suspect this has to do with the new build system. Here is what I have in the sitemap: map:transformer name=paginate src=org.apache.cocoon.transformation.pagination.Paginator/ This gives me: ERROR (2003-03-31) 10:44.11:673

Re: Paginator Transformer

2003-03-31 Thread Alex Romayev
I'm using 2.1dev from yesterday. How would I fix the jar? --- Geoff Howard [EMAIL PROTECTED] wrote: Is this 2.1dev or 2.0.4? I seem to remember this problem from 2.1dev a month or so ago but it should now be fixed - if not, let me know. Your choices will be to update from cvs or to

Re: Paginator Transformer

2003-03-31 Thread Alex Romayev
OK, I fixed the jar and it worked, however, sounds like the build still needs to be fixed. Also, I've noticed that cocoon-scatchpad.jar does not get copied into the WEB-INF/lib directory. Thanks for your help, Geoff. --- Alex Romayev [EMAIL PROTECTED] wrote: I'm using 2.1dev from yesterday

Re: Paginator Transformer

2003-03-31 Thread Alex Romayev
never know. Geoff At 11:31 AM 3/31/2003, you wrote: OK, I fixed the jar and it worked, however, sounds like the build still needs to be fixed. Also, I've noticed that cocoon-scatchpad.jar does not get copied into the WEB-INF/lib directory. Thanks for your help, Geoff. --- Alex Romayev

Re: 2.1 dev - CVS whats the new steps to build

2003-03-31 Thread Alex Romayev
With the new build you need to edit build.properties file and comment out the following line like this: #exclude.scratchpad=true. Note, you can also create local.build.properties file and with the line about. This way you won't have to do it again. --- e nio [EMAIL PROTECTED] wrote: Hi

Re: 2.1 dev - CVS whats the new steps to build

2003-03-31 Thread Alex Romayev
and local.build.properties just in case. enio --- Alex Romayev [EMAIL PROTECTED] wrote: With the new build you need to edit build.properties file and comment out the following line like this: #exclude.scratchpad=true. Note, you can also create local.build.properties file

Re: 2.1 dev - CVS whats the new steps to build

2003-03-31 Thread Alex Romayev
the download right, what should it have been? I think the instruction steps to download said xml-cocoon2 but perhaps those need updating. enio --- Alex Romayev [EMAIL PROTECTED] wrote: How recent is your source? Did you get it from xml-cocoon2 or from cocoon-2.1? --- e nio [EMAIL

Re: Cocoon 2.1 cache

2003-04-02 Thread Alex Romayev
In 2.1 you can do it in the sitemap Option1 -- at the individual pipeline level: map:pipeline type=noncaching ... Option 2 -- set the default in the pipes declaration map:pipes default=caching Cheers, -Alex --- zze-MORY Nicolas FTRD/DMI/REN [EMAIL PROTECTED] wrote:

Re: map:part- how to encode a URL source?

2003-04-02 Thread Alex Romayev
Colin, is a special character in XML and need to be escaped as amp; -Alex --- Colin W. Kingsbury [EMAIL PROTECTED] wrote: Here is what I wrote: map:part src=http://localhost:8080/bigServlet?k42id={1}container=page-body/ Here is what I get: org.xml.sax.SAXParseException: The reference

Re: Content formats

2003-04-03 Thread Alex Romayev
I haven't seen/used any standardised page layout formats. I'm using Cocoon's portal framework and I like/use their idea of spliting the page into independent coplets (sometimes known as portlets). I know it's not much, but it's a good start and I'm actually enjoying some nice benefits. What

Re: Did Something happen to the sessiontransformer?

2003-05-27 Thread Alex Romayev
Session transformer's namespace has been changed to: http://apache.org/cocoon/session/1.0. So at the moment it's ignoring the old namespace. Would be nice for it to give you a warning, wouldn't it ;) -Alex --- JD Daniels [EMAIL PROTECTED] wrote: Whoops.. Cocoon2.1M2 - Original

Re: new namespaces in 2.1

2003-05-27 Thread Alex Romayev
FYI: There was apparently a discussion on the dev list: http://marc.theaimsgroup.com/?l=xml-cocoon-devm=105158638805039w=2 -Alex --- Stavros Kounis [EMAIL PROTECTED] wrote: hi people reading the last thread in this list about session transformer i have notice that some namespacer have

Re: Session ended - avoiding error pages?

2003-05-30 Thread Alex Romayev
Hi Derek, I assume you're using the session-fw. --- Derek Hohls [EMAIL PROTECTED] wrote: Hi Users need to logon to gain access to the 'protected area' of the site - however, it appears that after a certain time the session expires, and the access rights are revoked; after that any

Using I18nTransformer without catalogue

2003-05-31 Thread Alex Romayev
Hi, Is is actually possible to use I18nTransformer without having to specify the catalogue-name and catalogue-location parameters? Why? Because I'm only using i18n:when and i18n:date tags. At the moment I'm having to create the dummy message files. Cheers, -Alex

Re: any way to match on http request type

2003-06-03 Thread Alex Romayev
Have you looked at the HeaderSelector? Miles Egan [EMAIL PROTECTED] wrote:Is there any way to match/select in the pipeline for the HTTP method used in the request? I'd like to write a pipeline for handling PUT requests. -- Miles Egan ATTACHMENT part 2 application/pgp-signature

Re: any way to match on http request type

2003-06-03 Thread Alex Romayev
). On Mon, 2003-06-02 at 11:26, Alex Romayev wrote: Have you looked at the HeaderSelector? Miles Egan [EMAIL PROTECTED] wrote:Is there any way to match/select in the pipeline for the HTTP method used in the request? I'd like to write a pipeline for handling PUT requests. -- Miles Egan

Re: Using I18nTransformer without catalogue

2003-06-03 Thread Alex Romayev
--- Konstantin Piroumian [EMAIL PROTECTED] wrote: From: Alex Romayev [EMAIL PROTECTED] Hi, Is is actually possible to use I18nTransformer without having to specify the catalogue-name and catalogue-location parameters? AFAIK, not yet, because of this lines in I18nTransformer code

Re: map:redirecto-to after map:transform/map:generate?

2003-06-04 Thread Alex Romayev
--- Geoff Howard [EMAIL PROTECTED] wrote: At 10:00 AM 6/3/2003, you wrote: ... map:generate src=.../ map:transform type=xslt src=.../ map:redirect-to uri=chunk_{1}/ map:redirect-to issues a client side redirect. under what circumstances would you want to do that along with an pipeline

Re: map:redirecto-to after map:transform/map:generate?

2003-06-04 Thread Alex Romayev
--- Geoff Howard [EMAIL PROTECTED] wrote: At 01:03 PM 6/3/2003, you wrote: so you'd do ... map:transform type=write-source/ map:transform src=that.xsl/ map:transform type=cinclude/ ... I know both xinclude (and cinclude) as well as xsl:document() should work, the problem

Re: redirect at the end of a pipeline/match

2003-06-05 Thread Alex Romayev
Looks like flowmap would be the cleanest way of handling this, but it's still in development and not that well documented. --- Daniel McOrmond [EMAIL PROTECTED] wrote: I'm looking for a clean way to 'redirect' a user back to a page, at the end of a pipeline. map:match pattern='comment'

Re: Using I18nTransformer without catalogue

2003-06-13 Thread Alex Romayev
--- Konstantin Piroumian [EMAIL PROTECTED] wrote: From: Alex Romayev [EMAIL PROTECTED] --- Konstantin Piroumian [EMAIL PROTECTED] wrote: From: Alex Romayev [EMAIL PROTECTED] Hi, Is is actually possible to use I18nTransformer without having to specify the catalogue

RE: public pages with the new portal framework?

2003-06-26 Thread Alex Romayev
I'm not sure about the new portal generator, but the old one requires authentication. I suspect that initially it was designed only to build portal pages, i.e., assuming there is an identifiable user and there are differences between what you show to different users. I also found the generator

RE: public pages with the new portal framework?

2003-06-27 Thread Alex Romayev
That's good new Carsten! I'll look forward to the new version. While on the topic, I have a few questions/thoughts about the framework in general -- I'm going to create a separate thread for these though. Cheers, -Alex --- Carsten Ziegeler [EMAIL PROTECTED] wrote: Alex Romayev wrote: I'm

The new portal framework: questions and thoughts

2003-06-27 Thread Alex Romayev
I have been using portal-fw for a year now. Overall, I’m very happy with it. It is well designed and contains all of the critical features you need to build a portal. It’s been lacking some of the nice to have's, but I’d rather have something to work with now and wait for the new features to