ok i solved it, the problem is the internet explorer. I seems to have
problems to map
the right application if the filetype (means the extension eg. .html or
.pdf) doesn't
fit to the mime-type. I changed the action attribute in the forms to
print.pdf instead
of print.htm and it worked.
ciao Lars
[EMAIL PROTECTED] wrote:
My problem is that I can't figure out how to pass objects other than simple
strings via the bizData object to the view layer.
In the example below I only get the users object converted to a string.
neither the getGroup() nor the getNames() methods get called.
What am I
Hello Luis,
the change of currentDate doesn't change the constraints of the API. You
can not create an attribute after you already have created an element or
text. If you have such a dependency you must calculate currentDate
before creating the XML (move the logic out of the XML data
Hi,
have a look in the generated java file (search for factoriel_xsp.java),
that's usually the fastest way to see what's really going on.
Anyway, I'd suggest using a second method
public static String get_fac(String number) {
try {
long l = Long.parseLong(number);
return fac(l);
}
Hi,
I´d made an action component
based in SourceTypeAction (http://xml.apache.org/forrest/cap.html).
Assigns an
XSL to an XML file.
Source
source = sourceResolver.resolve(src);
InputStream
is = source.getInputStream(); //don´t work
Error:
Luís,
I've seen the same things you have but I guess from a Cocoon
perspective, it's not really an error; although it doesn't work the way
you want it to. Maybe this would help you:
xsp:logic
while(rsDates.next()) {
dates
if (rsDates.getString(1).equals(today) {
cocoon: building xml applications, written by 2 committers of the cocoon
project
by matthew langham and carsten ziegeler, New Riders
they did a good job writing this book (I am a XML and Java newbie)
rgds,
peter
-Original Message-
From: Ines Robbers [mailto:[EMAIL PROTECTED]]
Sent:
sorry Ines,
I see you got the book already.
I didn't read the pdf problem list, so just ignore my mail
-Original Message-
From: Ines Robbers [mailto:[EMAIL PROTECTED]]
Sent: maandag 30 december 2002 23:59
To: [EMAIL PROTECTED]
Subject: cocoon book [was: pdf problem]
Hi,
Many thanks
Title: Re: xsp:attribute generating a new element instead of an attribute in an already existing element
Your solution only workswhenthe "if" is true for the first loop
iteraction. After that new child elements have been created and the attribute
won't be placed where I want to.
A working
Yeah it probably would help if I paid attention to what I was typing,
how about this instead?
xsp:logic
while(rsDates.next()) {
dates
if (rsDates.getString(1).equals(today) {
currentDate = today;
}
xsp:attribute
Title: Re: xsp:attribute generating a new element instead of an attribute in an already existing element
In my last e-mail I've used a diferent XML tree sample than the one I
initially posted here.
I wan't to generate a XML tree like this :
expected XML :
=
dates
Hi,
Thanks for your response. It runs well now.
I've just changed the type of the returned value in
public static String get_fac(String number) to public static long
get_fac(String number) because it returns a long value.
Regards,
Cyril.
___
Cyril Vidal
Email: [EMAIL
Am trying to follow the pipelines for cocoon to
display the index.xml, for example when I type on the
browser http://localhost:8080/cocoon/documentation
I followed it from the main sitemap.xmap - to a
documentation sitemap.xmap. I lost track once the
matcher has hit this partof the
I have Cocoon book written by Matthew and Carsten,
but I can't find where is my CD.
Not at home and not at work place.
I was over 50% sure that I copied examples from CD to HDD of my old
computer.
But now I have only new PC and I can't find examples from backup... ;-(
Is it possible to download
14 matches
Mail list logo