Hi,
Once again on my quest to using Cocoon, i have a question.
Can I use the output of a flowscript, in a page that is using the SQL
transformer?
So, can i put a transformer like:
map:transform type=sql
map:parameter name=use-connection value=ledenSysDB/
/map:transform
In a match like this:
Hi Sven,
yes this can be done! You should be able to do this by just adding the
SQL transformer behind the jx generator.
Like this:
map:match pattern=foo.jx
map:generate src=scripts/foo.jx type=jx/
map:transform type=sql
map:parameter name=use-connection value=ledenSysDB/
Hi
I have a simple application and use loadXML, showForm, saveXml to geting some
data from user and
saving it in eXist, Can I save an xml fragment as one of the fields of the form?
(I have a javascript tree editor in a textarea and want to save the resulting
xml tree in one field of the form)
I'd like to reuse a sub-sitemap for a number of different uri-
prefixes. I can set this up in the main sitemap as follows:
map:match pattern=*/**
map:mount check-reload=yes src=design/area/sitemap.xmap uri-
prefix={1} /
/map:match
Is there a way in the sub-sitemap
Hi Jeroen,
Thanks for the hint.
It seems to work when i got a select query.
But when I do the exact same thing, on a insert query. it doesn't seem
to insert the data into the database.
I don't think I need to handle an insert query different, do I?
Here is the relevant sitemap:
map:match
I'd like to reuse a sub-sitemap for a number of different uri-
prefixes. I can set this up in the main sitemap as follows:
map:match pattern=^(company|consulting|translation|research|
support)(.*)$ type=regexp
map:mount check-reload=yes src=design/area/sitemap.xmap uri-
prefix={1} /
Dear All,
i need your help. so i have following flowscript.
function main()
{
try
{
var myXml = java.io.ByteArrayOutputStream();
var pipeutil =
Mark Lundquist wrote:
On Jan 24, 2007, at 2:17 AM, Peter Flynn wrote:
I couldn't find a DTD or Schema anywhere though: I'm sure there's one
around -- it's just not obvious. The link to sitemap-2.1-draft.xsd on
http://cocoon.apache.org/2.1/userdocs/concepts/sitemap.html is broken,
and all
Hi Sven,
your code seems fine and the insert should work. Did you try to look in
the cocoon logs? If not, you could try to set the debug level of the sql
transformer to debug.
Kind regards,
Jeroen Reijn
sven goosen wrote:
Hi Jeroen,
Thanks for the hint.
It seems to work when i got a
Dear All,
i get a error like :
org.apache.excalibur.source.SourceException: The attribute: myXml is empty
any idea
Rachid Harradi
Original-Nachricht
Datum: Thu, 25 Jan 2007 15:12:03 +0100
Von: rachid harradi [EMAIL PROTECTED]
An: users@cocoon.apache.org
Betreff: from
Hi I thought you'd like to know that in following the links on the
training page at : http://cocoon.apache.org/link/training.html
The first two links are broken to Galatea Information Strategies and
SN AG and have been for the last week or so.
Thanks
Jonathan Hipkiss
Wotan von Klass napisał(a):
Hello,
I have a problem with the Bean Binding example. When I click the
submit button, the form is loaded again. But I should get in the
form2bean-success-pipeline and see data extracted from the bean.
Any thoughts?
Are the 2.2 CForms allready stable?
Forms in 2.2
Hipkiss JR (Mr) napisał(a):
Hi I thought you'd like to know that in following the links on the
training page at : http://cocoon.apache.org/link/training.html
The first two links are broken to Galatea Information Strategies and
SN AG and have been for the last week or so.
You could please
Stephen Winnall wrote:
I'd like to reuse a sub-sitemap for a number of different uri-
prefixes. I can set this up in the main sitemap as follows:
map:match pattern=^(company|consulting|translation|research|
support)(.*)$ type=regexp
map:mount check-reload=yes
I've got a large XML file, say 15 Mb and I need to get it into a
PostgreSQL database. Can Cocoon do this? If so, I could sure use some tips.
RTFM'ers Note: I am reading the docs now. Perhaps you could direct me to
relevant sections? :-)
Jim C.
Hi,
I can't find anything in the logs. how can i set the debug level of the
transformer?
Sven
Jeroen Reijn schreef:
Hi Sven,
your code seems fine and the insert should work. Did you try to look
in the cocoon logs? If not, you could try to set the debug level of
the sql transformer to
On 1/25/07, Jim C. [EMAIL PROTECTED] wrote:
I've got a large XML file, say 15 Mb and I need to get it into a
PostgreSQL database. Can Cocoon do this?...
It could, but if it's a one-time job, I'd go for generating SQL
statements by transforming your XML with XSLT:
XML file - XSLT transform -
Thanks Nico, that's great.
Steve
On 25 Jan 2007, at 16:37, Nico Verwer wrote:
Stephen Winnall wrote:
I'd like to reuse a sub-sitemap for a number of different uri-
prefixes. I can set this up in the main sitemap as follows:
map:match
Dear All,
i get a error like :
org.apache.excalibur.source.SourceException: The attribute: myXml is empty
any idea
Rachid Harradi
Original-Nachricht
Datum: Thu, 25 Jan 2007 15:12:03 +0100
Von: rachid harradi [EMAIL PROTECTED]
An: users@cocoon.apache.org
Betreff:
19 matches
Mail list logo