Daniel Smith wrote:
Very off topic.
Happy MLK day all. Only writing this here because I've enjoyed so seeing
persons from all cultures working together. In peace.
For similar-like-me clueless people: that's Martin Luther King. Lucky
Google exists!
--
Steven Noels
Hi,
I recently completed a web application for accessing SAP via the Business Connector
Server. Now I'm working on integrating SAP R/3 with Cocoon 2.0.4.
In this regard, I downloaded the patch (Bug 9075 dated 29/12/02) from Apache Bug
Database. But unfortunately the information as to how to go
Added FileUploadsWithCocoon, an overview of how Cocoon deals with multipart
file uploads and the configuration options available.
see http://wiki.cocoondev.org/Wiki.jsp?page=FileUploadsWithCocoon
Geoff Howard
-
Please check tha
Why don't you write a stored procedure on SQL Server ?
Something like
create procedure myProc as
declare myCurs cursor for "your first select that gets the array"
open myCurs
fetch from myCurs into
while (@@fetch_status = 0)
begin
insert into ..
fetch next from
end
Th
hi julio,
In lack of details I don't completely understand your use case, but if
you're trying to code in the stylesheet you should consider writing a
transformer for your needs.
-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]Im
Auftrag von jcplerm
Gesendet: Di
Marco Rolappe dijo:
> well, it does work, I tried it out.
>
> only one generator per pipeline, that's right (only one generator can be
> set at pipeline setup time). but in this case, there is only one
> pipeline, that is the ServerPagesGenerator. the redirect is to another
> pipeline.
Sorry I don
Yes, to both questions.
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, January 20, 2003 9:45 AM
Subject: RE: [XMLForm] initialization of the model
Hi Ivelin,
I have tried to put these lines in the prepare() method and it works:
code
Form.remov
Don't know if this is what you are looking for but you
can also use the sendRedirect (String url) of the
HttpResponse object.
Would look something like this:
((HttpResponse)response).sendRedirect ("http://my_home_page";);
This is kinda clunky because it sends the response header back
to the br
well, it does work, I tried it out.
only one generator per pipeline, that's right (only one generator can be set
at pipeline setup time). but in this case, there is only one pipeline, that
is the ServerPagesGenerator. the redirect is to another pipeline.
anyway, I can imagine the use of XSP actio
Thanks for your reply.
What happens is that I want to access another object from within XSLT by
means of Xalan extensions. That object should have access to the
request/session objects.
I think one way would be to subclass TraxTransformer so that it sets XSLT
parameters at setup time in the transf
hi,
as you may know, actions get parameters via avalon Parameters. if you look
at the API you see that the parameters in the end can only contain strings.
so you have no direct way to pass objects of other type.
but you could pass your objects e.g. via request/session attributes. have a
look at t
Marco Rolappe dijo:
> are you using your xsp as an action via ServerPagesAction?
>
> are you using your xsp as the target for the form action? like this:
>
>
>
> in your sitemap:
>
>
>
> ...
>
>
> you could redirect after the generation step via bu
Hello,
I need to pass an object of arbitrary type from one
action down to another along a sitemap pipeline, but unfortunately it seems
that they are all cast to String.
This is an example:
Very off topic.
Happy MLK day all. Only writing this here because I've enjoyed so seeing
persons from all cultures working together. In peace.
Daniel
US
_
MSN 8: advanced junk mail protection and 2 months FREE*.
http://join.msn.co
are you using your xsp as an action via ServerPagesAction?
are you using your xsp as the target for the form action? like this:
in your sitemap:
...
you could redirect after the generation step via but this
is kind of ugly.
another
>
> Hi Geoff,
>
> When I cast directly to FilePartArray I get a ClassCastException, which I
> thought was due to Cocoon not receiving the init-param correctly. Is that
> normal?
>
> Collin
That sounds right. Change it back to FilePartArray of course. So, back to
web.xml/cocoon version for the c
Hi Marcus!
Thanks again!
I am back for some advise from the instruments guru. ;-)
Where I can find some explaination about the aditional info in the
instrument manager?
For example the authentication manager has:
authentication-manager
pool - The pool of the manager
bloc
Rajasekhar Atchutuni dijo:
> Hi,
>
> I am sorry I framed my question wrong.
>
> I am already successfully saving my form data to oracle using esql:query
> in my xsp page.
>
> What I need to know is how I can send/redirect the user to the home
> page, after I close the esql:connection.
>
> Thanks
On Mon, Jan 20, 2003 at 07:52:24PM +0100, Oskar Casquero wrote:
> I agree with you. I thought that using a serializer would be useful to get
> an input source for the parser. But now I see that it would be much better
> to use JARV to develop the transformer based only in SAX events (use 4_2 of
> J
Hi,
I am sorry I framed my question wrong.
I am already successfully saving my form data to oracle using esql:query in
my xsp page.
What I need to know is how I can send/redirect the user to the home page,
after I close the esql:connection.
Thanks
Raj
Original Message Follows
Rajasekhar Atchutuni dijo:
>
> Hi,
>
> I am using cocoon 2.0.3 with tomcat 4.1.
>
> In my xsl form submit I call an action that generates an xsp. The xsp
> writes the form data to sql; After this I need an auto redirect to the
> home page. How do I do this?
>
> Thanks for the help.
>
> Raj
Hi:
Hi,
I am using cocoon 2.0.3 with tomcat 4.1.
In my xsl form submit I call an action that generates an xsp. The xsp
writes the form data to sql; After this I need an auto redirect to the home
page. How do I do this?
Thanks for the help.
Raj
_
Hi Geoff,
When I cast directly to FilePartArray I get a ClassCastException, which I
thought was due to Cocoon not receiving the init-param correctly. Is that
normal?
Collin
- Original Message -
From: "Geoff Howard" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, January 20, 2
There you go - you've cast to FilePartFile - cast to FilePart (or directly
to FilePartArray) and you're set. We need another example at the Wiki
(assuming that's where you got the concept from?) showing FilePartArray.
Should have thought of that first,
Geoff
> -Original Message-
> From:
Well, with regards to which web.xml file we are using. I am not sure why
this is the way it is, but we have three WAR files, right now exploded, so
they aren't archived (read: easy to modify).. Each of the WARs has its own
web.xml file with a web-app tag that deals with Cocoon for that web
appl
Hi Geoff.
Here's really the only thing I'm doing with it right now.
FilePartFile fpf = (FilePartFile)request.get("file_content");
log.info("received file of name: " + fpf.getFileName());
thanks,--
Collin
- Original Message -
From: "Geoff Howard" <[EMAIL PROTECTED]>
To: <[EMAIL PROT
ah, that brings to mind another idea - send a snippet of your action that
deals with getting the FilePart...
Geoff
> -Original Message-
> From: Collin VanDyck [mailto:[EMAIL PROTECTED]]
> Sent: Monday, January 20, 2003 5:02 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Parsing multipart form
sounds to me like something is wrong with your web.xml (more below):
> Thanks Geoff
>
> Well, yes, I actually started going thru the mail lists and found
> your link
> below. It is helpful, but I cannot get some of the features to work. I DO
> have the FilePartFile bit working, though I would not
Here is my web.xml file. (It's long, so an apology in advance). I hope this
helps, and I really do appreciate everyone's help in this list.
I commented out overwrite-uploads and set the autosave-uploads to false, but
I still get a FilePartFile instead of a FilePartArray.
thanks,
Collin
http:/
I tried the XPathDirectory generator. It seems like
using it will improve performance, but I don't think
the performance boost will be enough. It was
originally taking around 14 seconds to process the
process around 30 XML files. With the XPathDirectory
generator, it takes around 7 seconds. However
Thanks, but the class is in the cocoon-2.1-dev.jar
under $TOMCAT_HOME/webapps/cocoon/WEB-INF/lib. I
tried moving it into $TOMCAT_HOME/common/lib, but
after that Cocoon would not even start...so based on
that result I did not put it on the machine's
CLASSPATH and just let TOMCAT load the classes fr
the stacktrace says that the AbstractMultiAction can't be found.
make sure that this class is in the classpath (it should be in the cocoon
JAR, but you better check that out).
-Ursprungliche Nachricht-
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]Im
Auftrag von Julian Klein
Gesendet:
Thanks Geoff
Well, yes, I actually started going thru the mail lists and found your link
below. It is helpful, but I cannot get some of the features to work. I DO
have the FilePartFile bit working, though I would not like to store such
files on the disk.
I gave these two init params:
autosave-
Hey Marcus,
Yeah I'm sorry, but I had fixed that (I jsut sent the
old sitemap DUH). You see I tried it in the original
package of com.ethidium, but then thought my class
should be in the cocoon dev jar so I moved it to
org.apache.cocoon.acting and changed the sitemap.
Unfortunately neither worked
Hi Julian,
Not sure what the problem is exactly, but your source file has
your action in the package 'org.apache.cocoon.acting', whereas your
sitemap.xmap file says that is under 'com.ethidium.cocoon.action'.
Perhaps that's causing things to go a bit pear s
On Mon, Jan 20, 2003 at 03:04:43PM -0600, Antonio Gallardo wrote:
> Really I dont know what happened but after reading your mail and starting
> Tomcat I runned again the CVS version and it works!
Great :)
> I dont know why yesterday it does not work. I think Java sometimes retain
> the ja
Hi all,
I am currently trying to create my own action for
cocoon 2. Moreover, I am trying to use the
AbstractMultiAction class so I can call methods on the
action via a http post form field. Unfortunately I
have been able to compile it, but get a Class Not
Found Exception when I try access the U
Really I dont know what happened but after reading your mail and starting
Tomcat I runned again the CVS version and it works!
I dont know why yesterday it does not work. I think Java sometimes retain
the jars on memory and this cause some errors.
Antonio Gallardo.
Marcus Crafter dijo:
> Hi Anton
Have you seen this document yet?
http://wiki.cocoondev.org/Wiki.jsp?page=FileUploadsWithCocoon. I'm sorry if
it's not written very clearly - I wrote it late at night sort of
spontaneously.
That gives some basic information on how cocoon handles things behind the
scenes. The important part in your
Hi,
I'm trying to figure out the best way to parse
multi-part form data. I have a page which submits to a certain URI which
invokes an action. This action needs to parse the multi-part form data (in
the request object I believe) and then pass that data off to my j2ee backend for
processi
Hi,
I try to use the sunRise logout action and the logout action itself
works fine redirecting me to some page i stated to redirect to. But
as I see it doesn't clear the context, the user is still logged in
(after calling a protected resource I get access to it instantly)
.. I think
Hi Antonio,
On Mon, Jan 20, 2003 at 02:19:22PM -0600, Antonio Gallardo wrote:
> Hi.
>
> Can someone help me to make run again the instrumentation client?
Yes, I'll help you get it running. :)
> I had it running before the lastest CVS updates (end of dic-2002). I
> downloaded the new exc
Hi.
Can someone help me to make run again the instrumentation client?
I had it running before the lastest CVS updates (end of dic-2002). I
downloaded the new excalibur CVS, because the once that is in Cocoon CVS
run for me, but does not connect to the servlet.
Also it does not write nothing on t
Its. OK.
Start an "XML-authoring tools".
Antonio Gallardo
SAXESS - Hussayn Dabbous dijo:
> hy Antonio;
>
> What about adding your contrib directly to
>
> http://wiki.cocoondev.org/Wiki.jsp?page=SurvivalTips
>
> or related pages ;-) ?
>
> Maybe you could contrib a link to jEdit.org ?
> Maybe it
hy Antonio;
What about adding your contrib directly to
http://wiki.cocoondev.org/Wiki.jsp?page=SurvivalTips
or related pages ;-) ?
Maybe you could contrib a link to jEdit.org ?
Maybe it is even worthwhile to add a new wikipage for
"XML-authoring tools" ...
What do you mean ?
regards, hussayn
Stephan Michels dijo:
>
>
> On Mon, 20 Jan 2003, Geoff Howard wrote:
>
>> Sorry you never got an answer here - I don't have much to add but the
>> following:
>>
>> 1) I don't think HSQLDB is necessary for proper internal working of
>> cocoon. 2) I'm pretty sure I managed to disable it by modifying
On Mon, 20 Jan 2003, Geoff Howard wrote:
> Sorry you never got an answer here - I don't have much to add but the
> following:
>
> 1) I don't think HSQLDB is necessary for proper internal working of cocoon.
> 2) I'm pretty sure I managed to disable it by modifying cocoon.xconf (and
> maybe someth
Sorry you never got an answer here - I don't have much to add but the
following:
1) I don't think HSQLDB is necessary for proper internal working of cocoon.
2) I'm pretty sure I managed to disable it by modifying cocoon.xconf (and
maybe something else). Unfortunately, I don't have time to track d
I agree with you. I thought that using a serializer would be useful to get
an input source for the parser. But now I see that it would be much better
to use JARV to develop the transformer based only in SAX events (use 4_2 of
JARV), as you suggested.
I have another question, which is the same I di
e nio wrote:
Thanks to those people who had made a valiant effort to make
the Documentation more understandable. My plead to you
"authors" is to make these document fit into one viewable page
including the left side navigation menu. I do find it very
distracting to scroll horizontally right t
hi:
I am not a pro in Cocoon. How do this the log transformer? check the
sources of
org.apache.cocoon.transformation.LogTransformer
And maybe there you can found your answer.
Antonio Gallardo.
Oskar Casquero dijo:
> Hi,
>
> I would like to serialize SAX events to a file inside a transformer, s
"XSP should at most be used to transfer data from request attributes into
to the SAX stream."
> Artur...
Good point! I do the same too.
Antonio Gallardo.
-
Please check that your question has not already been answered in the
SAXESS - Hussayn Dabbous dijo:
>
> Mark Horgan wrote:
>
>> Also, do others find working with Cocoon very frustrating? When you
>> make a change it takes forever for the web-app to reload and
>> re-compile the java class, espcially when it takes up so much memory.
>> Also even when using the logs it
Thanks to those people who had made a valiant effort to make
the Documentation more understandable. My plead to you
"authors" is to make these document fit into one viewable page
including the left side navigation menu. I do find it very
distracting to scroll horizontally right to left back an
hi lenya,
you compile the java Action code like any other java code, i.e. via javac,
IDE, etc.
if you package the resulting classes as JAR this has to be in WEB-INF/lib of
your cocoon. otherwise the classes go to WEB-INF/classes of you cocoon.
note that the package structure has to be reflected
Hello,
I've read through userdocs/concepts/actions.html, but still I dont't get
the following (and the docs do not explain this):
I've got Java code of an action. HOW do I compile this and WHERE should I
put the resulting .class file after this.
--
Lenya Khachaturov
mailto:[EMAIL PROTECTED]
---
Hi Ivelin,
I have tried to put these lines in the prepare() method and it works:
code
Form.remove(getObjectModel(), getFormId());
getForm().addFormListener(this);
code
But to understand this thing could you tell me:
- the getFormModel() method is called the first time you call the app, r
> You probably have an old Xalan in your JDK shadowing the Xalan in Cocoon.
> This is due to Java 2 Class Loading. Solution is to add xalan and xerces
> to the endorsed lib of your JDK (I am assuming some type of JDK
> 1.4 here).
But note that if you use Tomcat, it overrides the jdk endorsed direc
Try the overriding reset()
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, January 20, 2003 2:53 AM
Subject: [XMLForm] initialization of the model
Hi all,
I'm trying to initialize the model of a XMLForm app each time I call this
app.
This app is lau
There is nothing like that in XSP. I'm sure most people here
will tell you to use transformers, actions, or better yet flow
from 2.1. Since I had XSPs left over from 1.x version and
I like having data access, logic and error handling in the same
place (the XSP) I developed my own logicsheet to that
If the JSP samples work then this is probably a problem somewhere in your
XML.
How does your sitemap look like (the relevant part)?
Konstantin
- Original Message -
From: Eduardo Zurita
To: [EMAIL PROTECTED]
Sent: Monday, January 20, 2003 16:05
Subject: Automatically generated linefeed bef
Hi there
Got this one some time ago - I guess some gurus might have a better answer
than me, but here goes:
You probably have an old Xalan in your JDK shadowing the Xalan in Cocoon.
This is due to Java 2 Class Loading. Solution is to add xalan and xerces
to the endorsed lib of your JDK (I am a
Hi there
Sometimes when I modify my huge sitemap - 54Kb
(especially when I add some parameters for actions or XSLT transformer) I
got a strange
message which tells me nothing. Maybe someone of you can give me some hints
what could be
wrong and how to correct sucha problem.
Regards
SG.
java.lan
Is there a way to catch the internal cocoon errors e.g. Resource not found
and handle them ??
I would like to produce a more elegant method of reporting back to the user
by being able to
customise the xsl to provide a more project specfic report and user friendly
page.
I searched around the 'do
On Thu, Jan 16, 2003 at 03:11:37PM -0800, icewind wrote:
> Let me describe what I am doing:
>
> I have a directory that contains .xml files. In my
> sitemap, I have a pipeline that starts with a
> DirectoryGenerator on this directory. I then have a
> transformation that takes the directorygenerato
On Mon, Jan 20, 2003 at 01:00:41PM +0100, Oskar Casquero wrote:
> Hi,
>
> I would like to serialize SAX events to a file inside a transformer, so
> that I can validate the file with the parser. The problem is that I
> don't how to set the serializer in order to make it able to receive the
> SAX ev
Hello,
I have found that my JSP
generator always prints a LineFeed automatically before
causing the SAXException.
I have examined the
generated source and yes, there is a generated "out.write("\r\n");" just before
my code.
How can I resolve
this?
Thanks.
Eduar
Hi,
I would like to serialize SAX events to a
file inside a transformer, so that I can validate the file with the parser. The
problem is that I don't how to set the serializer in order to make it able
to receive the SAX events which the transformer is receiving from the previous
component
Hy;
I added my list of survivalTips to the bestPractices
page on cocoon wiki:
http://wiki.cocoondev.org/Wiki.jsp?page=SurvivalTips
Please feel free to modify/move it as appropriate.
regards, hussayn
--
Dr. Hussayn Dabbous
SAXESS Software Design GmbH
Neuenhöfer Allee 125
50935 Köln
Telefon: +49
I use the following tomcat definition for a cocoon based webapp
that restarts automatically, when classes or jars change:
interpretation:
docbasepoints to where the cocoon app resides
reloadable tells tomcat to restart on changes in webapp
the tag is only needed, if yo
Hussayn
These tips would be useful on the Cocoon Wiki too!
One question - just *how* do you restart only the cocoon app
without restarting tomcat (and do you delete the work files somewhere
in that process as well?)
Thanks
Derek>>> [EMAIL PROTECTED] 20/01/2003 12:50:26
>>>Mark Horgan wro
Mark Horgan wrote:
Also, do others find working with Cocoon very frustrating? When you make a
change it takes forever for the web-app to reload and re-compile the java
class, espcially when it takes up so much memory. Also even when using the
logs its very hard to track down bugs in ones code es
Thanks but I did all that... thats why I cant locate my error because I
think that I have modifed them all completely and hopefully correctly. But
im still checking... thanks anyway any other ideas?
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, Janu
Hi Richard,
You have to modify:
-sitemap
-views (in resources\ directory)
-stylessheets (in styles\ directory)
-coplets configuration (Portal Management in the portal)
Search for the word in each one.
Regards
Sylvain
-Message d'origine-
De: Richard Reyes [mailto:[EMAIL PROTECTED]]
Date:
mainly naming conventions, ( yet ). i would like to just remove the
sunspotdemo word. anything you need to help you help me??
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, January 20, 2003 4:38 PM
Subject: RE: Portal - NullPointerException Error
Hel
Hello,
What have you modified?
Regards
Sylvain
-Message d'origine-
De: Richard Reyes [mailto:[EMAIL PROTECTED]]
Date: lundi, 20. janvier 2003 06:39
À: cocoon-users
Objet: Portal - NullPointerException Error
Hi Guys,
I've been trying to modify the cocoon portal configurations to sui
Hi all,
I'm trying to initialize the model of a XMLForm app each time I call this app.
This app is launching from the Cocoon portal, in an authenticated environment.
I have followed the solution coming from the posts in this list (thank you for that).
The solution was to override the getFormMo
Title: ORA-00911: invalid character
Hello comunity,
i have one problem with execute of SQL-statement.
I use Oracle 8.1.7, Tomcat 4.0.1 and Cocoon
I have added nls_charset12.jar to my CLASSPATH and
changed a xsp file:
.
.
.
"update products set product = '" + + "', descri
78 matches
Mail list logo