oceatoon wrote:
Hi Marc
my Cform is binded to an XML document,
This is the part we are concirned with :
..etc
***
if(widget
Derek,
regarding the second issue.
I have tested the situation with the sitemap matcher:
Code in the jx template:
The result is:
So it should be correct. What version of cocoon are you using?
Jeroen
-Original Message-
From: Derek Hohls [mailto:[EMAI
Wasn't sure how to word the subject but what follows is what I'd like to
know...
I have a pipeline that contains a matcher the uses the parameter
(relativePath) from the request as the url of a redirect:
http://localhost:8080/cocoon/RIU/{relativePath}"/>
I am using flowscript to handle the process around
modifying a form - so far so good! Now I would like
to be able - from flowscript, I suppose - to modify the
just-saved form in some way, probably by appending
a comment line to the end (say with a time and date
stamp, and an user id). Is there a
I'm wondering what might be the advantage of
using Hibernate - or another O/R mapper - together
with Cocoon.
There some articles on the web, about using
Hibernate with Cocoon.
And anyone using it?
Pat
-
To unsubscribe, e-mail: [E
Pat,
I have not used hibernate with cocoon yet, but i have used Cocoon Forms with OJB/JDO.
There are some wikipages about hibernate with Cocoon and OJB with Cocoon.
Some samples about OJB and Forms can be found in the cocoon distribution.
Looking at the wiki:
http://wiki.apache.org/cocoon/Cform
I have a transformation serialising an xml file as a PDF which works
fine until I use a host selector within the pipeline and it fails to
open. The host selector is working correctly except for this problem.
See the problem for yourself here:
http://www.neilrudd.co.uk/cocoon/abc/index.pdf
Anyone
Hello,
> I cannot possibly put in some entity reference because the href is
user input driven
If the href is user input driven then you have two choices:
1) Upon submitting the form, that sends the user input, use the onSubmit
event to trigger some client-side scripting that converts troublesome
Il giorno 09/set/04, alle 10:38, [EMAIL PROTECTED] ha scritto:
I'm wondering what might be the advantage of
using Hibernate - or another O/R mapper - together
with Cocoon.
I think there are advantages in using Hibernate to implement data
persistence over a relational database whether you are using
David Merrilees wrote:
I have a transformation serialising an xml file as a PDF which works
fine until I use a host selector within the pipeline and it fails to
open. The host selector is working correctly except for this problem.
See the problem for yourself here:
http://www.neilrudd.co.uk/cocoon/
David Merrilees wrote:
I have a transformation serialising an xml file as a PDF which works
fine until I use a host selector within the pipeline and it fails to
open. The host selector is working correctly except for this problem.
See the problem for yourself here:
http://www.neilrudd.co.uk/cocoon/
David Merrilees wrote:
I have a transformation serialising an xml file as a PDF which works
fine until I use a host selector within the pipeline and it fails to
open. The host selector is working correctly except for this problem.
See the problem for yourself here:
http://www.neilrudd.co.uk/cocoon/
Jeroen
Yes, I also thought it *should* work -
I am using Cocoon 2.1.5.
I will use your sample and see if I can figure it.
Thanks for trying!
Derek
>>> [EMAIL PROTECTED] 2004/09/09 10:23:02 AM >>>
Derek,
regarding the second issue.
I have tested the situation with the sitemap matcher:
Hello,
I want to send an email when an exception
occurs and inside the mailbody the exception stacktrace must be written.
So I thought to make an action "action-sendmail" and call it
from the map:handle-errors part. That definitely triggers the action but
how can I send the Exception object (or j
Hi,
I still could not solve this problem, but I found out that it _is_ a
conflict between the commons-logging-api.jar in the tomcat/bin directory
and the commons-logging-1.0.3.jar of my application.
But how to get around this conflict? the libraries in tomcat/bin are
loaded by the tomcat system
Hi ,
I installed Apache TOmcat 4.1.18
I copied the cocoon.war file from cocoon2.0.4 .
When i try
http://localhost:8080 - > Th tomcat page comes up
bug when i try
http://localhost:8080/cocoon -> I get this error
Failed to generate program code (this may happen if
you use Xalan in incremental p
Jyothi Giridhar wrote:
Hi ,
I installed Apache TOmcat 4.1.18
I copied the cocoon.war file from cocoon2.0.4 .
When i try
http://localhost:8080 - > Th tomcat page comes up
bug when i try
http://localhost:8080/cocoon -> I get this error
Failed to generate program code (this may happen if
you use
Hello,
I'm researching caching and performance in Cocoon. Should static files
(html, css, js, gif/jpeg/png) be excluded from a pipeline with the type
set to 'caching'?
I think that they should not be cached serverside, because the filename
is used to generate they key; the caching-key is longe
Hi!
I'm curently using the WebServiceProxyGenerator provided with Cocoon
2.1.5. I have an issue when receiving a 3xx response code. The redirect
is processed by Jakarta Commons - HttpClient and it works fine. The
problem is that the url in the client's browser doesn't change (which is
normal becau
or you could just let apache serve your static html.
Kees van Dieren wrote:
Hello,
I'm researching caching and performance in Cocoon. Should static files
(html, css, js, gif/jpeg/png) be excluded from a pipeline with the type
set to 'caching'?
I think that they should not be cached serverside,
Hello Emond! Thank your for your swift reply.
> > I need to:
> >
> > 1. create a continuation
> > 2. put the id of the continuation in a deliveryUrl
> > 3. redirect to a redirectUrl
> > 4. suspend flowscript execution, until the remote system hosting
> > redirectUrl redirects the user to my deliv
My newly-installed http://localhost/cocoon (Tomcat 4.1.30
and Cocoon 2.0.4 under Java 1.4.2_05 on FC2) still fails
with
> Cocoon 2 - Internal server error
> type fatal
> message Failed to generate program code (this may happen if
> you use Xalan in incremental processing mode).
>
did you check the endorsed lib problem? Search the wiki for a howto.
Any particular reason why you decided on an old cocoon version?
Peter Flynn wrote:
My newly-installed http://localhost/cocoon (Tomcat 4.1.30
and Cocoon 2.0.4 under Java 1.4.2_05 on FC2) still fails
with
Cocoon 2 - Internal serv
Why the bitterness? Competition is a good thing. Personally I am happy
that OXF has been opensourced. It is a good solid product and its main
weakness was not being opensource.
Having used both OXF and Cocoon on several projects they are both good
and both different. I believe OXF started out from
On Thu, 2004-09-09 at 11:48, Jorg Heymans wrote:
> did you check the endorsed lib problem? Search the wiki for a howto.
Hah! That definitely looks like it.
Unfortunately, the Wiki page doesn't say *what* files need
to be copied to the endorsed directory: it just says "the
libraries"; and it refer
The host selector mounts a folder located on a different logical disk,
as shown in the code snippet below.
It does seem to more of an IE problem as I can ac
On Thu, 2004-09-09 at 11:48, Jorg Heymans wrote:
> did you check the endorsed lib problem? Search the wiki for a howto.
That seems to work, after a bit of experimenting. Thanks very much.
For the record, with Tomcat 4.1.30 and Cocoon 2.0.4 with Java 1.4.2_05
under FC2 you need to copy xalan-2.3.
Also, try out Devaki NextOjbects an opensource tool
that has Torque built it.
http://www.devaki.org/nextobjects/
It automagically generates all the supporting OJB
related files needed including the SQL calls to create
the database.
thx
Paul
--- Jeroen Reijn <[EMAIL PROTECTED]> wrote:
> Pat,
>
Any particular reason why you decided on an old cocoon version?
Yes, Cocoon 2.1.5.1 won't compile because ant is apparently
being picked up wrongly from FC2, despite what the docs say;
and Tomcat 5.5 has issues running under Java 1.5.0 unless
you start adding patches.
If you're looking to use coc
Hello,
I am running Cocoon 2.1.5 with Tomcat 5.0.19. I'm
trying to load profiles for users from mysql (ver:
4.1.4-gamma-Max) rather then from filesystem (original
setup on cocoon). So i've changed "load-user-profile"
pipeline in portal/. to:
Hi all,
I am writing a custom
transformer that needs to extract some fragments from previous transformation
steps in the running pipeline. Does anyone know how to access, from a sitemap
component, the input / output to the transform method of the transformers that
were applied before?
On Thu, 09 Sep 2004 12:26:32 +0200, Jorg Heymans <[EMAIL PROTECTED]> wrote:
or you could just let apache serve your static html.
are there any samples doing this? the wiki docs still say "todo".
I'm using cocoon under windows (it's for a prototype only) and
have tried to serve static files (mostly
On Thu, 2004-09-09 at 13:25, Jorg Heymans wrote:
> >
> >
> >>Any particular reason why you decided on an old cocoon version?
> >
> >
> > Yes, Cocoon 2.1.5.1 won't compile because ant is apparently
> > being picked up wrongly from FC2, despite what the docs say;
> > and Tomcat 5.5 has issues run
> I am writing a custom transformer that needs to extract
> some fragments from previous transformation steps in the
> running pipeline. Does anyone know how to access, from a
> sitemap component, the input / output to the transform
> method of the transformers that were applied before?
Hi Javier,
Hi Pat,
I have am now finishing my first project I used Hibernate and Cocoon
together in,
so maybe you are interested in some thoughts from a beginner's point of
view.
The issue Hibernate addresses is how to get objects to and from the
database. When
I started to use cocoon, I was impressed by
On Thursday 09 September 2004 12:37, Ulf Sahlin wrote:
> > What you need is a 'redirectAndWait'.
>
> Looking at fom_system.js, the sendPageAndWait method is really a sendPage
> call with some extra stuff, just like you said:
>
> FOM_Cocoon.suicide = new Continuation();
>
> FOM_Cocoon.prototype.sen
Hi!
I'm a newbie regarding the use of Cocoon and I would like to know how I
could test or make a selection on the response code.
I use the WebServiceProxyGenerator and I modified the code for not
leting it to process redirections (status 3XX) itself
(method.setFollowRedirects(false)) and depending
Gerald Aichholzer said:
> On Thu, 09 Sep 2004 12:26:32 +0200, Jorg Heymans <[EMAIL PROTECTED]> wrote:
>
>> or you could just let apache serve your static html.
>>
>
> are there any samples doing this? the wiki docs still say "todo".
>
> I'm using cocoon under windows (it's for a prototype only)
try "build webapp" as target. But how on earth you're getting the
instantiationexception i don't know...
Peter Flynn wrote:
On Thu, 2004-09-09 at 13:25, Jorg Heymans wrote:
Any particular reason why you decided on an old cocoon version?
Yes, Cocoon 2.1.5.1 won't compile because ant is apparentl
Johannes
I think you hit the nail on the head when you raised the whole
"elephant" thing. I used the same terminology in a previous
thread. ;-)
http://marc.theaimsgroup.com/?l=xml-cocoon-users&m=108799013931354&w=2
A number of folks are pushing OJB... obviously each person
has there own choices,
Hi!
> > It seems it's FOM_Cocoon.suicide(); that halts execution (duh). I tried
> > using this:
> >
> > function testingSome() {
> >
> > var c = cocoon.createWebContinuation();
> > print("Continuation = " + c.id);
> > FOM_Cocoon.suicide();
> > print("Continued executing.");
> > }
>
Ugo
I hope your talk will be online, for those of us not
lucky enough to make the events?
Thanks
Derek
>>> [EMAIL PROTECTED] 2004/09/09 10:54:49 AM >>>
Il giorno 09/set/04, alle 10:38, [EMAIL PROTECTED] ha scritto:
> I'm wondering what might be the advantage of
> using Hibernate - or another O/
On Thu, 9 Sep 2004 07:34:10 -0700 (PDT), Ralph Goers
<[EMAIL PROTECTED]> wrote:
Gerald Aichholzer said:
On Thu, 09 Sep 2004 12:26:32 +0200, Jorg Heymans <[EMAIL PROTECTED]> wrote:
or you could just let apache serve your static html.
are there any samples doing this? the wiki docs still say "todo
Your action will have access to the Throwable. It is in the object model.
Take a look at ObjectModelHelper.
Gunter D'Hondt said:
> Hello,
>
> I want to send an email when an exception occurs and inside the mailbody
> the exception stacktrace must be written. So I thought to make an action
> "acti
On Thu, 2004-09-09 at 15:43, Jorg Heymans wrote:
> try "build webapp" as target.
Same result.
> But how on earth you're getting the
> instantiationexception i don't know...
Now you know why I'm using 2.0.4 :-)
///Peter
-
T
Gerald Aichholzer said:
> On Thu, 9 Sep 2004 07:34:10 -0700 (PDT), Ralph Goers
>
>
> Well, by clicking on a href="/miracle/app/cook/info.gif" in my
> xhtml-source-code my browser connects to the following address:
>
>http://server:/miracle/app/cook/info.gif
>
> But if I want to serve static
...
may disable that kind of transformation.
On Wed, Sep 08, 2004 at 03:52:05PM +0200, Thomas Kjeldahl Nilsson wrote:
> Hello!
>
> Problem: I'm trying to pass a string to a jx template. The passed string
> contains html markup which I want the generator\serializer to parse and
> serialize
Il giorno 09/set/04, alle 16:47, Derek Hohls ha scritto:
I hope your talk will be online, for those of us not
lucky enough to make the events?
Last year's GT talks were recorded and made available online as video
files. I hope someone will do the same with this year's talks.
Ugo
--
Ugo Ce
On Thu, 9 Sep 2004 08:11:56 -0700 (PDT), Ralph Goers
<[EMAIL PROTECTED]> wrote:
Gerald Aichholzer said:
On Thu, 9 Sep 2004 07:34:10 -0700 (PDT), Ralph Goers
Well, by clicking on a href="/miracle/app/cook/info.gif" in my
xhtml-source-code my browser connects to the following address:
http://se
Hi...
You can find some useful information on Apache/Cocoon and serving
static content here:
http://wiki.apache.org/cocoon/ApacheModProxy
Robin.
On 9 Sep 2004, at 17:37, Gerald Aichholzer wrote:
On Thu, 9 Sep 2004 08:11:56 -0700 (PDT), Ralph Goers
<[EMAIL PROTECTED]> wrote:
Gerald Aichholzer sa
Dear Cocoon list,
Please excuse this repost, but I'm fairly stuck on this problem,
and can't make progress on starting to use CForms until I solve it.
I'm running Cocoon 2.1.5.1 under Jetty (even though it says Tomcat
below... it says that because my application folder, "gem", is
shared between tw
Gerald Aichholzer said:
>
> Hi Ralph,
>
> thanx for your answer - in my test some days ago using TinyWeb
> I was explicitly putting "http://server:80/"; as prefix to the
> href- resp. src-attribute values.
>
> Anyway - I'm not quite sure if serving static content using
> Apache would be an advan
Hi All,
I am working on a project in cocoon where I need to encode url strings (that
contain diacritics) in an xml document like described on this page:
http://www.w3.org/International/O-URL-code.html
Is there any reason why the encodeURL Transformer doesn't do this?
( http://marc.theaimsgroup.com
Thank you for that link! it will be of much use for me in future.
Kees
Robin Wyles wrote:
Hi...
You can find some useful information on Apache/Cocoon and serving
static content here:
http://wiki.apache.org/cocoon/ApacheModProxy
Robin.
On 9 Sep 2004, at 17:37, Gerald Aichholzer wrote:
On Thu, 9 Se
Hi
Process p=Runtime.getRuntime().exec(arg);
//in linux
BufferedReader br =new BufferedReader(new
InputStreamReader(p.getInputStream()));
while ((line = br.readLine()) != null){
System.out.println("line:"+sLine); }
I observe that for
1) arg="cp --help" it is returning some
55 matches
Mail list logo