hi
We are testing succesfully MS SQL 2005 with microsoft's jdbc driver.
Here is a part of our web.xml, try to add the missing class:
load-class
com.microsoft.sqlserver.jdbc.SQLServerDriver
com.microsoft.sqlserver.jdbc.SQLServerConnectionPoolDataSource
For what its worth, I added the following to the sitemap to easily move
uploads to a different location:
^$
^[0-9]+$
^.+$
^.+$
> > And the rollback() at endDocument() as well (if necessary :).
> >
> Hum ...
> In fact the transaction id is the file url.
> IMHO endDocument is not called if an exeption occure in pipeline.
You are right, point taken! :-P
Grtz,
Geert
Drs. G.P.H. Josten
Consultant
Daidalos BV
So
Yes, the mechanism for uploading files is not that trivial, but to my
opinion quite flexible.
When you press submit in the HTML form, the file you try to upload is
attached to the HTML request. The built-in Cocoon (HTTP)Request object
is able to automatically recognize these attachments (provided
From: Jason Johnston <[EMAIL PROTECTED]>
Reply-To: users@cocoon.apache.org
To: users@cocoon.apache.org
Subject: Re: Accessing Sessions
Date: Thu, 21 Sep 2006 07:15:27 -0600
Bardo Nelgen wrote:
Hi all,
how can I obtain a list of
a) the current session-id of the current context (hopefully named
That would be something like:
Cheers,
Robby
-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Verzonden: donderdag 21 september 2006 17:12
Aan: users@cocoon.apache.org
Onderwerp: Jx iterate through several arrays
Hello all!
In a Jx Gen
On 9/21/2006 6:15 PM, Laurent Perez wrote:
I tried replacing the three ms jars (mssqlserver.jar, msutil.jar, and
msbase.jar) with sqljdbc.jar, the new sql server 2005 jdbc driver from
ms download site. (This in Cocoon's WEB-INF\lib folder.)
Don't know if you are free to switch your db driver if
Jason Johnston wrote:
Kamal Bhatt wrote:
Kamal Bhatt wrote:
Hi
I have a CForm that binds to a java object. If there are no
validation errors (ie the continuation is not called) then the form
saves correctly. However, if there was a validation error, you fix
the error and you try and save aga
I tried replacing the three ms jars (mssqlserver.jar, msutil.jar, and
msbase.jar) with sqljdbc.jar, the new sql server 2005 jdbc driver from
ms download site. (This in Cocoon's WEB-INF\lib folder.)
Don't know if you are free to switch your db driver if your code
depends on specific implementatio
On Sep 21, 2006, at 4:20 PM, Steven D. Majewski wrote:
Is the upload:// pseudo-protocol documented anywhere ?
( I saw it in one of the samples, but could not find anything in
the docs. )
And if it isn't documented: where in the source code should I look
for info on how it's implemented ?
Hello,
Does anyone have Cocoon connecting successfully to SQL Server 2005?
We've been using Cocoon for quite some time (currently 2.1.7) with SQL
Server 2000.
Now I've been trying to switch to 2005 and Cocoon keeps giving an error
ERROR (2006-09-21) 16:03.33:230 [sitemap.generator.serverpag
***
* *
* Cocoon GetTogether 2006 *
* *
* October 2nd to 4th *
* *
* Amsterdam, The Netherlands *
*
Is the upload:// pseudo-protocol documented anywhere ?
( I saw it in one of the samples, but could not find anything in the
docs. )
And if it isn't documented: where in the source code should I look
for info on how it's implemented ?
I'm still quite perplexed by all of the various ways of
Any further ideas on the other aspects, anyone ???
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
On 21.09.2006 09:33, Richard Light wrote:
Further to this, I have established by looking at the source of
ComonentContext.java that the problem is the version of Cocoon which I
am using: 2.1.1. This doesn't have support for the getComponent() command.
Oh yes, that's really old. You should re
Geert Josten wrote:
Really an intersting idea. But I'd not begin the transaction
in setup().
What about startDocument()?
And the rollback() at endDocument() as well (if necessary :). Though I
guess I would like to manage the transactions independantly altogether.
In actions fired with sep
Joerg Heinicke wrote:
Really an intersting idea. But I'd not begin the transaction in
setup(). What about startDocument()?
right :-)
Jörg
On 20.09.2006 18:53, Olivier wrote:
The transaction
* begins on setUp
* commit on endDocument
* roll back on recycle (if needed!)
Gee
Hi
I'm using a captcha validation in a search form.
I would like that once a captcha has been validated, it can't be used
anymore, even if the user hits the browser "back" button, or if some
kind of robot would try to do many queries.
It would be even better if the captcha image changed when the
Hello all!
In a Jx Generator if I have a queryString like:
?name=name1&value=value1&name=name2&value=value2
How do I get a xml document like:
Thanks in advance,
Hugo Madureira
-
To unsubscribe, e-mail: [EMAIL PROTECT
> you could keep the display templates etc. in separate directories > but at the very least they have to share the WEB-INF.That means I can not even place the whole Spring project inside of Cocoon one as a separate directorybecause WEB-INF has to be right behing the root directory, correct ?If I pl
Thanks !
Bardo
--
---
BNN Performances
http://www.wewillwebyou.com/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Bardo Nelgen wrote:
Hi all,
how can I obtain a list of
a) the current session-id of the current context (hopefully named that
right...)
b) all currently active sessions
from Cocoon via
1. FlowScript
2. inside a generator
3. inside an action
I can answer for a) ... I'm not sure if b) is
Kamal Bhatt wrote:
Kamal Bhatt wrote:
Hi
I have a CForm that binds to a java object. If there are no validation
errors (ie the continuation is not called) then the form saves
correctly. However, if there was a validation error, you fix the error
and you try and save again, the form does not b
Hi Rachid,
I'm not sure I understand you fully, but to set filepath dynamically you
have a few options I guess:
1. Use an input module to read the value and pass it to the XSL with a
construct like this:
(this reads a request-param named 'outputdir' and replaces the {..} part
by the va
Oleg Konovalov wrote:
Jason,
>It's all one "project", with a single web.xml file for the two servlets.
So you are saying they have to be merged into one web application.
Is there a way to keep them in 2 separate directories on the same level
(e.g. /deploy/app1 & /deploy/app2)
so I can build
Hi all,
how can I obtain a list of
a) the current session-id of the current context (hopefully named that
right...)
b) all currently active sessions
from Cocoon via
1. FlowScript
2. inside a generator
3. inside an action
???
Any help highly appreciated.
Bardo Nelgen
--
---
BNN Performa
Jason,>It's all one "project", with a single web.xml file for the two servlets.So you are saying they have to be merged into one web application.Is there a way to keep them in 2 separate directories on the same level (e.g. /deploy/app1 & /deploy/app2)so I can build them separately with ant, keep
OK, I can pass f.i. a String from a Java class to flowscript..
But I can not pass a String[] (thun an array)..
My class is as follows:
public class EmpActivities {
public EmpActivities() {
}
public String[] activities() {
String[] result = new String[2];
result[0]="C";
re
Hi Josten,
thank you very much for help
it work very nice :)
i have another Question. the filepath is dynamic i get it from
"cocoon:/wohland" or from Servelt Application.
how can i acces "the path" during Sitemape like "global variable"?
Rachid Harradi
Original-Nachricht
Thanks!!! :-)
Jason Johnston-3 wrote:
>
> jantje wrote:
>> Query the database from my flowscript? I have an object oriented database
>> (db4o.com).. is it also possible to query this database in flowscript? do
>> you know where to find information about this.. and how can I f.i. do
>> th
Kamal Bhatt wrote:
Hi
I have a CForm that binds to a java object. If there are no validation
errors (ie the continuation is not called) then the form saves
correctly. However, if there was a validation error, you fix the error
and you try and save again, the form does not bind correctly
(form
Hi,
I've written an own serializer, and i'd like to use its recycle()
method.
Do anyone know, that this method when will be called? Is it called
everytime, when the serializer is called?
Thanks,
Zsombor
-
To unsubscribe, e-mail:
In message <[EMAIL PROTECTED]>, Joerg Heinicke
<[EMAIL PROTECTED]> writes
On 20.09.2006 19:13, Richard Light wrote:
The second of these issues may be caused by my having a non-standard
setup, though I don't remember altering the element
in cocoon.xconf.
Can you better confirm it as I never h
33 matches
Mail list logo