Hi Pasha,
Maybe this helps [1].
Best Regards,
Antonio Gallardo
[1] http://ant.apache.org/manual/antexternal.html
Pasha Minallah wrote:
Hi,
I'm trying to run Ant 1.6.2 from a Cocoon 2.1.7 Action. I've added ant.jar
and ant-launcher.jar to WEB-INF/lib.
Using org.apache.tools.ant.launch.L
Hi Hari,
...
It appears that JXMacrosHelper expects the value for a union widget to
be String-only. There is a cast to String on line 360:
String value = (String)unionWidget.getValue();
Would it have the same effect if the line was changed to:
String value = unionWidget.getValue() != null ?
u
Jeroen Reijn wrote:
I'll see if I can find some time this weekend to create a patch and
add it to JIRA.
I've never used the HTMLArea widget, but I will be glad to commit the
patch if you provide it. :-)
Best Regards,
Antonio Gallardo.
-
Hi Derek,
Sorry for my delay.
I've tested the same validator in cocoon 2.1.8 and it works. Something like:
return true;
...
Best Regards,
Antonio Gallardo.
Derek Hohls wrote:
Antonio
In my cocoon.xconf I have:
...
Is this what you meant?
My validation is for a rep
Kamal Bhatt wrote:
Hi
What is the best practice for handling exceptions in an xsp? Is there
a way of passing errors to the log?
For exception handling you can use the tipical try {} catch (...) {}
blocks. If you need a logger access inside the XSP see [1].
Best Regards,
Antonio Gallardo
Hi Mark,
See comments between lines.
Mark Schrijver wrote:
Ok, I've been trying some things and I found that my setup does work, just not
with my page.
It seems that the encodeUrl transformer only works when I put the directly in
the body tag, while I have them in a
I included my code
Hi Anna,
The NPE was fixed on May 13th 2005 [1].
Seems like cocoon 2.1.8 includes this fix.
Best Regards,
Antonio Gallardo.
[1]
http://svn.apache.org/viewcvs.cgi/cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/environment/http/HttpRequest.java?rev=170320&r1=169970&r2=170320&diff_forma
Did the error have output in the logs?
If yes, Can you post the logged error?
Best Regards,
Antonio Gallardo.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hey I am a cocoon new bie,can anybody tell me how can is set an array or enum
or List as global var and access it in the XSP
--
View this message in context:
http://www.nabble.com/How-to-set-global-array-Enum-in-sitemap--t1301525.html#a3467663
Sent from the Cocoon - Users forum at Nabble.com.
-
you should pass everything you need inside the JX as a bizdata, since
you are already placing the name as a biz data you can use it from JX
with the bizdata name you used in flow, for example :
// Placing the value of the field "name" as bizdata "username"
var viewData = { "username" : fo
Hi Nicolás,
you should pass everything you need inside the JX as a bizdata, since
you are already placing the name as a biz data you can use it from JX
with the bizdata name you used in flow, for example :
// Placing the value of the field "name" as bizdata "username"
var viewData = { "use
Quick question from a Cocoon newbie:
How can I access a form object from a jx template (cforms).
I have this flowscript:
function altaDeCliente()
{
var nombre = "altaDeCliente";
var formulario = new Form("cocoon:/" + nombre + "FD.xml");
formulario.showForm("alta-de-cliente-pipeline");
I'm applying a rather long custom logicsheet (declared in xconf) to my
XSP. I'm experiencing an annoying bug where if I hit the same page twice
in quick succession (the second time while the page is initially
compiling) then compilation stops part-way through. This only happens
when "use-store" is
Hi,
my site use Cocoon 2.0.2.
I would like write you that I have had a lot of problem
to upgrade with 2.0.4
My site is www.pianetacellulare.it, a cool
e-magazine with information about mobile phone. The cocoon is grats things
;-)
Thanks and Good
work
fabrizio
Email.it, th
Hi Gunter,
the process can return false for mainly two reasons :
- The form does not validate correctly
- Somebody called the endProcessing(false) method.
This second situation is triggered in many cases :
- The submit widget is a field (with a listener, or
submit-on-change=true ..)
- The submit
Hi,
How can I check which validation error or widget that is triggering a
"false" after the process()-method. This becourse I've got a form which
returns an invalid process() but I cannot figure out which widget that is
causing this (all required fields are filled in, all datatypes are
correct
You could try this...
Sincerely,
Nick Nagels
IT Specialist @ KULeuven for EuroGenTest
Tel. +0032 16 33 01 43
Herestraat 49 bus 602
B-3000 Leuven
MSN Messenger: [EMAIL PROTECTED]
Oleg Konovalov wrote:
Hi,
I am trying to do an enhancement to Cocoon 2.0/XSLT1.0 application:
add a date valida
Hi All,
We are trying to migrate our application from cocoon2.1.5.1
to cocoon 2.1.7.
We are facing a problem with the locale.
We have defined an entry for locale as
true
false
false
false
And we are trying to de
I replaced the relative dir path with an absolute one and it's the same.
Anyway, why isn't it even getting the default translation provided by
the packaged CForms resources? The text presented is just the key.
-Original Message-
From: Ard Schrijvers [mailto:[EMAIL PROTECTED]
Sent: Friday
Hi,
I am trying to do an enhancement to Cocoon 2.0/XSLT1.0 application:
add a date validation of Excel cells (named Start_Date) in SQLTransformer,
so if a Type of that cell is not a DATE, insert that row into Error table
(otherwise to the Main table).
I tried:
and:
but neither worked (see
it is telling you where it is looking : location=resources/translation
Probably it just cannot find this location? Try for the moment to hardcode the
exact location on your machine. See if that works
--
Hippo
Oosteinde 11
1017WT Amsterdam
The Netherlands
Tel +31 (0)20 5224466
I renamed it in both places because I was afraid it was calling the
standard transformer.
Anyway, I got confused looking at the patched web.xml file. It was using
log4j.
But the log file does not tell me much:
2006-03-17 13:46:12.383 DEBUG sitemap.transformer.i18n
(guam:1/p
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]
> Sent: vrijdag 17 maart 2006 13:43
> To: users@cocoon.apache.org
> Subject: RE: Cannot override general.field-required
>
>
> I messed up with the copy paste, it's complaining about lots of
> categories,
> includin
I messed up with the copy paste, it's complaining about lots of
categories,
including sitemap.transformer.i18n
-Original Message-
From: Ard Schrijvers [mailto:[EMAIL PROTECTED]
Sent: Friday, March 17, 2006 1:34 PM
To: users@cocoon.apache.org
Subject: RE: Cannot override general.field-requ
>There's no log file produced. In the console I see:
>PoolThread-4/LoggerSwitch.SwitchingLogger: Logger for category
>sitemap.serializer.html not defined in configuration. New Logger created
>and returned
Well, it is comlaining about another logger that is not defined
(sitemap.serializer.html)
sitemap:
src="org.apache.cocoon.generation.JXTemplateGenerator" label="content"
logger="sitemap.generator.jx"/>
logger="sitemap.transformer.i18n"
src="org.apache.cocoon.transformation.I18nTransformer">
resource
Hi Fernando,
I18n transformer supports different bundles. That means that you can
have different "root files" (each one then having it's localized
versions) containing keys, and eventually even the same keys, and then
specify in the i18n:text which boundle (again, not language, root
bundle) to
Hello,
I search some documentation for the implementation of a portlet
(JSR-168) using Cocoon.
It seems the Cocoon's CocoonPortlet class exists fot that, and I would
happy to find information and example in order to deploy a CocoonPortlet
in an compliant portlet container like Stringbeans for exam
can you mail your logkit.xconf and the sitemap part where you declare your i18n
transformer?
>
> There's no log file produced. In the console I see:
>
> PoolThread-4/LoggerSwitch.SwitchingLogger: Logger for category
> sitemap.serializer.html not defined in configuration. New
> Logger crea
There's no log file produced. In the console I see:
PoolThread-4/LoggerSwitch.SwitchingLogger: Logger for category
sitemap.serializer.html not defined in configuration. New Logger created
and returned
Thanks
Ard Schrijvers wrote:
I don't think guessing is the way to go when something does n
> -Original Message-
> From: Jasha Joachimsthal
> Sent: vrijdag 17 maart 2006 10:05
> To: users@cocoon.apache.org
> Subject: RE: Cannot override general.field-required
>
>
>
> > -Original Message-
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]
> > Sent: vrijdag 17 maa
> Restart cocoon, do the request again, and look in the WEB-INF
> under logs folder in i18n.log: I know I had your problem
> before, and I don't know how I fixed it, but just make sure
> you know how to debug your cocoon app and you will find the
> solution (which you will probably will forge
I don't think guessing is the way to go when something does not work: Make sure
you find out what is going wrong through logs:
So, add to your i18n:transformer a logger, for example like:
Go to your logkit.xconf
Add in targets
${context-root}/WEB-INF/logs/i18n.log
%23.
Pasha Minallah wrote:
> Hi,
>
> I'm trying to run Ant 1.6.2 from a Cocoon 2.1.7 Action. I've added ant.jar
> and ant-launcher.jar to WEB-INF/lib.
>
> Using org.apache.tools.ant.launch.Launcher in a standalone test case outside
> of cocoon works fine. It gives me a ClassCastException when I tr
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]
> Sent: vrijdag 17 maart 2006 9:36
> To: users@cocoon.apache.org
> Subject: RE: Cannot override general.field-required
>
>
> With a different name it still doesn't work.
>
> -Original Message-
> From: Jas
With a different name it still doesn't work.
-Original Message-
From: Jasha Joachimsthal [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 16, 2006 5:10 PM
To: users@cocoon.apache.org
Subject: RE: Cannot override general.field-required
It may sound weird but I get the same error when I put
Hi,
I'm trying to run Ant 1.6.2 from a Cocoon 2.1.7 Action. I've added ant.jar
and ant-launcher.jar to WEB-INF/lib.
Using org.apache.tools.ant.launch.Launcher in a standalone test case outside
of cocoon works fine. It gives me a ClassCastException when I try to use the
same code inside a coc
37 matches
Mail list logo