After searching the created Java file (apologies for my earlier
mistake), the request helper is the only place it could be trying to set
the variable.
For example the following XSP (entire file) :
+-+
?xml version=1.0?
xsp:page
ey,
i am not totally aware of the ideas behind the authentication-fw but i think
you could use xsp/esql to generate an xml file from your database conforming
to the authentication-fw specs.
HTH,
wouter
Hi Guys,
I am trying to use the C2 portal application and would like to transfer
the
thanks for the input.
- Original Message -
From: Wouter Scheele [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, November 12, 2002 4:49 PM
Subject: Re: Cocoon Portal - User Roles
ey,
i am not totally aware of the ideas behind the authentication-fw but i
think
you could use
On Tue, 2002-11-12 at 05:17, Geoff Howard wrote:
Yes, that was the specific error that people were
getting when the older jars distributed with the jdk
were not properly overridden.
http://marc.theaimsgroup.com/?l=xml-cocoon-devm=103692889710176w=2
So do you see anything wrong in those
Hi again guys,
I have checked the source codes of the portal
sample...
I found out that if I am to add new user or to add
new roles, both task
will end up submitting forms with different
parameters to this resource
/cocoon/myportal/sunspotdemo-sunriseconf
which inturn would exactly
Hi,
each
function of the portal is mapped to a pipeline. So in order to change the
storage - all you have to do is to modify the pipeline to use say the
SQLGenerator etc.
Read
the documentation. http://xml.apache.org/cocoon/developing/webapps/authentication.html
It
explains this in
Hi,
I use SourceWritingTransformer 3 times, and the XML stream that is processed
by this transformer is produced by a sub-sitemap. So that my XML database
queries are gathered there.
The bug : my transformer wants to write in the ino folder, where is placed
the sub-sitemap. Not the folder of the
I too had the same problems getting the command line to run. The jar
files needed can be found in webapps/cocoon/WEB-INF/lib. I ran the
class files from the build directory cocoon-2.0.3/build/cocoon/classes.
The following worked for me. Maybe this will help.
cd
It needs further clarification before we can start design.
Hopefully other people who asked for this feature will add a few more use
cases.
I know, thank you.
Btw, what about filling a DOM node in the model from outside?
For example, I'm using Xindice, and there's that nice pseudo protocol
I dont make use of it. But I use XSP. :-D
Try to change the order of the namespaces to:
xsp:page
xmlns:xsp-session=http://apache.org/xsp/session/2.0;
create-session=true
xmlns:xsp=http://apache.org/xsp;
The check again the Java code. It is a interesting error. What version are
you using?
I have a (multi-part) question about the suggested separation of concerns
that it is proposed that Cocoon achieves.
I would like to ask how Cocoon is being used in a production environment,
specifically how does separation of roles work out. Does it actually work
in practice? How easy is it in
Hi myself,
this is a bug in MultipartParser.java in the readHeaders() method within
Cocoon 2.0.2.
When you define form name=form2 enctype=multipart/form-data
method=post and you use a input name=uploadedfile type=file field,
the header will contain:
...name=uploadedfile; filename=
When
Hi Andrew,
Andrew Watt wrote:
I wonder if what has mostly been happening up to now is XSLT-coders
dabbling with design? :)
Yup.
I would be interested in any stories about the reactions of pure
graphics designers in a production setting when first faced with the
Cocoon approach and how
On 11.Nov.2002 -- 03:29 PM, Christian Joelly wrote:
Hello!
On Mon, Nov 11, 2002 at 11:17:15AM +0100, Christian Haul wrote:
On 07.Nov.2002 -- 09:44 AM, Christian Joelly wrote:
thanks for your answer. I'd prefer to use the version 2.0.1 for this
application, because maybe there are
Hi
Matthew,
Thanks for the reminder!
Hi,
each function of the
portal is mapped to a pipeline. So in order to change the storage - all you have
to do is to modify the pipeline to use say the SQLGenerator
etc.
Read the
Unfortunately this makes no difference.
The cocoon version is 2.03
Going to try downloading the 2.03 for JDK 1.4 binary - see if this makes
any difference . . .
-Original Message-
From: Antonio A. Gallardo Rivera
[mailto:agallardo;agsoftware.dnsalias.com]
Sent: 12 November 2002 10:25
On Monday, Nov 11, 2002, at 18:21 Europe/London, Alessio Sangalli wrote:
Hi I've a little problem because I want to automatically generate the
link header (if you use Mozilla, it's very useful, if you want to
show it: menu - view - show-hide - site navigation toolbar - show [as
needed]).
On Monday, Nov 11, 2002, at 19:41 Europe/London, Kjetil Kjernsmo wrote:
I have problems with the SQLTransformer in a recent 2.1-dev, more
specifically, I can't get the substitute-value element to work.
Sorry, but this works fine for me in 2.1dev
(I have different problems ;)
regards Jeremy
Hi Matthew / Guys,
Just want to confirm some things
Since the the "new role" function in the portal
sample is mapped to new-role
uri="cocoon:raw:/sunrise-newrole"/ uri, it is
using this sitemap snippet right?
map:match
pattern="sunrise*"
map:generate
Hi Matthew / Guys,
Just want to confirm some things
Since the the "new role" function in the portal
sample is mapped to new-role
uri="cocoon:raw:/sunrise-newrole"/ uri, it is
using this sitemap snippet right?
map:match
pattern="sunrise*"
map:generate
I am trying to manipulate an xml document i placedwithin the addressbook collection in Xindice. I'mattempting to match the value contained within the email attribute in the departmental-office element.When i run this script it compiles but I'm not getting any output. Can you see where I'm going
Since the the "new role" function in the
portal sample is mapped to new-role
uri="cocoon:raw:/sunrise-newrole"/ uri, it is
using this sitemap snippet right?
map:match
pattern="sunrise*"
map:generate
src="resources/sunrise{1}.xml"/
map:transform
type="session"/
map:transform
hi all,
is it possible to access a sitemap parameter, within
the cinclude tag in a page like this:
sitemap:
map:match pattern=composite/**
map:generate src=aggreate.xml /
map:transform type=cinclude
map:parameter name=uri value=cocoon:/{1} /
/map:transform
map:serialize/
On Tue, 12 Nov 2002 13:43:42 +0100 (CET)
Jakob Praher [EMAIL PROTECTED] wrote:
hi all,
is it possible to access a sitemap parameter, within
the cinclude tag in a page like this:
sitemap:
map:match pattern=composite/**
map:generate src=aggreate.xml /
map:transform type=cinclude
Hi Robert
mainly the returned XmlFragment that u retrieve from DB as String must
be parsed before u can deal with it ... that is why u have the code
string for the symbol ---
lt; ... I faced this problem also but I didn't use XSP ...I implemeted a Transformer to get this String fragment and
Did you try:
esql:get-columns/
coupled with
xsl:value-of select=column_name disable-output-escapign=yes/
?
L.
-Messaggio originale-
Da: Robert Sösemann [mailto:robert.soesemann;gmx.de]
Inviato: martedì 12 novembre 2002 13.44
A: [EMAIL PROTECTED]
Oggetto: How to handle
Lorenzo,
to ease the burden on your graphic designers, you could even build a sort of
taglib with XML elements to be expanded by an appropriate XSL.
I've done a lib which allows me to specify smart HTML without the need of
XSL (well, it works behind the scenes)... here's an example:
img
Darren Petrie wrote:
[alesan@valkyrie lib]$ pwd
/home/alesan/java/jakarta-tomcat-4.1.12-LE-jdk14/webapps/cocoon/WEB-INF/lib
[alesan@valkyrie lib]$ export CLASSPATH=.:/home/alesan/java/cocoon-2.0.
.3/build/cocoon/classes/:avalon-framework-20020627.jar:avalon-excalibur-vm1
4-20020705.jar
Jeremy Quinn wrote:
what I do to deal with this kind of thing is to have a menu.xml
structure, that is imported into all my pages via CInclude, then xslt
mh, I've never understood the difference between Xinclude and Cinclude...
(having been provided with the 'id' of the page via the
Hello,
I use XMLForm and I want to put the today date in a form.
The problem is that the today date has to be a String because the XMLForm simply
display the value of the Bean class attribute. If this value is not a String, the date
can't be read!
But I want to store the today date in a Date
Try like:
map:match pattern=composite/**
map:generate src=aggreate.xml /
map:transform src=sample.xsl
map:parameter name=uri value=cocoon:/{1}
/
/map:transform
map:transform type=cinclude/
map:serialize/
/map:match
sample.xsl
?xml version=1.0?
hat database are you using? I am using PostgreSQL 7.2.
I resolve this problem setting the requiered field in the database with
default value today.
Antonio Gallardo
El Martes, 12 de Noviembre de 2002 08:00, [EMAIL PROTECTED]
escribió:
Hello,
I use XMLForm and I want to put the today date
Thanks for reply. In tomcat 4.1.12, however, it gets
worse. Requesting http://localhost:8080/cocoon gives
the following exception.
I have been using a cvs 2.1-dev build of June 15;
just wanna check out the new features, especially the
portal framework, that may be added in latest cvs.
I'm using MS SQL Server 2000.
It means that you don't insert the date with the form but your database insert it
automatically!?
Sylvain
-Message d'origine-
De: Antonio Gallardo Rivera [mailto:agallardo;agsoftware.dnsalias.com]
Date: mardi, 12. novembre 2002 15:14
À: [EMAIL PROTECTED]
Hi,
Is there a way to get an XML document from somewhere (xml stream in a normal
pipeline) and POST it through an html form ? Or another way ?
My issue is POSTing something to an XML database (Tamino) with the value of
_process request parameter being the document's content.
I tried to use
Check that the user tomcat _is running as_ has write
permission to webapps and tomcat/work - but I don't
know who serviceconf makes as the user. If it's not
the same user that you're logged in as, the chmod you
did didn't help even besides the work dir.
Also, it doesn't look like you did
It is already fixed in 2.0.3, the release version:
private Hashtable readHeaders(TokenStream in)
throws IOException {
Hashtable headers = new Hashtable();
String hdrline = readln(in);
while (!.equals(hdrline)) {
StringTokenizer tokenizer = new
El Martes, 12 de Noviembre de 2002 08:43, [EMAIL PROTECTED]
escribió:
I'm using MS SQL Server 2000.
It means that you don't insert the date with the form but your database
insert it automatically!?
Yes. I mean create a default value for this. Then in the insert I omit to send
a value for
yeah the question is what is then more efficient:
the map:aggregate mechanics or a compiled xsp page
I am only wondering since Ovidiu, on his weblog,
states that map:aggregate is harmful.
given that you can do dyamic includes with
map:aggregate it is the question what is more
performant...
--
What version of cocoon are you using?
Geoff
--- Tom Place [EMAIL PROTECTED] wrote:
After searching the created Java file (apologies
for my earlier
mistake), the request helper is the only place it
could be trying to set
the variable.
For example the following XSP (entire file) :
I'm having trouble with a recently set up cocoon instance, processing an
example xml and xslt file. This seems to be happening inside Cocoon, so
I am not sure how to fix it.
org.apache.cocoon.ProcessingException:
Exception during processing of
I have found it a great advantage to have someone who is a developer, not a designer,
work with
the designer to create the XSLT to produce a particular design. Most designers
struggle with
dynamic components and web-related efficiency concerns. The developer and designer
working
together
Murray Cumming wrote:
On Tue, 2002-11-12 at 05:17, Geoff Howard wrote:
Yes, that was the specific error that people were
getting when the older jars distributed with the jdk
were not properly overridden.
http://marc.theaimsgroup.com/?l=xml-cocoon-devm=103692889710176w=2
Hi there !
I made all the steps you sugest on your page and i got the following
error :
HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented
it from fulfilling this request.
exception
javax.servlet.ServletException: bailout
Darren Petrie wrote:
unfortunately, I've talked too early. Althought an invocation with a
simple --help parameter works, when I try it with all the arguments:
$ java org.apache.cocoon.Main -c
~/java/jakarta-tomcat-4.1.12-LE-jdk14/webapps -d ~/lirc/cocoon/ -w /tmp/
-l ~/lirc/cocoon-log.txt
On 12 Nov 2002, Jose Borges Ferreira wrote:
Hi there !
I made all the steps you sugest on your page and i got the following
error :
HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented
it from fulfilling this request.
Jenny Brown wrote:
I'm having trouble with a recently set up cocoon instance, processing an
example xml and xslt file. This seems to be happening inside Cocoon, so
I am not sure how to fix it.
org.apache.cocoon.ProcessingException:
Exception during processing of
Hello. I am new to Cocoon and XSP and was wondering if it is possible to
use the XSP's on their own outside of the pipeline framework. More
specifically would I be able to use a ServerPagesGenerator to process a XSP
using ESQL to get an XML document from within a session bean? Currently we
are
I've taken this approach in the past. I've found that it involves heavy (or
at least essential) use of the document() function. This approach has been
documented in a couple articles on XML.com.
http://www.xml.com/pub/a/2000/07/26/xslt/xsltstyle.html
On Tue, 12 Nov 2002, Charles Brewster wrote:
Jenny Brown wrote:
I'm having trouble with a recently set up cocoon instance, processing an
example xml and xslt file. This seems to be happening inside Cocoon, so
I am not sure how to fix it.
Jenny I downloaded your two files simple.xsl to my
Jenny Brown wrote:
On Tue, 12 Nov 2002, Charles Brewster wrote:
I was pretty sure the XML was fine since it came from example code, but
that doesn't help me much in solving my actual problem. I'm looking for
why Cocoon is throwing a null pointer exception, as in, what do I even
try to debug or
On Tue, 12 Nov 2002, Charles Brewster wrote:
A trivial point, not to be insulting, :-) but did you install the vm14
download version of cocoon built for 1.4.0
Good question. I downloaded Cocoon-2.0.3 as a source tar/gzip. I then
built it using the most recent version of ant. It built
Hello Alessio,
Alessio Sangalli wrote:
Joerg Heinicke wrote:
Exactly the way I would do it. But beware: XSLTs are chached with their
parameters. So it's interesting to know, how many pages you have or how
big the XSLTs are.
$ ls *.xml | wc -l
12
(to be honest two xml pages are only
Jenny Brown wrote:
Good question. I downloaded Cocoon-2.0.3 as a source tar/gzip. I then
built it using the most recent version of ant. It built successfully
and told me during build that it was built for 1.4 and wouldn't work
with other versions.
So... Hopefully that answers your question,
Thanks for everyone's help with this. I was using cocoon 2.03 and when I
downloaded a new copy, this bug seemed to disappear.
Thanks anyway!
Tom
-Original Message-
From: Geoff Howard [mailto:cocoongeoff;yahoo.com]
Sent: 12 November 2002 15:46
To: [EMAIL PROTECTED]
Subject: RE:
I had indeed missed that step. I've done it now, but don't seem to be
having any better results... same error. I'm not sure how to test that
the /jre/lib/ changes actually took effect though. I did restart tomcat
just in case.
Here's the error I'm still getting:
DEBUG 10371 [jendvsl ] ():
Hi ,
an hour ago I updated the sources from the cvs and now I run a
build:
build.bat -Dinclude.webapp.libs=yes -Dinclude.scratchpad.libs=yes webapp
and after placing the war in the webapps dir and restarting Tomcat
i get the following error while loading cocoon start page
Hello all,
I'm trying to build up a web-application interface by separating the header and
sidebar (menu of options) into different pipelines. Those two pipelines are built from
resources and transformed with sunShine (session) and look like this:
!-- Site construction resources: --
Joerg Heinicke wrote:
that's ok ;-) It was more a general statement than a need for the numbers.
:) ok I wanted to be precise!
Maybe it's an alternative to aggregate the XML source
with the navigation XML.
I don't understand this, could you explain?
example of sitemap
I use Mozilla 1.2b. When I quote xml code it doesn't appear. Is this a
know bug?
Hmm, what exactly do you mean? You request an XML page, but you don't
see anything? Mozilla has no built-in stylesheet by default like IE. But
you can see the source of the document (Ctrl + u).
Joerg
Is there a good way to integrate Cocoon and Cold Fusion or should I run
Cocoon and its own and just have links from my Cold Fusion page to my XSLT
pages?
__
Christopher A Perrin, Chief Architect
Office: 913-599-1600x231 / Fax: 913-599-2084
PS
Jenny Brown wrote:
I had indeed missed that step. I've done it now, but don't seem to be
having any better results... same error. I'm not sure how to test that
the /jre/lib/ changes actually took effect though. I did restart tomcat
just in case.
snip
Also, make sure to delete the contents
Hi:
Can somebody send me an example XLS-FO file (formating objects) that
generate tables in .pdf file?
Or a XSL-FO tutorial applied, with good examples...
Thanks in advance.
Carlos Marcelo Santos.
[EMAIL PROTECTED]
www.3pilares.com
Buenos Aires.
Argentina.
Check this:
http://www.xml.com/pub/a/2001/01/17/xsl-fo/index.html
http://www.dpawson.co.uk/xsl/sect3/index.html
http://www.ibiblio.org/xml/books/bible2/chapters/ch18.html
It helps me to resolve my problems. :-D
Antonio Gallardo
Carlos Marcelo Santos dijo:
Hi:
Can somebody send me an
Is there anyone that can provide a working example of the modular db select.
An addtional bonus would be to see how to get at the values output from the
action in the sitemap.
Thanks,
Phil
-
Please check that your question
Can anyone provide a working sample of accessing any request attributes in the
sitemap?
Thanks,
Phil
-
Please check that your question has not already been answered in the
FAQ before posting.
Try the following:
Use a Date property with its own getter and setter for the database access.
Implement an extra property named dateString.
Then write the getter of the property to convert the Date object into String
when invoked.
Also write a setter to convert a string to a date. The Java
Check the examples of mod-db in your Cocoon installation.
Antonio Gallardo
Is there anyone that can provide a working example of the modular db
select. An addtional bonus would be to see how to get at the values
output from the action in the sitemap.
Thanks,
Phil
Right, those are great, but i need an example of the select at work and can't
seem to find one.
On Tuesday 12 November 2002 09:21 pm, Antonio Gallardo R. wrote:
Check the examples of mod-db in your Cocoon installation.
Antonio Gallardo
Is there anyone that can provide a working example of
Hi Matthew,
If I understand it right, I have to change
thesunrise-newrole.xml into something that the sql transformer would
understand and remove the cinclude and writesource transformer on the
pipeline?
In this case...
Whats the advantage of using transformer than an
action?
In the end
70 matches
Mail list logo