Hello
Do you have main_template.xml in your main-display-pipeline? Perhaps
is is enough to define your form template without continuation, like
. Also perhaps you don't
need any processing in flow.js after form.showForm("main-display-
pipeline", data).
Barbara
On 12 Nov 2014, at 17:22,
unnecessary header within your XML
data (in Ajax request?)
Greetings,
Greg
2013/12/4 Barbara Slupik
Hello
I am trying to upgrade from Cocoon-2.1.11 to Cocoon 2.1.12.
I have a problem with CForms validation - the ! error icon
validation-message.gif is not displayed. Dojo debug message
Hello
I am trying to upgrade from Cocoon-2.1.11 to Cocoon 2.1.12.
I have a problem with CForms validation - the ! error icon validation-
message.gif is not displayed. Dojo debug message is:
DEBUG: dojo.widget.Parse: error: [Exception... "Node cannot be
inserted at the specified point in the
Hello
I am using HSSF serializer as stand-alone in java. It works with
cocoon-2.0.4.jar:
void serializeHSSF(Document doc, OutputStream out) throws Exception
{
PipedOutputStream outStream=new PipedOutputStream();
PipedInputStream inStream=new PipedInputStream(outStream);
HSSFSe
org.springframework
spring-jdbc
2.5.6
instead of changing cocoon poms. It works fine.
Barbara
On 19 Oct, 2010, at 11:09 am, Barbara Slupik wrote:
Hello
I am trying to do it but no success so far. I changed spring
dependencies in cocoon-6.pom section but get
error when
Hello
I am trying to do it but no success so far. I changed spring
dependencies in cocoon-6.pom section but get
error when starting my block in jetty. What else do I need to change?
Error:
2010-10-19 09:39:10.268:/:INFO: Initializing Spring root
WebApplicationContext
2010-10-19 09:39:1
I had similar problem. I fixed it by adding:
springRequestContextFilter
org.springframework.web.filter.RequestContextFilterfilter-class>
springRequestContextFilter
/*
FORWARD
REQUEST
Hello
I followed the instruction here http://cocoon.apache.org/2.2/1366_1_1.html
. For cocoon-2.1.11 I set
container-encoding
UTF-8
form-encoding
UTF-8
in my web.xml instead of org.apache.cocoon.containerencoding=utf-8 and
org.apache.cocoon.forme
You might find some information in Cocoon installation howto thread in http://marc.info/?l=xml-cocoon-users&m=121545072805686&w=2
. You don't need to configure cocoon to run in tomcat as far as I
know. The same cocoon application can run in tomcat and jetty for
example.
Barbara
On 7 Sep, 20
Hello
How to set a value on a suggestion-list?
I am using cocoon-2.1.11 with Firefox 3.6.6.
The cocoon sample listed below does not seem to work. I think that it
should display the suggestion list set to "Bruno Dumon" but it
displays the list with no initial value. You have to start typing
Hello
Do you have metrics files with hungarian characters? If I remember
well you have to get ttf fonts with hungarian characters and build xml
metric files with commands similar to these:
java -classpath classes:lib\fop.jar;lib\avalon-framework-
cvs-20020806.jar;lib\xml-apis.jar;lib\xerce
Hello
I had a similar problem with sql meta operations. In one environment
the same query would return "foo" and in another one "bar". The reason
was that these environments were using different versions of database
connector: 5.0 returns alias and 5.1 returns column name. See http://dev.my
Hello
I wrote two applications using CForms, Spring and Hibernate in Cocoon
2.1. It found it relatively easy to upgrade them to Cocoon 2.2. I
think that CForms, Spring and Hibernate work very well together.
But the same client also has a couple of old applications which still
run in Cocoo
Hello
Do you have enctype="multipart/form-data" in your ft:form-template
element? It should look similar to this:
method="POST" enctype="multipart/form-data">
See http://cocoon.apache.org/2.2/blocks/forms/1.0/483_1_1.html
Barbara
On 18 Aug, 2009, at 10:27 am, Tomek Piechowicz wrote:
Hi.
Hello
I use cocoon-2.2.0 and do my validation like this:
var success=true;
if (some-test) {widget.setValidationError(new
Packages.org.apache.cocoon.forms.validation.ValidationError("my-
error",true)); success=false;}
return success;
and
Benjamin, thanks for your help.
I use Spring Configurator for database settings. It works very well.
I decided to put my Printers.xml file in context, that is in my block/
application webapp. My client can add his custom Printers.xml to the
application webapp after installation. Printers.xml
I use jetty for development. I have my web.xml in my block directory,
where pom.xml file is. In my pom.xml file I define:
org.mortbay.jetty
maven-jetty-plugin
6.1.7
...
web.xml
Jetty uses my web.xml file and does not o
e printers
into the database but I prefer to stay with xml file.
Barbara
On 1 Jul, 2009, at 9:26 am, Bart Remmerie wrote:
Where is the server running ?
Are there multiple clients running on one server ? Or is the server
running @ the client ?
Bart
On Wed, Jul 1, 2009 at 9:21 AM, Barbara
Sl
Hello
I am using cocoon-2.2.0. I want to define an xml file with printers
configuration. This file should be outside application jar because my
client will configure his own printers there. Printers defined in the
xml file will be displayed on one of the application screens so that
user c
Hello
I have this:
class="org.apache.cocoon.spring.configurator.log4j.Log4JConfigurator"
scope="singleton">
ref="org.apache.cocoon.configuration.Settings"/>
in my application context.
My log4j.xml is in my cocoon-webapp/src/main/webapp/WEB-INF and it
contain
Can you please explain it once again? I don't really understand your
problem.
Barbara
On 28 Jul, 2008, at 6:00 pm, Héléna Tanguy wrote:
Hello,
I'm working on a cocoon form with binding on xml document. Now
everything works correctly.
But I must make an evolution to this form, the binding
You can do something like this:
* definition
* template
* binding
* object
private String[] myField;
Set values in myField array and they will be automatically selected
on the screen.
Barbara
On 4 Aug, 2008, at 1:44 pm, Gary Larsen wrote:
Hi All,
Is it pos
I don't know what are you trying to do. I was using parameters in
repeater action like this:
repeater="myRepeater">
var form=event.source.form;
var repeater=form.getChild("myRepeater");
var row=repeater.getRow(repeater.getSize() - 1);
row
I pass parameters to my forms and form widgets like this:
var form=new Form(myFormDefinition);
form.setAttribute("myAttribute",myAttribute);
form.lookupWidget("myWidget").setAttribute("myAttribute",myAttribute);
Barbara
On 31 Jul, 2008, at 5:11 p
Unfortunately this does not sound good in Polish. It means bottom, on
which you sit.
Barbara
On 30 Jul, 2008, at 8:36 pm, [EMAIL PROTECTED] wrote:
Pupa
Corona is the core of Cocoon without the shell. What is inside a
cocoon is called a pupa.
PUPA (always all capitals as an acronym) was th
I use cocoon with MySQL, Hibernate and cForms and I don't know
db4objects, so the suggestions below might be wrong
1. Adding jar file
You should place your database in pom file. I have mysql defined like
this:
mysql
mysql-connector-java
5.0.5
Try to find your dat
In cocoon-2.2 everything runs as blocks. So you have to put your old
application into one or more blocks and create cocoon-2.2 application
to run them. There are some changes which are described Migration
guide, for example for cforms go to cocoon page, Blocks 2.2/Forms/
Migration guide and
Before cocoon-2.2 I was using tomcat in my development, test and
production environments. Now I use maven/jetty for development and
tomcat for test/production. In maven/jetty I change my block cforms,
sitemap and flow and I can see the changes after refreshing the
screen. When development i
I am using cocoon with maven and jetty in my development environment.
I develop and test individual blocks. Then I build my block jar files
and my cocoon application. Once everything works in maven/jetty
development environment I build application war file and put it in my
test environment
I use maven/jetty in my development environment. I put my web.xml
file in myBlock folder and in my pom file I define:
org.mortbay.jetty
maven-jetty-plugin
...
...
web.xml
This tells jetty to use my web.xml fi
I use CForms upload widget to upload files and it works fine.
Barbara
On 15 Jul, 2008, at 12:08 pm, Magnus Haraldsen Amundsen wrote:
Hi,
I want to use commons-fileupload to handle fileupload in my webapp.
I’ve followed the tutorial at http://commons.apache.org/fileupload/
using.html but li
I use maven/jetty in my development environment and tomcat for test/
production. I build cocoon-2.2 application like this:
1. Create block myBlock
cd /.../cocoon-2.2.0
mvn archetype:create -DarchetypeGroupId=org.apache.cocoon -
DarchetypeArtifactId=cocoon-22-archetype-block -
DarchetypeVersio
I test my blocks in maven/jetty. After everything works I do the
following:
1. Build myBlock jar file and update maven repository. I assume that
version number is 1.0, version number is defined in myBlock pom file
cd /.../cocoon-2.2.0/myBlock
mvn package
mvn install:install-file -DgroupId=
Perhaps you need to add this into your pom file:
org.apache.cocoon
cocoon-ajax-impl
1.0.0
Barbara
On 12 Jul, 2008, at 9:11 am, jantje wrote:
Thanks, So now I have downloaded dojo-0.4.3-ajax.zip
But how can My block get access to Ajax? You say I could make a
bloc
05 am, Kjetil Kjernsmo wrote:
On Wednesday 09 July 2008 17:15:13 Barbara Slupik wrote:
I had similar problem. I fixed it by adding:
Wow, that worked! Thanks a lot! But I don't understand what it
does, could
anyone explain...?
Kind regards
Kjetil Kjernsmo
--
Senior Knowledge Engineer
D
I had similar problem. I fixed it by adding:
springRequestContextFilter
org.springframework.web.filter.RequestContextFilterfilter-class>
springRequestContextFilter
/*
FORWARD
REQUEST
s my sitemap (I have adde the definition for the
serializer, on
your advise.. Normally I don't do this..):
http://users.skynet.be/sb015553/sitemap.xmap
Thanks, this is not easy :-)
Barbara Slupik-3 wrote:
I create my blocks with:
mvn archetype:create -DarchetypeGroup
, I might have forgotten something.
Actually I created build.sh command file in every block and in cocoon-
webapp and put all necessary mvn packaging repository update commands
there.
Barbara
On 8 Jul, 2008, at 8:55 am, Ken Starks wrote:
Barbara Slupik wrote:
I am using cocoon with maven
-INF/
And then? How do I know what I should write in pom? f.i. when I use:
Thanks..
Barbara Slupik-3 wrote:
I am using cocoon with maven and jetty in my development environment.
I develop and test individual blocks. Then I build my block jar files
and my cocoon application. Once
I am using cocoon with maven and jetty in my development environment.
I develop and test individual blocks. Then I build my block jar files
and my cocoon application. Once everything works in maven/jetty
development environment I build application war file and put it in my
test environment
I use properties to define my database connection. I my development
environment I add my properties into block rcl.properties and I can
test blocks individually with jetty. rcl.properties file is not
included in block jar file. In my application I created cocoon/
properties/application.prope
I defined all my blocks as dependencies in my web application pom file.
In each block I have block-servlet-service.xml which looks like this:
class="org.apache.cocoon.sitemap.SitemapServlet">
path="blockcontext:/myBlock/">
ref=
No, xerces. Barbara
On 27 Jun, 2008, at 11:54 am, Johannes Hoechstaedter wrote:
Do you use saxon? I doesn't work for me.
Barbara Slupik schrieb:
I do
and this works fine.
Barbara
On 27 Jun, 2008, at 10:48 am, Johannes Hoechstaedter wrote:
Hi everybody,
I found out, that
fn:subs
I do
and this works fine.
Barbara
On 27 Jun, 2008, at 10:48 am, Johannes Hoechstaedter wrote:
Hi everybody,
I found out, that
fn:substring('astt', 2) is working but
fn:substring-before('astt', 't') not (NoSuchMethodException)
I am using saxon and xmlns:fn="http://www.w3.org/2005/xpath-
Do you have something like this in your stylesheet:
Barbara
On 27 Jun, 2008, at 8:43 am, Johannes Hoechstaedter wrote:
Hello,
can anybody tell me how to match this node in xsl?
date="25.06.08 16:44" size="0" sort="name" reverse="false"
requested="true"/>
doesn't work.
cheers
Johannes
I had similar problem. I solved it by sorting the id used by
repeater. I use Hibernate, so I added order-by in my hbm file:
order-by="reservationID">
I had to do this although reservationID is the primary key on my
database table. My binding looks like this:
I had the same problem. In the end I put my styles inside login form,
because the link to css did not work. I hope someone knows better
solution.
Barbara
On 26 Jun, 2008, at 9:34 am, Johannes Hoechstaedter wrote:
same behaviour with:
test
type="text/css" rel="stylesheet" />
Johannes
I had the same problem. I fixed it like this:
select="$startRow + 998"/>
xsl:attribute>
xsl:attribute>
...
I had the same problem. I fixed it by adding:
springRequestContextFilter
org.springframework.web.filter.RequestContextFilterfilter-class>
springRequestContextFilter
/*
FORWARD
REQUEST
I use properties to configure my database connection.
In my block application context I have:
class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close">
${myDatabase.driverClassName}
${myDatabase.url}
${myDatabase.username}
In cocoon-2.2 I had to add this:
springRequestContextFilter
org.springframework.web.filter.RequestContextFilterfilter-class>
springRequestContextFilter
/*
FORWARD
REQUEST
to my
I think you need to get to the repeater row to access your widget.
Perhaps something like this will work:
var profiles=form.lookupWidget("profiles");
for (var i=0; i
Hello
I am trying to move my cocoon applications from cocoon-2.1.10 to
cocoon-2.2.0. I cannot make the tomcat security (realm) work with
cocoon-2.2.0 so I tried to use authentication block instead.
=== My application context ===
manager=ma
essID">
I use the database id nameAddressID to identify the repeater rows, no
extra ids are necessary.
Barbara
On 8 Jun, 2007, at 10:46 pm, Barbara Slupik wrote:
Hello
I am trying to add a row in a CForms repeater but the new row
replace
Hello
I am trying to add a row in a CForms repeater but the new row
replaces some of the old data in the collection.
I am using Cocoon-2.1.10 with Hibernate-3.2, Spring-2.0.4 and
MySQL-5.0.37. The repeater rows are loaded from the database and
displayed correctly on the screen. When I try
55 matches
Mail list logo