I again turn to you for salvation.
I'm finally ready to jump into flowscript... but I need a push in the right
direction.
Based on previous threads, it appears that a good approach (just to avoid
saying best practice ;-) is to invoke the business logic from flowscript,
set any values necessary,
Hi all,
I can't seem to find a lot of information about this, so I hope someone
can help me out.
I'm using Cocoon 2.0.4.
Every now and then, I get following exception when creating a PDF using
fo2pdf (actually i think the exception occurs in the xslt generating the
FO xsl document) :
David Leangen dijo:
I again turn to you for salvation.
I'm finally ready to jump into flowscript... but I need a push in the
right
direction.
Based on previous threads, it appears that a good approach (just to avoid
saying best practice ;-) is to invoke the business logic from
David Leangen wrote:
-Original Message-
From: David Leangen [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 13, 2004 10:37 AM
To: [EMAIL PROTECTED]
Subject: Getting started with flowscript
I again turn to you for salvation.
I'm finally ready to jump into flowscript... but I need a push
Holy service!!
Thanks Antonio and Christian for the ultra-quick 911!!
-Original Message-
From: Christian Rosenberger [mailto:[EMAIL PROTECTED]
Sent: May 13, 2004 17:57
To: [EMAIL PROTECTED]
Subject: Re: Getting started with flowscript
David Leangen wrote:
-Original
Hi Mike,
thanks for the answer, but the syntax seems to be correct as in about 99% of the
requests, the PDF is generated correctly.
I checked the XSL file in XMLSpy and it seems to be correct. I use GVim for writing
xslt's, also notepad style but more extended :-).
I'll remove the FO2PDF
David Leangen dijo:
Holy service!!
Thanks Antonio and Christian for the ultra-quick 911!!
:-)
For more info, you can see:
http://wiki.cocoondev.org/Wiki.jsp?page=GettingStartedWithFlow
Best Regards,
Antonio Gallardo
-
To
Eureka !!!
Geert Van Damme wrote:
Hi all,
I can't seem to find a lot of information about this, so I hope someone
can help me out.
my posts on
http://marc.theaimsgroup.com/?l=xml-cocoon-usersm=108365906801452w=2
and
http://marc.theaimsgroup.com/?l=xml-cocoon-devm=108375094018136w=2
I'm using
Did anyone experience this problem in Cocoon2.1 ?
No that this is an option at the moment (not my decision) but I might
install it and run the same tests...
anyone ?
[EMAIL PROTECTED] 05/13/04 11:29am
Eureka !!!
Geert Van Damme wrote:
Hi all,
I can't seem to find a lot of information
Hi,
I noticed a strange behaviour in the JXTemplateGenerator (cocoon 2.1.4).
If you put a whitespace and a comment after after a jx:parameter, you'll get an
exception:
!-- OK --
jx:macro name=mymacro
jx:parameter name=foo/
jx:parameter name=bar/
do something
/jx:macro
!-- Exception --
Hi Joerg,
Yes, I have done some remote debugging, and I'm not sure if I've come across
the actual problem (my knowledge of the inner workings are too limited for
that). I did notice however that the
o.a.c.components.flow.javascript.fom.FOM_JavaScriptInterpreter$ThreadScope
has a variable
Hi,
We are using FormsTemplateTransformer.
The sitemap contains the following entries:
-
map:transformer name=forms
src=""
logger=woody/
/map:pipeline
map:match pattern=Test
map:call
function=test /
/map:match
map:match pattern=forms/*-def.xml
map:generate
src="" /
- -Mensagem original-
- De: Joerg Heinicke [mailto:[EMAIL PROTECTED]
- Enviada: quinta-feira, 13 de Maio de 2004 00:42
- Para: [EMAIL PROTECTED]
- Assunto: Re: cforms validation bug?
-
- On 12.05.2004 00:53, Isidro Vila Verde wrote:
-
- fd:multivaluefield id=drinks
-
Hi Nacho,
thank you for the replay, I tried to follow your cues but I didn't solve
it.
I tried to modify the authentication block samples sitemap as follow :
map:pipeline
!-- = --
!-- Logout link which invalidates the session --
Joerg Heinicke wrote:
On 11.05.2004 22:31, keith d. zimmerman wrote:
Ok, as has been suggested, simple questions, single question per e-mail.
Can I do this?
Http Generator
Transformer to basically aquire a particular img tag within the doc.
something or the other to go get the image
source
Hi Helma:
[EMAIL PROTECTED] dijo:
Setup:
- default Cocoon root sitemap with automounted subsitemap of my app.
Hmm. Maybe here is the problem. Can you provide the sitemap.xmap of
configured auth-fw?
- authentication-fw setup like the sample with the
flowscripts (auth.js).
Works.
-
Hi,
I just found out that jx:set does not quite behave like I expected. Please consider
the following JXTemplate snippets:
!-- 1 --
element attr=${request.getAttribute('foo')}/
!-- 2 --
jx:set var=foo value=${request.getAttribute('foo')}/
element attr=${foo}/
1 and 2 should be
Hi all,
I'm new to cocoon. When I composed my first cocoon example, I met with
a problem. Below is the details.
I've successfully installed cocoon 2.1.4 on my machine (win2000 professional)
with jdk 1.4.2_03. Note this version doesn't interact with tomcat as
previous ones. Instead, it uses
Hi Antonio,
I'll answer all questions here, and add the relevant code below (since it's
an enormous lot of code). The getObject() function is something I get from
my backend. It goes too far to explain it or to add the code (also a lot).
I'll add the relevant part of the sitemap and the
Hi,
I'm coping with the following situation: a mix of radiobuttons and fields,
eg:
* option 1
* option 2 [textbox]
* [textbox]
* option 3 [listbox]
think of something like:
your favourite drink :
* milk
* wine, especially [chardonay] (textbox)
* coffee [with milk|with sugar| with milk and
On 13.05.2004 15:05, keith d. zimmerman wrote:
Ok, as has been suggested, simple questions, single question per e-mail.
Can I do this?
Http Generator
Transformer to basically aquire a particular img tag within the doc.
something or the other to go get the image
source writing transformer to
Joerg Heinicke wrote:
It does not sound undoable. You want to rewrite the original document
and replace the original image references with references to your
stored images? And using Cocoon as proxy only (for xhtml *and*
images) and letting the rest be done by caching does not help? The
Hi,
I am running cocoon together with jboss 3.2.3, (servlet 2.3 web container).
My Cocoon implementation must access jar (eXist xmldb) which are located
outside the Cocoons directory structure.
How can I force Cocoon to accept this other location for the jar
(exist-optional.jar) ?
I have
On 13.05.2004 14:16, [EMAIL PROTECTED] wrote:
Hi,
We are using FormsTemplateTransformer.
The sitemap contains the following entries: -
My flowscript contains the following code: -
function test()
{
var form = new Form(forms/test-def.xml);
form.showForm(forms/Test);
}
We get the following
Hi,
conceptualy, should i combine jxtemplates with further xsl
transformations, or
is it better to put the presentation code directly into jxtemplates?
what's the common use?
thanks
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
I thought the showForm function calls cocoon.sendPageAndWait.
Mark
Joerg Heinicke [EMAIL PROTECTED]
05/13/2004 01:07 PM
Please respond to users
To:[EMAIL PROTECTED]
cc:
Subject:Re: Forms Template Transformer
On 13.05.2004 14:16, [EMAIL PROTECTED] wrote:
On 13.05.2004 14:33, Isidro Vila Verde wrote:
Not exactly. It means without a fd:value-count it break the validation in
the complete form.
If I comment out the fd:validation node it won't work also.
Works for me. Tested it with cforms sample form1 and form1.flow.
Joerg
map:pipes section seems to be missing. This has been added in 2.1 (or
better said moved from cocoon.xconf in 2.0 to sitemap.xmap in 2.1).
http://cocoon.apache.org/2.1/installing/updating.html#Pipelines+configuration+in+the+sitemap
Using 2.1.5 that will be released tomorrow you will get a better
On 13.05.2004 20:22, defe wrote:
Hi,
conceptualy, should i combine jxtemplates with further xsl
transformations, or
is it better to put the presentation code directly into jxtemplates?
what's the common use?
It depends :-)
The more you might need to reuse a template the more abstract its code
Hello all.
I'd like to use XSP/ESQL to retrieve a date from a database (might be Oracle or
MySQL) in Unix epoch format, i.e. milliseconds since 1/1/1970. Unfortunately,
that's not a format available in java.text.SimpleDateFormat, so it doesn't seem
possible to retrieve it using the
On 13.05.2004 12:53, Jan Harms wrote:
BTW, whats the standard procedure for reporting bugs? Shall I post that to the dev-list? Make an entry in bugzilla?
If it is that obvious you can add it directly to bugzilla, otherwise
posting first on users list and - if there is no reaction - later on the
On 13.05.2004 11:02, [EMAIL PROTECTED] wrote:
Hi all,
We have an action in repeater widget on a form. How should onclick event
be handled for the action in the repeater.
Don't understand the question ...
Joerg
-
To
Joerg Heinicke wrote:
On 13.05.2004 20:22, defe wrote:
Hi,
conceptualy, should i combine jxtemplates with further xsl
transformations, or
is it better to put the presentation code directly into jxtemplates?
what's the common use?
It depends :-)
The more you might need to reuse a template
There are a couple of ways I think are easier to extend ESQL. In particular, I think it is useful to have all of your extensions in a separate place, outside the jar file. Otherwise, it is easy to lose track of the changes you have made. So one option is to bring the esql.xsl outside the jar, and
That was easy! Your simple wrapper approach works very well, and the cast to
java.sql.Timestamp isn't necessary. I'll keep this approach in mind as I go
forward.
Many thanks for the help!
/Jeff
I'm trying to get Cocoon CLI to work. I've scoured all the documents on this, but can't figure out how cli knows where to find my sitemap. I have cocoon up and running just fine under Tomcat as a web application.
What I need is a very basic command line -- which commands are REQUIRED to simply
Hi Cocooners,
I'm a little confused. I'm trying to upload an xml file and process it
through the sitemap using Flow.
I've hacked the file upload example to suit my needs and I've got the
file being uploaded to my 'upload-dir' which I've set in web.xml.
I've got some code from an xsp I had lying
37 matches
Mail list logo