Hi Joe,
I'm running Cocoon on Tomcat 5.5 with SDK 1.5. It's the same as running
Cocoon on a Tomcat 4.x. There could be some problems compiling Cocoon with
Java 5 (I think I've read some posts about that problem in this
mailinglist), but you can compile Cocoon with SDK 1.4 (without problems) and
ru
Howdy from Texas.
It's been a while since I have paid much attention to the list, but the
time has come to get back into my Cocoon project. My provider uses
Tomcat 5.0, and I am wondering whether anyone has created any docs
specifically for that version. Or is it about the same as running 2.1.x
Hello Every one
I can't seem to get the result of the realpath input module within Flow ?
I tried this out of the hat but the hat is out of its magic ;-)
var gcomp =
cocoon.getComponent("org.apache.cocoon.components.modules.input.RealPathModule");
var path2webapp = gcomp.getAttribute("/",null,nu
I now have a working system, and in case anyone else has the same
problem, this is what I had to do:
1. Use an absolutely minimal xsl:output element in the stylesheet:
2. Create my own serializer based on the standard text serializer, but
with a new name and an explicit encoding paramet
Nailed it!
I had this in my stylesheet:
Changing it to
("type" instead of "method") solves the problem!
But that shouldn't be, should it? According to XSLT 1.0 and 2.0, the
attribute should be "method". Am I missing something here?
Cheers,
Martin
Upayavira wrote:
Martin Holmes wrote:
I'm having
It appears that my
i18n Transformer fails to translate when the XSL stylesheet contains
references: l:include
href=""/>
Is there something I
need to do in the sitemap to handle include files in the XSL properly or could
this be another problem?
Thanks for your
help.
Gary
Hi there,
When I switch to the XML serializer, I get an empty XML document:
with no root element, and the wrong encoding.
This is strange; something must be throwing the Xalan parser for a loop,
but there's nothing weird at all in the XSL as far as I can see; it's
adapted from another file which
Hi,
I need help for backup xml database.
As you know, for creating, we can use
with xmldb transformer. But it seems that no specific transformer for
backup. Anybody can give me some idea how to backup the xml database.
Thanks.
Jarry
--
Which kind of transformer do you want to do (DOM or SAX) ?
Besides, you can a xslt stylesheet to make node replacement.
Lionel
Upayavira wrote:
Michel Erard wrote:
Hello,
I'd like to write a custom transformer which replases tags like:
NAME with "Mike" for example.
I've found a little manual here
Lionel Crine wrote:
I see but my problem is elsewhere : I need to load dynamically a
binding document according a parameter in my selection list.
besides, I have another idea (easier) :
I'll create a first forms with this list and will process dynamically
to the right form.
By the way, How do I
Why not use the ? What is $quickHeaderMenuList?
Is it a node list?
Christian Tanzmann wrote:
Hi,
I would combine an XSL File with Velocity Statements but it dont work.
Because the XSL Transformer cant interprete velocity.
I have following file:
BLA
Hi all,
Im checking some validation example
& I found this example:
Password:
Re-enter password:
The two passwords are not equal.
but the is
not very clear for me. I understand
wh
Hi,
- Why you don't use ? (Note for me a mix of both techonolgies
look suspect)
- If you want mix both technologies I think you need to:
a) Generate a mix of html and velocity with xsl
b) generate html with velocity.
but again it look like very bad.
Willy
>>> [EMAIL PROTECTED] 03/05/05 1
Hi,
I would combine an XSL File with Velocity Statements but it dont work.
Because the XSL Transformer cant interprete velocity.
I have following file:
BLA
To submit dynamically, there is the "submit-on-change" attribute. It is
available for selection-lists.
The problem is to pass your field content to the sitemap to make it use
a different binding file.
If you use the "cocoon.sendpage" function, you generate a new request
which will be processed
I see but my problem is elsewhere : I need to load dynamically a binding
document according a parameter in my selection list.
besides, I have another idea (easier) :
I'll create a first forms with this list and will process dynamically to
the right form.
By the way, How do I submit dynamically ?
Hi there,
I want to figure out how CForms are working in combination with actions
instead of flowscripts. Therefore I want to create an simple example
like this: http://cocoon.apache.org/2.1/userdocs/forms/sample.html but
without the flowscript.
The only example for CForms with actions I know ca
You can embed it in your flowscript.
This is an untested javascript function which should do the trick
(derived from the Cocoon samples) :
function MyFunction(form) {
var baseName = cocoon.parameters["base"];
var source = cocoon.parameters["documentURI"];
// parse the document to a DOM-
Martin Holmes wrote:
I'm having problems generating plain text output (utf-8) on Cocoon
2.1.6. I get a NullPointerException. The scenario is:
The XML files are UTF-8 and the XSL file starts out like this:
type="text/plain"
Hi,
I'd like to change my binding document according a field (selectionList)
in my form.
How can I do that ?
Tnahs
Lionel
--
Lionel CRINE
Ingénieur Systèmes documentaires
Société : 4DConcept
22 rue Etienne de Jouy 78353 JOUY EN JOSAS
Tel : 01.34.58.70.70 Fax : 01.39.46.06.90
begin:vcard
fn:Lionel
Hi all,
I'm using xsp to query eXist. I'm retrieving parts of xml documents
that contains html documents with the following code.
...
...
These html parts will be sent to a Javascript object as a string parameter .
...
javascriptfunction(param1, '', param3)
...
If I get as xml, the carriage re
I am trying to understand the Pet Store Sample on 2.1.7. Is there any
documentation on it anywhere.
Thanks
Peter Sparkes
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi all; i must develop an application by using cocoon; for this application
there are some third parts that use Jaxb for XSD data binding; well i have
tried to use this lib, but when cocoon starts i have this error:
09:15:34,718 INFO [TomcatDeployer] deploy, ctxPath=/TestCocoon,
warUrl=file:/C:
23 matches
Mail list logo