Hello,
building Cocoon-2.1.3 on a Windows 98 machine doesn't seem to work. The
script immediatly stops after echo-ing the JAVA_HOME directory and this
strange OFF message?
When I use my own Ant 1.5.1 version the build seems to run.
Any ideas?
Do I need to use the Ant version included in Cocoon
Hi,
I did all you suggested, but something must be wrong. I use tomcat 4.1.29
and before adding users to the tomcat-users.xml file I got a login screen
for both admin and manager. When I entered the username below and restarted
tomcat I don't get the login screen, but simply the message that
Hi,
I need to build JDOM of a XSP page. How the ?xml-logicsheet ? is
represented in DOM ?? How to add it to DOM?
Regards,
Marcin Okraszewski
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
On 17 Dec 2003, at 19:45, Bruce Robertson wrote:
I'm in the process of upgrading a Cocoon-based project[1] from 2.0.x to
2.1.x. Until now, my project's build worked by building cocoon, copying
over the necessary files from cocoon to my build directory, building
my
stuff, and making a war file.
James,
I would suggest using the cinclude transformer after your XSLT. Simply have your
XSLT insert the
ci:include elements for the documents you wish to include, and then add
map:transform
type=cinclude/ after your transformer. XSLT has the document() function, but
that's not
How can I validate a date within the form definition file?
I need to check if the date is given in the right format (dd.MM.) and if
the date is valid.
I have something like this:
source:
v:Geburtsdatum1973-11-16/v:Geburtsdatum
definition:
wd:field id=vn_geburtsdatum required=true
Hi,
add the i18n transformer to your pipe after the woody transformer and don't
forget to add the transformer deklaration to your sitemap components. At
last you have to create a xml file with the error messages.
Look at the woody examples under samples/woody/.
EXAMPLE
sitemap:
map:components
Sebastian Klamar wrote:
I need a WMLC serializer.
I found an old posting on cocoon-users, dated 2001-04-09 [1]. In this
mail the poster offered to include his WMLC Serializer in the Cocoon
distribution. Unfortunately the link he provided doesn't exist any
longer and the serializer wasn't
Marcin Okraszewski wrote:
Or you can do something like, from flow:
form.getSubmitWidget().getParent()
Which returns the RepeaterRow that was submitted. You can then do
.getWidget(xxx).getValue() to get the value of a particular widget on
that row.
Regards, Upayavira
Well, probably it isn't
Marcin Okraszewski wrote:
Hi,
I did all you suggested, but something must be wrong. I use tomcat
4.1.29
and before adding users to the tomcat-users.xml file I got a login
screen
for both admin and manager. When I entered the username below and
restarted
tomcat I don't get the login screen,
Danny Bols wrote:
Hello,
building Cocoon-2.1.3 on a Windows 98 machine doesn't seem to work. The
script immediatly stops after echo-ing the JAVA_HOME directory and this
strange OFF message?
When I use my own Ant 1.5.1 version the build seems to run.
Any ideas?
Do I need to use the Ant version
Hello,
Thanks for sticking with me. No, it was just a misspell here. In fact, if I
click on the tomcat manager link in the standard index.jsp I get the same
message: /manager/html not found.
Could it be possible that it is not allowed for one user to have both admin
and manager roles?
Bye, Helma
[EMAIL PROTECTED] wrote:
Hello,
Thanks for sticking with me. No, it was just a misspell here. In fact, if I
click on the tomcat manager link in the standard index.jsp I get the same
message: /manager/html not found.
Could it be possible that it is not allowed for one user to have both admin
and
Hello,
Every time I start tomcat with cocoon 2.1.3 I get lots of the following
error, but it seems cocoon is working fine:
no protocol:
com.hp.hpl.jena.rdf.arp.ParseException: {E201} Syntax error when processing
EOF.
Input to RDF parser ended prematurely. This is often related to an XML
parser
-Ursprungliche Nachricht-
Von: Upayavira
Gesendet: Mittwoch, 17. Dezember 2003 16:49
An: [EMAIL PROTECTED]
Betreff: Re: [Woody] Binding problem for missing elements in source file
Markus Heussen wrote:
Hi all.
I'm new to the Woody framework but till now it works fine for me. But I
have
Sorry for bothering - it is org.jdom.ProcessingInstruction
Hi,
I need to build JDOM of a XSP page. How the ?xml-logicsheet ? is
represented in DOM ?? How to add it to DOM?
Regards,
Marcin Okraszewski
-
To unsubscribe, e-mail:
Yes, Marcin already gave the instructions and later I found them in an html
file as well. I added a context for the manager to tomcat server.xml and
added a line with username, password and manager role to the
tomcat-users.xml (also added a role manager).
Before I started fiddling around to get
-Ursprungliche Nachricht-
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Auftrag
von Upayavira
Gesendet: Donnerstag, 18. Dezember 2003 10:48
An: [EMAIL PROTECTED]
Betreff: Re: WML Compiler / WMLC Serializer available?
Sebastian Klamar wrote:
I need a WMLC serializer.
I
dag helma ;-)
if you don't need it, you may want to exclude the deli block from the build.
-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Auftrag
von [EMAIL PROTECTED]
Gesendet: Donnerstag, 18. Dezember 2003 12:02
An: [EMAIL PROTECTED]
Betreff: Error
dag helma,
'not available' most probably means the startup of the context failed due to
the errors. have a look at tomcat's logs or start tomcat with 'catalina
run'. the context's config is probably erroneous.
-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Dag Marco :-)
Hmm, sounds a bit too easy, but pragmatic.
On the other hand I'm thinking of playing with deli as well. I suppose I
need the block if I want to check out the deli samples, right?
Bye and thanks, Helma
-Original Message-
From: Marco Rolappe [mailto:[EMAIL PROTECTED]
Hi helpers :-)
I got the following problem:
I want to generate a xhtml-site and serialize it after that:
I tried both:
map:match pattern=epozmacros
map:generate src=documents/epozmacros.html/
map:serialize type=html/
/map:match
map:match pattern=epozmacros
Sorry, I fixed it myself... there was a Namespace for the html-tag ..
after removing it, everything is working fine..
Was my fault
Freddy
pgp0.pgp
Description: PGP signature
I am trying to use the ScriptGenerator with python
on cocoon 2.1.3. Somehow, there is no sample available in the distribution and
after hours of googling I still haven't found an example. Could someone points
me to the right direction?
Thanks
Laurent
Laurent Trillaud dijo:
Yes, I know but in this case, I need a string.
In fact the logicsheet is not safe enough because the java generated is
((DocumentFragment) blahblah).getFirstChild().getNodeValue();
Laurent
I have the following problem with the solution you suggested. I use the
getxml
if you're thinking about playing with DELI then I hope for you that it's
currently not broken. I don't know exactly anymore. but I think there were
problems with DELI recently. you might want to check the mailing lists for
it.
yes, you need the block to check out the samples.
Hi helpers!
I'm trying to get the data (a complete html-page) of a put-reqeust
and save it to disk. But I don't get it :(
I searched in the web for it and all I got so far is:
map:match pattern=put-request
map:generate type=request
map:parameter name=generate-attributes
Depending on the version you are using but if its recent, say 2.1.3 then
check out the davmap samples in the webdav block. They should get you
going.
Anyway, you need to use the StreamGenerator, not the RequestGenerator in
your snipped below.
Unico
-Original Message-
From: Frederic
but is there any way to get a daily digest for the mailing list?
Chuck Williams
[EMAIL PROTECTED]
Why Wait? Move to EarthLink.
Thanks, I'll wait a while before playing with deli. :-)
How do I disable the block? Is it sufficient to remove the *deli*.jar from
the lib directory?
Bye, Helma
-Original Message-
From: Marco Rolappe [mailto:[EMAIL PROTECTED]
Sent: Thursday, 18 December 2003 15:49
To: [EMAIL
* Upayavira [2003-12-18 10:48 +0100] wrote:
There is a WML serializer already in the default root sitemap. Use
that. Any compilation that is done is done by the WAP user's WAP
gateway, not by your web server.
FYI, I need the WMLC to explore the file size of the card (we have an
adaptation
Hi,
I'm in the middle of building an XSP page that can retrieve information from
my CORBA-based server. I'm now writing a helper class in Java that can take
the output of the server and transform it into something I can easily manage
in the XSP page.
However, I'm stuck. The results are in a
Simply send a mail to [EMAIL PROTECTED] and you
will be asked for confirmation of subscription.
Joerg
On 18.12.2003 16:11, Charles Williams wrote:
but is there any way to get a daily digest for the mailing list?
Chuck Williams
[EMAIL PROTECTED]
Why Wait? Move to EarthLink.
Does anyone know of a more comprehensive sample
than the one supplied in the Cocoon samples directory?
(under cocoon/samples/databases/mod-db). In the sitemap,
the comment is made that:
* no parameter validation is done (in a real application, you'd
want to check their values as well)
* you'd
-Ursprüngliche Nachricht-
Von: Upayavira [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 18. Dezember 2003 12:12
An: [EMAIL PROTECTED]
Betreff: Re: AW: [Woody] Binding problem for missing elements in source
file
Markus Heussen wrote:
-Ursprungliche Nachricht-
Von:
Would like to know how to output a file instead of pushing the output
to a browser, e.g. XML or HTML
JK
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
You're right I can see it.
We need a single line instruction. Something like that :
fnc().getFirstNode() == null ? : fnc().getFirstNode().getNodeValue()
But that not good because we compute fnc twice, so I put it in a variable
( node = fnc().getFirstNode()) != null ? : node.getNodeValue()
if you want to write this file in file system check sourceWrite
transformer
--stavros
On Thu, 18 Dec 2003, Johan Kok wrote:
Would like to know how to output a file instead of pushing the output
to a browser, e.g. XML or HTML
JK
Maybe this helps:
http://wiki.cocoondev.org/Wiki.jsp?page=DownloadFilesToLocalDisk
Bye, Helma
-Original Message-
From: Johan Kok [mailto:[EMAIL PROTECTED]
Sent: Thursday, 18 December 2003 17:56
To: [EMAIL PROTECTED]
Subject: How to write a file from cocoon
Would like to know
[EMAIL PROTECTED] wrote:
Could it be possible that it is not allowed for one user to have both admin
and manager roles?
No. I routinely logon as a user that has both the manager and admin
roles.
Ugo
-
To unsubscribe, e-mail:
Hi,
I hoped, and I still hope, that the Petstore sample will become a such
a comprehensive sample, showing how all the different components
working together in a best practice way. With the patch
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24463 the
functionality of the Petstore is
:-)
in your local.blocks.properties (which you copied from blocks.properties)
ensure that the line containing 'exclude.block.deli=true' is uncommented.
same is true for other blocks.
-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Auftrag
von [EMAIL
James Cummings wrote:
xsl:copy-of select=document('../../html/header.xml')/
Why isn't this recommended? It seems to fail absolutely fine with
no side effects if header.xml doesn't exist or is not well-formed.
(i.e. it just isn't included). Is there something bad about it
I'm not seeing?
Changing
Hi,
Maybe rephrasing the problem makes it clearer:
I'm building an XSP page that calls a Java Helper class which gets the data
in a hierarchical form. What I'd like to know is: what's the best way of
delivering the result to the calling XSP page without having to traverse the
hierarchy twice.
it's not the same but i have the need to create nestet xml elements with
data from a data table
the solution was to create a recursive function into my xsp
hope that this can help you to figure a solution
?xml version=1.0 encoding=ISO-8859-1?
xsp:page language=java
Derek Hohls wrote:
Does anyone know of a more comprehensive sample
than the one supplied in the Cocoon samples directory?
(under cocoon/samples/databases/mod-db). In the sitemap,
the comment is made that:
* no parameter validation is done (in a real application, you'd
want to check their values
Hi!
Try this code:
xsl:variable name=var1 select=sql:id/
option
xsl:attribute name=value
xsl:textnew.xls?dis=/xsl:text
xsl:value-of select=$var1/
/xsl:attribute
xsl:value-of select=sql:name/
/option
hope that
I already posted a patch, it is in the CVS.
Best Regards,
Antonio Gallardo
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Helma
have a look at the CastorTransfomer (currently still living in the scratchpad folder),
as it might provide what you are
looking for. A general introduction to Castor XML can be found at
http://castor.exolab.org.
Werner
On Thu, 18 Dec 2003 16:43:29 +0100, [EMAIL PROTECTED] wrote:
Hi,
Hello list,
I want to make a query front end to the IMDB movie database.
To do this, I have a cocoon matcher that receives a query parameter and
pass it along to the IMDB query url.
Very simple. But how do I URL encode the query parameterin the sitemap?
This is not done automatically.
HI there,
Thanx, it worked, but I m still hanging with the second problem,
i.e. how to pass more than one parameter.
Any help Plz
REGARDS.
ASHISH
On Thu, 18 Dec 2003, Gernot Koller wrote:
Hi!
Try this code:
xsl:variable name=var1 select=sql:id/
option
joakim verona wrote:
Hello list,
I want to make a query front end to the IMDB movie database.
To do this, I have a cocoon matcher that receives a query parameter and
pass it along to the IMDB query url.
Very simple. But how do I URL encode the query parameterin the sitemap?
This is not done
After much trial and error I was able to get the cocoon's xpatch ant task to
run in maven. I have created several patch files for my own cocoon
components and then patch the cocoon.xconf created by the Cocoon build. To
do this I created this goal:
goal name=patch
ant:taskdef
Gernot Koller wrote:
Hi
In my application I use the following pipeline fragment:
map:select type=header
map:parameter name=header-name value=X-Cocoon-Portal /
map:when test=true
map:transform type=rsf_components
map:parameter name=components value=portal /
/map:transform
Yeah I saw that. There's a lot to learn as a newbie to CVS.
What I did for now was use the -kb option so that CVS didn't tranlate
line breaks or do any keyword substitution.
After reading about keyword substitution though I'm thinking that it
could be used with XSP to give you version numbers.
Helma,
I don't know that there's anything you can do about that, unless you
want your helper class to also generate SAX events. Even if you created
a DOM structure it would have to be traversed to generate a SAX stream.
How big is this structure? Is traversing it twice that bad?
Justin
Gernot Koller wrote:
Hi
In my application I use the following pipeline fragment:
map:select type=header
map:parameter name=header-name value=X-Cocoon-Portal /
map:when test=true
map:transform type=rsf_components
map:parameter name=components value=portal /
/map:transform
All posters thanks for the input. I finally decided to do only minimal
manipulation in the helper class and build the structure in the XSP file,
like someone else suggested. I'll see where it leads.
No, for now there won't be big structures for now, but it might be in
future.
Bye, Helma
All posters thank you for your input and thoughts.
I finally nailed it down to a faulty docbase line in the Context. I used a
Linux style
/jakarta-tomcat-4.1.29/ while working on a Windows XP machine. When I
changed it to D:\jakarta-tomcat-4.1.29\. it worked flawlessly.
Bye, Helma
Thanks Tony,
So at least this wasn't totally easy.
I'm not familiar enough with the modules to write one yet, so I'll
experiment with the jxpath option.
Another workaround I thought about, but didn't want to test if there was
a simple way to solve it,
is to use the jx transformer, the
Hi,
I'd like to make in the sitemap feature, that if you will call url
file/123 or blabla/file/123 or bla/bla/bla/file/123, it will use
databasereader everytime. I think, it could be done by this code, but
that doesn't work (browser calls too much redirections). Why?
map:match
I have it, it can be done just by pattern **file/*. But why doesn't
work previous example? It looks like correctly in my opinion.
osup
Otmar Vobejda wrote:
Hi,
I'd like to make in the sitemap feature, that if you will call url
file/123 or blabla/file/123 or bla/bla/bla/file/123, it will use
62 matches
Mail list logo