Jeremy,
If you're doing the SQL queries in a custom component (generator,
transformer) you can use Cocoon's caching system. Have you class
implement Cachable, and in the generateValidity() method you can return
an object with the last modification date of the database.
see :
On Saturday, November 9, 2002, at 12:08 PM, Miles Elam wrote:
Tony Collen wrote:
Comments inline...
Miles Elam wrote:
But can't delivered types differ by the incoming client?
Yes, but a problem then arises when someone is using IE and they want
a PDF, when your user-agent rules will
I'm having problems with Cocoon Mounts and using cocoon.xconf files in
the mount sub-directories. I've posted about this a few times but
haven't gotten a response, so I'm wondering if anyone out there is
using mounts and cocoon.xconf files.
My problem is that I can't access JDBC datasources
Tony,
I've wrestled with similar problems for a while with my content
management system, which uses a database for content and structure. I'm
in the process of setting the system to use file extensions for the
client to specify the file type and have Cocoon return that type. If
they request
Werner,
You'll need to use a selector to do this, parameter selector works
well. Try something like this:
map:match pattern=something.*
map:generate src=something.xml/
map:select type=parameter
map:parameter name=parameter-selector-test value={1}/
map:when
,
Joerg
Justin Fagnani-Bell wrote:
Hi,
I'm using sub-sitemaps now to host several projects at once in my
development environment. I access the projects through a URL that
looks like this - http://localhost/projects/proj1;, and in the
sub-sitemaps I have a XSLTransformer prepend a sitemap
Josema,
You don't have to include the parts of your pipeline that are the
same in the map:when elements. You can just include the map:act
element, since it appears that you're not returning any parameters from
your action, and then you won't have to duplicate the part that doesn't
vary.
datasources).
The scenario is that I can access components defined in
sub-cocoon.xconf files, but only if they don't require a
ComponentSelector. If they require a ComponentSelector it can't find
the component and I get errors.
On Thursday, October 31, 2002, at 09:38 AM, Justin Fagnani-Bell
datasources).
The scenario is that I can access components defined in
sub-cocoon.xconf files, but only if they don't require a
ComponentSelector. If they require a ComponentSelector it can't find
the component and I get errors.
On Thursday, October 31, 2002, at 09:38 AM, Justin Fagnani-Bell
doesn't have a datasource called NodeDB. Is this
possible? If so, is this a bug, or do I need to do something different?
Any help is much appreciated.
Thanks,
Justin
On Tuesday, October 29, 2002, at 01:51 PM, Justin Fagnani-Bell wrote:
Good afternoon (in Cali),
As I mentioned in my last
From what I understand there isn't a whole lot of difference, but
having separate pipelines allows you to use different pipeline
implementations to allow for things like caching, logging, etc.
Justin
On Thursday, October 31, 2002, at 11:59 AM, Steven Punte wrote:
What the difference between
Good afternoon (in Cali),
As I mentioned in my last email (anyone figure an answer yet? I
haven't), I'm trying to keep all my Cocoon projects running live on my
development server via auto mounting sub-sitemaps. The ability for each
mount to have it's own cocoon.xconf file seems to be the
Hi,
I'm using sub-sitemaps now to host several projects at once in my
development environment. I access the projects through a URL that looks
like this - http://localhost/projects/proj1;, and in the sub-sitemaps
I have a XSLTransformer prepend a sitemap variable called base to the
beginning
Peter,
You could certainly write your own serializer to do this. I haven't
written a serializer, but I'm pretty sure the input needs to be SAX
events, so the only ways you could use XSLT to output LaTeX is if you
did the transformation within the serializer, or wrapped the LaTeX in
XML.
On Sunday, September 22, 2002, at 08:54 PM, Steven Punte wrote:
PERFUME:
1) The implementation of Perfume shall result
in three distinct Cocoon components:
a) A generator that can receive a soap
message and turn it into
On Saturday, September 21, 2002, at 05:37 PM, Steven Punte wrote:
PERFUME:
1) The implementation of Perfume shall result
in three distinct Cocoon components:
a) A generator that can receive a soap
message and turn it into
I can't find any documentation on this, but how do you use Cocoon from
the command line? I've buit a site that's going to be hosted on a plain
old webserver and need to export the cocoon generated pages. I've been
doing this with GoLive's download site feature, but I know there's a
better
Igor,
I think you can do what you want with a map:aggregrate, but not in
every pipeline. Try somehting like this:
map:match pattern=**
map:aggregate element=site
map:part src=cocoon:/part/{1}/
map:part src=cocoon:/menu.xml/
/map:aggregate
map:transform src=something.xsl/
Vadim, fp was in Cocoon 1.x. It's a forms processing logicsheet that
will update xml files.
Dwayne, I don't think FP made it to Cocoon 2.
Justin
On Friday, August 16, 2002, at 12:52 PM, Vadim Gritsenko wrote:
Dwayne Kemp wrote:
Im using Cocoon 2.0.3 with Tomcat 4.0.1.
I have this code in
Because what happens when someone then wants to do the same thing with a
GIF, or HTML, or SWF?
An action that writes any resource to a file can be reused in different
circumstances.
Justin
On Thursday, August 15, 2002, at 01:46 PM, Argyn Kuketayev wrote:
I can't think of any way to do
Hi again,
warning this is a long post /warning
I'm still working on HTML forms where the user (me for the moment:) is
supposed to input HTML into a text area that will be stored in an XML
format. I'm still having problems, so I haven't written a SUMMARY post...
My new problem occurred
?
If not, why?
Roman
Vadim Gritsenko wrote:
From: Justin Fagnani-Bell [mailto:[EMAIL PROTECTED]]
Hi list,
I have a page with a form generated by Cocoon. There's a textarea in
the form where you can edit some xml (possibly xhtml). Because the
form
is an HTML form I'm using
Yes! finally.
Here's what I did. I added a cdata tag around my textarea tags in my
stylesheet, then put cdata-section-
elementscdata/cdata-section-elements in my serializer definition. Now
even when the textarea has no text the tag doesn't get touched. The
browser just ignores the made up
!-- cdata-section-elementscdata/cdata-section-elements --
/map:serializer
but every parameter is ignored: I get no doctype declarations and no
cdata sections (even when the comment !-- -- is removed).
What's up with XMLSerializer??
Regards,
Joerg
Justin Fagnani-Bell wrote:
Yes
Hi list,
I have a page with a form generated by Cocoon. There's a textarea in
the form where you can edit some xml (possibly xhtml). Because the form
is an HTML form I'm using an HTMLSerializer. But I want to keep the
serializer from altering the markup in the textarea, because if it's
Is there any documentation on how to use either the Redirector passed to
Action.act() or the sitemap map:redirect-to tag? I've used redirect-to
successfully but I would still like some documentation to make sure I'm
doing things correctly. I can't find anything in the cocoon docs and the
api
for
URL encoded sessions?
Justin
On Thu, 2002-08-01 at 10:47, Justin Fagnani-Bell wrote:
Is there any documentation on how to use either the Redirector passed
to
Action.act() or the sitemap map:redirect-to tag? I've used
redirect-to
successfully but I would still like some documentation to make
Hi List,
The web app I'm developing with Cocoon needs to initialize a few
things at startup and perform some tasks in the background like database
cleanup, checking for mail, automating site updates. Is there a good way
to integrate this with Cocoon?
For the initialization, I'm reading in
28 matches
Mail list logo