On Tue, 25 May 2004, Bertrand Delacretaz wrote:
Le 25 mai 04, 20:57, Anna Bikkina a crit :
...I have a xml file that contains database rows. If the number of
rows are
greater than 5000 then cocoon fails to tranform them to html and
display
them. It gives a blank page with no
Le 26 mai 04, à 08:43, [EMAIL PROTECTED] a écrit :
is somewhere any doc about JVM ?
Use java -h, java -X or see the JDK docs.
The cocoon.sh script passes options from the JAVA_OPTIONS environment
variable to the JVM.
-Bertrand
-
Im using Cocoon to develop a mail appln.
When the reply button is clicked in a received mail, the 'To' address field is
generated automatically...
Where exactly is this stored in Cocoon ? Is it stored as an object? How can the user
name of the sender of the mail be obtained?
Smith.
On Wed, 2004-05-26 at 01:07, Joerg Heinicke wrote:
On 26.05.2004 00:53, Benoit Deshaies wrote:
I looked at the sample you posted Vadim. I have a question and a
comment regarding validation using fd:javascript. In those JS
snippets, can you access the cocoon object (like session) and can
On Tuesday 25 May 2004 12:10, Oro smith wrote:
Does anyone know how the user id of the current user who has logged in can
be obtained? I need this to fill the 'to' address field when replying to a
mail. regds,
Smith
-
Still single? Click here
roy huang wrote:
cocoon version=2.1 user-roles=/WEB-INF/yourrolefile.xconf
That isn't correct. That is for including your own cocoon.roles file,
which would otherwise need to be within the cocoon.jar file.
There is not any, to the best of my knowledge, way of including an
external xconf
How can i include java code in xsp page ?
Does cocoon webmail recognise classes like Address,Message which are present in the
javax.mail.* package ? Can i include these classes within the xsp code?
How can strings be displayed in xsp ?
thank you.
Smith
Dear All,
I meet some problem while serializing XML to Excel,
Your help will be much appreciate.
In my sample output, It can show variable styles within one sheet,
Please see attached xml output Excel file.
But I found the styles can't be effective if I set the region's endRow
= 10.
?
You might check the following page in the Cocoon Wiki - it should answer
your questions:
http://wiki.cocoondev.org/Wiki.jsp?page=XSP
Oro smith wrote:
How can i include java code in xsp page ?
Does cocoon webmail recognise classes like Address,Message which are present in the
javax.mail.*
xsp:page
language=java
xmlns:xsp=http://apache.org/xsp;
xsp:structure
xsp:includejava.util.Date/xsp:include
xsp:includejava.util.GregorianCalendar/xsp:include
xsp:includejava.text.SimpleDateFormat/xsp:include
/xsp:structure
page
xsp:logic
GregorianCalendar
For example like this :
?xml version=1.0 encoding=ISO-8859-1?
?cocoon-process type=xsp?
xsp:page
language=java
xmlns:xsp=http://apache.org/xsp;
xmlns:esql=http://apache.org/cocoon/SQL/v2;
xmlns:xsp-request=http://apache.org/xsp/request/2.0;
How can I tell ResourceReader to put a certain charset in the http header?
map:match pattern=*.css
map:read type=resource
src=resources/styles/{1}.css
charset=utf-8 == This doesn't work. How can I get it?
mime-type=text/css
!-- option sitemap parameters --
...
/map:read
Hello everybody,
I am using these specificaitions:
- Cocoon 2.1.4 for Unix
- OS Sun 5.8 Solaris Sparc
- Java 1.3.0.03 for Solaris
- Jetty built-in servlet engine from Cocoon itself
I got these 2 errors when I started the Cocoon to run on Jetty by
executing cocoon.sh servlet:
1) Could not setup
[EMAIL PROTECTED] wrote:
How can I tell ResourceReader to put a certain charset in the http header?
map:match pattern=*.css
map:read type=resource
src=resources/styles/{1}.css
charset=utf-8 == This doesn't work. How can I get it?
mime-type=text/css
!-- option sitemap parameters
I tried cocoon 2.1.5, but the result is same as 2.1.2.
Thanks any way.
SQ.
Andreas Kuckartz [EMAIL PROTECTED]
2004-05-26 18:27
Please respond to users
To:
cc:[EMAIL PROTECTED]
Subject:Serializing XML to Excel (Re: Please give me a hand)
[EMAIL PROTECTED]
Hi. Is there a method to to display a new form as a pop-up window, from a parent form.RegardsSteveJoin Excite! - http://www.excite.comThe most personalized portal on the Web!
Leszek Gawron wrote:
Guessing it shoud be encoding=utf-8 instead of charset
Doesn't work either:-(
--
Volkmar W. Pogatzki
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi,
I am using:
- Cocoon 2.1.4
- JBoss 3.2.3
- JDK 1.4.2_40
- Linux Suse
I also test with
- Cocoon 2.1.4
- WebLogic 8.1
- JDK 1.4.2_40
- Windows 2000
I work during development with cocoon as exploded directory under my application
server. Now for testing environnement I create a war archive
Hi all.
Can anyone help me.
I need to (i) upload a file from a user, (ii) embed the file as base64 content
in xml (iii) wrap the xml in a soap request (iv) submit the soap request to a
web service and (v) transform the soap result for return to the user.
What is the best strategy in Cocoon 2.1
Hi there!
I am trying to upload a zip file and save it somewhere on the hard-drive.
I am using cocoon 2.1.4. Can anybody suggest me what is the best way to
upload files in cocoon2.1.4 version.
I am doing as shown below and I am not able to pick up the file. Don't
know where I am going wrong.
Consider the following FlowScript code:
code-snippet
form newFile(form) {
!-- uninteresting form handling code --
...
if (form.getSubmitId() == new) {
var uri = bean.name.replace(/\s/g, _).toLowerCase() + .xml;
var file = folder.newFile(uri);
var os = new
Title: Message
Check
this out!!!
I
pulled the following class from web...
import org.apache.cocoon.acting.AbstractAction;
import org.apache.cocoon.servlet.multipart.Part;
import org.apache.cocoon.environment.Context;
import org.apache.cocoon.environment.ObjectModelHelper;
import
Hi all!
we have/had a problem with the serialization inside the source write
transformer. if you do not specify the serializer as parameter the
transformer uses as default the xml transformer. After some requests the
serializer changed from xml to html!
Is this a caching problem?
If you
Im using the following:
FileGenerator - XSLTTransfomer - XHTMLSerializer
Each time xsl:call-template is encountered, the Serializer
places an empty xmlns attribute in the first tag it outputs, for
example:
div xmlns= id=bannerBlock
All subsequent tags are fine until
Matt Walter wrote:
I'm using the following:
FileGenerator - XSLTTransfomer - XHTMLSerializer
Each time xsl:call-template is encountered, the Serializer places an
empty xmlns attribute in the first tag it outputs, for example:
div xmlns= id=bannerBlock
All subsequent tags are fine until
hi guys,
Cocoon 2.1.5
--
I modified the CalculatorFlow example and noticed that:
1. if Cocoon is restarded, CalculatorFlow.class is loaded and the java
code executed.
1. if Cocoon is NOT restarded, CalculatorFlow.class is never reloaded
and the java
code is NOT executed.
any
Can anybody tell me how I would add a global validation message to a form
(cocoon forms) in version 2.1.5?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
hi guys,
Cocoon 2.1.5
--
I modified the CalculatorFlow example and noticed that:
1. if Cocoon is restarded, CalculatorFlow.class is loaded and the java
code executed.
1. if Cocoon is NOT restarded, CalculatorFlow.class is never reloaded
and the java
code is NOT executed.
any
I do not see any out of memory errors. It just results in a blank page. Not
sure what it could be. I will change the java parameters and see how it
works.
By the way I am running cocoon in tomcat. So I should be changing java
paramaters in startup.sh or catalina.sh in tomcat right?
Thanks
On Wed, 2004-05-26 at 18:51, Mark H wrote:
Can anybody tell me how I would add a global validation message to a form
(cocoon forms) in version 2.1.5?
Are you looking for a feature you had in 2.1.4 and you don't find
anymore? If so, what exactly?
--
Bruno Dumon
On 26.05.2004 18:09, Matt Walter wrote:
I'm using the following:
FileGenerator - XSLTTransfomer - XHTMLSerializer
Each time xsl:call-template is encountered, the Serializer places an
empty xmlns attribute in the first tag it outputs, for example:
div xmlns= id=bannerBlock
All subsequent tags are
On 26.05.2004 09:33, Bruno Dumon wrote:
But this is no longer the default way for doing simple
field validation. It was really just only a javascript hack. Even for
your business logic validation you can probably find better ways to
handle it.
No no, you can still do it that way! Just like
On 26.05.2004 07:56, Nanda wrote:
Does cocoon 2.1.x automatically reload the stylesheets (both main and
the ones imported in them) when they are modified? I remember there
was a problem with Cocoon 1.8.2 where changes to imported stylesheets
did not take effect until the stylesheets that import
Are you looking for a feature you had in 2.1.4 and you don't find
anymore? If so, what exactly?
No, the reason I mentioned 2.1.5 is just to make clear what version of
cocoon I'm using since cforms are still in development.
Basically what I'm looking for is after some custom validation to be able
On 25.05.2004 11:00, Joose Vettenranta wrote:
just noticed that if I reload a page which has got information from
previous page, that information is lost. Like something like this:
do {
cocoon.sendPageAndWait (firstpage);
firstname=cocoon.request.get (fname);
}
On 26.05.2004 00:32, Christopher Painter-Wakefield wrote:
There is a bug in the build.sh build script. Sorry if this has been
covered before; this is my first build of a 2.1.x system.
The build.sh uses /bin/sh, which on Solaris and other traditional *nix is
typically Bourne shell. The build.sh
On 26.05.2004 12:12, [EMAIL PROTECTED] wrote:
In my sample output, It can show variable styles within one sheet,
Please see attached xml output Excel file.
But I found the styles can't be effective if I set the region's endRow
= 10.
? gmr:Styles
? gmr:StyleRegion startCol=0 startRow=0
On 26.05.2004 12:41, [EMAIL PROTECTED] wrote:
How can I tell ResourceReader to put a certain charset in the http header?
map:match pattern=*.css
map:read type=resource
src=resources/styles/{1}.css
charset=utf-8 == This doesn't work. How can I get it?
mime-type=text/css
!--
On 26.05.2004 13:26, [EMAIL PROTECTED] wrote:
Hello everybody,
I am using these specificaitions:
- Cocoon 2.1.4 for Unix
- OS Sun 5.8 Solaris Sparc
- Java 1.3.0.03 for Solaris
- Jetty built-in servlet engine from Cocoon itself
I got these 2 errors when I started the Cocoon to run on Jetty by
On 26.05.2004 14:10, Steve wrote:
Hi. Is there a method to to display a new form as a pop-up window, from a parent form.RegardsSteve
There is no native support in CForms. But it should be no problem
managing this in the flow script.
Joerg
On 26.05.2004 16:47, Madhavi Thottempudi wrote:
Hi there!
I am trying to upload a zip file and save it somewhere on the hard-drive.
I am using cocoon 2.1.4. Can anybody suggest me what is the best way to
upload files in cocoon2.1.4 version.
I am doing as shown below and I am not able to pick up
On 26.05.2004 17:05, Suzan Foster wrote:
Consider the following FlowScript code:
code-snippet
form newFile(form) {
!-- uninteresting form handling code --
...
if (form.getSubmitId() == new) {
var uri = bean.name.replace(/\s/g, _).toLowerCase() + .xml;
var file =
From: Joerg Heinicke
Sent: Wednesday, May 26, 2004 1:31 PM
To: [EMAIL PROTECTED]
Subject: Re: XHTMLSerializer and empty 'xmlns' attributes
On 26.05.2004 18:09, Matt Walter wrote:
I'm using the following:
FileGenerator - XSLTTransfomer - XHTMLSerializer
Each time
Hello,
I have stored session data inside of a context using
session:setxml.
How can I access the data either from within a
sitemap, or within an action which I've written?
Which component or class can I use to retrieve from
within either the sitemap or the action that I wrote?
Thanks
On 26.05.2004 19:00, Enrico Migliore wrote:
Cocoon 2.1.5
--
I modified the CalculatorFlow example and noticed that:
1. if Cocoon is restarded, CalculatorFlow.class is loaded and the java
code executed.
1. if Cocoon is NOT restarded, CalculatorFlow.class is never reloaded
and the
On 26.05.2004 22:06, Mark H wrote:
Can anybody tell me how I would add a global validation message to
a form (cocoon forms) in version 2.1.5?
Basically what I'm looking for is after some custom validation to be
able to add a validation message like your login details are
incorrect to a form
On 26.05.2004 23:41, Lars Huttar wrote:
You must fix your stylesheet. While the elements out of those named
templates create elements in a default namespace (probably xhtml
namespace), the named template don't do it, so the serializer
must reset
the default namespace.
Joerg Heinicke wrote:
Christopher Painter-Wakefield wrote:
There is a bug in the build.sh build script. Sorry if this has been
covered before; this is my first build of a 2.1.x system.
The build.sh uses /bin/sh, which on Solaris and other traditional *nix is
typically Bourne shell.
roy huang wrote:
cocoon version=2.1
user-roles=/WEB-INF/yourrolefile.xconf
That isn't correct. That is for including your own
cocoon.roles file, which would otherwise need to be
within the cocoon.jar file.
What is the difference between roles.xconf and
cocoon.xconf?
There is not any, to
David Crossley wrote:
Joerg Heinicke wrote:
Christopher Painter-Wakefield wrote:
There is a bug in the build.sh build script. Sorry if this has been
covered before; this is my first build of a 2.1.x system.
The build.sh uses /bin/sh, which on Solaris and other traditional *nix
Hi!
I'm using ODMG to retrieve postgreSQL data,
If I wrote the retrieve code in flow to retrieve data,it's ok.
But I wrote the code into the widget on-value-changed,the system become
unstable.
it always show can't open the database com..
sometimes it's ok,but If I open another browser,the
David Luk dijo:
Hi,
I ran into trouble to configure cocoon 2.1.5 to use remote JCS server
By default, the default store is an in-memory store backed by a disk
store (based on JCS). This forms a two-stage cache composed of a fast
in-memory MRU front-end and a persistent back-end which stores
Hi Antonio,
I have already played with default.ccf in cocoon 2.1.4 and I have left
it unchanged, but it doesn't help, so I thought I might have missed
something crucial in cocoon.xconf when upgrading to 2.1.5. The remote
cache server is running and awaiting for connection.
Appreciate your help.
I have used Javamail API to develop an email application.
Can i do the same using Cocoon ?
Can i use Javamail API with Cocoon to develop the application or does Cocoon make use
of some other API ?
-
Still single? Click here to find the
Oro smith dijo:
I have used Javamail API to develop an email application.
Can i do the same using Cocoon ?
Can i use Javamail API with Cocoon to develop the application or does
Cocoon make use of some other API ?
You can use it. BTW, there is a mail block. Run cocoon and check the
samples.
55 matches
Mail list logo