Hi,
I am using a cron job that fires daily, which call the pipeline as follows
component class=org.apache.cocoon.components.cron.CocoonPipelineCronJob
logger=core role=org.apache.cocoon.components.cron.CronJob/pipeline-daily
pipelinesome-external-pipeline/pipeline
/component
The above
/
/map:act
/map:act
/map:match
Havent tested this thogh ...my CronJobs don't need
authentication since
they are internal pipelines and I allways know who I am ;)
Chris
Sanket Pattekar schrieb:
Hi,
I am using a cron job
Hi,
I am using cocoon 2.1.8, and is using i18n transformer for
internationalization. I have a issue with i18n caching.
I generate the catalogues using pipeline, i.e I have the following for
my i18n declaration
map:transformer name=i18n logger=sitemap.transformer.i18n
Hi,
I want to find the difference between 2 dates in cocoon 2.1.8. I have
the following pseudo code
xsl:variable name=current-date as=xs:date2006-10-23/xsl:variable
xsl:variable name=compare-date as=xs:date2006-10-12/xsl:variable
xsl:variable name=diff
Lundquist [EMAIL PROTECTED] wrote:
Hi Sanket,
On Dec 28, 2006, at 9:31 AM, Sanket Pattekar wrote:
snip
If I run the same with saxon then, I get the correct difference, but
the same doesnot work inside cocoon.
Are you using Saxon in Cocoon?
—ml
Hi,
I have seen the date:difference function specified in the exslt, the
problem I see is that The number of months specified in the duration
must be less than 12, which may not be the case with me.
I definately need some other way to find the difference
Sanket
On 12/28/06, Sanket Pattekar
Hi,
I am using CForms with cocoon 2.1.8. My condition is that I need to
generate a fd:selection-list whose values are also i18n keys. I use
the following code to populate the combo box
fd:field id=title required=true
fd:labelTitle:/fd:label
fd:datatype base=string/
Hi Ard,
The solution suggested does not work. In fact the trigger is executed
every sec. I also browsed through the quartz documentation and there
is nothing about executing the trigger only once. Does any know how to
configure the trigger so that it is executed only once.
Sanket
On 8/14/06,
the documentation I noted
that the cron is periodic, but I need to execute a pipeline only once
after startup.
Thanks
Sanket
On 8/8/06, David Perez [EMAIL PROTECTED] wrote:
Sanket Pattekar schrieb:
Hi
Is it possible to have a custom class that runs when cocoon starts up.
Using this class I need
Hi
I need to execute a pipleline at startup only once. Based on the
documentation, I found out that it is possible to do use s cron job
that executes a pipeline using CocoonPipelineCronJob.
However how do I have this cron job executed only once. I need to do
some initialization at startup by
Hi,
Is it possible to access a XML File Input module inside a flowscript.
Is so how this can be done.
Thanks n Regards,
Sanket
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi
Is it possible to have a custom class that runs when cocoon starts up.
Using this class I need to run call a pipeline at startup.
This feature I need is similar to that of overriding the init() method
of any servlet.
Sanket
Hi,
I have a html form with multiple check box. This html form is
dynamically generated based on the content. So I have kept the names
of all the check boxes as MyCheck.
When I select multiple check-boxes, the request query is as follows
Hi ,
We are using sendmail transformer for email generation. This is
working fine, but we want to handle the exceptions that are generated
by sendmail transformer.
As I understand sendmail transformer results in an xml file which
describes that status of the email generation.
What I want to do
Hi,
I want to access the resources defined in the main sitemap in
my mounted sub-sitemap.
How do I do the same.
Sanket
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi,
I am using jx template generator.
I am passing a parameter called language from cocoon sitemap. The
values to this could be en, nl or some thing different.
map:generate type=jx src=test/test.xml
map:parameter
name=lang value=en/
/map:generate
Based on the
Thanks Antonio,
This solution works
Thanks again
Sanket
On 5/13/06, Antonio Gallardo [EMAIL PROTECTED] wrote:
Hi Sanket,
Try,
jx:when test=${cocoon.parameters.country=='global'}
or
jx:when test=${cocoon.parameters.country.equals('global')}
Best Regards,
Antonio Gallardo
Sanket
Hi,
In my sitemap I have a parameter defined as
map:parameter name=country value=gb/.
I am using this in the xml file using jxtemplate
jx:choose
jx:when test=${cocoon.parameters.country}=='global'
Step 1
/jx:when
jx:otherwise
Step 2
Hi
I have a user login page which has a user name and password implemeted
using cocoon CForm.
I problem is to authenticate this user's entered credentials against a
LDAP server. As I understand there are 2 approaches we can follow
1. Use cocoons LDAP Transformer.
2. Use custom java-script code
Hi all,
How is it possible to pass parameter to the aggregated pipelines
For e.g
Main pipeline
map:match pattern=home/default.html
map:parameter name=MYVariable value={flow-attribute:session_Language}/
map:aggregate element=page
map:part element=header src=cocoon:/content/common/header.xml/
Hello Arnab,
Add the following code under html head head tag in xsl stylesheet
script language=JavaScript
![CDATA[
function image() {
window.open(']]xsl:value-of select=samples/link/![CDATA[');
}
]]
/script
In the above case it it uses
Hi,
I am using the following cocoon pipeline.
map:match pattern=*/index.html
map:generate src=documents.xml
map:transform src=document.xsl
map:transform type=cinclude/
/map:serialize
/map:match
documents.xml is a explained in file below
?xml version=1.0?
root
Hi,
I want to implement the functionality like esql:group with
SQL Transformer. Can any one suggest a way of doing the same.
Thanks,
Sanket.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
Hi,
I want to debug cocoon applications in eclipse. I have successfully
integrated eclipse, tomcat plugin, and sunbow plugin.
Can anyone give me detailed steps, as to how to debug my cocoon application
Thanks,
Sanket.
-
To
I want to download the sunbow plugin for eclipse3.0. Using this I can
develop cocoon application with eclipse. I tried to download the same
from the mentioned site, but it results in a zero sized file after
download
Thanks,
Sanket.
Hi,
I am trying to integrate Cocoon and Tomcat with eclipse. I
have the following versions. Can any one help me intergrating the
same.
Cocoon 2.1.6
Tomcat 5.0.28
Eclipse 3.0.1
Tomcat Plugin V3
JDK 1.4.2.04
Thanks,
Sanket.
Hi,
I am trying to integrate Cocoon and Tomcat with eclipse. I
have the following versions. Can any one help me intergrating the
same.
Cocoon 2.1.6
Tomcat 5.0.28
Eclipse 3.0.1
Tomcat Plugin V3
Thanks,
Sanket.
-
To
27 matches
Mail list logo