Hi,
I have a regular web application made using struts and jsps.
I want to add a button to see a object as pdf or excel document.
I tried to use cocoon as a separate aplication and worked nu i don't
want to have yet another context.
My understanding is :
I know how to
Hello,
I'm trying to use the Eclipse Sunbow plug-in to edit my XSP files.
I need to have a XSP schema.
Where could I find this?
Regards
Sylvain
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
Le Mardi, 7 oct 2003, à 21:30 Europe/Zurich, Alexander Schatten a écrit
:
ein wenig off-topic---dennoch, da viele cocoon entwickler ja auch an
Eclipse interessiert sind, und Erich Gamma ja nicht gar so oft zu
sehen ist, dachte ich mir, daß diese ankündigung den einen oder
anderen
ISO-8859-1
map:serializer logger=sitemap.serializer.html
mime-type=text/html name=html pool-grow=4 pool-max=32 pool-min=4
src=org.apache.cocoon.serialization.HTMLSerializer
buffer-size1024/buffer-size
Hey,
because serializing svg to png is very slow, is it possible to do
somehow next:
- if picture-{id} exists - map:read src=picture-{id}
- if not - generate png file from svg and then save it to filesystem
and then show it.
It would make things much faster.
- Joose
--
Joose Vettenranta
An easy sample page to show the error
?xml version=1.0 encoding=ISO-8859-1?
xsp:page language=java
xmlns:xsp=http://apache.org/xsp;
xmlns:xsp-request=http://apache.org/xsp/request/2.0;
are you describing a caching mechanism here? That's built-in already.
What is picture-{id} ?
rgds
Jorg
Joose Vettenranta wrote:
Hey,
because serializing svg to png is very slow, is it possible to do
somehow next:
- if picture-{id} exists - map:read src=picture-{id}
- if not - generate png file
On ke, 2003-10-08 at 12:48, Jorg Heymans wrote:
are you describing a caching mechanism here? That's built-in already.
What is picture-{id} ?
I have data in SQL-database. I create svg according to that data. That
data won't change. picutre-{id} is where id == databases ID. So if that
file would
so how did you expect us to know all this ;-) ?
Could you please post the pipeline you want to optimize ? That way we
can get a better understanding of what components you are using.
Joose Vettenranta wrote:
On ke, 2003-10-08 at 12:48, Jorg Heymans wrote:
are you describing a caching
Joose, if you were thinking of writing a cache for your SVG images, probably
a better idea would to modify the SQLTransformer to make it implement the
Cacheable interface. Then your SVG will be cached by the existing cache.
Maybe you could extend the SQLTransformer so it would execute a
On ke, 2003-10-08 at 13:07, Jorg Heymans wrote:
so how did you expect us to know all this ;-) ?
Could you please post the pipeline you want to optimize ? That way we
can get a better understanding of what components you are using.
map:match pattern=framet/nelio-*.png
map:aggregate
On Tue, 2003-10-07 at 18:20, Carlos Chávez wrote:
Hi to all,
i'm working with woody,
i'm using WoodyTemplateTransformer,
when the first time i execute one form this work fine, validation is ok
etc,
but the second time i execute other diferent form and i try to submit
this form this
On ke, 2003-10-08 at 13:19, Joose Vettenranta wrote:
On ke, 2003-10-08 at 13:07, Jorg Heymans wrote:
so how did you expect us to know all this ;-) ?
Could you please post the pipeline you want to optimize ? That way we
Also problem is that SVG-template can be very BIG. I'm receiving
Hi,
I'm using cocoon 2.1.2 to serialize svg after transforming it with a XSL.
I'm using a pipeline configured as follows, in a sitemap.xm file:
map:pipeline type=caching
map:match pattern=*.gif
map:generate src={1}.svg/
map:transform src=stylesheets/{1}.xsl type=xslt
I haven't used XSP yet so I don't know exactly where cocoon is failing
to cache this pipeline. It caches xsl executions automatically and
that's all your pipeline is doing except for that one xsp.
Looking at the wiki
http://wiki.cocoondev.org/Wiki.jsp?page=XSPFundamentals , it seems that
XSP
Bertrand Delacretaz wrote:
Le Mardi, 7 oct 2003, à 21:30 Europe/Zurich, Alexander Schatten a écrit :
ein wenig off-topic---dennoch, da viele cocoon entwickler ja auch an
Eclipse interessiert sind, und Erich Gamma ja nicht gar so oft zu
sehen ist, dachte ich mir, daß diese ankündigung den einen
Hi all,
I am using HSSFSerializer to create a native Excel file from Cocoon.
Works great !
But some of the elements in my gnumeric-xml-format that I pass to the serializer seem
not to be recognized.
E.g.
Attributes
SheetLayout
Summary
( The original gnumeric spreadsheet program does recognize
Hi,
is there any effort to port Cocoon to .NET.
I work for a company which develops Java and .NET versions
of the same applications to suit customers needs.
I need an xml pipelining engine which works
both in java and .NET.
Thank you for any help,
Carlo.
http://outerthought.net/~stevenn/GT2003Impressions.html
enjoy,
/Steven
--
Steven Noelshttp://outerthought.org/
Outerthought - Open Source Java XMLAn Orixo Member
Read my weblog athttp://blogs.cocoondev.org/stevenn/
stevenn at outerthought.org
I'm using Cocoon 2.1. In Cocoon documentatio, there
is an example of sending mail with attachment:
sendmail:send-mail
sendmail:fromfrom
address/sendmail:from
sendmail:tosome maillinglist
address/sendmail:to
sendmail:subjectxsp-request:get-parameter
name="subject"//sendmail:subject
!--
If you would hold on to a connection for the lifetime of the ThreadSafe component (and
in the case of ECM that means from startup to shutdown of the container itself) it
means that that particular connection will not be available to other components to
reuse (DataSourceComponent pools its
Josep Riudavets wrote:
I'm using Cocoon 2.1. In Cocoon documentatio, there is an example of
sending mail with attachment:
sendmail:send-mail
sendmail:fromfrom address/sendmail:from
sendmail:tosome maillinglist address/sendmail:to
sendmail:subjectxsp-request:get-parameter
Unfortunately, the current philosophy of cocoon seems to be to force you to
add your webapp into cocoon's.
The approach I use is to build cocoon using only the blocks I want and to
not generate samples or documentation in the webapp. We do our builds with
maven so we take all the jars that are
Thanks a lot ... now, it works perfectly ... I did not undersand cocoon
protocol, but now I have learned some things about it ... thanks again
Another question ... I'm generating pdf files in order to be attached. These
files are named depending on a certain random number. For example, there
Hi Josep,
The cocoon:/// indicates an internal pipeline request - meaning
it refers to a pipeline, and not directly to a file.
The documentation shows an email with three attachments just to
show you the various possibilities.
For your need (reading a simple file), just use the example for
On Wed, 8 Oct 2003, Steven Noels wrote:
http://outerthought.net/~stevenn/GT2003Impressions.html
I would not know a racoon from a cocoon or a tomcat - but you guys rock !
Thanks for organizing this !
Dw.
PS: Are the presentations anywhere ?!
Marchiori Carlo wrote:
Hi,
is there any effort to port Cocoon to .NET.
I work for a company which develops Java and .NET versions
of the same applications to suit customers needs.
I need an xml pipelining engine which works
both in java and .NET.
I would say, that this would be a real waste
Le Mercredi, 8 oct 2003, à 13:35 Europe/Zurich, Alexander Schatten a
écrit :
...It was, as I guess, a little unpolite from me to just put it in
german, but the intention was, that the speach is in german AFAIK,
hence most probably only austrian or german audience might be
interested...
No big
Is there a way of using textareasin Woody
forms?
Thanks,
jlerm
I'm pretty much a cocoon newbie, but here's what I know:
In your sitemap you can use the resource-exists action to
take different routes through the pipeline depending on the
existence of a file. E.g.:
map:match pattern=picture-*.png
map:act type=resource-exists
Is there any way to pass *sitemap* parameters to the xslt transformer
(TraxTransformer)? I know there's a use-request-parameters option to use
request parameters, but that's not what I want to do.
I want to at least be able to pass in the request URI (e.g. requestUri in
From: Horsfield, Peter A. [EMAIL PROTECTED]
Absolutely:
map:transform type=xslt
map:parameter name=paramName value={1} /
/map:transform
Then, in your XSLT file at the top level (under stylesheet)
xsl:param name=paramName value=defaultvalue /
I've had problems
From: Tony Collen [EMAIL PROTECTED]
Sonny Sukumar wrote:
Is there any way to pass *sitemap* parameters to the xslt transformer
(TraxTransformer)? I know there's a use-request-parameters option to
use request parameters, but that's not what I want to do.
I want to at least be able to pass in
Sonny Sukumar wrote:
snip;
Hmm, did you mean {request:requestURI} ? I did a quick Google search
and that's all I found. I know some of these input modules were renamed
within the past few months.
Well, I was specifically looking at this:
i will try help you.
i'm using WoodyTemplateTransformer
in the woody template file you have to write: wi:styling
type=textarea/ this have to be nested in the wt:widget tag, for
example:
wt:widget id=Name of field
wi:styling type=textarea/
/wt:widget
you have to include the
Dirk-Willem van Gulik wrote:
PS: Are the presentations anywhere ?!
http://www.apache.org/dist/cocoon/events/gt2003/, in the process of
hitting the mirrors in the next few days.
/Steven
--
Steven Noelshttp://outerthought.org/
Outerthought - Open Source Java XML
From: Tony Collen [EMAIL PROTECTED]
Sonny Sukumar wrote:
Interestingit's not defined in my cocoon.xconf file, and I just
upgraded to Cocoon 2.1.2 a couple of days ago when it came out. I know I
excluded unstable blocks, etcis it considered unstable?
Nope, I don't think so, you'll
i will try help you.
i'm using WoodyTemplateTransformer
in the woody template file you have to write: wi:styling type=textarea/
this have to be nested in the wt:widget tag, for example:
wt:widget id=Name of field
wi:styling type=textarea/
/wt:widget
you have to include the
The general technique with Cocoon is to use a matcher to pick up on the URI,
and to use wildcards in the matcher to
pick up on a range of URIs.
You can use the {0} sitemap parameter to access the entire
URI, and use {1} {2} etc to access the wildcard portions.
Are you sure you need/want to
- Original Message -
From: Carlos Chávez [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, October 08, 2003 2:58 PM
Subject: Re: Woody and textareas
...
you must use the stylesheet: woody-field-styling.xsl
woody-page-styling.xsl.
Do you mean woody-field-styling.xsl is a
Hi,
I am a cocoon newbie and I am using cocoon 2.0.4.
I came across the same problem of trying to save a jpeg/png file
to the filesystem as part of the course of a pipeline.
Any hints as to how to save a generated file (eg. png) to the
filesystem?
Thanks,
Jim
-Original Message-
jcplerm Escribio :-)
- Original Message -
From: Carlos Chávez [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, October 08, 2003 2:58 PM
Subject: Re: Woody and textareas
...
you must use the stylesheet: woody-field-styling.xsl
woody-page-styling.xsl.
Do you mean
Check out the SourceWritingTransformer.
Regards, Upayavira
jim basilakis wrote:
Hi,
I am a cocoon newbie and I am using cocoon 2.0.4.
I came across the same problem of trying to save a jpeg/png file
to the filesystem as part of the course of a pipeline.
Any hints as to how to save a generated
Sonny Sukumar wrote:
From: Horsfield, Peter A. [EMAIL PROTECTED]
Ok you're right; and Tony picked up on the right
solution as far as I can see, because you need to
target the URI as a whole and embed it inside a
document. Thats just the way cinclude works.
Yeah, so maybe the requestURI input
Ok you're right; and Tony picked up on the right
solution as far as I can see, because you need to
target the URI as a whole and embed it inside a
document. Thats just the way cinclude works.
However...
If you can get away with combining XML at the
sitemap level you would be able to use the
Thanks for that!!
SourceWritingTransformer certainly seems to be what I am looking for.
So if I wanted to save for example a png file to the filesystem in
the pipeline I would state:
map:transform type=write-source
map:parameter name=serializer value=svg2png/
/map:transform
Has anyone
Hi, you all,
I am using cocoon for my project. However, I got a problem seems to be imposible to solve.
It was originally an issure on session tracking. After cocoon received an request, it will assign the request to a suitable pipeline, then it will be sent to a certain servlet outside the
47 matches
Mail list logo