Redirect depending on action?

2002-07-22 Thread Spectron International, Inc.
I have a password protected site. When a new user is added the password is the same as the user name. I want to redirect to a change password page if it is the first time he has logged in (username=password). How can I do that?

Join information from 2 generators?

2002-07-11 Thread Spectron International, Inc.
I have made 2 generators and I need to join the data from both.Is it possible to do something like this? If it is, what's the syntax, if it isn't is there other solution? map:match pattern=test map:whatever map:generate type=generator_1 src= map:generate type=generator_2 src=

Re: No-caching for SVG's

2002-07-01 Thread Spectron International, Inc.
I'm using 2.1dev (HEAD?) and the browser is IE and/or Netscape. I'm already using the map:pipeline type=noncaching/. This works for the page but not the SVG inside the page. Right now when I click on a link that will display an SVG it works, but if I click 'Back' and then click on the same link

No-caching for SVG's

2002-06-25 Thread Spectron International, Inc.
I asked this before but I didn't got a definite answer so I'll ask this another way. I'm creating SVGs using information retrieved from a database that can change at any time. I don't want the SVG's cached anywhere. Right now when I click on a link that will display an SVG it works, but if I

Re: SVG Caching question

2002-06-18 Thread Spectron International, Inc.
Ok, I checked around and changed the default pipeline type from caching to noncaching. Now if I select refresh from the browser, it changes the png like it should. The problem I have now is that it only does it when I click refresh. For example, I have a document that has 2 links to the same path

Re: Cocoon problems

2002-06-05 Thread Spectron International, Inc.
] To: [EMAIL PROTECTED] Sent: Tuesday, June 04, 2002 3:01 PM Subject: Re: Cocoon problems On Tuesday 04 June 2002 02:59 pm, Spectron International, Inc. wrote: ComposerAction-MyAction-MyLocale. Why is it giving me a ClassCastException? Has anything changed in the way generators and actions are made

Re: Cocoon problems

2002-06-04 Thread Spectron International, Inc.
Nobody knows what this error means? - Original Message - From: Spectron International, Inc. [EMAIL PROTECTED] To: Cocoon Users Mailing List [EMAIL PROTECTED] Sent: Monday, June 03, 2002 4:49 PM Subject: Cocoon problems I compiled the HEAD version of Cocoon, this time I used build

Re: Cocoon problems

2002-06-04 Thread Spectron International, Inc.
of cocoon? Geoff Howard -Original Message- From: Spectron International, Inc. [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 04, 2002 8:45 AM To: [EMAIL PROTECTED] Subject: Re: Cocoon problems Nobody knows what this error means? - Original Message - From: Spectron

Re: Cocoon problems

2002-06-04 Thread Spectron International, Inc.
I didn't removed the files, and I didn't do a build clean either. Now Cocoon is working again, but I have a new problem, my generators aren't working, neither the actions. It is giving me a class cast exception. The object hierarchy (sp?) for the generator is

Problem with cocoon after build

2002-06-03 Thread Spectron International, Inc.
I downloaded the HEAD vercion from CVS, compiled it and tried to use it and it says it is missing the org.apache.cocoon.sunshine.SunShine class. Where can I find this class? The exacterror is: ERROR (2002-06-03) 11:27.23:718[access](Unknown-URI) Unknown-thread/CocoonServlet: Exception reloading

Cocoon problems

2002-06-03 Thread Spectron International, Inc.
I compiled the HEAD version of Cocoon, this time I used build installwar, and everything was created ok, my problem is that everithing gives me the same error, can anyone tell me what I'm doing wrong? ERROR (2002-06-03) 16:33.12:164 [access](/cocoon/welcome) SocketListener-3/CocoonServlet:

Re: Cocoon PDF creation problems

2002-05-20 Thread Spectron International, Inc.
Yes, generate-serialize_to_xml and xml_file-transformserialize_to_pdf both work. And yes I'm using disable-output-escaping somewhere. Don't tell me I cant? I need it because I have the following xml : data number1/number number1/number number1/number number1/number number1/number

Re: Cocoon PDF creation problems

2002-05-17 Thread Spectron International, Inc.
PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, May 17, 2002 3:31 AM Subject: Re: Cocoon PDF creation problems Hi, Check your fo code. It seems that there is no table-column element. Roman Spectron International, Inc. wrote: I'm having some problems with PDF creation in cocoon. I have

Cocoon PDF creation problems

2002-05-16 Thread Spectron International, Inc.
I'm having some problems with PDF creation in cocoon. I have the following sitemap (simplified, removed i18n stuff): map:match pattern=test1 map:generate type=batch src=/ map:transform src=pdf/BatchSummary.xsl/ map:serialize type=xml/ /map:match map:match pattern=test2 !-- text.xml is

xsl:apply-templates bug?

2002-05-14 Thread Spectron International, Inc.
I have noticed something with xsl:apply-templates I don't know if it is a bug but it seems to me that it shouldn't work that way. I have the following xml: header column column column column /header And the following templates: xsl:template match=column xsl:value-of

Re: Set locale with an action

2002-05-13 Thread Spectron International, Inc.
: Konstantin Piroumian [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, May 13, 2002 4:57 AM Subject: Re: Set locale with an action From: Spectron International, Inc. [EMAIL PROTECTED] I want to be able to set the locale-attribure for the request in an action. I have an action

Re: Set locale with an action

2002-05-13 Thread Spectron International, Inc.
: Monday, May 13, 2002 11:31 AM Subject: Re: Set locale with an action From: Spectron International, Inc. [EMAIL PROTECTED] Ok, I think that there is a problem with the action I made. Is there a way to view what the action returned in the Map object? If I understand correctly what

Creating PDF error

2002-05-10 Thread Spectron International, Inc.
I have the following pipelines: map:match pattern=xsl/BatchSummary map:act type=get-locale/ map:generate type=batch src=/ map:transform src=pdf/BatchSummary.xsl/ map:serialize type=xml/ /map:match map:match pattern=pdf/BatchSummary map:act type=get-locale/ map:generate type=batch

Re: Creating PDF error

2002-05-10 Thread Spectron International, Inc.
PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, May 10, 2002 12:55 PM Subject: Re: Creating PDF error --- Spectron International, Inc. [EMAIL PROTECTED] escribió: I have the following pipelines: map:match pattern=xsl/BatchSummary map:act type=get-locale/ map:generate type=batch src

Servlet generator problems with Cocoon 2.01 and Jetty 4

2002-03-04 Thread Spectron International, Inc.
I have a site running Cocoon-2rc1 and Jetty 3, the site is running ok. I have another server and I installed the latest versions (Cocoon 2.01, Jetty 4.0) and the site also runs (demos) . The problem is that I had made some ServletGenerator and these generators run ok on the old version, but