Is there a well known receipe to generate the JavaBeans which XForms needs
to hold the data for each form ? Or a generic mapper whcih given the xform
data lets me store such directly in Xindice or, through somethign like an
automated SQL mapping, elsewhere ?
What I am looking for is a data
On 11.Feb.2003 -- 09:13 PM, Tom Place wrote:
Hi,
Im trying to insert xml into my xsp, this xml is for navigation
purposes so ideally I would like to use one navigation file in many
different xsp documents.
I have looked at the mail archive to find out the details about this but
I cant
Thank you both Jan and Timothy !
I tried with the context variable with the getAbsolutePath(), and it works
perfectly !
--
Olivier BILLARD
- Original Message -
From: Jan Harms [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, February 11, 2003 4:47 PM
Subject: AW: How to get an
Hi,
how can one generate a document from multiple sources without knowing
their exact names using a pattern? Given some files blah_*.xml, I would
like to aggregate all these and get one XML document to apply stylesheets
etc.
But I have never seen that it is possible to use patterns in
Peter Klotz wrote:
Hi,
how can one generate a document from multiple sources without knowing
their exact names using a pattern? Given some files blah_*.xml, I would
like to aggregate all these and get one XML document to apply stylesheets
etc.
But I have never seen that it is possible to use
Hi,
I don't think that this would help, because I would need to call this
first pipeline with distinct names but I don't know that. And I can't pass
a pattern to a pipeline, right? I thought of using a directory generator
and use a XSL to get the actual file names but how would I then
Sure. You just need to use the cocoon:/ protocol.
See info about Protocols at:
http://xml.apache.org/cocoon/userdocs/concepts/sitemap.html
Best.
-Mensaje original-
De: Sonny Sukumar [mailto:[EMAIL PROTECTED]]
Enviado el: miercoles, 12 de febrero de 2003 8:59
Para: [EMAIL PROTECTED]
Sonny,
if a client-side redirect would do, try redirect-to, like in:
map:act type=is-user-logged
!-- logged user stuff --
/map:act
!-- un-logged user stuff --
map:redirect-to uri=doc-stale.html/
Regards,
-
Luca Morandini
Hi Dirk-Willem,
See the How-to at Cocoon Wiki:
http://wiki.cocoondev.org/Wiki.jsp?page=XMLFormXindice
Regards
Sylvain
-Message d'origine-
De: Dirk-Willem van Gulik [mailto:[EMAIL PROTECTED]]
Date: mercredi, 12. février 2003 09:01
À: [EMAIL PROTECTED]
Objet: XForms - and persistance
Hi Robert,
I want to use the Eclipse debugger. I dont' if it is JPD compatible but I think...
In Eclipse, how do you attach Tomcat remotely?
Thanks
Regards
Sylvain
-Message d'origine-
De: Robert Simmons [mailto:[EMAIL PROTECTED]]
Date: mardi, 11. février 2003 21:55
À: [EMAIL
Peter Klotz wrote:
Hi,
I don't think that this would help, because I would need to call this
first pipeline with distinct names but I don't know that. And I can't pass
a pattern to a pipeline, right? I thought of using a directory generator
and use a XSL to get the actual file names but how
On Wed, 12 Feb 2003 [EMAIL PROTECTED] wrote:
http://wiki.cocoondev.org/Wiki.jsp?page=XMLFormXindice
Thanks -seems that Schematron was the missing piece - and this fits much
nicer together than what I had managed sofar with Castor.
Thanks again !
Dw.
If you add the following Java options to the line that runs tomcat:
-Xint -Xdebug -Xrunjdwp:transport=dt_socket,server=y,address=12999,suspend=n
Then you can attach to tomcat using elicpse at the socket 12999. How to
attach eclipse specifically is somethign I dont know. I use NetBeans because
Hello,
Every time I need a pattern I need to pass cocoon-reload=true to relaod
the sitemap even it 's unchanged.
The issue is that is really slow, so I've decided to create a sub sitemap
so that only it would be reloaded.
I'm not sure it will works.
The thing is that I need to insert
Hy, all;
I see one special use case for cocoon, which i call the
cocoon-sandwich. The raising amount of questions
in the past few weeks triggered me to write down this text.
Lajos Moczar and myself we are in this since about two months
now. This message summarizes some of our results. I think,
On Wednesday, February 12, 2003, at 08:00 AM, Dirk-Willem van Gulik
wrote:
Is there a well known receipe to generate the JavaBeans which XForms
needs
to hold the data for each form ? Or a generic mapper whcih given the
xform
data lets me store such directly in Xindice or, through somethign
Hi!
I am new to cocoon, and I was wondering if I could
use this feature ( webServiceProxy ) with any Website ( and if yes
-how?) or just withthose sites who produce XML content.
Thank you
Tudor
hi
I have compiled cocoon2.0.3 with jdk1.4 as a war and tried to deploy it to
SunOne app server. When I hit the page:
http://localhost:81/cocoon
I got the following error:
Type: Exception Report
Message: Internal Server Error
Exception
javax.servlet.ServletException: Servlet.init() for servlet
I am not quite sure but I guess:
Root Cause
java.security.AccessControlException: access denied
(java.lang.RuntimePermission createSecurityManager)
it has something to do with your Permission setting and I think they reside on your
server.
...but it is just a guess!
King regards
Thorsten
On Tue, 11 Feb 2003 11:09:46 -0500
Timothy Larson [EMAIL PROTECTED] wrote:
You can get the current sitemap path in an XSP:
http://marc.theaimsgroup.com/?l=xml-cocoon-usersm=104160818008223w=2
Tim
[EMAIL PROTECTED] 02/11/03 10:24AM
Hi all !
I am using Cocoon 2.0.4 with Tomcat
I would be interested too. Despite I would prefere some place in Switzerland (or
France).
Hold us informed about it :-)
-Original Message-
From: Darren Petrie [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 11, 2003 3:30 PM
To: [EMAIL PROTECTED]
Subject: Re: AW: anyone interested
The writeSource.xsl tranformer seems to be working. If I remove the
map:transform type=write-source/ I can see the document on the browser
and it looks correct. However when I include the write-source I get the
following message on the browser the src attribute could not be resolved
and failed
We are running cocoon on SunOne as well, and I had this problem too.
It's really quite simple. You just need to add some permission in the
server.policy file for cocoon to work. These are the permissions I
added:
permission java.lang.RuntimePermission
createSecurityManager;
Hi folks
We are going to be setting up a dedicated cocoon server soon and I am
trying to spec out the hardware. The operating system will be redhat (8
probably) and tomcat will be the servlet engine.
Does anyone have any experiences of what hardware balance is right for
cocoon? I know this is
We are going to be setting up a dedicated cocoon server soon
and I am trying to spec out the hardware. The operating
system will be redhat (8
probably) and tomcat will be the servlet engine.
Does anyone have any experiences of what hardware balance is
right for cocoon?
As much as
In my current work with the aggregation option in Cocoon 2.0.4 it seems that
the aggregation options are not very fault tolerant. If one of the
map:part's of my map:aggregate section points to a file that does not exist,
all map:part's after that one do not get returned even if their files exist.
Ben Young [EMAIL PROTECTED] writes:
In my current work with the aggregation option in Cocoon 2.0.4 it seems that
the aggregation options are not very fault tolerant. If one of the
map:part's of my map:aggregate section points to a file that does not exist,
all map:part's after that one do not
Michael Melhem wrote:
Hi Christian, I was actually thinking that we could provide a new
build target that would build a hello-world.war and would contain
only one or two simple samples.
The object of this hello-world.war would be demonstrate the basic
features/ideas behind Cocoon without
I'm using an xsp in which I manipulate some code (xsp:request parameters,
for example).
But unfortunately, There is too much code java in it and so the xsp is very
HUGE.
I was thinking about using an action in the sitemap to modify my document
instead of java code in the xsp, is it a good
Probably a generator actually. Use generators for things that are more
complex. XSP should be used, IMHO, only for generation with small amounts of
code.
-- Robert
- Original Message -
From: Lionel Crine [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, February 12, 2003 5:40 PM
Title: RE: Too much java in xsp
why don't you create a helper class with your heavy duty java in it?
Geoff
-Original Message-
From: Lionel Crine [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 12, 2003 11:40 AM
To: [EMAIL PROTECTED]
Subject: Too much java in xsp
Hi all,
I'm trying to call web services from org.apache.cocoon.webservices
package using AxisRPCReader.
The given example of AdminService works and I try to call others
services such as the Cocoon-JVM-Memory one.
works:
soap:call method=AdminService url=rpcrouter
m:list
Title: RE: Fault tolerance...
have you tried using the resource exists action?
Geoff
-Original Message-
From: Ben Young [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 12, 2003 11:04 AM
To: [EMAIL PROTECTED]
Subject: Fault tolerance...
In my current work
Please, can you give me more information (hints) about the helper Geoff ?
-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html
To
Robert,
Here is my issue :
I have create a portal :
When I come to the form page :
1/An xsp file is generated from the form.
2/This xsp get the request parameters and modify the structure as I want it
to be
3/A transformer Get the SAX events of the xsp generator, get information
from XML DB
Title: RE: Too much java in xsp
Well, Robert's suggestion is a good one and I've already written a tutorial about
that (http://xml.apache.org/cocoon/tutorial/tutorial-generator.html)
But if that seems out of reach, you can use something like:
xsp:page
xsp:structure
Yes, Sir. Absolutely use an action and remove JAVA as much as possible from
the xsp. When you do this and know how to pass a STRING ARRAY into the
XML/XSL without the need of the XSP - please let me know - it is the only
thing that i still rely on an XSP for.
-Original Message-
From:
While on the subject, I just got:
http://wiki.cocoondev.org/Wiki.jsp?page=XMLFormXindice
to work - and was wondering how one should package this as cleanly,
modular and small as possible ?
I.e:
http://cvs.apache.org/~dirkx/CoFi/
is what I have now. But it still has a few hard
On Wednesday, February 12, 2003, at 02:14 PM,
[EMAIL PROTECTED] wrote:
a little more help would be greatly appreciated. The root of my
document
after the transformation is source:write, do I need to wrap this in
another tag so the map:serialize type=xml/ has something to send
back
to the
I'm not sure that this will solve my problem with write-source. Nothing
is getting written to my file and I get the following message on the
browser the src attribute could not be resolved and failed to cancel.
I appreciate the tip, I'll run the response though another stylesheet and
display
Hello,
I am trying to figure out how I can pass in custom
parameters into an already existing generator such as the XSP/serverpages
generator. Here's my scenario:
I receive a request for /edit/page
Which matches /edit/*
So from this matcher, I have {1} == "page".. I want
to pass this off
hi
collin,
with
XSPs an easier alternative would be to pass your 'parameter' as a request
parameter.
then
you would:
map:match pattern="edit.xml"
map:generate type="serverpages"
src=""/
map:serialize type="xml"/
/map:match
map:match pattern="edit/*"
map:generate
src=""/
...
Wow. I did not know you could use the XSP to
override the setup method. That is VERY helpful. Thanks!!
- Original Message -
From:
Marco Rolappe
To: [EMAIL PROTECTED]
Sent: Wednesday, February 12, 2003 5:59
PM
Subject: AW: Pass custom parameters into
an
Actually, you don't need to override
setup().
The
base class ofthe XSP generated class already does that and provides
"protected Parameters parameters;"
You
can use directly in xsp:logic
String
entityType = this.parameters.getParameter("entityType");
including the other nice features of
On Mon, Feb 03, 2003 at 02:06:18PM +0100, Christian Haul wrote:
On 03.Feb.2003 -- 01:33 PM, Michael Melhem wrote:
Hi Cocooners,
I know that we probably have had this discussion before, but is there a
reason why we dont have simple Hello-World sample web-app along side
the current
yeah,
sorry. didn't follow the chain upto AbstractGenerator ;-)
-Ursprüngliche Nachricht-Von:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]Im
Auftrag von Nathaniel AlfredGesendet: Donnerstag, 13. Februar
2003 00:51An: [EMAIL PROTECTED]Betreff: RE:
Pass custom
My application access DB for content(Using SQL Transformer) which later
gets transformed into HTML via xml2html transformer.
For example, I have following sniippet in my xml2html transformer:
xsl:variable name=welcome_title
select=//welcome/sql:rowset/sql:row/sql:title/
p
You can use
xsl:value-of select={$welcome_title}/
instead of
xsl:value-of select=$welcome_title/
--Idhaya
-Original Message-
From: Yatin Shah [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 13, 2003 6:09 AM
To: [EMAIL PROTECTED]
Subject: Dynamic XSL evaluation
My application
Many users has opinions about the Fault handling in Cocoon, and most, users
and developers alike, agree it is not very good.
I suggest that you bring it up for discussion on cocoon-dev instead, as many
developers don't monitor this list.
BTW, it would be great to have a most wanted list from
As Peter hints, there is no limit on how much you can spend on your ideal
production environment.
50,000 CaffeinMark Java CPU (byte codes in silicon) with XML parsing hardware
accelerator (similar to a NVidia chip) would be a good start. Then make that
into an array of 1, each with a Gig
I think u can achieve this using selectors.
You can have ur custom selectors.
--Idhaya
-Original Message-
From: Sonny Sukumar [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 12, 2003 1:29 PM
To: [EMAIL PROTECTED]
Subject: Jumping within sitemap?
Hi guys,
I'm wondering if it's
Hi,
I have asked this question before using other subject.
Here are my problems :
1. I tried to overlap several images (please see the fo
file below). I want to make images gigi1.jpg and gl.jpg
overlapped. However, it seems that it is not doable. Is
it? (Sorry if this question may actually
52 matches
Mail list logo