I'm in trouble downloading 2.1 CVS
I think it's a problem related with the
firewall / proxy my company uses.
Is there an orthodox way (I mean ftp or http)
of downloading 2.1 ?
I found a Code Repository in Cocoon page
but I'm not sure what should I download.
Any help will be appreciated.
If can just extract the code from say WizardAction.jave.
Form.lookup( id, objectModel );
Form.addViolation( violation );
- Original Message -
From: Bobby Mitchell [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, September 25, 2002 1:01 PM
Subject: Need help with XMLForm
Are you sure you mean 2.1???
Heres the binary release 2.0.1..
http://xml.apache.org/cocoon/dist/cocoon-2.0.1-bin.zip
- Original Message -
From: jorge_noe bello_mendoza [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, September 25, 2002 5:17 PM
Subject: Problems downloading
It seems that the insert tag of SourceWritingTransformer doesn't
work now. Does anyone know what can be used in place of it?
best regards
--
funing [EMAIL PROTECTED]
-
Please check that your question has not already been
Yes, there is a automatic nightly snapshot of CVS, you can download it from:
http://cvs.apache.org/snapshots/xml-cocoon2/
Antonio Gallardo
El Miércoles, 25 de Septiembre de 2002 18:17, jorge_noe bello_mendoza
escribió:
I'm in trouble downloading 2.1 CVS
I think it's a problem related with
./xml-cocoon2/build/cocoon/work/blocks-build.xml:25:
./xml-cocoon2/src/blocks/batik/java not found.
cu
Michael
-
Please check that your question has not already been answered in the
FAQ before posting.
Hi Richard,
first, could you please send plain text mails and not html.
I assuem that you want to access the resource parameter
in the redirect, right?
So you can use:
map:act type=request
map:parameter name=parameters value=true/
map:redirect-to
Hi,
i got some questions about the esql logicsheet from cocoon.
I suppose the first one is easy to answer:
1. How can i count the number of rows from the result of my query?
The second one seems quit more difficult to me (but i am a newbie and know
nothing ;-):
2. How can I handle the
Hi Frank!
I think all we have to do is to replace xalan and maybe xerces jars in a
cocoon distribution.
I tried to do this. I replaced xalan-2.3.1 with xalan-2.0.0 in
Cocoon.2.0.3. It worked very unstable, I did it all back at the result,
but my pdf were fine!
The question is how could I
i have an mySQL database: myDB with one table myTable running at
localhost
can you please give me an example of connection pool syntax for
cocoon.xconf file ?
thank
Kounis Stavros
-
Please check that your question has
Hi Carsten,
How can I use map:act type=request when I got map:act
type=sunRise-login???
see
map:match pattern=foo-login
map:act type=sunRise-login
map:parameter name=handler value=foo-handler/
map:parameter
Something like this...
datasources
jdbc name=ConnMySQL
pool-controller min=5 max=10/
dburljdbc:mysql://localhost/db_xxx/dburl
userroot/user
password/password
/jdbc
/datasources
- Original Message -
From: Cocoon User [EMAIL PROTECTED]
To:
Hi Viktor,
I have also made the same experiences with exchanging the
version of Xalan and Xerces in cocoon-2.0{1,2,3}. It doesn't work.
As J. Pietschmann wrote it is a bug in fop which is fixed in
FOP CVS, branch tag fop-0_20_2-maintain.
So we should try to replace fop.
Regards
Frank
1.
where can i find mySQL driver for cocoon ?
2.
i use to get data from mySQL using php
can anyone comment the performance of cocoon retrieving data from mySQL
compiring to php
thnx
Kounis Stavros
-
Please check that
Vadim Gritsenko wrote:
Ugo Cei wrote:
I'm trying to setup a development environment for Cocoon applications
based on Ant. I'd like to use the Ant deploy target to deploy an
application, once it's been built, to a remote server, using Tomcat's
manager interface (using Tomcat 4.1.10).
Frank, I don't believe it is a fop bug!
I had been tested all the variants from the command line and I have
assessed that it is xalan bug!
The bug appears ONLY by transforming XML and XSL files.
While working only with, say, FO documents, everything's works fine, but
when I tried to transform my
I am recently downloaded again from CVS and recompile.
I am getting this errors:
/cocoon-2.1/xml-cocoon2/build/cocoon/src/org/apache/cocoon/xml/dom/DOMUtil.java:507:
warning - Tag @link: missing #: valueOf(Node, Object)
Also the same error is in:
527, 562 lines.
Aditionaly someothers error
Why in the directory:
cocoon-2.1/xml-cocoon2/build/cocoon/webapp/WEB-INF/lib/
Its a subdirectory: webapp that has many subdirectories recursively.
Is this correct? And why?
Regards,
Antonio Gallardo
-
Please check that
I am asking because in the subdirectories are as long as this string:
Hallo Vadim,
i've downloaded the Cocoon 2.0.3 and tried to deploy the file cocoon.war
to my Tomcat server (4.1.10) using the Tomcat Manager (or 'Deployment
tool' by Sun)
VG How did you do this? i.e., what was the url to deploy the war?
The URL was http://Server:8080/manager/deploy
With Tomcat
Hi,
I'm using Source Writing Transformer to write XML to
file. I need to add namespace declarations to the
root node, does anyone know how to do this?
Thanks,
-Alex
-
Please check that your question has not already been
On 26.Sep.2002 -- 09:37 AM, Zein Dowe wrote:
Hi,
i got some questions about the esql logicsheet from cocoon.
I suppose the first one is easy to answer:
1. How can i count the number of rows from the result of my query?
There's a row-count tag but it works only with some cases. You
Can you use the insert tag?
On Thu, 26 Sep 2002 02:17:56 -0700 (PDT)
Alex Romayev [EMAIL PROTECTED] wrote:
Hi,
I'm using Source Writing Transformer to write XML to
file. I need to add namespace declarations to the
root node, does anyone know how to do this?
Thanks,
-Alex
--
funing
You can simply nest them:
map:match pattern=foo-login
map:act type=sunRise-login
map:parameter name=handler value=foo-handler/
map:parameter name=parameter_name value=request:name/
map:parameter name=parameter_password
value=request:password/
map:act
I will try to explain how far I am now in the building of the
xsp-session:getxml for XSP.
As I said I was researching about that, now I can get the values of the
authentication context.
In XSP we can use:
Namespace: xmlns:xsp-session=http://apache.org/xsp/session/2.0;
2-Add imports:
Ganael,
I thought me and Vadim answered already to this question...
...anyway, you could build one pipeline for the frameset page, containing frames'
URIs, and then map those URIs to other pipelines.
Best regards,
-
Luca Morandini
Not sure how I would do that, here is an example:
What I would like to get is:
news
xmlns:pub=http://www.romayev.com/publication/1.0;
item id=N100AE
pub:publication
pub:published-date2001-11-06/pub:published-date
...
/pub:publication
/item
/news
Here is the code I
Yes, I'm sorry...
Thank you very much for helping me :)
Ganaël.
- Original Message -
From: Luca Morandini [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, September 26, 2002 12:30 PM
Subject: RE: Using frames ?
Ganael,
I thought me and Vadim answered already to this
jorge_noe bello_mendoza wrote:
I'm in trouble downloading 2.1 CVS
I think it's a problem related with the
firewall / proxy my company uses.
Is there an orthodox way (I mean ftp or http)
of downloading 2.1 ?
There are snapshots:
http://cvs.apache.org/snapshots/xml-cocoon2/
Vadim
I
Skansen wrote:
Hello
When using the XSL stylesheet below cocoon gives the output below.
The problem is that after a td or a tddiv i can't have a LF or CR.
If there is one i get aditional height in the row. (which is bad)
What i would like to get is:
td
diva...a//div
Any idea how.
1. Put
Zein Dowe wrote:
Hi,
i got some questions about the esql logicsheet from cocoon.
I suppose the first one is easy to answer:
1. How can i count the number of rows from the result of my query?
Not sure does ESQL has something for this or not, but in any case you
can count using XSLT.
The
Antonio Gallardo Rivera wrote:
Why in the directory:
cocoon-2.1/xml-cocoon2/build/cocoon/webapp/WEB-INF/lib/
Its a subdirectory: webapp that has many subdirectories recursively.
Is this correct? And why?
No, it's not. Bug.
Vadim
Regards,
Antonio Gallardo
Phew.. I got it to work. Details and discussion below:
Alan Hodgkinson wrote:
I get a compile error from the Java code generated by
my logicsheet.
I'm trying to implement a logicsheet that looks up
a value given an id. I'm calling it from an XSP page
as follows:
dbutil:idlookup
Hi folks,
Can someone help me how to do that?
1-You need a component manager in your XSP - I'm not sure, but
I think it's somehow available - I never wrote any XSP...
2. Lookup a session manager
Inside the XSPSessionHelper we have only the Session, but we need to go to the
SessionManager,
Thanks,
Antonio
El Jueves, 26 de Septiembre de 2002 06:28, Vadim Gritsenko escribió:
Antonio Gallardo Rivera wrote:
Why in the directory:
cocoon-2.1/xml-cocoon2/build/cocoon/webapp/WEB-INF/lib/
Its a subdirectory: webapp that has many subdirectories recursively.
Is this correct? And
Vadim Gritsenko wrote:
Skansen wrote:
Hello
When using the XSL stylesheet below cocoon gives the output below.
The problem is that after a td or a tddiv i can't have a LF or CR.
If there is one i get aditional height in the row. (which is bad)
What i would like to get is:
td
Nice work! What about to integrate dbutil to Cocoon? I think many people will
use it. ;)
Then this tip will not only will live in the maillist but also in the cocoon
environment and other people will use this library. As I see the XSP is a
very new technolgy and because of that we need to
Antonio Gallardo Rivera wrote:
Hi folks,
Can someone help me how to do that?
1-You need a component manager in your XSP - I'm not sure, but
I think it's somehow available - I never wrote any XSP...
this.manager
2. Lookup a session manager
manager.lookup(SessionManager.ROLE);
Don't
Cocoon User wrote:
1.
where can i find mySQL driver for cocoon ?
JDBC driver for mySQL will do just fine.
2.
i use to get data from mySQL using php
can anyone comment the performance of cocoon retrieving data from mySQL
compiring to php
If no one has comparison on this list, lookup on the
Dear Antonio,
Nice work! What about integrating dbutil to Cocoon? I think many
people will use it. ;)
Duh.. Good idea. Why didn't I think of that?
Unfortunately, it's a performance pig.. and probably not suitable for
production. But for low traffic sites or as a demo/learning excerise
Kounis,
The JDBC driver has been renamed MySQL Connector/J and
can be found at http://www.mysql.com/downloads/api-jdbc.html
The jar file should be placed in the Tomcat/lib directory
if you don't want to fiddle with the classpath.
Conrad
Original Message:
-
From: Cocoon User
Vadim,
I think the problem is not related to indentation, since the HTML output appears to
have no indentation; moreover, I presume
strip-space will be of no use, since there are no spaces to strip in the input
elements.
Look, the XSL fragment, according to Skansen, is:
td class=mHidiv
This is a common problem in all implementations I know about the function:
lookup(field).
But it a nice start. I think is better have something slow than nothing. With
the time we or other people will improve the function.
Antonio
El Jueves, 26 de Septiembre de 2002 07:57, Alan Hodgkinson
Luca Morandini wrote:
Vadim,
I think the problem is not related to indentation, since the HTML output appears to
have no indentation; moreover, I presume
strip-space will be of no use, since there are no spaces to strip in the input
elements.
Look, the XSL fragment, according to Skansen, is:
Antonio Gallardo Rivera wrote:
I am asking because in the subdirectories are as long as this string:
snip
Must admit that I have not noticed that from the first sight. :)
/snip
Vadim, you corrected me many times, let me return the favour once in a while ;)
snip
But I would try indent=no anyway.
/snip
I tried that to no avail (it was my first thought, too).
snip
Anyway, a span will save
Hi folks!
Is there a way to change default setting for form-encoding parameter?
Now I have to use param1=xsp-request:parameter name=test
form-encoding=KOI8-R/ for each parameter. Is there a way to set it
somewhere in sitemap.xmap or in another place?
--
Best regards,
Yury.
--
Yury
Jorge Bello wrote:
Thanks Antonio and Vadim
Yes, there is a automatic nightly snapshot of CVS, you can download it
from:
http://cvs.apache.org/snapshots/xml-cocoon2/
I guess I have to choose the one with the latest date.
Is that correct ?
Yes. And once it worlking,
yuryx wrote:
Hi folks!
Is there a way to change default setting for form-encoding parameter?
Now I have to use param1=xsp-request:parameter name=test
form-encoding=KOI8-R/ for each parameter. Is there a way to set it
somewhere in sitemap.xmap or in another place?
Try
Try:
map:action name=set-character-encoding
src=org.apache.cocoon.acting.SetCharacterEncodingAction/
and
map:act type=set-character-encoding
map:parameter name=form-encoding value=KOI8-R/
/map:act
--- yuryx [EMAIL PROTECTED] wrote:
Hi folks!
Is there a way to change default
Sorry Vadim, but I cannot get the manager. Inside the
XSPSessionHelper.java in org.apache.cocoon.components.markup.xsp
What I am doing wrong?
Antonio
El Jueves, 26 de Septiembre de 2002 06:43, Vadim Gritsenko escribió:
Antonio Gallardo Rivera wrote:
Hi folks,
Can someone help me how to
It works!
I am aware what will happen in the next update. After updating the CVS I dont
make a clean. I make better a installwar directly. Maybe this is why I got
the problem.
Antonio Gallardo
El Jueves, 26 de Septiembre de 2002 07:35, Vadim Gritsenko escribió:
Antonio Gallardo Rivera
I keep getting this error from cocoon, whenever I use the svg2png
serializer. I checked the archives for this, and found a few people with
similar errors, but it seems none of them had a reply. The error only
appears in the logs, and does not seem to cause any problems, but it is
a little
Hi, it's me again ... could some one give me a hint how to use xsp:logic
in the right way ?
I have to generate a document structure like this:
document
section A
chapter 1
chapter 2
section B
chapter 3
My problem is to combine the logic with my esql
Thanks :)
The tip on indent dit it but it should be put in the HTML serializer as
indent1/indent
Still got a one loose end were do it put http://www.w3.org/TR/xslt#strip;?
Regards
Jakob
P.S
sitemap.xmp Before indent1/indent was added to the serializer.
--- Transformer ---
Hello all,
Has anyone successfully implemented a clean solution on passing data
from a failed authentication back to the client. All of the documentation
refers to the ability to do it but I have not found an example on how to
pick up the context temp informtion in a XML or XSP form.
I'm trying to use the logger with my version of WizardAction.java.
I tried to get info by putting the statement:
getLogger().debug(TESTING: ); in perform(), but I don't get any
messages in the log files.
How can I use the logger in WizardAction.java?
--
Robert J. (Bobby) Mitchell
Systems
Skansen wrote:
Thanks :)
The tip on indent dit it but it should be put in the HTML serializer as
indent1/indent
Good.
Still got a one loose end were do it put http://www.w3.org/TR/xslt#strip;?
You put it into address line of your favorite browser and read it
whenever you have time
:)
Bobby Mitchell wrote:
I'm trying to use the logger with my version of WizardAction.java.
I tried to get info by putting the statement:
getLogger().debug(TESTING: ); in perform(), but I don't get any
messages in the log files.
How can I use the logger in WizardAction.java?
Another
I need to create a database connection,
do some security checks,
and set a user role
before I have rights to run queries against the database.
I made an action to do all of the setup, but I do not know how
to make xsp/esql or xsl/sql use the established connection.
Any ideas how to make esql or
Skladovs, Victor wrote:
The question is how could I replace xalan and xerces in cocoon? What
must I take into account so that the cocoon works stable?
Xalan-2.0.0 has many small but very nasty bugs, don't
use it. Rather, upgrade the FOP jar.
J.Pietschmann
Skladovs, Victor wrote:
Frank, I don't believe it is a fop bug!
I had been tested all the variants from the command line and I have
assessed that it is xalan bug!
The bug appears ONLY by transforming XML and XSL files.
While working only with, say, FO documents, everything's works fine, but
Skansen,
hold on a second...
The indent tag recognizes only the yes value and the non yes values... I mean,
whatever you put into it would do the trick (as
long as it is not yes): if you try foo it will work just as well as no or 1.
Why it didn't work before ? Because you forgot to touch the
Timothy Larson wrote:
I need to create a database connection,
Why not:
1. Get connection from the pool,
2.
do some security checks,
3.
set a user role
And then,
run queries against the database.
Using ESQL+XSP or SQL transformer.
PS It's really bad idea to create connection per
I'll take a stab at it...
You don't need java for looping over the rows, that is already done by the
esql logicsheet when you use esql:row-results. You can mix xsp:logic
and ESQL tags as needed however. Here's some code (below) that might be
close to what you want to do. Note I wasn't sure
Alan Hodgkinson wrote:
Christian Haul wrote:
snip/
Two options:
a) create the query dynamically. esql expects just a string. Thus you
need to
esql:query
xsp:exprselect name from clients where clientid= +
xsp-request:get-parameter name=clientId/
Hello,
In the most recent Cocoon snapshot (today - 2002-09-26), I noticed a
problem with the portal example... when I enter guest/guest or
cocoon/cocoon to login, I get a:
description The server encountered an internal error (Internal Server Error) that
prevented it from fulfilling this
Hello all,
our problem is that we would like to get information from a cocoon-application
whose content is displayed in on frame to some jsp which would be displayed
in another frame. or first attempt would be to use the session-object to set
some attributes in it and read them from the jsp
Please check this function I included into XSPSessionHelper.java in
src/java/org/apache/cocoon/components/language/markup/xsp:
/** GetXML Fragment from the given session context and path
*
*
* @param session The Session object
* @param context The Session context tha
I saw the same thing here today.
At 02:37 PM 9/26/2002 -0700, Rob Johnston [EMAIL PROTECTED] wrote:
Hello,
In the most recent Cocoon snapshot (today - 2002-09-26), I noticed a
problem with the portal example... when I enter guest/guest or
cocoon/cocoon to login, I get a:
description The server
Sample usage added to the Wizard Demo.
Enjoy.
-=Ivelin=-
-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html
To unsubscribe, e-mail:
Finally I can said:
IT WORKS!
Please tell me to whom I need to send my 2 cents (4 days and almost his nights
of work).
I modified the files:
XSPSessionHelper.java
Session.xsl
And I can said that now it works, again.
Many thanks to Carsten and Gritsenko. They give me tips to get into the
Dirk Reiss wrote:
Hello all,
our problem is that we would like to get information from a cocoon-application
whose content is displayed in on frame to some jsp which would be displayed
in another frame. or first attempt would be to use the session-object to set
some attributes in it and read
Hi there , I'm still in the dog house as I can't seem to figure out why
Cocoon 2 want serve up any Xindice data.
I have started Xindice run Tomcat 4 I get the Cocoon Welcome page
(http://172.**.*.**:/cocoon-dev/status and the others) .
Except when I attempt
Dear J.Pietschmann!
What would you suggest in this situation?
How could I improve the Cocoon work as pdf concerns?
Updating fop.jar doesn't help.
Regards,
Viktor
-Ursprungliche Nachricht-
Von: J.Pietschmann [mailto:[EMAIL PROTECTED]]
Gesendet: Donnerstag, 26. September 2002 22:08
An:
Please tell me if I'm wrong but I think there is something wrong in cocoon
transformation with Norman Walsh Docbook Stylesheet.
I have tried wiith xalan and it transform perfectly from the commandline but
When you use the actual version in cocoon it produces wrong xmlfo (it doesn't
even close
Hi,
if you use 2.0.x the information is not stored in the temporary context
but in a request attribute named
org.apache.cocoon.sunshine.sunrise.LoginFailedFor
appended by the handler name.
This changed for the real version in C2.1, where the information
is stored in the temporary context.
HTH
77 matches
Mail list logo