This page:
http://wiki.cocoondev.org/Wiki.jsp?page=FileUploadsWithFlow
had an example of how to manage uploads using flow. Unfortunately, the
example didn't work out of the box. To pull all the pieces together,
you had to follow a link to Bugzilla and get two source file
attachments
Hi Everyone,
I started a paid project for a friend and have been so snowed under
with work that I can't complete it in a reasonable time.
Anyone interested in a cocoon 2.1 FoxPro/ESQL/FO PDF publishing
project, contact me asap for complete details. The project is 90%
complete.
It's a great
You can get a filelist through the directory generator, then apply an
xsl-stylesheet to create cinclude or xinclude tags and then apply the
transformer for that include:
1) generate your filelist by directory generator
2) apply xsl that creates something like cinclude:include src=file/ or
Hi Steve and Gautam,
you can try the following to see if your code works at all I did embed
the scripting and CSS in the stylesheet, because I wanted a quick solution
and hadn't any knowledge of how to use the sitemap.
xsl:stylesheet xmlns:xlink=http://www.w3.org/1999/xlink;
Hello,
thanks for the hints. It works.
I had to set the Environment Variable ANT_OPTS
with the value.
e.g. on my Windows System:
SET
ANT_OPTS=-Djava.endorsed.dirs=C:\cocoon-2.1.3-src\cocoon-2.1.3\lib\endorsed
Per command line as you showed did not work for me.
Martin
[EMAIL PROTECTED]
Another update on this problem...
I built a Cocoon from the daily snapshot, and my problem doesn't occur
there. So, I guess this is fixed in 2.1.4. That's good news and bad
news for me... not sure what I'm going to do.
I have a tiny test case for this, in case anyone is interested in
On Tue, 2004-02-10 at 09:03, Alex Kovacs wrote:
Hi,
I am using cocoon-2.1.3 with Woody. I have a situation where I am using xsp
to display some data from a Woody form. The problem is when trying to
display the value of a date widget and the date format is the default one
instead of the one
recently I ran into a problem with SQL Transformer. The column names
returned from the database are used for naming the children of sql:row,
but those names can be something like count(distinct xxx) or
'SYS$', which violates the wellformed conditions of the return document.
alias your
Hi all,
I have a problem with my xml-string. From a XSP-page i call a JavaClass
which makes a SOAP-call. The JavaClass returns a XML document in
String type.
When i place this string in my page with xsp:expr the '' and '' of the
XML string are replaced with 'lt;' and 'gt;'. Because of this
On Wed, 2004-02-11 at 08:59, Jan Hoskens wrote:
After searching the archives, I found some stuff about the encoding in
cocoon. I tried changing the ISO-8859-1 to UTF-8 in the web.xml, but that
did not change the problem.
(http://marc.theaimsgroup.com/?t=106760662600010r=1w=2)When I passed the
Hello,
I tried to find details in docs and samples, but seems I am quite stupid
:) Possibly I missed something improtant? I am currently developing
kind of skeleton and guidelines for quite large application to be used
for long time - so I want to make things as standard as possible.
On Tue, 2004-02-10 at 11:37, Mark Lundquist wrote:
Hi all,
I need to put a couple of forms on a page.
TheWoodyTemplateTransformer wiki page says the way to do this is to
usethe special @location attribute on wt:form-template, to tell
thetransformer where to pick up the form instance.
On Wed, 11 Feb 2004, Jan Hoskens wrote:
You can get a filelist through the directory generator, then apply an
xsl-stylesheet to create cinclude or xinclude tags and then apply the
transformer for that include:
1) generate your filelist by directory generator
2) apply xsl that creates
On Tue, 2004-02-10 at 03:17, Mark Lundquist wrote:
snip/
Then flow came along, and the WoodyTemplateTransformer was
madeflow-friendly: first and foremost, it knows about the continuation
ID! But the WoodyGenerator fell behind the curve, probably because it
wasa second-class citizen already.
Has anyone succeeded in running cocoon in debug mode while rendering
svg's? Tomcat crashes instantly without any errormessage (windows XP) on
my install so i can always only use one or the other, annoying!
Jorg
-
To
Phil Blake wrote:
Hi Everyone,
I started a paid project for a friend and have been so snowed under with
work that I can't complete it in a reasonable time.
Anyone interested in a cocoon 2.1 FoxPro/ESQL/FO PDF publishing project,
contact me asap for complete details. The project is 90%
I did change the file web.xml:
-web.xml snip-
init-param
param-namecontainer-encoding/param-name
param-valueISO-8859-1/param-value
/init-param
init-param
param-nameform-encoding/param-name
param-valueutf-8/param-value
/init-param
-snip-
But if I look at
Jorg Heymans wrote:
Has anyone succeeded in running cocoon in debug mode while rendering
svg's? Tomcat crashes instantly without any errormessage (windows XP)
on my install so i can always only use one or the other, annoying!
?? Not later than 2 days ago, I was in debugging the SVG
Hi
I have custom generator where I set to request.attribute any value
via
ObjectModelHelper.getRequest(objectModel).getAttribute(RESULT_KEY)
next in the sitemap I want there request attribute selector
to decide what transformer to use
this attribute is setted before any sax events generated.
Below sitemap snippet just seems so counter-intuitive that i thought
i'ld share it.
map:match pattern=*.*
map:act type=resource-exists
map:parameter name=url value=file://{1}.{2}/
map:aggregate element=aggregation label=debug1
map:part src=file://{../1}.{../2}/
Hi,
I've got a problem to internationalize my sendmail :
I use a Woody form, then XSP logicsheet as in the sendmail sample, where
i get the values entered by woody and add some text that i need to be
internationalized to compose the body of the mail. I can't use i18n
transformer as the mail seems
Hello All,
Please, help, because I'm really out of ideas here.. The thing is,
when I try to use a blob: protocol (from the BlobSource component), I
keep getting an
Exception during source resolving.:
org.apache.excalibur.source.SourceException: Cannot get datasource
'DBGES'
At first I
recently I ran into a problem with SQL Transformer. The column names
returned from the database are used for naming the children
of sql:row,
but those names can be something like count(distinct xxx) or
'SYS$', which violates the wellformed conditions of the
return document.
Hi,all: I want to use Chinese chacter in the page and don't want it to be encoded as someting like #8983.So I change configurations in web.xml: init-param param-namecontainer-encoding/param-name param-valueutf-8/param-value /init-param
init-param param-nameform-encoding/param-name
snipped
This is a standard SQL-feature, that should work in any SQL-compliant
database (at least I know it works in MSSQL and DB2 also).
But I guess that the problem is that Johann lets the user enter SQL
directly, loosing control of whats submitted to the DB.
(which seems like a huge security
Hi all,
I'm trying to use validation with Woody. In order to do that, there is a
function show([String] uri, [Function] validator) called on the Form Object.
Although there is an example with this function, how can I warn the user
with a message in case of violation?
In which way do I have to
This is a standard SQL-feature, that should work in any
SQL-compliant
database (at least I know it works in MSSQL and DB2 also).
But I guess
that the problem is that Johann lets the user enter SQL directly,
loosing control of whats submitted to the DB. (which seems
like a huge
Hi Daniel,
Just in case, don't forget your component must inherit the avalon Poolable interface.
for your questions, see below :
On 10/02/2004 07:49, Daniel von Aesch wrote:
Hi,
Can someone explain me how the component pooling in cocoon exactly works ? I
am new to cocoon and unfortunately I
* Joerg Heinicke [EMAIL PROTECTED] [2004-02-11 00:06]:
On 10.02.2004 20:41, Alan wrote:
Actually I think Woody was not designed to be used with Flow. Joerg
used the word propagated, and that seems right. When Flow was
introduced, Woody was brought forward to play together with it ??well,
Hi all,
I have a very annoying problem regarding uploads.
To be able to do multi part uploads I went to web.xml and set the
enable-uploads init-param to true and the upload-directory to data (no
quotes of course). As I need ony one upload directory, it looked like the
obvious choice to me to have
hi Robby ,
Thanks for that that worked.I ahd tried that logic earlier for
including the
script code inside the svg file itself but that didnot seem to work.Now
when i looked your example here..i changed the script type from
text/ecmascript to text/javascript,it started working.Thanks a lot
for
Hi,
I'm using cocoon 2.1.3 and would like to call sendmail from flowscript. I
have a working sendmail action in my sitemap. However, when I try to use the
act function in my flow I get:
TypeError: act is not a function
Which suggests there's a resource that I should be including. I'm going
round
The authentication framework doesn't do anything with Roles. It is rather
confusing that they are included in the framework documentation, but the
examples come from the Cocoon Portal which does make use of the roles.
However, you don't really need any other components. You can use the
What you're saying suggests that you're calling the function act() that does
not exist in your flowscript. Maybe you have to call it through the cocoon
object: cocoon.act(), as with the sendpage and other's(as on the wiki page:
http://wiki.cocoondev.org/Wiki.jsp?page=Flow)
Hope this helps,
I need more explanation about the exception.
in this page :
http://cocoon.apache.org/2.1/userdocs/concepts/errorhandling.html
There is this example which interested but it's not working because
class=SAXException does not exists.
map:selector name=exception
On Feb 11, 2004, at 8:04 AM, Lionel Crine wrote:
I need more explanation about the exception.
in this page :
http://cocoon.apache.org/2.1/userdocs/concepts/errorhandling.html
There is this example which interested but it's not working because
class=SAXException does not exists.
map:selector
On Feb 11, 2004, at 1:13 AM, Bruno Dumon wrote:
On Tue, 2004-02-10 at 03:17, Mark Lundquist wrote:
This is where I got stuck I could create and display a form
usingflow and display it using the generator (and my stylesheet), but
thenfor flow you have to encode that continuation ID into the
On Feb 11, 2004, at 12:54 AM, Bruno Dumon wrote:
That's because the request is an object that lives only for the
duration
of one request. Thus if you put something in a request attribute, it
only remains there for the current request.
OK I figured that's what must be going on.
I'm new to Cocoon
Is there are Generator|Transformer that produces xml from an excel
document? Perhaps something utilizing Jakarta POI-HSSF?
-Daniel
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
There wasn't when I looked, so I made the HSSFTransformer (that membership
uses).
David
Quoting Daniel McOrmond [EMAIL PROTECTED]:
Is there are Generator|Transformer that produces xml from an excel
document? Perhaps something utilizing Jakarta POI-HSSF?
-Daniel
Hi,
I try to access to the input module RandomNumberModule and it works fine.
But I try to define the max and min, how can I do that ?
here is my line in my xsp input:get-attribute name=random module=random/
Lionel
Lionel CRINE
Ingénieur Systèmes documentaires
Société : 4DConcept
22 rue Etienne
It's not working.
At 08:18 11/02/2004 -0800, you wrote:
On Feb 11, 2004, at 8:04 AM, Lionel Crine wrote:
I need more explanation about the exception.
in this page :
http://cocoon.apache.org/2.1/userdocs/concepts/errorhandling.html
There is this example which interested but it's not working
Whoops! I meant to reply to Daniel directly. FWIW, I could supply my
transformer to the list (minus a project specific block of code). Anyone else
need something like this? We've found it quite usefull. It takes some config
XML as input to tell it how to process the Excel file (it gets from a
I think it would be useful for many of us;
maybe the comitters can add it to the scratch
area of Cocoon?
D Hohls
Environmental Systems Developer
CSIR Environmentek
PO Box 17001
Kwa-Zulu Natal
South Africa
4013
www.csir.co.za
[EMAIL PROTECTED] 02/11/04 7:16 PM
Whoops! I meant to reply to Daniel
Is there are Generator|Transformer that produces xml from an excel
document? Perhaps something utilizing Jakarta POI-HSSF?
-Daniel
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi,
Thanks for the reply. I have one problem using the xml file to transform.
Below is my code where I call the soapserver that returns a xml file . Here
soap-result should contain my xml file.
When I tried to get the new xsl in the stylesheets I am getting an error
The element type META must
Doesn't anybody have an idea on this one.
This is just a bump back up the list.
Bert
- Original Message -
From: Bert Van Kets [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, February 11, 2004 4:02 PM
Subject: upload dir cleared at Cocoon startup
Hi all,
I have a very
Yes!!
I was just about to start something like it. :)
JD
Derek Hohls wrote:
I think it would be useful for many of us;
maybe the comitters can add it to the scratch
area of Cocoon?
D Hohls
Environmental Systems Developer
CSIR Environmentek
PO Box 17001
Kwa-Zulu Natal
South Africa
4013
Doesn't anybody have an idea on this one.
This is just a bump back up the list.
http://marc.theaimsgroup.com/?l=xml-cocoon-usersm=107626758900778w=2
Read Geoff's second paragraph. Maybe this is the reason?
Askild
-
To
This is a great idea!!! Actually I've spent 2 days
figuring out how to do it (eventually I installed
Linux=)
--- Jim Bloggs [EMAIL PROTECTED] a écrit :
Greetings!
I don't know whether this will be of any use, but I
made out a how-to for
installing Cocoon 2.1.3 on Tomcat 5.0.18 on Windows
Bert Van Kets wrote:
Hi all,
I have a very annoying problem regarding uploads.
To be able to do multi part uploads I went to web.xml and set the
enable-uploads init-param to true and the upload-directory to data (no
quotes of course). As I need ony one upload directory, it looked like the
obvious
Sure - submit a patch to bugzilla and we'll take a look at it. Won't
make it in 2.1.4 which now looks once again like it'll be this week, but
it'd be considered after that.
Geoff
JD Daniels wrote:
Yes!!
I was just about to start something like it. :)
JD
Derek Hohls wrote:
I think it
what about putting the info on the wiki-page?
So people don't have to keep this email and people not in this list can
access the information too.
Michael
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
Olivier Billard wrote:
Hi Stefan,
I had the same pb, and I solved it the way Marco wrote, that is to say :
private field :
- private Connection connection;
initialize (called once in the lifetime) :
- get the datasource
dispose (called once in the lifetime);
- release the datasource
recycle
Michael Wolf wrote:
what about putting the info on the wiki-page?
So people don't have to keep this email and people not in this list can
access the information too.
That'd be great, but there is very little here which is specific to your
set up. These same instructions should work for:
1) any
Mark Lundquist wrote:
On Feb 11, 2004, at 12:54 AM, Bruno Dumon wrote:
That's because the request is an object that lives only for the
duration of one request. Thus if you put something in a request
attribute, it only remains there for the current request.
OK I figured that's what must be
Hi,
This is a great idea and, like Michael suggested it would be a great
contribution to the Wiki. Following Geoff's suggestions you could add some
text at the top that stated that it should pretty much work with see
Geoff's mail, but for clarity you describe it using your version set.
If you
On 05.02.2004 16:14, Lionel Crine wrote:
Hi,
I'd like to merge some part of document coming from different pattern.
On cocoon.apache.org, I saw tat Cinclude and Xinclude can merge some
document calling href.
Also, I saw that Xinclude can use xml:base calling some cocoon uri.
It's a little bit
On 05.02.2004 21:21, Brent L Johnson wrote:
Im attempting to pass some parameters through to
the src of the HTML generator and I'm getting an
IOException. Here is my sitemap snippet:
map:match pattern=test.xml
map:act type=request
map:parameter name=parameters value=true/
On 06.02.2004 00:39, Dan Durkin wrote:
I have an existing cocoon app running in 2.0.4 and I'm trying to get it
running in cocoon-2.1.4-dev the cvs head from a day or 2 ago.
Which container do you use? If you don't use the bundled, stripped-down
Jetty delivered with Cocoon and if you use JDK 1.4
The raw request parameter input module does not work.
So you can change the bug to confirmed :) Joakim
actually patched it and it's working for me now.
I think he just added a URLEncode to the parameter
before its returned.
- Brent
-Original Message-
From: Joerg Heinicke
Hi all,
I have finally gotten the FileUploadsWithFlow sample working without errors,
but I still can't see anything arriving on the server. :-(
I get no error anywhere. Not in the console, not in the browser, not in the
logs. The Flow script throws me to the success page, which should mean the
On Wed, 11 Feb 2004 22:09:01 +0100, [EMAIL PROTECTED] said:
Hi,
Following Geoff's suggestions you could add some
text at the top that stated that it should pretty much work with see
Geoff's mail, but for clarity you describe it using your version set.
If you find it difficult to add it
Begin forwarded message:
From: Mark Lundquist [EMAIL PROTECTED]>
Date: February 11, 2004 3:59:04 PM PST
To: [EMAIL PROTECTED]
Cc: Bert Van Kets [EMAIL PROTECTED]>
Subject: Cocoon upload manager
Hi Nicolas,
I, along with another [EMAIL PROTECTED] list member, are trying to use the
On Feb 11, 2004, at 1:03 PM, Sylvain Wallez wrote:
You can make use of the upcoming bookmark continuations in the
upcoming 2.1.4 release. These are continuations that are not related
to a sendPage and can therefore be used to go back at any particular
location in your script. This allows to
Hi,
I have the following code in my xsp page:
byte[] binImg = newArt.getArtistPhoto1();
I now want to display this stream in the page like so:
xsp:expr>binImg/xsp:expr>
but am getting, as expected, casting errors. What do i need to do to display the contents of this stream, which was a simple
Mark Lundquist wrote:
snip/
I tried to contact the author of the upload component (Nicolas
Maisonneuve), to see if he could get me started in the right direction
debugging this, but the address I have for him gets blocked by
rsl.visi.com which has (wrongly!) listed my mail server as an
Bert Van Kets wrote:
Hi all,
I have finally gotten the FileUploadsWithFlow sample working without errors,
but I still can't see anything arriving on the server. :-(
Finally got a chance to look at this tonight, and I think I have
answers. I have not tested any of this, so it's all fresh from 5
On Thu, 2004-02-12 at 01:48, beyaNet Consultancy wrote:
Hi,
I have the following code in my xsp page:
byte[] binImg = newArt.getArtistPhoto1();
I now want to display this stream in the page like so:
xsp:exprbinImg/xsp:expr
If this is a textfile try: xsp:exprnew
On Wed, 2004-02-11 at 18:16, Dave Kavanagh wrote:
Whoops! I meant to reply to Daniel directly. FWIW, I could supply my
transformer to the list (minus a project specific block of code). Anyone else
need something like this?
Yes, it would indeed be very usefull!! In our company excel wizzards
On Wed, 2004-02-11 at 12:28, Philippe Guillard wrote:
Hi,
I've got a problem to internationalize my sendmail :
I use a Woody form, then XSP logicsheet as in the sendmail sample, where
i get the values entered by woody and add some text that i need to be
internationalized to compose the body
On Wed, 2004-02-11 at 10:27, Matthias Schäfer wrote:
Phil Blake wrote:
Hi Everyone,
I started a paid project for a friend and have been so snowed under with
work that I can't complete it in a reasonable time.
Anyone interested in a cocoon 2.1 FoxPro/ESQL/FO PDF publishing project,
72 matches
Mail list logo