I cannot see these sites - why not post some sample
XML and the stylesheet that is problematic
[EMAIL PROTECTED] 2004/09/08 03:36:14 AM
Hello,
I'm having some trouble rendering one of my xml files. Through
conventinal methods (i.e, regular browser parsing, saxxon, xalan...) I
get
hi Superbiji
thanx for your answer but i test all this without to leave the form open
for a long time.
maybe i dont have refer to my problem corectly
let me describe the scenario
1. i'm in form_A
2. click on submit
3. i'm in form_B and posted data form form_A are here
4. i press browser's
Derek,
you need to change your XSL.
Move the xsl:import above the xsl:output.
That should fix it. It does for me.
-Original Message-
From: Derek Hohls [mailto:[EMAIL PROTECTED]
Posted At: Wednesday, September 08, 2004 8:59 AM
Posted To: Cocoon User List
Conversation: Problem
http://svn.apache.org/repos/asf/cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/generation/DirectoryGenerator.java
...
} else if (sort.equals(lastmodified)) {
...
Superbiji wrote:
I see.
So which one is correct in CVS,
sort=lastmodified
or
sort=lastModified ?
On Tue, 07 Sep 2004 18:40:10
Instead of that META-hack you'd better use a correct HTTP header.
Configure your serializer with mime-type like:
map:serializer name=html
mime-type=text/html; charset=utf-8
logger=sitemap.serializer.html
pool-grow=2 pool-max=64
Hello Robby!
You could try some fi:styling myAttr=doSomething() element in the form
template, since all attributes to that element is copied into the resulting
input tag in the standard cforms field transformer:
...
xsl:if test=fi:styling
xsl:copy-of select=fi:styling/@*/
And what about your HTML serializer? Which encoding does it
use for the form?
Thank you Timur, but Volkmar already pointed this out to me.
Actually I have to configure two things to put it right.
First -- as you suggested -- configure the HTMLSerializer to produce
UTF-8 and second put a
On Tue, 2004-09-07 at 19:38, Antonio Gallardo wrote:
Hi Peter:
I use Fedora Core 2 with tomcat 5.0.28, j2sdk 1.4.2_05 and that work OK
with Cocoon 2.1.5.1 and cvs version.
If you are a new in Cocoon, please try first tomcat 4.1.x with j2sdk
1.4.2_x. This configuration works on Fedora.
Hi,
Peter Flynn wrote:
On Tue, 2004-09-07 at 19:38, Antonio Gallardo wrote:
Hi Peter:
I use Fedora Core 2 with tomcat 5.0.28, j2sdk 1.4.2_05 and that work OK
with Cocoon 2.1.5.1 and cvs version.
If you are a new in Cocoon, please try first tomcat 4.1.x with j2sdk
1.4.2_x. This configuration works
Il giorno 08/set/04, alle 10:45, Peter Flynn ha scritto:
I can confirm that it doesn't, and it seems to be the Launcher missing
from the ant distributed with Cocoon, not anything to do with Tomcat,
because you can't even build Cocoon 2.1.5.1 as it stands: it's broken
as distributed. So it cannot
On Wed, 2004-09-08 at 09:57, Ugo Cei wrote:
Since Cocoon works fine with JDK 1.4, I guess it's unfair to say that
Cocoon is broken. If there's something that's broken is the degree of
backward-compatibility offered by Java5 and you can hardly blame anyone
for not delivering a release that
Hi,
Here's a note from http://wiki.apache.org/cocoon/RhinoWithContinuations that
explains what's going on:
NOTE: Captured continuation does not save the state of the variables, but
rather pointers to the variables. Example: two continuations will share one
instance of the local variable declared
Hi,
normally I build Cocoon on Windows 2000 and it all works fine, however
today I have had cause to
build it on Windows ME (not the best environment, but Java should run on
it :-) ).
However despite setting JAVA_HOME correctly and testing this with echo
%JAVA_HOME% I get
the following message
Hi Phil,
Use jsForm.getWidget().unwrap().
Pete
I have a java object which currently has a method (addForm) that
accepts a Form object as a parameter. In v1 of the forms
javascript code this can easily be accessed from javascript with
javaObj.addForm(jsForm.getWidget());
However I want
We found out how to do it yesterday: give the template a name-attribute
(e.g. login) and the body tag an onload attribute
with value: document.nameOfForm.NameOfField.focus()
Regards,
Robby
html
head
titleAccess Control/title
/head
body onload=document.login.id.focus();
oceatoon wrote:
Hello every one
I've allready posted about this earlier, with no answer, I desperatly post
it again because this is something I really need for a cforms function and
I'm sure it's just some guidance away.
on javascript binding a widget, I need to get some data that is outside the
cool, just for completeness though:
when upgrading from woody to cforms (which is highly recommended) you
should:
watch out with those on_load thingies, you might be killing the
necessary onload of other widgets in the form (e.g. used by advanced
widgets like calendar or html area and whatnot)
Hi Marc
my Cform is binded to an XML document,
This is the part we are concirned with :
fb:repeater id=uploads parent-path=newuploads row-path=upload
rooms
room id=1
newuploads
upload path=/
upload path=/..etc
newuploads
/room
Please help with a simple match that I cannot get
to work...
in HTML I will have:
src=/dir1/dir2/dir3/resources/custom/images/icon.gif
or
src=dir2/dir3/resources/custom/images/icon.gif
or
src=dir3/resources/custom/images/icon.gif
I need all of these to match to the same file in
the same
I am trying to link a form into a coplet, and I am very confused about
the difference between the attributes: uri and
temporary:application-uri in portal.xml.
It does not work if I only use temporary:application-uri, I have to add
my application into the uri section. What is
I managed the second part by adding
map:match pattern=resources/**
map:read mime-type=* src={global:skin}resources/{1}/
/map:match
to my main sitemap in my portal and moving resources into my skin dir.
Not sure if this is the appropriate way though
Still wondering why the 2 uri
Hi Derek,
Please help with a simple match that I cannot get
to work...
in HTML I will have:
src=/dir1/dir2/dir3/resources/custom/images/icon.gif
or
src=dir2/dir3/resources/custom/images/icon.gif
or
src=dir3/resources/custom/images/icon.gif
just use this
map:match
Hi Derek,
Please help with a simple match that I cannot get
to work...
in HTML I will have:
src=/dir1/dir2/dir3/resources/custom/images/icon.gif
or
src=dir2/dir3/resources/custom/images/icon.gif
or
src=dir3/resources/custom/images/icon.gif
just use this
What could be the best way for
implenting a search engine (like google) with
cocoon. I was thinking about using session-context
but then read that the memory could get a problem,
if there are a lot of result sets.
What I didn't find, how to store a result set in
a session. Any how-to's on this
There is an xsl:import href=pagina.xsl in pagina.xsl.
This is creating an error.
IceT wrote:
Hello,
I'm having some trouble rendering one of my xml files. Through
conventinal methods (i.e, regular browser parsing, saxxon, xalan...) I
get no problems. Also, one xml file works fine (the
Hi Cocoon Users,
I am facing an issue while using simpleform Transformer.As we
know, simpleform Transformer helps to prefill the=0D Input fields after
form validation. The issue I am facing with is , I want to prefill only
specific request attributes. To explain in brief, I have a form
Daniel
Thanks, I think I need to add the following to make it fit exactly:
map:match pattern=**/resources/custom/**/*.gif
map:read src=resource/actual-dir/{2}/{3}.gif
mimetype=image/gif/
/map:match
Derek
[EMAIL PROTECTED] 2004/09/08 02:14:22 PM
Hi Derek,
Please help with a
Hello all,
I'm trying to figure out the best way to edit XML document fragments
stored in an xml db (eXist). I have been reading through all relevant
mails I could find both on this list and on the eXist-open list, but I
am still confused. Here are the usecases:
Simple case:
- an editor should
Hello
I'm trying to explore the Slide sample and then to adapt it
(http://localhost:/samples/blocks/slide/ with Cocoon 2.2.0-dev)
On my development system (Windows), an attempt to upload a file works
fine with the form.
On my exploitation system (FreeBsd), after filing the form and a click
Is the property enable-uploads in WEB-INF/web.xml enabled? If not, the
uploaded part will be null.
-Original Message-
From: Jean-Claude Moissinac [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 08, 2004 3:18 PM
To: [EMAIL PROTECTED]
Subject: Exploring the Slide sample
Hello
Yes
It is set to true on both systems.
Bart Molenkamp wrote:
Is the property enable-uploads in WEB-INF/web.xml enabled? If not, the
uploaded part will be null.
-Original Message-
From: Jean-Claude Moissinac [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 08, 2004 3:18 PM
To: [EMAIL
uri is the URI which is called when the coplet is supposed to display.
Set it to cocoon:/coplets/html/application, and you'll probably don't
need to change it.
temporary:application-uri stores the URI that is used by
cocoon:/coplets/html/application (look at it, you'll see). This
temporary URI
Hmm... I use uploads in combination with CForms, and then it is required
to have the attribute enctype=multipart/form-data added to the form
tag. Maybe that is missing?
-Original Message-
From: Jean-Claude Moissinac [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 08, 2004 3:24 PM
Hello!
Problem: I'm trying to pass a string to a jx template. The passed string
contains html markup which I want the generator\serializer to parse and
serialize. However, the following sendpage call:
cocoon.sendPage(error.xml, {error : bBold test/b});
just produces this output:
bBold test/b
have you looked at Lucene? it's integrated in Cocoon already.
[EMAIL PROTECTED] wrote:
What could be the best way for
implenting a search engine (like google) with
cocoon. I was thinking about using session-context
but then read that the memory could get a problem,
if there are a lot of result
Hi
to get around the problems with java.home on Windows 9x I set up
Eclipse to use the Ant distro shipped with Cocoon, this seems to
work fine as they have a fix for java.home, however I now get
Buildfile: D:\projects\cocoon-2.1.5.1\build.xml
init:
init-tasks:
prepare:
[echo]
Peter Flynn Escribio :-)
I just installed a fresh tomcat 5.5.0 on Fedora Core 2,
with jdk1.5.0, and that works fine (edited server.xml to
make it the default port 80 server).
Then I unwrapped Cocoon 2.1.5.1 and typed ./build to get
the default set of targets. I immediately get the error:
On Wed, 2004-09-08 at 16:03, Carlos Chávez wrote:
I had the same problem and was because Fedora Core 2 had installed
another versión of Ant, i dont remember which is, i uninstall
that version and install Ant 1.6.2.
Thanks. That's odd: the docs say that Cocoon ignores any setting of
hello list,
I have a pipeline generating pdf documents out of xml files.
is it possible to tell cocoon to pring a generated document on a printer
connected to the server itself or to the client?
what I want is that any generated pdf is printed.
thanks!!
Hi,
my name is Dominic and I'm new to this mailing list and to XSLT / Coocoon.
I'm using:
java version 1.4.2_05
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.
Java HotSpot(TM) Client VM (build 1.4.2_05-b04, mixed mode)
With Tomcat/5.0.27
And cocoon 2.1
Running on WinXP SP2
I
Hello
I'm trying to use the SOAP logicsheet
I don't find documentation about it other than the sample.
I'm trying to derive a test from the following sample
http://...mycocoon.../samples/blocks/xsp/soap/temperature
which is based on the following xsp
xsp:page
language=java
I am trying to write a Todo List coplet using the portal engine. My
coplet generator is written in XSP. Is there an easy way to send the
{ID} thingy to the coplet?
Thanks,
Dylan
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
Hello
Some more info
The following soap request work well outside cocoon, but all my attempt
to map that request in the soap logicsheet fails
SOAP-ENV:Envelope
xmlns:SOAP-ENV=http://schemas.xmlsoap.org/soap/envelope/;
xmlns:SOAP-ENC=http://schemas.xmlsoap.org/soap/encoding/;
Hi,
is there a way to prevent Tomcat (5.0.19) from storing all active
sessions when shuting down.
As some of the Cocoon classes are not serializable this produces lots of
exceptions each time.
This is not an important issue, but more a cosmetical problem when doing
demonstrations with our
Hi Steinar,
uri parameter points to the following pipeline (it's in
coplets/html/sitemap.xmap):
map:pipeline
map:match pattern=application
map:generate
src={coplet:temporaryAttributes/application-uri}?copletid={coplet:#}/
map:transform
Dominic Krüger wrote:
[...]
I am trying to write a xhtml file that consist of some static areas (pre
formated xhtml)and some dynamic areas I want to fill with content from an
xml file.
Filling in the content works fine.
My problem is that cocoon will not keep the formated xhtml that I copied
into
Try setting the environment variables through the control panel. I had
the same problem than yours, and that worked fine for me on windows XP
though.
Btw, you did set JAVA_HOME=c:\J2SDK1.4.2_03 right?
Norman Barker wrote:
Hi,
normally I build Cocoon on Windows 2000 and it all works fine,
I have a jsp page that produces a href element that has some query
parameters. Unfortunately the cocoon pipeline throws an error:
org.apache.cocoon.ProcessingException: SAXException while parsing JSPEngine
output: null:102:135:org.xml.sax.SAXParseException: The reference to entity
subsect must
On Wed, 8 Sep 2004 14:53:34 -0400, kranga [EMAIL PROTECTED] wrote:
I have a jsp page that produces a href element that has some query
substitute your '' for 'amp;' like this:
xyz.com?test=1amp;subsect=go
org.apache.cocoon.ProcessingException: SAXException while parsing JSPEngine
output:
[EMAIL PROTECTED] wrote:
I have a pipeline generating pdf documents out of xml files.
is it possible to tell cocoon to pring a generated document on a printer
connected to the server itself or to the client?
Yes, it is possible, but not out-of-the-box. You'll have to
write a custom transformer.
Sorry for using the wrong medium then and thanks fort he tipps!
dominic
-Ursprüngliche Nachricht-
Von: Joerg Heinicke [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 8. September 2004 20:37
An: [EMAIL PROTECTED]
Betreff: Re: xhtml output formating problems / passing throught pre defined
Hello!
I need to:
1. create a continuation
2. put the id of the continuation in a deliveryUrl
3. redirect to a redirectUrl
4. suspend flowscript execution, until the remote system hosting redirectUrl
redirects the user to my deliveryUrl
5. resume from here (by sitemap-catching the deliveryUrl
On Thursday 09 September 2004 00:08, Ulf Sahlin wrote:
I need to:
1. create a continuation
2. put the id of the continuation in a deliveryUrl
3. redirect to a redirectUrl
4. suspend flowscript execution, until the remote system hosting
redirectUrl redirects the user to my deliveryUrl
5.
I have database connections hanging under load (2.1.5.1, jdk1.4.2_05,
MySQL 4.0.18). I found a thread about updating
excalibur-datasource-1.1.1.jar to a later version to fix this. When I
upgrade to excalibur-datasource-1.2.0.jar, I get cannot create a quaetz
scheduler. Has anyone seen this
54 matches
Mail list logo