Hi,
Help please
I wish to bind to a XML file to generate a form and then send the data
in the completed form to a database without updating the original XML
file. I can't work out how to extract the data from the completed form
so that I can update the database.
Thanks
Peter Sparkes
Which one is it?? According to their website, there are
only plugins for:
* Cocoon Assistant : This plugin helps you to create and organize your
Cocoon project inside the Eclipse platform.
* Cocoon Sitemap Editor : This plugins helps you to edit the Cocoon
sitemap.
* Server Assistant : This
Vlad
This is more about how to write out escaped tags
rather than actually converting them to valid XML.
Derek
[EMAIL PROTECTED] 2005/03/01 08:10:26 AM
I have found something similar:
http://www.dpawson.co.uk/xsl/sect2/N2215.html
Does anybody tried it to solve our problem?
Derek Hohls
Derek Hohls wrote:
Which one is it?? According to their website, there are
only plugins for:
* Cocoon Assistant : This plugin helps you to create and organize your
Cocoon project inside the Eclipse platform.
* Cocoon Sitemap Editor : This plugins helps you to edit the Cocoon
sitemap.
* Server
Jorg Heymans wrote:
Derek Hohls wrote:
Which one is it?? According to their website, there are
only plugins for:
* Cocoon Assistant : This plugin helps you to create and organize your
Cocoon project inside the Eclipse platform.
* Cocoon Sitemap Editor : This plugins helps you to edit the Cocoon
I can't believe i missed your post on this !!
quote
Now about the business/community issue, I understand your concern.
Cocoon would be much more appealing to IT managers if it had some
opensource tooling. At least the basic tooling. For this reason and also
some others, we, Anyware Technologies,
Hi,
I've got the following transformer-configuration:
map:transformer name=i18n
src=org.apache.cocoon.transformation.I18nTransformer
catalogues default=mysystem
catalogue id=mysystem name=textmessages
location=context://config/
catalogue id=woody
The projects is using Cocoon 2.1.5.1. This implementation is something
I am currently inheriting. I had used Cocoon 2.0.x some time ago, so
their action based approach didn't strike me as too off the wall. It is
quite the mess to manage though.
What is the common approach to solving this?
Eric Shannon wrote:
The projects is using Cocoon 2.1.5.1. This implementation is something
I am currently inheriting. I had used Cocoon 2.0.x some time ago, so
their action based approach didn't strike me as too off the wall. It is
quite the mess to manage though.
What is the common
This must be obvious.
I'm calling a jsp from an xsp - which works fine using JSPReader. Is there a
way of associating the session created by the xsp with the jsp ? I call it
with Form Action=xx.jsp etc, but I think that JSPReader doesn't take
parameters
I will add it. It was someone else's idea so I didn't want to step on any
toes. Thought I'd check first.
-Original Message-
From: Derek Hohls [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 02, 2005 12:46 AM
To: users@cocoon.apache.org
Subject: RE: include specific element with cinclude
Hi all,
Using 2.1.6...
I have something like:
match pattern=**>
generate src=cocoon:/content/{1} />
.
. (etc)
.
match pattern=content/**>
select type=resource-exists>
.
. (blah blah blah)
.
when test=something>
redirect-to uri=somewhere global=true>
The redirect is _external_ (not
Hi Daniel,
On Mar 1, 2005, at 2:13 PM, Daniel McOrmond wrote:
I was thinking of something along the lines of an Input Module,
perhaps even using XModuleSource.
See the flow-continuation InputModule.
cheers,
ml
-
To unsubscribe,
Thank's a lot for the example
but I can't get it work
My test:
Test.xsp
xsp:page language=java xmlns:esql=http://apache.org/cocoon/SQL/v2;
xmlns:xsp=http://apache.org/xsp;
xmlns:util=http://apache.org/xsp/util/2.0;
xmlns:input=http://apache.org/cocoon/xsp/input/1.0;
Note the tag. It should be:
Test.xsp
xsp:page language=java xmlns:esql=http://apache.org/cocoon/SQL/v2;
xmlns:xsp=http://apache.org/xsp;
xmlns:util=http://apache.org/xsp/util/2.0;
xmlns:input=http://apache.org/cocoon/xsp/input/1.0;
Cool! Thanks Mark. That's exactly what I was looking for.
-Daniel
On Wed, 2 Mar 2005 08:30:46 -0800, Mark Lundquist [EMAIL PROTECTED] wrote:
Hi Daniel,
On Mar 1, 2005, at 2:13 PM, Daniel McOrmond wrote:
I was thinking of something along the lines of an Input Module,
perhaps even using
Not sure, but you may be able to use XSP actions.
map:match pattern=*.do
map:act type=xsp-action src=action/{1}.xsp
/map:act
...
/map:match
-Kiran
(Object Edge Inc)
-Original Message-
From: Eric Shannon [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 01, 2005 2:30
You may want to apply two transforms first doing following:
xsl:template match=pcomponentobjectOut
xsl:value-of select=. disable-output-escaping=yes/
/xsl:template
And the second as it is given in the previous email.
-Kiran (Object Edge Inc)
-Original Message-
From: news
On Wed, 2005-03-02 at 17:48, Gawde, Kiran wrote:
Note the tag. It should be:
Test.xsp
xsp:page language=java xmlns:esql=http://apache.org/cocoon/SQL/v2;
xmlns:xsp=http://apache.org/xsp;
xmlns:util=http://apache.org/xsp/util/2.0;
xmlns:input=http://apache.org/cocoon/xsp/input/1.0;
Mark,
I can help by answering question 2. There was indeed some 'bugage'
related to redirecting that was fixed in the 2.1.6 release.
http://issues.apache.org/bugzilla/show_bug.cgi?id=26854
-Daniel
On Wed, 2 Mar 2005 08:22:58 -0800, Mark Lundquist
[EMAIL PROTECTED] wrote:
Question 2:...
Mark Lundquist wrote:
Hi all,
Using 2.1.6...
I have something like:
match pattern=**
generate src=cocoon:/content/{1} /
.
. (etc)
.
match pattern=content/**
select type=resource-exists
.
. (blah blah blah)
.
when test=something
redirect-to uri=somewhere global=true
The redirect is _external_
Hi Peter,
On Mar 2, 2005, at 12:19 AM, Peter Sparkes wrote:
Hi,
Help please
I wish to bind to a XML file to generate a form and then send the data
in the completed form to a database without updating the original XML
file. I can't work out how to extract the data from the completed form
so that
Jorg Heymans wrote:
This is some awesomely amazingly good news I won't jump
conclusions but you didn't make it too difficult to read between the
lines there :)
Really? Oh, you're very smart ;-P
Sylvain
--
Sylvain Wallez Anyware Technologies
On Mar 2, 2005, at 9:39 AM, Lars Huttar wrote:
Question 1: How do I get rid of this error?
Did you try putting a map:serialize / after the redirect-to?
hmm, well... I don't think that would be right! :-) There's no SAX
stream to serialize.
(And if there were one at this point in the pipeline
On Mie, 2 de Marzo de 2005, 9:01, Sylvain Wallez dijo:
Jorg Heymans wrote:
This is some awesomely amazingly good news I won't jump
conclusions but you didn't make it too difficult to read between the
lines there :)
Really? Oh, you're very smart ;-P
/me crossing fingers ;-)
Best
You're right in that there's no SAX events to serialize. However, I
wonder if adding a serializer would quiet Cocoon's complaints of an
incomplete pipeline? I believe that's what Lars was getting at.
Of course, the real solution to your problem is to do all your
redirecting from flowscript. ;)
You're right in that there's no SAX events to serialize. However, I
wonder if adding a serializer would quiet Cocoon's complaints of an
incomplete pipeline? I believe that's what Lars was getting at.
No, the sitemap parser will complain that it is not legal to combine a
redirect-to with a
Andreas Busch Escribio :-)
Thank's a lot for the example
but I can't get it work
My test:
Test.xsp
xsp:page language=java xmlns:esql=http://apache.org/cocoon/SQL/v2;
xmlns:xsp=http://apache.org/xsp;
xmlns:util=http://apache.org/xsp/util/2.0;
Carlos Chávez Escribio :-)
Andreas Busch Escribio :-)
Thank's a lot for the example
but I can't get it work
My test:
Test.xsp
xsp:page language=java xmlns:esql=http://apache.org/cocoon/SQL/v2;
xmlns:xsp=http://apache.org/xsp;
xmlns:util=http://apache.org/xsp/util/2.0;
I've been re-implementing some code to use the flow functions in place of
actions for authentication and
have run into a problem with redirecting vs invoking an internal pipeline
once the user has successfully
logged in.
I have a protected pipeline declared in my sitemap:
map:match
On Feb 24, 2005, at 4:53 AM, Aurlien DEHAY wrote:
I _think_ you can do it with flowscript, using processPipelineTo (see
doc http://cocoon.apache.org/2.1/userdocs/flow/api.html#Cocoon+Object
).
That's right, you can... that's how I've always done it.
cheers,
ml
Sylvain Wallez wrote:
Jorg Heymans wrote:
This is some awesomely amazingly good news I won't jump
conclusions but you didn't make it too difficult to read between the
lines there :)
Really? Oh, you're very smart ;-P
sure am :)
Just use big enough caps when announcing it so i won't miss
Have a look at [1], more specifically the direction attribute. In your
binding, you can specify where the data should be loaded from and where
the data should be saved to. So you load from your XML and you save to a
different bean that you then persist. Should be fairly straightforward I
A suggestion for dev
team:
The SOAPHelper.java retrieves
entire webservice respose and then returns XScriptObjectInlineXML.
String ret = method.getResponseBodyAsString();
int startOfXML =
ret.indexOf("?xml");
if (startOfXML == -1) { // No
xml?!
throw new
34 matches
Mail list logo