I think you can do that.
Antonio Gallardo
El Jueves, 24 de Octubre de 2002 23:51, Richard Reyes escribió:
Hi Guys,
I'm using Cocoon 2.1 -dev, and working on implementing the Cocoon Portal
on our application.
Can I change the total layout of the portal? Can I remove all the frames
anf
Thanks Antonio,
would you happent to know where the frameset codes declared?
- Original Message -
From: Antonio Gallardo Rivera [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, October 25, 2002 2:04 PM
Subject: Re: Cocoon Portal Layout
I think you can do that.
Antonio Gallardo
I think inside the xsl file for the portal.
Antonio Gallardo
El Viernes, 25 de Octubre de 2002 00:09, Richard Reyes escribió:
Thanks Antonio,
would you happent to know where the frameset codes declared?
- Original Message -
From: Antonio Gallardo Rivera [EMAIL PROTECTED]
To:
Sorry Antonio but it's in the resources/free/portal.xml and
resources/auth/portal.xml files.
Bert
At 00:20 25/10/2002 -0600, you wrote:
I think inside the xsl file for the portal.
Antonio Gallardo
El Viernes, 25 de Octubre de 2002 00:09, Richard Reyes escribió:
Thanks Antonio,
would you
Hi Bert,
Can I change the orientation of the frames sets? It doesn't seem like it?
- Original Message -
From: Bert Van Kets [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, October 25, 2002 2:52 PM
Subject: Re: Cocoon Portal Layout
Sorry Antonio but it's in the
On 24.Oct.2002 -- 09:38 PM, Samuel Bruce wrote:
Hello,
I'm using the latest CVS, TC 4.1.12, JDK 1.4.01.
The mod-db action inserts the first row correctly, but
fails on the second row insert. It seems to also fail
attempting to rollback.
Anything you can do to help is appreciated.
Hi Michael,
J.Pietschmann is right, I also had trouble with the batik and fop jars.
The jar-Files I use now:
fop.jar (V20.4) 1.694.560 Bytes
batik.jar (from fop V20.4) 2.163.538 Bytes
I'm using:
cocoon 2.0.3
tomcat 4.0.4
jdk 1.3.1
under NT 4.0 and Solaris (under Solaris I use the PJA-Toolkit
I have kept the sizing and position of the frames, so I have not tried this
before.
Technically speaking it should not make a difference how your frames are
set up, as long as they are there. Although I don't see why you would not
be able to
get rid of the admin-header frame though.
Your
Thanks Bert I have already read all the urls you've given me.
I have successfully implemented the Authentication, now I'm trying to
do the portal and authorization ( Roles ).
And its sure is that Im gonna read the portal documentations some more.
Although I still would want to know were those
-Message d'origine-
De: Björn Voigt [mailto:bjoern-voigt;gmx.de]
Date: jeudi 24 octobre 2002 22:32
À: cocoon-users
Objet: Which way is the best to output blobs from db to user?
Hello cocooners,
i have a mysql database with a table containing pictures as blob.
In an old
Have a look at the 'editor' sample in Cocoon 2.1.dev, it does exactly
this.
regards Jeremy
On Thursday, Oct 24, 2002, at 20:27 Europe/London, Oskar Casquero wrote:
Hello,
Is it possible to call a pipeline, that returns SAX events
representing an stylesheet, from the src attribute of a
On Thursday, Oct 24, 2002, at 12:59 Europe/London, Alex McLintock wrote:
Hi folks,
Are there any London based Cocoon users on this list who want to meet
other Cocoon users - perhaps for a pub meeting?
Great idea, count me in.
regards Jeremy
Hello,
I have a XML document with some values, that I pass to an html form
using a XSL. When the form is submitted with the new values, I want to
update the XML document with these new values. Which is the best way of
doing this, using all the power of cocoon 2.1. That's all, thank you
very
Hi Richard,
As said before, it's in the resources/free/portal.xml file.
Here's the content of mine:
page
pageset columns=* rows=100,*
part title=Header scrolling=no
urladminfree-header/url
/part
pageset columns=* rows=*,15
part title=Content
Hi Bert
Sorry to have confused you...
I'm looking for the part that generates the exact frameset tags
which in the end would be serialized as xhtmls.
Question: There no limitations (except of course for being a valid htmls) on
however
we set these frames / pagesets right?
Thanks.
Hi
I'm investigating the possibility to use Cocoon 2 for
a big corporate app.
I have a doubt whether it is possible (and easy :) to
fetch data from EJB (connected to a DB) and produce
HTML pages from both XML/XSL documents and these data.
Does it fit into the Cocoon pipeline architecture
concept?
Hi Antonio,
I've been trying hard to get this esql sample to work.
The tag works perfectly.
userxsp-session:getxml context=authentication
path=/authentication/ID//user
returns the userID in my xsp page. So there is nothing wrong with the
class or the session.xsl file.
However, I need to
k, back to the basics then.
I'm using an older version of Cocoon (CVS build of 14/5/2002). There's not
much changed to the portal since then, except it moved to a sub sitemap.
Here's the pipeline that's called first:
map:match pattern=sunspotdemoportal
map:act
Thanks Bert,
No more questions sir ( for now ),
Now I have understand it correctly.
Thanks again.
=
- Original Message -
From: Bert Van Kets [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, October 25, 2002 6:16 PM
Subject: Re: Cocoon
I'm using the FileWritingTransform to do this. There are lots of samples
in the portal demo where the user data is written to disk. It supports
full XPath in the file, so you can add or replace XML parts.
There is a big BUT though!!!
There is no file locking in the FWT, so you must make sure
Hi Bert,
Try to put esql:parameter around xsp-sessio:getxml in your query.
-Tuomo
On Fri, 25 Oct 2002, Bert Van Kets wrote:
Hi Antonio,
I've been trying hard to get this esql sample to work.
The tag works perfectly.
userxsp-session:getxml context=authentication
does the sunspot components come with the Cocoon tar.gz ?
how can i install them ? thank you
-Mensagem original-
De: Bert Van Kets [mailto:bert;vankets.com]
Enviada: sexta-feira, 25 de Outubro de 2002 11:17
Para: [EMAIL PROTECTED]
Assunto: Re: Cocoon Portal Layout
k, back to the
Could I use xmlforms, with a bean handling the form values and updating
the XML document usin jdom? Is it possible? Thanks.
Bert Van Kets wrote:
I'm using the FileWritingTransform to do this. There are lots of
samples in the portal demo where the user data is written to disk. It
supports
On 25.Oct.2002 -- 10:42 AM, Michael Edge wrote:
Hi
In the XSP snippet below I'd like to throw an exception from within
esql:no-results. My questions are: how do I do this and will the exception be
caught by the map:handle-errors section of the sitemap?
If you really want, you could throw
yes.
read http://xml.apache.org/cocoon/installing/index.html
build the war file using
build -Dinclude.webapp.libs=yes -Dinclude.scratchpad.libs=yes -Dinstall.war=
%TOMCAT_HOME%\webapps webapp
then copy the cocoon.war
good luck
- Original Message -
From: José Moreira [EMAIL PROTECTED]
Hey guys,
Sounds good.
I'm working on the client site Monday-Thursday in
Milton Keynes and in London (near Bank station) on
Fridays.
Cheers,
-Alex
On Thursday, Oct 24, 2002, at 12:59 Europe/London,
Alex McLintock wrote:
Hi folks,
Are there any London based Cocoon users on this
list
I tried this already. This does not work!
Here's my page:
?xml version=1.0 encoding=UTF-8?
xsp:page language=java xmlns:xsp=http://apache.org/xsp;
xmlns:esql=http://apache.org/cocoon/SQL/v2;
xmlns:xsp-session=http://apache.org/xsp/session/2.0;
users
esql:connection
esql:poolbvar/esql:pool
Hi all,
I have a mySQL database with varchar fields containing foreign characters
(ex. ë) Queries in the mySQL client yield correct results.
When I do a query using the SQLTransfomer or esql the non ASCII characters
are not presented properly. The ë is converted to ë
Here's the pipeline:
Bert,
try iso-8859-1 as the default XML serializer encoding.
Best regards,
P.S.
Search the mailing list's archive for more information on serializers'
encodings.
Luca Morandini
[EMAIL PROTECTED]
-Messaggio originale-
Da: Bert Van Kets [mailto:bert;vankets.com]
Inviato: venerdì 25
I think you have some options in Cocoon:
- Use the castortransformer to transform the resulting data from a bean to
XML. (and then process it additionally with XSL).
- Use the velocity generator to get data from a value-object result from an
EJB.
- Write a jxpath transformer (is probably allready
Many thanks,
this sounds very good, I will try this.
Greetings,
Michael.
[EMAIL PROTECTED] wrote at
Thu, 24 Oct 2002 23:59:59 +0200:
[EMAIL PROTECTED] wrote:
java.lang.NoClassDefFoundError:
org/apache/batik/dom/svg/DefaultSVGContext
There were Cocoon versions which included a Batik
Yes,
XMLForm is an alternative .
The webapp/samples/xmlform demo uses a DOM object nested within a JavaBean.
This should be enough to get you started.
You would probably want to use XMLDocumentContainer as a wrapper bean for
your DOM object.
See also the HOWTO:
Thanks very much. It worked like a charm.
This configuration wasn't apparent to me from reading
the documentation. Thanks for making it clear.
--- Christian Haul
[EMAIL PROTECTED] wrote:
On 24.Oct.2002 -- 09:38 PM, Samuel Bruce wrote:
Hello,
I'm using the latest CVS, TC 4.1.12, JDK
Hello.
I am trying to insert permission into a table. The descriptor is:
table name=permisos
keys
key name=usr_id type=long
mode name=request-attr type=all
parameter=org.apache.cocoon.components.modules.output.OutputModule:usuarios.usr_id[0]/
/key
key name=obj_id type=long
I will prepare a new patch for this. I am currently using it with the lastest
CVS version of 2.1.
I also made some enhancement. It now returns as=string.
Antonio Gallardo
El Viernes, 25 de Octubre de 2002 05:14, Bert Van Kets escribió:
I tried this already. This does not work!
Here's my
WARNING: Unsanitized content follows.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Thursday 24 October 2002 5:48 pm, Kjetil inspired the electrons to say:
On Thursday 24 October 2002 13:50, Christian Parpart wrote:
org.apache.cocoon.ProcessingException: Error compiling sitemap:
Looking forward to it. Thanks.
I'm using the SQL Transformer as an alternative, but this means some extra
transformers in my pipeline :-(
Bert
At 08:16 25/10/2002 -0600, you wrote:
I will prepare a new patch for this. I am currently using it with the lastest
CVS version of 2.1.
I also made
Why would it be a bad design, Chris? My understanding of ESQL is that it exists
specifically for the purpose of extracting data from a database and formatting it as
XML. What benefit is there to having a SELECT in an action, besides having people such
as yourself consider it a good design.
Bruno Collet wrote:
I have a doubt whether it is possible (and easy :) to
fetch data from EJB (connected to a DB) and produce
HTML pages from both XML/XSL documents and these data.
Despite Michael Homeijer interesting answers, there were not
many responses, and it seems to me there are never a
Bert,
I can only say that I had your same problem and solved it by replacing utf-8
with iso-8859-1 in the serializers' encoding; moreover, AFAIK, the default
is utf-8 (as it should be, since XML has utf-8 as default).
Best regards,
Luca Morandini
[EMAIL PROTECTED]
-Messaggio
I have a logicsheet for EJB somewhere, but was developed for Cocoon 1.
If anybody is interested then I can try to find it and send.
--
Konstantin Piroumian
-Original Message-
From: Martin Schimak [mailto:cocoon-users;schimak.at]
Sent: Friday, October 25, 2002 6:46 PM
To: [EMAIL
hy Bert,
we had this problem too.
look, if the map:actions section contains
following:map:action name="set-encoding"
src="org.apache.cocoon.acting.SetCharacterEncodingAction"/
and at the beginning of a pipelinemap:act
type="set-encoding"map:parameter name="form-encoding"
Hallo,
does anyone know if cocoon2 supports
exslt-extension-functions and when how to use them?
Boris
Martin Schimak wrote:
Are there any resources available focusing on EJB and Cocoon?
The million dollar question. I'm trying to push Cocoon in the company I
work for and I keep stumbling upon it.
Manos
-
Please check that
Piroumian Konstantin wrote:
I have a logicsheet for EJB somewhere, but was developed for Cocoon 1.
If anybody is interested then I can try to find it and send.
If it's not too complicated, yes, please, would be interesting to look into.
Martin.
--
Konstantin Piroumian
-Original
I'd originally planned to do some work with Cocoon and EJB, but
didn't get very far.
I was going to use Cocoon as an alternate presentation layer for
my J2EE application and was therefore planning to integrate them
by writing XSP pages (with helper classes and logicsheets for
each EJB) to
I have a doubt whether it is possible (and easy :) to
fetch data from EJB (connected to a DB) and produce
HTML pages from both XML/XSL documents and these data.
Despite Michael Homeijer interesting answers, there were not
many responses, and it seems to me there are never a lot when
it
Here is the EJB logicsheet for Cocoon 1 and I think that it can be easily
adapted for Cocoon 2.
The author is Yvon Pedron ([EMAIL PROTECTED]), but he does not
support it any more.
--
Konstantin Piroumian
-Original Message-
From: Martin Schimak [mailto:cocoon-users;schimak.at]
I'm using a build from 14 May 2002. This doesn't have this action
yet. I'll check a recent build and try that.
Do you mean that I need to add this action at the beginning of EVERY pipeline?
Bert
At 16:55 25/10/2002 +0200, you wrote:
hy Bert,
we had this problem too.
look, if the map:actions
I try to update Batik up version 1.5b4 but i've got
some problems...
on cocoon 2.0.3 i have batik-all-1.5b2.jar
file
and on bin of last beta 4 a lot of
file...
anyone could help me to know how create a
batik-all-XXX.jar from all little files?
or if there's a different way to do thi
In J2EE world, cocoon would play the role of the presentation tier, same as
struts.
In some cases, cocoon would bypass EJBs, to provide read-only data-retrieval
(faster than
instantiate thousands of bean in memory).
What about a ValueObject generator, that by reflection generates sax events
From: Gustavo Nalle Fernandes [mailto:gustavonf;terra.com.br]
In J2EE world, cocoon would play the role of the
presentation tier, same as struts. In some cases, cocoon
would bypass EJBs, to provide read-only data-retrieval
(faster than instantiate thousands of bean in memory). What
Hmm, strange. I started having the problem when the serializers were set
to iso-8859-1.
More reading and testing coming up. :(
Bert
At 16:47 25/10/2002 +0200, you wrote:
Bert,
I can only say that I had your same problem and solved it by replacing utf-8
with iso-8859-1 in the serializers'
I had to insert it to the recent
cocoon-distribution(2.03). But it worked immeadiatly and i think it will work
without rebuilt in the dev-built as well.
You can add it to a action-set
map:action-setsmap:action-set
name="mitarbeiter"map:act
type="set-encoding"map:parameter
On Fri, 2002-10-25 at 16:33, Bert Van Kets wrote:
Of course I checked the mail logs before bugging the list. I could not
find a solution though. I did find that I need to use UTF-8 and not
iso-8859-1 (the Cocoon default)
Searching through the source I found that a LOT of classes and
Many thanks to all!
I'v downloaded the fop-0.20.4 package and extracted fop and batik to the
cocoon lib-directory and it works fine.
What's about a official sample for Cocoon that demonstrates the PDF with
embedded graphics feature (or at least for Cocoon testing)? If I have
more expierience
If you are interested in XML Pipelines and XML transformation, check
out: http://www.orbeon.com/oxf/whitepaper.xhtml
Regards,
-ot
Jeremy Quinn wrote:
Have a look at the 'editor' sample in Cocoon 2.1.dev, it does exactly this.
regards Jeremy
On Thursday, Oct 24, 2002, at 20:27 Europe/London,
You can get the same effect if you try and use samples/mod-db/user-list.
If you add a group you get no error, but if you add a person, person-group
you get the following error.
The error reported from the sitemap.log is
org.apache.avalon.framework.component.ComponentException: Could not find
Finally I've found the problem in one of my own stylesheets. The protocol
cocoon:/ inside the src attribute of the map:transform elements works
well on cocoon-2.1-dev
Oskar
- Original Message -
From: Omar Tazi [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, October 30, 2002 6:38
Sorry, for the too late answer. I was in a meeting. Here is example of how to
make it work inside a query:
SELECT * FROM usuarios
WHERE usr_id = esql:parameter
type=intxsp:exprInteger.parseInt(xsp-session:getxml
context=authentication path=/authentication/ID
Its now in the bugzilla:
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13070
Download the most recently attachment.
I hope that soon commiters will include it into de 2.1 version. It very stable
I am using it for more than a month and works fine.
Antonio Gallardo
El Viernes, 25 de
Thanks for your prompt response Chris. I am using CVS 2.1 lastest. builded on
24-oct-02 at 20:00 UTC. I think this is the lastest. I use CVS to update the
sources. Also, PostgreSQL 7.2, JSDK 1.4.1
Antonio Gallardo
Here is the exception:
Original exception : java.lang.ClassCastException at
On Fri, 25 Oct 2002, Boris Althaus wrote:
Hallo,
does anyone know if cocoon2 supports exslt-extension-functions and when how to use
them?
It is a matter for the XSL processor. I am unsure about Xalan off the top
of my head, but Saxon does support this and elsewhere the configuration of
I have an install of Tomcat 4.0.1 and I downloaded the .gz file for
cocoon 2.0.3 and I followed the (brief) instructions in the INSTALL
file. I copied the cocoon.war file into my opt/jakarta/webapps/
directory and even copied it into opt/jakarta/webapps/cocoon/ and still
I get nothing. What do I
Chris -
Tomcat will automatically unpack the war file - you don't need to do so
yourself. Also, I recommend you use a new version of Tomcat - like 4.0.5
or 4.1.12. These are preferred over 4.0.1.
Lajos
Chris Bovasso wrote:
I have an install of Tomcat 4.0.1 and I downloaded the .gz file for
Hi folks,
Are there any London based Cocoon users on this list who want to meet other
Cocoon users - perhaps for a pub meeting?
We could perhaps piggy back on the recently started London Content
Management pub meeting.
(That is London, United Kingdom, not London, Canada)
Alex McLintock
Boris Althaus wrote:
Hallo,
does anyone know if cocoon2 supports exslt-extension-functions and when
how to use them?
Boris
Cocoon 2 uses Xalan 2 by default, which supports EXSLT since version
2.3.2 (http://xml.apache.org/xalan-j/extensionslib.html#exslt). I think
you have to replace the
---
This mail is generated automatically using
Jakarta Ant. Contents are automatically
downloaded from Apache's Bugzilla.
---
Please do not reply to
68 matches
Mail list logo