Florian,
One possible cause (not Cocoon related, but IE) is, that you're using
Tomcat + SSL + IE. Try this:
http://jira.atlassian.com/browse/JRA-8179#action_44367
It solved my problem with PDF-files.
-Tuomo
On Thu, 22 Jun 2006, Florian Leinberger wrote:
Hi,
I am generating a Zip-File
..and here's the doc:
http://cocoon.apache.org/2.1/userdocs/flow/jxtemplate.html
-Tuomo
On Fri, 30 Jun 2006 [EMAIL PROTECTED] wrote:
Hi,
I'm using cocoon 2.1.8. I am using HTML form inside my XSL's. ( I could
have used CForms, but at this moment it will be a bigger change for me, as
I have
Check out JXTemplateTransformer. Here's the doc for the
generator-implementation, but the transformer works the same way.
You can then put in your HTML something like: input name=firstname
type=text
value=${cocoon.request.firstname}/
and run this document through JXTemplateTransformer. the
Hi,
I need to select all username and password -columns of specific users.
Here's a simple configuration:
table name=user
keys
key name=id type=int set=master
mode name=request-param parameter=id* type=all/
/key
/keys
values
value name=username type=string/
value
Updated the JDBC-driver to the latest: Microsoft SQL Server 2005 JDBC
Driver Beta 1. This works fine with Cocoon 2.1.7.
-Tuomo
On Sun, 17 Jul 2005, Joerg Heinicke wrote:
On 17.07.2005 00:36, Tuomo L wrote:
Thanks, I tested the sample, and it does work with HSQLDB. But when I
tested
00:36, Tuomo L wrote:
Thanks, I tested the sample, and it does work with HSQLDB. But when I
tested it against SQL Server with similar results I got before: Upload
works but reading the file with DatabaseReader returns 0 bytes. :(
So, my guess is, something has changed between 2.1.5 and 2.1.7
Hi,
Is anyone using the DatabaseReader with Cocooon 2.1.7 ? We just cannot get
it to function. Log says Assuming client reset stream.
If it works, could you please tell which versions of Java, Tomcat and db
you have on what system? We're trying to figure out the source for this
problem. With
-blob
(Cocoon 2.1.7, Tomcat 5.5)
After upload, this uses DatabaseReader to retrieve the image from HSQLDB.
If this works ok, then the problems are with SQL Server maybe the column
definition
Tuomo L wrote:
Hi,
Is anyone using the DatabaseReader with Cocooon 2.1.7 ? We just cannot get
Hi,
What's wrong, when this warning appears in log: Assuming client reset
stream ?
Every file we're trying to return from db comes out as 0 bytes, and the
error (warning) appears in log.
We recently updated from Cocoon 2.1.4 to 2.1.7.
Any help would be greatly appreciated.
-Tuomo
Hi,
What is the correct syntax for getting a part of a request param's value
in sitemap?
For example, parameter foo equals b:ar, and I need to get the part
after :.
-Tuomo
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
) but I think that making an action
is easier
Hope it helps.
--- Tuomo L [EMAIL PROTECTED] wrote:
Hi,
What is the correct syntax for getting a part of a
request param's value
in sitemap?
For example, parameter foo equals b:ar, and I
need to get the part
after :.
-Tuomo
taking one step at the time (what am I not seeing?):
- suppose a sax stream (producing xhtml) before serialization has a @href
holding an eurosign (\u20AC unicode char)
- I hear you guys saying that xalan will recognize the uri-type attribute and
serialize this character out as %E2%82%AC
On Fri, 29 Oct 2004, Kees van Dieren wrote:
In mozilla Firefox, when you open the right-click menu and choose View
page Info what is the value for Encoding there?
The same than used in serializer configuration. No problem here.
The serializer still seems to use ISO-8859 (e.g. not
that substitutes ä with %E4 before
serializing to HTML. This works, but it should be done by the
serializer, right?
Seems like a Cocoon issue.
-Tuomo
On Thu, 28 Oct 2004, Joerg Heinicke wrote:
On 28.10.2004 21:35, Tuomo L wrote:
We're having some serious encoding problems. This happens only
with automount sitemap and all needed stuff inside) covering the various
aspects... would be cool if somebody else could be doing that...
regards,
-marc=
Joerg Heinicke wrote:
On 29.10.2004 08:44, Tuomo L wrote:
We're having some serious encoding problems. This happens only with the
@href attributes
Hi,
We're having some serious encoding problems. This happens only with the
@href attributes in html, when using characters like å, ä and ö (in
Finnish alphabet). Form encoding works just fine. I've gone through
all the threads concerning encoding (other people having encoding problems
too).
Hi,
I need to obtain a part of a value of a request parameter (a string
before a '#'-character), and use it in a sitemap. JXPathMetaModule should
do the job, I think. But I cannot find any examples of configuration or
sitemap usage for this. Anyone?
Thanks,
Tuomo
Hi,
I need to redirect users to a secure site (https), if he/she accesses the
website without the https-prefix, using http.
I tried using the HeaderSelector, but it seems that the
IS_SECURE -parameter (or similar) is not going with the request to
Cocoon by default.
How can I enable such a
Hugo,
There's no need to use XSP script for this. Cocoon has a built-in upload
mechanism, that can be enabled from web.xml. For saving the uploads in a
db, you can use the modular DatabaseAddAction.
See: //wiki.apache.org/cocoon/ModularDatabaseActions
and
Ok. I see. I managed to catch the file with a custom component and save it
in db.
Has anyone noticed, that if you change the location of upload-dir from
web.xml, the files get stuck on that dir? It seems that Cocoon cannot
delete the files if it's not the default location.
-Tuomo
On Tue, 20 Apr
Hi,
We're having some serious problems with Cocoon upload mechanism. Nothing
ends up in the upload-dir. The form enctype is set to multipart/form-data,
enable-uploads=true and autosave-uploads=true in web.xml.
What could be the problem?
Running Cocoon 2.1.4 on Tomcat 4.1.24.
-Tuomo
Hello,
How can I use the ContextInputModule with the modular DatabaseActions? I
have the user's ID in the session context
(authentication/authentication/ID), which I need to save in the database.
I cannot use a request-param for this purpose, since it would cause a
security hole in the system.
Hi,
I need to save the user's id in db. Here's what I have in database
descriptor:
value name=owner_id type=int
mode name=session-context type=all
parameterauthentication/authentication/ID/parameter
/mode
/value
All I get is NULL in the db. Is the syntax ok? I cheched the existance of
Hi,
I need to generate an id from the current time, when adding a record to
database using the modular database-add-action. Then I need to pass this
id to the sitemap. I tried this, but it generates null in the db:
value name=session_id type=string
mode name=request-attr type=all
Ok. I did some studying, and solved the problem. The parameter element's
content is used for reading, not writing. The databaseAddAction writes the
request attributes automatically. It works now.
-Tuomo
On Wed, 24 Mar 2004, Derek Hohls wrote:
Tuomo
I do not use the db add-on so this may be a
Hi,
Haven't done this for a while, but why doesn't it work?
map:match pattern=*.*
map:generate src={1}.{2}/
map:serialize type={2}/
/map:match
When trying: test.html , I get:
Type '{2}' is not defined for 'serialize' at...
I'm working in a sub-sitemap.
-Tuomo
On Wed, 4 Feb 2004, Reinhard Poetz wrote:
From: Tuomo L
Haven't done this for a while, but why doesn't it work?
map:match pattern=*.*
map:generate src={1}.{2}/
map:serialize type={2}/
/map:match
When trying: test.html , I get:
Type '{2}' is not defined for 'serialize
Hi,
I'm trying to get JXForms + flow working using a dynamic
javascript-resource by
transforming an xml-file with a stylesheet and serializing with the
TextSerializer
(mime-type=text/javascript).
The following error occurs: apply in not a function.
In sitemap I have:
map:serializers
there--that it has to be a physical file?
-Original Message-
From: Tuomo L [SMTP:[EMAIL PROTECTED]
Sent: Wednesday, July 30, 2003 1:02 PM
To: [EMAIL PROTECTED]
Subject:JXForms dynamic flowscript problem
Hi,
I'm trying to get JXForms + flow working using a dynamic
, the ref attribute and variable names must be identical.
If you want to use schematron, there's a few more relationship rules.
-Original Message-
From: Tuomo L [SMTP:[EMAIL PROTECTED]
Sent: Wednesday, July 30, 2003 1:50 PM
To: [EMAIL PROTECTED]
Subject:RE: JXForms
30 matches
Mail list logo