I would use a regular pipeline for the authors list, with caching turned
on (so it doesn't run the query every time - check the cocoon docs for
how to control expiry etc.):
...
And then include it from within the article.xsl using the cocoon:
prot
Did you try "(\.*)/(\d)$"?
Peter
> -Original Message-
> From: Mansour Al Akeel [mailto:mansour.alak...@gmail.com]
> Sent: Monday, June 01, 2009 12:45 PM
> To: users@cocoon.apache.org
> Subject: Re: Regexp matcher with digits
>
> Can someone kindly answer this question and give an ex
your problem, and now you don't have to wrap your request
into a webdav request.
Regards,
Jeroen
[1] http://wiki.apache.org/solr/SolrForrest
-Original Message-
From: Binkley, Peter [mailto:[EMAIL PROTECTED]
Sent: Wed 4/16/2008 5:11 PM
To: users@cocoon.apache.org
Subject: RE: w
Solr speaks POST, and so does the webdav transfomer. I've blogged about this
here: http://www.wallandbinkley.com/quaedam/?p=104 . I was surprised how
difficult it was to find an easy way to post blocks of XML (as opposed to
name-value pairs) without writing code. No doubt this could be added to
Are you using the resource: protocol in your map:read references?
e.g.
The Forms block samples provide examples of this kind of usage.
Peter
From: Magnus Haraldsen Amundsen [mailto:[EMAIL PROTECTED]
Sent: Monday, February 25, 2008 5:02 AM
To: users@cocoon.
Does this help?
http://www.wallandbinkley.com/quaedam/?p=115
Peter
-Original Message-
From: Ford, Jennifer M. [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 07, 2008 3:33 PM
To: users@cocoon.apache.org
Subject: Help in building Cocoon
I just downloaded Cocoon 2.1.11 and I have not
I'd use Ant instead of Cocoon for this. I've blogged a couple of
techniques that might help:
http://www.wallandbinkley.com/quaedam/?p=63 (for doing the XSL
processing)
http://www.wallandbinkley.com/quaedam/?p=99 (for posting the output into
eXist)
Peter
-Original Message-
From: thoma
I've got a form in which a repeater generates cells of a table. Within each
cell there is a select element. I want the css class of the element to be
set to the value of the select whenever the select changes. I've done this in
the template like this:
I ha
I've just released a tool that other Cocoon users might find useful.
It's a Firefox extension that shows your current pipeline in a sidebar
when you view a Cocoon-generated page. (Some simple extra pipelines have
to be added to your sitemap to provide the sidebar view.) Within the
sidebar, you can
Have you set the form parameter encoding to UTF-8?
(http://wiki.apache.org/cocoon/RequestParameterEncoding).
Peter
-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Frank MW
Sent: Friday, September 15, 2006 10:08 AM
To: users@cocoon.apache.org
Subject: character enc
ible) (Note that setting theactual encoding is different from using an encoding descriptionrequest header.)The easiest way, if you want a fix, is to use an encode-uri functionon the server and in the ajax _javascript_, then the transfer encodingwill not matter.RegardsHansOn 8/30/06, Binkley, Peter <
I'm updating an old Cforms project from 2.1.7 to 2.1.9 and adding Ajax.
The setup is similar to the form1.flow sample, where the uploaded form
is sent to a pipeline that starts with a jx template. I've set things up
so form fields are interpreted as UTF-8. Everything works under 2.1.9 if
I don't tu
Title: Re: xmldb query on Cocoon 2.1.9 = error; works on 2.1.7
Here's one approach: you could add a
distinctive xsl:message to every template (write a stylesheet to do this
automatically to all your existing stylesheets) containing the name of the file
and the match attribute of the template
Try . The i18n transformer is very particular
about the output method.
Peter
Peter Binkley
Digital Initiatives Technology Librarian
Information Technology Services
4-30 Cameron Library
University of Alberta Libraries
Edmonton, Alberta
Canada T6G 2J8
Phone: (780) 492-3743
Fax: (780) 492-9243
Here's another approach, using some more recent Cocoon machinery (I
think):
http://137.207.120.195:8080/cocoon/wampum/repo/OpenOfficeRocks.odt
Peter
> -Original Message-
> From: Upayavira [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, September 21, 2005 12:50 PM
> To: users@cocoon.apache
Could you save the form into a session variable (i.e. use the session
transformer in the success pipeline) at the point where the user exits
the form, and then aggregate the old data from the session variable and
the new data from the current context when initiating a new form?
Otherwise you're st
Here's a binding question. I'm working with a record structure that can
have seven different date fields, which are distinguished by element
name: , , etc. They all have the same internal
structure (several attributes, text content), and they're all optional
and repeatable. Sounds like an ideal pla
get through this project...
Peter
-Original Message-
From: beatejung [mailto:[EMAIL PROTECTED]]
Sent: Tue 3/15/2005 12:49 PM
To: users@cocoon.apache.org
Subject: Re: class widgets
hallo peter,
Am Dienstag, 15. März 2005 20:27 schrieb Binkley, Peter:
> I'm starting to get into class
Title: class widgets
I'm starting to get into class widgets in Cocoon Forms, and I'm not sure if my problem fits their use.
I have an XML structure in which several elements have an identical set of four optional attributes, as well as their own unique attributes. I've declared a widget clas
Title: Message
This
site has an example of using the java extensions of Xalan to generate a random
number:
http://cafeconleche.org/books/xmljava/chapters/ch17s03.html
You
could build that into a stylesheet easily enough, though it would take a little
extension to get it to generate two q
Is there a way to set a validation rule to ensure that a repeater has at
least one row? According to the documentation,
"... a repeater widget does not implement ValidationErrorAware. However, a
validator attached to a repeater could perform inter-row checks on the
fields in the different rows of
I'm trying to set default values in the fields of a new row in Cocoon forms
(with an XML back end, not a bean). In my binding I've tried things like
this:
2004-06-09
But the value doesn't get through to the form. I can't find an example that
illustrates this problem. What
If anyone else is interested, there's some follow up (including a good
workaround from Askild Aaberg Olsen) at
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=29381.
Peter
> -Original Message-
> From: Binkley, Peter [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, June 02,
In the forms block, I'd like to adapt the form2 example so that the edited
document gets passed into a pipeline for processing. In Woody in 2.1.4, I
was able to use cocoon.sendPage for this:
cocoon.sendPage("success-pipeline", {document: document});
The success pipeline started with a jx generato
I think you need to replace the match in your last template:
As it is now, it's going to catch a lot of calls that it shouldn't, and
prevent the process from reaching some other templates.
Also, I don't think this is doing what you want:
It should just be .
Peter
Pete
25 matches
Mail list logo