Hello Johannes,
following an inspiring discussion with Fabrizio here on the User's list,
I reworked the Cocoon and Hibernate tutorial and the underlying glue
classes. The solution is now free of major architectural sins (as far as
I can say) and allows a clean implementation of DAOs. No more
Working with Cocoon 2.1.8
I am getting the following error when I try to reference the
continuation variable, used for the form action.
javax.xml.transform.TransformerException: Could not find variable
with the name of continuation
Basically, I am calling the form creation match via
Hi Bary,
I would guess once you're with the coplet you use a different path than called
directly. Are there any strange accesses reported within the log file ?
Anyway, try to use a path wildcard matcher for the jar like this :
map:match pattern=**/*.jar
map:read src=lib/{2}.jar
Working with Cocoon 2.1.10, using authentication-fw:
session:getxml context=temporary path=/data/ within index.html
org.apache.cocoon.ProcessingException: SessionManager.streamContextFragment:
Context 'temporary' not found.
at map:serialize -
Derek Hohls wrote:
Working with Cocoon 2.1.8
I am getting the following error when I try to reference the
continuation variable, used for the form action.
javax.xml.transform.TransformerException: Could not find variable
with the name of continuation
Basically, I am calling the form
Hi,
While upgrading an application from Cocoon 2.1.8 to the latest 2.1.X
branch, I encountered a problem with a custom binding class that used to
work correctly.
The class extends AbstractCustomBinding, and overrides the methods
doLoad(Widget frmModel, JXPathContext context) and
Hi All!
I declared a database pool in the cocoon.xconf:
jdbc name=focitipp
pool-controller min=5 max=10/
dburljdbc:mysql://localhost/database1/dburl
useruser/user
passwordpassword/password
encodingiso-8859-2/encoding
/jdbc
Everything is ok, working well, but after a while (a few hours) if i
Hi Varga,
use
jdbc:mysql://localhost:3306/YourDatabaseName?autoReconnect=true
as described here: http://wiki.apache.org/cocoon/MySQL
Regards,
Johannes
Niels van Kampenhout wrote:
While upgrading an application from Cocoon 2.1.8 to the latest 2.1.X
branch, I encountered a problem with a custom binding class that used to
work correctly.
The class extends AbstractCustomBinding, and overrides the methods
doLoad(Widget frmModel, JXPathContext
bart remmerie pisze:
I've been a 'jojo' cocoon user for some years now and a convinced addict.
The learning curve is rather steep, but with nices 'plateaus': repeated
steps of steep learning followed by rather easy mass-production.
snip/
Upgrading to a next version has never been a smooth
Thanks Niels but I am not sure that is the fault..
I now get the error:
org.xml.sax.SAXParseException: The value of attribute action
associated with an
element type ft:form-template must not contain the '' character.
when I try and use the CDATA wrapper in the stylesheet:
ft:form-template
Hi Derek,
Derek Hohls wrote:
Thanks Niels but I am not sure that is the fault..
I now get the error:
org.xml.sax.SAXParseException: The value of attribute action
associated with an
element type ft:form-template must not contain the '' character.
when I try and use the CDATA wrapper in the
Derek Hohls wrote:
ft:form-template action=![CDATA[#{$continuation/id}.continue}]]
method=POST
BTW if you use ft:continuation-id/ inside your template instead of
putting the continuation ID in the URL, you don't have this problem, and
you get a nicer URL for free :-)
Regards,
Niels
Thanks Niels
That works now - only issue is that the continuation no. has
a } at the end - is this a problem:
action=3d815e...b28.continue}
Thanks
Derek
Niels van Kampenhout [EMAIL PROTECTED] 2007/05/30 04:42 PM
Hi Derek,
Derek Hohls wrote:
Thanks Niels but I am not sure that is the
Grzegorz Kossakowski wrote:
bart remmerie pisze:
Upgrading to a next version has never been a smooth process so far.
I'm currently using 2.1.10 and the YourCocoonBasedProject ant scripts
from the wiki. One day, I'll shift to 2.2, but so far, trying to set
it up out of curiosity has
Original Message
Subject: Re: Cocoon Productivity
From: Grzegorz Kossakowski [EMAIL PROTECTED]
Date: Wed, May 30, 2007 7:15 am
To: users@cocoon.apache.org
[...]
Even I'm Cocoon developer I don't think about myself like a Maven or
Spring guru. After switching to Maven
[EMAIL PROTECTED] pisze:
Original Message
Subject: Re: Cocoon Productivity
From: Grzegorz Kossakowski [EMAIL PROTECTED]
Date: Wed, May 30, 2007 7:15 am
To: users@cocoon.apache.org
[...]
Even I'm Cocoon developer I don't think about myself like a Maven or
Spring guru. After
Hi,
sounds exciting.
please allow to me ask the following as a seasoned NetBeans user and Cocoon
newby: What will I lose if I want to use Cocoon 2.2 in NetBeans 5.5.1? Will
I still be able to follow the instructions or do I need to figure everything
myself?
Kind regards,
Christian Schlichtherle
Christian Schlichtherle pisze:
Hi,
sounds exciting.
please allow to me ask the following as a seasoned NetBeans user and Cocoon
newby: What will I lose if I want to use Cocoon 2.2 in NetBeans 5.5.1? Will
I still be able to follow the instructions or do I need to figure everything
myself?
I
Original Message
Subject: Re: Cocoon Productivity
From: Grzegorz Kossakowski [EMAIL PROTECTED]
Date: Wed, May 30, 2007 10:29 am
To: users@cocoon.apache.org
[EMAIL PROTECTED] pisze:
Original Message
Subject: Re: Cocoon Productivity
From: Grzegorz
As a new adopter of cocoon, I beg to differ from some of what
I have read regarding documentation. Referring to cocoon
version 2.1, it comes with lots and lots docs and examples. I
really do not think we are dealing with a lack of documentation
or examples. Rather it's a case of knocking what
Hi Tricia,
What is the advantage of using a DAO?
I'm not sure if I am the right person to answer this question, but I'll
give it a try. Quoting from Wikipedia at
http://en.wikipedia.org/wiki/Data_Access_Object:
Data Access Objects are a Core J2EE
Hi Fabio,
Fabrizio Sitzia wrote:
I've looked your page up in the Wiki - Wow! (Einfach geil!)
Thanks for the props :)
As soon as I've got something I can trust in production, I'll write up
the Wiki page describing it. I'll keep you posted.
I'm looking forward to see that. Let's get rid of
Hi,
in my sitemap, I have this:
map:match pattern=*.xsl
map:generate type=jx src={1}.xsl
map:parameter name=select value=start/
map:parameter name=data-type value=text/
map:parameter name=order
What the !§$%/()=?
Everything works as expected if I use the newjx generator instead of the
jx generator.
I suppose this is a bug. How to report it?
Kind regards,
Christian
smime.p7s
Description: S/MIME cryptographic signature
I think Fergus has it spot on here.
Most developers operate by first copying another example of something
that works, then they modify it to their own use.
As a fall back, complete technical documentation of the technology is
then needed to detail how it operates and what its syntax, grammar
Hi
please give me a sample simple example to run the cocoon application like
hello world
regards
--
Vijay.R
Hi H.,
It is not as complex as it might look, but you must extend the ZipSource
component to make it work. I added the following code in the
getInputStream function:
String xml = ?xml version=\1.0\
encoding=\utf-8\?\nzip:archive xmlns:zip=\ + ZIP_NAMESPACE + \
name=\ +
28 matches
Mail list logo