Gerrit-Jan,
as far as I can see, the parameter 'date' in the sitemap is not set
anywhere. I don't see immediately anything wrong in your files. I assume
you are calling this pipeline with something like
http://yourhost/.../cdls_artikelen.xml?date=something
You probably would need to extract the
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hey,
Another alternative, if your variable is in the query string, is to use the
Request Parameter input module. Your sitemap would look something like:
map:match pattern=cdls_artikelen.xml
map:generate src=cocoon:/cdls_artikelen_lijst.xml/
Oops, this is the email I should have said something about... this one
actually describes the problem better...
Can anyone actually give me a hand with this one? Even if it's just to
point me in the direction of a better list to post the request to...
Cheers,
Taryn
On Thu, 2004-10-07 at 16:45,
Title: populating selection list from database
My apologies for what I am sure is an easy question.
I am trying to think of how I should populate a cocoon forms selection list field from a MySQL query.
I have a form definition and a form template working fine as is and I can get my sql
Paul
You need to overwrite the default behaviour on the binding
which inserts a ',' as the separator for each set of a thousand
in the number e.g. 15,000,000 for fifteen million.
The *only* solution I have found (and I have had this problem
twice now) is to have:
fb:value id=my-big-integer
Andrew
I assume you are familar with the essentials of
setting up a mySQL connection to Cocoon...
you will then need a few parts to assemble this.
1. An entry in the form definition:
fd:field id=special
fd:labelMy Field Label/fd:label
fd:datatype base=string/
!-- from
Try this:
http://cocoon.apache.org/2.1/userdocs/transformers/sql-transformer.html
Add the above transformer to an internal pipeline, write a stylesheet
which transforms the results into fd:selection-list markup and then in
your form definition point the src attribute to your pipeline (e.g.