I see the CForms resources are located in a resources
subdirectory, but in the foms stylesheets they are referenced
as located in {$resources-uri}/forms . Theres
no intermediate forms directory in resources.
The problem was that I based my test on the supersonic tour,
and this doesn't use the page elements properly.
-Original Message-
From: Grzegorz Kossakowski [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 15, 2006 6:01 PM
To: [EMAIL PROTECTED]
Subject: Re: CForms: tabs not rendering
Le 16 mars 06 à 10:59, [EMAIL PROTECTED]
[EMAIL PROTECTED] a écrit :
The problem was that I based my test on the supersonic tour,
and this doesn't use the page elements properly.
Hi Fernando,
Could you be more specific about what the error is in the supersonic
tour?
I'll gladly fix what
citation of change log:
CForms block: The default HTML stylesheets have been moved into the jar
packages.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
[EMAIL PROTECTED]
Sent: Thursday, March 16, 2006 9:59 AM
To: users@cocoon.apache.org
Subject:
Hi,
where can I configure the error page used when cocoon encounters any
error during initialization?
I know how to configure handle-errors, but the pipeline does not get
to this point in that case. On the error page, I see an Apache Cocoon
link on the bottom, so I search my deploy dir for
The form template does not use head and body
elements, which is used by the CForms stylesheets to hook up CSS and
javascript. The page2html stylesheet needs to be revised, too then.
-Original Message-
From: Bertrand Delacretaz [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 16, 2006
They are in the JAR, but in the wrong place, according to the stylesheet
references.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 16, 2006 11:11 AM
To: users@cocoon.apache.org
Subject: RE: Resources misplaced in CForms (2.1.8)?
citation of
fyi:
after some debugging I found out that Tomcat5 always adds a trailing slash
to the URL if the URL matches to the directory structure; so if in your
cocoon webapp you have an URL matcher for abc and also in the webapp a
abc-directory then Tomcat will automatically add the / to it; if the
You need a resource piplene reading from jar file in sitemap:
map:match pattern=resources/*/**
map:read src=resource://org/apache/cocoon/{1}/resources/{2}/
/map:match
and e.g. the following lines in your forms2html stylesheet:
xsl:include
I offered the switch to Xinha a while ago and some people agreed, but no actions was taken. The Xinha documentation is
fine and there is a forum as well.
Just putting it in should work. We're using it in HippoCMS now and it's much
better then HTMLArea.
So I'm all for making it default in
Nils Kaiser [mailto:[EMAIL PROTECTED] wrote:
where can I configure the error page used when cocoon encounters any
error during initialization?
I know how to configure handle-errors, but the pipeline
does not get
to this point in that case. On the error page, I see an
Apache
Hi,
I am using the output widget to output a number to the user. I would
like to format it so it looks like this 1,234,567 instead of
1234567. I
figured this would be a styling thing, but couldn't find
anything in the
docs. I've also tried the following, but it doesn't seem to
Thanks to both of you !!
Bruno Dumon wrote:
On Tue, 2006-03-14 at 17:50 +0100, Bertrand Delacretaz wrote:
Le 13 mars 06 à 19:46, Yves Vindevogel a écrit :
...A message is an XML file, on which you have to respond. Your
response is basically answering what you received and
Hi,
have you considered employing SOAP based Web Services for that?
You could go even further and use WSRF and WS-Notification.
Just a thought,
Thomas
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
Yes, soap will be used in the future.
I was more looking for a framework to build the messages that a way to
transport them.
Every message we receive must be answered to acknowledge reception.
This is a quite complicated task because you must not only tell the
other side you got the file,
Don't forget to use an import statement at the top of your flowscript:
importClass(Packages.org.apache.cocoon.environment.Cookie);
Regards,
Reijn
Ard Schrijvers wrote:
F or example:
var userCookie = cocoon.response.createCookie(username,
httpState.getCredentials(null,
If you want to start with jms, a good debug tool can be found here:
http://www.hermesjms.com/
AS
--
Hippo
Oosteinde 11
1017WT Amsterdam
The Netherlands
Tel +31 (0)20 5224466
-
[EMAIL PROTECTED] / http://www.hippo.nl
How can one react differently in a flow when there are
several fd:submit elements in a form?
Thanks
Reijn
Yes, I think there are many Cocoon users who would support it;
we need a developer to commit to work to do it, though.
In the meantime, I guess we just take the manual approach.
Derek
[EMAIL PROTECTED] 2006/03/16 12:51 PM
I offered the switch to Xinha a while ago and some people
Martijn C. Vos schrieb:
Apart from your own sitemap.xmap, there's also the cocoon root sitemap
that mounts your sitemap and has some default error handling. It
uses stylesheets/system/error2html.xslt to turn the error message into
the error page you see on your screen.
That is only true if
Hi Fernando,
You can react in flow based on the submitId of the form.
You can request the submitId from flow by using:
form.submitId
Example:
form.showForm();
switch(form.submitId) {
case details:
showDetails();
break;
case create:
createNew();
break;
I'll see if I can find some time this weekend to create a patch and add it to
JIRA.
Reijn
Derek Hohls wrote:
Reijn
Yes, I think there are many Cocoon users who would support it;
we need a developer to commit to work to do it, though.
In the meantime, I guess we just take the manual
Marc,
Indeed, after a few hours of headache I've found that two of our deploy
processes were mixed up together!
Thanks,
Gunter D'Hondt
Marc Portier [EMAIL PROTECTED]
09/03/2006 08:23
Please respond to
users@cocoon.apache.org
To
users@cocoon.apache.org
cc
Subject
Re: map:call function
Any chance this will be in the forthcoming 2.1.9 release?
Derek
[EMAIL PROTECTED] 2006/03/15 10:44 PM
Oh, that's awesome! I just got it working in my project. I've been
keeping my eye out for something like this for months now. Thank you so
much Ard!
Brian
Ard Schrijvers wrote:
Yeah,
Have you had a look at WSRM? I have not used it personally yet, but it
may provide you with what you need.
As far as I understand it, you can basically send messages and have
their receipience acknowledged. The acknowledge message can carry in
addition to the WSRM requirements any information
This code don't work for me en Cocoon 2.1.7. I think its a problem
with the _javascript_ type.
I use:
form.showForm();
switch( String (form.submitId)) {
case "details":
showDetails();
break;
case "create":
createNew();
break;
case "cart":
redisplayForm = false;
Hi,
Derek Hohls wrote:
Any chance this will be in the forthcoming 2.1.9 release?
I'm sat next to Ard right now so with a bit of luck, yes ;-)
Thanks,
Andrew.
--
Andrew Savory, Managing Director, Luminas Limited
Tel: +44 (0)870 741 6658 Fax: +44 (0)700 598 1135
Web:
Hi again,
I have looked up how to override the CForms localization, but it's now
working.
In my subsitemap I have:
map:transformers default=xslt
map:transformer name=i18n
src=org.apache.cocoon.transformation.I18nTransformer
catalogues default=default
It also doesn't work on 2.1.8, but when I try to use this workaround I get:
org.mozilla.javascript.EcmaError: foo is not a function.
where foo is the id of the button I pressed.
It shows the discriminator line as the location of the error.
Josep A. Frau wrote:
This code don't work for me en
It's OK, I was using
form.submitId()
instead of
form.submitId
-Original Message-
From: Fernando D. Mato Mira [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 16, 2006 3:08 PM
To: users@cocoon.apache.org
Subject: Re: CForms: multiple fd:submit
It also doesn't work on 2.1.8, but when I
Fernando,
great that you got it to work.
Regards,
Reijn
[EMAIL PROTECTED] wrote:
It's OK, I was using
form.submitId()
instead of
form.submitId
-Original Message-
From: Fernando D. Mato Mira [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 16, 2006 3:08 PM
To:
Hi Yves,
I believe this is what the MQ quys call QoS (Quality of Service). It
definitely sounds like JMS is what you need.
As an added benefit, if you use Apache Axis as your SOAP client when/if you
go that route, there is a JMS provider that you can use that will leverage
the effort that
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
map:action name=locale
logger=sitemap.action.locale
src="">
!-- Creates a new session if
needed. Used with
Ok, will look into that then !!
Tnx
[EMAIL PROTECTED] wrote:
Hi Yves,
I believe this is what the MQ quys call QoS (Quality of Service). It
definitely sounds like JMS is what you need.
As an added benefit, if you use Apache Axis as your SOAP client when/if you
go that route, there is a JMS
Derek Hohls wrote:
Any chance this will be in the forthcoming 2.1.9 release?
I'm sat next to Ard right now so with a bit of luck, yes ;-)
Max is committing it. Should be available in 2.1.9
AS
--
Hippo
Oosteinde 11
1017WT Amsterdam
The Netherlands
Tel +31 (0)20 5224466
-Original Message-
From: Fernando D. Mato Mira [mailto:[EMAIL PROTECTED]
Sent: donderdag 16 maart 2006 14:43
To: users@cocoon.apache.org
Subject: Cannot override general.field-required
Hi again,
I have looked up how to override the CForms localization,
but it's now
Hi
We have a form that has several fields that are enabled/disabled through
on-change events in the form. This works fine, and with Ajax too...
We also have validation which includes a list of validation-errors
which displays all errors in the form at the top of the form (in this case).
The
We have a form that has several fields that are enabled/disabled through
on-change events in the form. This works fine, and with Ajax too...
We also have validation which includes a list of validation-errors
which displays all errors in the form at the top of the form (in this
case).
The
Hi!
I've just committed it. Please test it a little. I did a little stress
test with a pipeline that did an aggregate of around 100 parts
directly from the filesystem and serialized it to xml. The cached
response took 0-16 ms, while generating it took over 500 ms.
Be aware that the default cache
For those wanting to use the ExpiresCachingProcessingPipeline in example a poll
or forum you are able to do this as follows:
add the parameters :
map:parameter name=expires value=10/ !-- just make sure it is large!
--
map:parameter name=purge-cache value={request-param:purge-cache}/
Now
I thought that it was form.submitWidgetId
Fernando D. Mato Mira [EMAIL PROTECTED] wrote in message news:[EMAIL
PROTECTED]...
It also doesn't work on 2.1.8, but when I try to use this workaround I get:
org.mozilla.javascript.EcmaError: foo is not a function.
where foo is the id of the
Simon,Sorry about that... I forgot to give you the loadDOM function... which you seem to have worked out now anyway! But for completeness...function loadDOM(uri, object) { try { var util = cocoon.createObject(Packages.org.apache.cocoon.components.flow.util.PipelineUtil); var dom =
Hi Marc,
Thanks for the reply. We've considered this approach however it doesn't
work for our situation. The problem is that the possible pages is
variable and dependent on data provided by the database. For example, a
repeater widget that has multiple group widget containers per row, and
the
Hi Jason
Thanks for drawing my attention to this...
Are there any workarounds, or will have to choose between ajax-enabling
our forms or having validation-errors work, for the time being?
Thanks
Duncan
Jason Johnston wrote:
We have a form that has several fields that are enabled/disabled
cocoon-2.1.4
tomcat-4.1.x
Thanks,
Anna.
Antonio Gallardo wrote:
Versions?
Best Regards,
Antonio Gallardo.
Anna Bikkina wrote:
Hi,
I am running my application in cocoon and am using cocoon portals . I
see the following error in tomcat catalina.out constantly. The
application seems to
Hi
I am trying to use tree widgets in a javaflow application.
What I need to do from my java code is,
before showing the form:
- set the contents (nodes) of the tree
- specify which nodes should initially be expanded
and after a node has been selected:
- find out which node(s) was selected
-
It may be possible to provide this functionality using the
ProcessingPhaseListeners event handler. The implementation of this
class would record the state of all form widgets on creation. When
receiving an event that the LOAD_MODEL phase has ended, then the widget
state could be applied to form.
Hi Bruyn,
Our problem is definitely a server side issue since the form and widget
state are stored and processed server side (where the servlet lives).
Thanks for the wiki link, very helpful.
Craig
Bruyn Bill [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
gov...
I'm not sure that I
Duncan McLean wrote:
Hi Jason
Thanks for drawing my attention to this...
Are there any workarounds, or will have to choose between
ajax-enabling our forms or having validation-errors work, for the time
being?
An optional Turn off ajax attribute per widget [1]. Please note, this
patches
I apologize for being so persistent with this question. Has anyone faced
this issue before, and is the workaround I've come up with valid? It
does work, but I'm new to Cocoon and I wanted to make sure that the fix
was appropriate and not a misguided hack.
Thank you!
- Hari
Forwarded
Hi Kamal,
The scratchpad block is located in the cocoon-block trunk. See:
http://svn.apache.org/viewcvs.cgi/cocoon/blocks/scratchpad/trunk/java/org/apache/cocoon/transformation/
Since the code of this transformer was not changed in a while, I am
almost sure it works out of the box in cocoon
51 matches
Mail list logo