Bonjour,
j'ai un problème avec les transformations cocoon.
J'utilise un source:write afin d'enregistrer en dur des fichiers. Les
fichiers sont bien créés cependant les espaces de nom eux ne le sont pas
(il ne garde que ceux utilisés dans le fichier, mais j'en voudrais des
supplémentaires pour
Are people still writing apps in XSP? I thought that usage
of XSP was deprecated and that it had long been supplanted
by other, more robust, technologies and techniques.
FWIW, the way I do this is to use an SQLTransformer and
stylesheet combo:
1. The query (say, XYZ-lookup.xml):
?xml
Hi,
See: http://cocoon.apache.org/2.1/userdocs/concepts/caching.html
Best Regards,
Antonio Gallardo
Bokluci escribió:
Is there any way to make cocoon cache last not so long?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
http://vtd-xml.sf.net/benchmark.html
- Original Message -
From:
Cocoon Man
To: users@cocoon.apache.org
Sent: Tuesday, July 04, 2006 1:20
AM
Subject: Looking for SAX parsers
benchmark
Hello,
I looked a little on the net for some SAX parsers benchmark but
Thanks for the link.
It seems VTD-XML is very fast. Have you tried to integrate it to Cocoon 2.1 ?
Does it support namespace ?
Regards,
2006/7/5, Jimmy Zhang [EMAIL PROTECTED]:
http://vtd-xml.sf.net/benchmark.html
- Original Message -
From: Cocoon Man
To: users@cocoon.apache.org
Wh..
Why make life difficult? See
http://cocoon.apache.org/2.1/userdocs/widgetconcepts/selectionlists.html
and use a Cocoon pipeline which has a matcher that uses the SQLTransformer
to get the results out of the database.
Hope this helps.
-Original Message-
From: Toby
Can't but help wish that this book:
http://www.cristiandarie.ro/ajax-php/
was entitled:
AJAX and Cocoon: Building Responsive Web Applications
Many of the chapters would not change at all (and issues
such as SVG fit perfectly into the Cocoon paradigm -there
is even an Appendix on XSLT and
Derek Hohls wrote:
Are people still writing apps in XSP? I thought that usage of XSP was
deprecated and that it had long been supplanted by other, more robust,
technologies and techniques.
Such as?
I have lots of SQL queries to make, all of which depend on values
gathered from the previous
Derek Hohls wrote:
Are people still writing apps in XSP? I thought that usage
of XSP was
deprecated and that it had long been supplanted by other,
more robust,
technologies and techniques.
Such as?
JX, flowscript, cforms (javaflow though not yet used)Personally, I haven't
Hi,I am having an issue with a widget form validation under cocoon 2.1.8. Basically what I have is a selection box with various credit card types, (visa, matercard...) etc, and based on the card selected a check is done on the credit card number field to make sure that the number of digits entered
-Original Message-
From: Andrew Madu [mailto:[EMAIL PROTECTED]
Sent: 05 July 2006 12:31
To: users@cocoon.apache.org
Subject: Widget javascript validation problem
fd:validation
fd:javascript
var success = true;
var creditCardType = widget.lookupWidget(credit);
Gary,At a glance it looks like *account_no.setValidationError* is wrong as you declared the variable as *accountNumberLength*. This is why I like strict type checking.
that now works fine now. I remember having done the same mistake a while ago, and was trying to chek against the actual widget id
-Original Message-
From: Andrew Madu [mailto:[EMAIL PROTECTED]
Sent: 05 July 2006 13:13
To: users@cocoon.apache.org
Subject: Re: Widget javascript validation problem
The other problem I am having is with the widget datatype definition for
account_no:
fd:datatype base=integer
I've
Gary,if(!/^[0-9]{16}$/.test(account_no.value)) { //This is invalid }
will match an account number with no spaces.many thanks for that heads up. All is working a treat now.regardsAndrew
Ard Schrijvers wrote:
See: http://cocoon.apache.org/2.1/userdocs/concepts/caching.html
About that page, and then particularly
The Default Caching Algorithm
The default algorithm uses a very easy but effective approach to
cache a request: The pipeline process is cached up to the most
possible
Ard Schrijvers wrote:
See: http://cocoon.apache.org/2.1/userdocs/concepts/caching.html
About that page, and then particularly
The Default Caching Algorithm
The default algorithm uses a very easy but effective approach to
cache a request: The pipeline process is cached up to
Hi all,
I'm doing some load tests (using jmeter) on my cocoon application (in
tomcat) and I encountering a trouble.
For information, I'm using esql taglib to request an oracle database.
What is not working are particular URL launching from JMETER;. The sql
request is created and executing
Hi,
Can i use html tag in I18n declaration file ??
Lionel
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I am not familiar with jmeter, but just from client site you can get quite some
information on performance by using solex (an eclipse plugin). Only, solex
cannot cope with sessions, so when sessions are important, I use charles. I
don't know if they meet your wishes.
Furthermore, I don't know
plz be more specific and mail a code snippet to explain what you want
Ard
Hi,
Can i use html tag in I18n declaration file ??
Lionel
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
Ard Schrijvers wrote:
See: http://cocoon.apache.org/2.1/userdocs/concepts/caching.html
About that page, and then particularly
The Default Caching Algorithm
The default algorithm uses a very easy but effective approach to
cache a request: The pipeline process is cached up to the
Hello there :)
I am new to this mailing list - so plz be patient !
I am working with cocoon 2.1.8 and i have problems with ajax and the upload
widgets...
I read in the archive that 2.1.9 may solve this problem, true/false?
is there any possibility to patch 2.1.8 to accept upload widgets
Hi,I am having some problems implementing a continuation bookmark. Basically a user enters some form details and submits the details:function confirmStage() { //2. Get card details. var form = new Form(forms/CreditCardDetails.xml);
form.showForm(CreditCardDetails.xml, {userGlobal:userGlobal});
Ard,sorry, I still don't get it!! In the context of:var bkm = cocoon.createWebContinuation();..cocoon.sendPageAndWait(orderFail.xml, {bookmark:bkm, OrderDetails:neworder, transaction_message:
response.getCVV2Code()});how do I implement :Form.prototype.sendFormAndWait =
I mean
that the following piece of code has the behavior you want I
think:
var comingBack = false;
var bookmark =
cocoon.createWebContinuation(ttl);
// Attach the form to the continuation so
that we can access by just knowing the continuation id
bookmark.setAttribute("form", this.form);
/snip
Consider a counter-example:
map:generate src=myfile.xml /!-- cacheable --
map:transform type=xslt src=transform1.xsl /!-- cacheable --
map:transform type=sql /!-- non-cacheable --
map:transform type=xslt src=transform2.xsl /!--
normally cacheable
but not in this case since it
Hi,I may be wrong here but that sure looks like overkill to me. I am generating a continuation using:
var form = new Form(forms/CreditCardDetails.xml);
form.showForm(CreditCardDetails.xml, {userGlobal:userGlobal});
var model = form.getModel();var bizData = {fname : model.fname, lname :
Why are you actually
creating your own bkm? cocoon.sendPageAndWait already returns a continuation.
Can you try removing the bkmvar and just do
a
cocoon.sendPageAndWait("orderFail.xml");
Try the
following:
var finished
= false;do { var k =
cocoon.sendPageAndWait("orderFail.xml");
Problem solved!!The idea is to place createWebContinuation before the form definition section!!
var bkm = cocoon.createWebContinuation();var form = new Form(forms/CreditCardDetails.xml);
form.showForm(CreditCardDetails.xml, {userGlobal:userGlobal});
var model = form.getModel();var bizData =
On 05/07/06, Ard Schrijvers [EMAIL PROTECTED] wrote:
Why are you actually
creating your own bkm? cocoon.sendPageAndWait already returns a continuationAs stated in the cocoon wiki, the reason is:'createWebContinuation
Function [WebContinuation] createWebContinuation()
Creates a new
Andrew Madu wrote:
map:match pattern=**.kont
map:select type=request-method
map:when test=POST
map:call continuation={request-param:continuation-id}/
/map:when
map:otherwise/
/map:select
/map:match
I think the call should be map:call continuation={1}/
I'm also
TobyI'm also not sure that map:when test=POST is what you want to do.
Why? regardsAndrew
Andrew Madu wrote:
Problem solved!!
Isn't this what solved your problem, according to your sitemap?
input value=${bookmark.id} type=hidden name=continuation-id/
Toby
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
On 05/07/06, Toby [EMAIL PROTECTED] wrote:
Andrew Madu wrote: Problem solved!!Isn't this what solved your problem, according to your sitemap?input value=${bookmark.id} type=hidden name=continuation-id/
That plus the fact that I moved the continuation command before the form creation. But yes, the
Andrew Madu wrote:
You leave code for a while, and you forget everything...well I do!!
We all do :-)
That's what comments are for, to an extent.
I'm also not sure that map:when test=POST is what you want to do.
Why?
My mistake, that part is right.
Toby
I am trying to generate PNG text icons from SVG in Cocoon. I just
want a PNG with no extra
space around the text.
I use the following match in my sitemap and generate the appropriate
text icon by calling
1) .../nav2.png?icon-text=abc
2) .../nav2.png?icon-
Here is another interesting link.
http://blog.reverycodes.com/archives/40.html
Best Regards,
Antonio Gallardo
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
37 matches
Mail list logo