cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nanda Mounasamy <na...@adone.com>
Subject RE: content logic and display
Date Fri, 30 Mar 2001 15:51:43 GMT
I am wondering if any of the two methods described in the forwarded mails
would help reload an xsp tag library when it is modified. Basically i am
looking for a way to ask cocoon to reload the tag libraries dynamically.

Thanks
-----Original Message-----
From: simone cecchini [mailto:simone@kiosco.org]
Sent: Wednesday, March 28, 2001 6:23 AM
To: cocoon-users@xml.apache.org
Subject: Re: content logic and display


At 23:15 3/28/01 +1000, you wrote:
>It's roughly the same; either you specify the taglib with a
><?xml-logicsheet href=".."?> PI, or you declare it in your
>cocoon.properties. Probably in the FAQ. Here's the relevant blurb from
>the LDAP taglib docs:
>
>
>----
>There re a few ways to let Cocoon know where to find the taglib. The
>preferred method is with the xml-logicsheet processing instruction at
>the top of your XSP page. Eg.,:
>
><?xml-logicsheet href="/WEB-INF/ldap.xsl"?>
>
>Since your logicsheets aren't meant to be publicly accessible, it's a
>good idea to put them in WEB-INF/ somewhere, and reference them as
>above.
>
>If you're not sure of the significance of the WEB-INF directory, save
>yourself some trouble and read up on "web applications", defined in the
>Servlet 2.2 specification.
>
>The second way to reference the taglib is to place the taglib file
>(ldap.xsl) somewhere in your filesystem, and bind the "ldap" prefix to
>the taglib with the following entry in the cocoon.properties file:
>
>    processor.xsp.logicsheet.ldap.java = file:///path/to/ldap.xsl
>
>A variation on the above is to build Cocoon with ldap.xsl as part of the
>jar.  To do this, get the source distribution of Cocoon and copy
>ldap.xsl to /src/org/apache/cocoon/processor/ldap/ldap.xsl.  Then run
>build.(sh|bat) to produce cocoon.jar, and add the following to your
>cocoon.properties (ignore any browser-induced linebreaks):
>
>    processor.xsp.logicsheet.sql.java =
>    resource://org/apache/cocoon/processor/xsp/library/ldap/ldap.xsl
>
>Configuration
>
>In your XSP page, map the http://www.apache.org/2000/LDAP namespace to
>the ldap prefix.  This is done like this:
>
>    <xsp:page language="java"
>    xmlns:ldap="http://www.apache.org/2000/LDAP"
>    xmlns:xsp="http://www.apache.org/1999/XSP/Core"
>    >
>
>    .  .  .
>
>    </xsp:page>
>
>Elements in the ldap taglib namespace will be interpreted as input to
>the ldap taglib and will be stripped from the outputsimone
>
>----
> (http://kenny.socialchange.net.au/~jeff/ldaptaglib/docs).
>
>
>--Jeff
>
>---------------------------------------------------------------------
>Please check that your question has not already been answered in the
>FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>
>To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
>For additional commands, e-mail: <cocoon-users-help@xml.apache.org>
>
many thanks, jeff.
simone

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message