Hi Jarry,
To access sitemap parameters in JavaFlow, you could try something like this:
import org.apache.avalon.framework.parameters.Parameters;
import org.apache.cocoon.components.flow.java.Continuation;
import org.apache.cocoon.components.flow.java.ContinuationContext;
snip/
Hi Guillaume,
I would recommend using Cocoon 2.1.7. It is the latest stable version.
In regards to JavaFlow, that all depends on your definition of
'stable'. :) Some folks are using it in production [1], but I
believe it's still listed as 'unstable' [2].
HTH,
-Daniel
[1]
Hi Tibor,
You could use the RequestGenerator. Any sitemap parameters you pass to
it will show up in the h:configurationParameters element..
-Daniel
On 6/17/05, oceatoon [EMAIL PROTECTED] wrote:
Hi
I feel oakward asking this, since it seems so obvious, but I don't beleive
it is possible???
Hi Derek,
I don't believe that David Kavanagh ever created a bugzilla patch
following that thread.
However, there is a new ExcelGenerator[1] that should be part of
Cocoon 2.2. Looks like this generator outputs the speadsheet in
Gnumeric XML format.
I also have an ExcelToXmlTransformer that I
Hi Asim,
You might find more assistance on the Apache POI users list[1].
HTH,
-Daniel
[1] http://jakarta.apache.org/site/mail2.html#POI
On 6/13/05, Asim Thakker [EMAIL PROTECTED] wrote:
Hey,
I am using cocoon 2.1 to get an xml file, transform it using xslt (using the
Is there an existing solution for a 'select all' / 'deselect all'
button for CForms booleanfield widgets (checkboxes)?
-Daniel
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi Goku,
You're very close! One problem seems to be that your match pattern is
only going to work for URL's begining with 'html'. Instead, you might
want to try something like this:
map:match pattern=reports/html/*
map:generate src=cocoon://sqlquery/{1}/
map:transform src=doc2html.xsl/
On Wed, 30 Mar 2005 09:04:54 -0500, Paul Friedman
[EMAIL PROTECTED] wrote:
I believe (but I may be wrong here) that the only supported language for
flow is javascript.
There is also a Java based implementation written by Alex Krut. This
is what the example files indicate he is using.
Baskar,
Do not put quotes around the variable name you provide as a parameter
to the eval() function.
For example,
eval( defaultExpression );
NOT
eval( 'defaultExpression' );
HTH,
-Daniel
On Wed, 30 Mar 2005 23:42:10 +0530, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
Hi Daniel,
Hi Baskar,
The eval() function does work in Flowscript! :)
Perhaps you could you post a snippet of the code that is not working for you.
-Daniel
On Thu, 24 Mar 2005 14:46:49 +0530, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
Hi all,
Can anyone suggest me why eval() function does not work
Hi Baskar,
That seems odd. What version of Cocoon are you using?
Try breaking things down to an easier level, and see if you can
isolate where the problem is. It sounds like you might have too many
quotes around your expression. So for example, try calling:
eval( 'temp +
always interpreted
so i have to use in my images /cfm/x/images/myimage.gif where cfm is
my sitemap prefix, and x doesn't exist...
still not very clean :-\
Marc
Daniel McOrmond a écrit :
Marc,
You might try adding a slash between your wildcard characters and the
string, like
Marc,
You might try adding a slash between your wildcard characters and the
string, like this:
map:match pattern=**/images/**
This is how I've seen it done, and it's always worked properly for me.
-Daniel
On Mon, 21 Mar 2005 15:22:01 +0700, Marc Salvetti [EMAIL PROTECTED] wrote:
Hello,
i'm
Hi Janvier,
Could provide some more details about how you're accessing information
in your database? Then perhaps someone might have some insight.
-Daniel
On Mon, 7 Mar 2005 18:24:15 +0100 (CET), Janvier Majirus
[EMAIL PROTECTED] wrote:
Hi all!
I used cocoon2 for my web application. My app
Hi Mike,
I know there are some issues when compiling Cocoon with Java 1.5. You
can search the archives to see how others have resolved them, or just
use 1.4.2. Hope this helps.
-Daniel
On Mon, 7 Mar 2005 18:27:47 +0100, Michel Erard [EMAIL PROTECTED] wrote:
Hello,
I'was trying to compile
Is the issue that your generated HTML contains the wrong file name for
the image? Or, are the file names correct, but the images won't load?
If the second is the case, remember that the web browser makes
seperate requests for the images. So, make sure you have a pipeline
for serving up the
Ok. So are you using the XMLDBTransformer? Or the XMLDBGenerator?
Send along one of your database accessing pipelines and everybody can
take a look at it.
-Daniel
On Mon, 7 Mar 2005 18:35:38 +0100 (CET), Janvier Majirus
[EMAIL PROTECTED] wrote:
I'm accessing information in database via a link
Anthony,
Have you considered placing your JavaScript in external files? I think
this might simplify your life. ;)
All you need is a simple pipeline to serve up the .js files, like this:
map:pipeline
map:match pattern=js/*
map:read src=js/{1}/
/map:match
/map:pipeline
Then, in your HTML
Is it better to 'remember' original request parameters as variables in
flowscript, or to pass them via hidden form fields through the
pipeline? The goal is for the next pipeline to have access to them.
Below are two examples. I've tried to be as succinct as possible. So,
you'll just have to use
Grzegorz,
Why not just use the TextGenerator? [1]
If that doesn't suit your needs, at least take a look at the source.
Maybe it'll help with your problem.
Hope this helps,
-Daniel
[1]
http://cocoon.apache.org/2.1/apidocs/org/apache/cocoon/generation/TextGenerator.html
On Thu, 03 Mar 2005 22:41:50 +, Upayavira [EMAIL PROTECTED] wrote:
Now, I expect that the answer will be that I should use variables
within flowscript. I've seen that the flow tutorial and examples do
things this way.
It is up to you. However, I think you'll find the flow route
On Fri, 04 Mar 2005 00:11:29 +0100, Sylvain Wallez [EMAIL PROTECTED] wrote:
Hehe, during Cocoon trainings, I tell people untwist your mind, things
are simple again. Flowscript keeps the execution state between
requests, so you really don't need some hidden inputs hacks if you go
from screen to
Cool! Thanks Mark. That's exactly what I was looking for.
-Daniel
On Wed, 2 Mar 2005 08:30:46 -0800, Mark Lundquist [EMAIL PROTECTED] wrote:
Hi Daniel,
On Mar 1, 2005, at 2:13 PM, Daniel McOrmond wrote:
I was thinking of something along the lines of an Input Module,
perhaps even using
Mark,
I can help by answering question 2. There was indeed some 'bugage'
related to redirecting that was fixed in the 2.1.6 release.
http://issues.apache.org/bugzilla/show_bug.cgi?id=26854
-Daniel
On Wed, 2 Mar 2005 08:22:58 -0800, Mark Lundquist
[EMAIL PROTECTED] wrote:
Question 2:...
You're right in that there's no SAX events to serialize. However, I
wonder if adding a serializer would quiet Cocoon's complaints of an
incomplete pipeline? I believe that's what Lars was getting at.
Of course, the real solution to your problem is to do all your
redirecting from flowscript. ;)
Are there any alternate ways to access the current WebContinuation
besides using JXTemplateGenerator, JPath Logic Sheet, or
VelocityGenerator?
I was thinking of something along the lines of an Input Module,
perhaps even using XModuleSource.
Any thoughts?
-Daniel
Hi Claus,
I believe that happened to me once. The problem was not the function
declaration, as the error said. Rather, it was being caused by a typo
or stray character within the function itself.
-Daniel
On Wed, 23 Feb 2005 19:24:24 +0100, Claus Straube [EMAIL PROTECTED] wrote:
I always get
Here's a simple example:
importClass( Packages.com.company.GenericObject );
importClass( Packages.com.company.SpecificObject );
importClass( Packages.com.company.ObjectLoaderUtil );
function doSomethingUseful() {
var loader = cocoon.createObject( ObjectLoaderUtil );
var myObject =
Hmm. I would be interested to understand why you suggest that?
In this case the SpecificObject has additional methods not contained
in the GenericObject. When I try to call those methods, Flow complains
( as I expect ) that the method is not available.
-Daniel
On Tue, 22 Feb 2005 17:25:20
11:34:31 -0500, Daniel McOrmond [EMAIL PROTECTED] wrote:
Hmm. I would be interested to understand why you suggest that?
In this case the SpecificObject has additional methods not contained
in the GenericObject. When I try to call those methods, Flow complains
( as I expect ) that the method
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]
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]
32 matches
Mail list logo