Hi there, I have some flowscript: here I receive information from a form
(form.getChild).
The form definition and template are generated, their content depends on an
object oriented structure. (the application.xml file holds the object
oriented structure)
So each form is different from the
Hi there, on the internet I can find a lot about jXtemplate (map:generate
type=jx src=file.xml/).
The information states that in jXtemplate, you can use Java. In cocoon 2.2 I
am searching an alternative for XSP but did not yet succeed. Maybe
jXtemplate is the solution?
What I want for my
Hi there, I have variable data which I want to display in a form.
A form has a form_template and a form_definition. The form_template is
generated in the sitemap: there I am able to generate the content like I
need.
The form_definition is called from the flowscript:
var form = new
map:generate src=xml/application.xml/
map:transform src=xsl/xmlToFormDefinition.xsl label=content
/map:transform
map:serialize type=xml/
/map:match
Jasha Joachimsthal-2 wrote:
-Original Message-
From: jantje [mailto:[EMAIL PROTECTED]
Sent
map:generate src=xml/application.xml/
map:transform src=xsl/xmlToForm{1}.xsl label=content
/map:transform
map:serialize type=xml/
/map:match
-Original Message-
From: jantje [mailto:[EMAIL PROTECTED]
Sent: vrijdag 22 augustus 2008 15:52
To: users
Hi there, I am not able to create a working cocoon webapp and test it with
maven/jetty.
Does someone know what is wrong with the next steps? Thanks for your reply!
cd project/build/blocks;
mvn archetype:create -DarchetypeGroupId=org.apache.cocoon
-DarchetypeArtifactId=cocoon-22-archetype-block
Because I thought the cocoon webapp needs the blocks as a jar file? I am new
to cocoon2.2 And I am searching a way to make a cocoon webapp. So far, I
have success on creating and testing a block:
mvn archetype:create -DarchetypeGroupId=org.apache.cocoon
Hi there, is het possible to use the db4objects database with Cocoon 2.2?
If so, then where should I place the the .jar file? And how can I execute
java source in cocoon? Is this possible in map:generate type=jx
src=cocoon:/{1}.test.xml /
Thanks..
--
View this message in context:
in cocoon 2.2, because I don't know the
alternative for XSP and I also can't find information (or documentation) on
this.
Maybe in jx, It is possible, but there I can't find tags in which I can
include java source code, like I did in XSP.
Thanks for your replies..
jantje wrote:
Hi there, is het
Hi there,
Which steps do I have to follow to access cocoon like this: localhost/test
and not like this: localhost:/test ?
I have tryed to configure apache httpd, with no success. Is there something
special about this, considering cocoon?
Thanks for your reply..
--
View this message in
, Jul 21, 2008 at 02:15:54PM -0700, jantje wrote:
Hi there,
Which steps do I have to follow to access cocoon like this:
localhost/test
and not like this: localhost:/test ?
I have tryed to configure apache httpd, with no success. Is there
something
special about this, considering
the zip file here:
https://svn.apache.org/repos/asf/cocoon/trunk/blocks/cocoon-ajax/cocoon-ajax-impl/src/main/resources/org/apache/cocoon/dojo/resources/
You might need the cocoon-ajax block to get access to it.
Best regards
William
On 8 Jul, 2008, at 7:15 pm, jantje wrote:
Thanks! I
serializer defined in your sitemap?
Barbara
On 7 Jul, 2008, at 7:53 pm, jantje wrote:
Ok, so I do this:
mvn archetype:generate -DarchetypeCatalog=http://
cocoon.apache.org
mvn jetty:run
Then I copy some little cocoon application (sitemap, and three or fore
files
block?
Thanks for your help,
jantje from belgium..
Barbara Slupik-3 wrote:
I don't use SVGSerializer, but I see that it is in Batik block now.
Go to cocoon website, Blocks 2.2/Batik/Project Documentation/Project
Reports/JavaDocs to see java docs.
I think that you have to add Batik
/external/dojo/dojo.js. Make sure that the
configuration of your servlet-service contains a connection to
'ajax:/resource/external/dojo/dojo.js'.
Do you know where I can find this file in the repository?
Thanks,
jantje..
William Moore wrote:
Hi jantje
The source is in this folder
Hi there, I have used older versions of cocoon for over years.. Now I want to
go to cocoon 2.2.
But now I have to use Maven, and on the cocoon website there is not a lot of
information about maven and cocoon.
Therefore I have downloaded this: cocoon-2.2.0.tar.gz
When I open the file, there is
as sitemap.xmap. So,
for example:
value=servlet:style-default:dynamic-page2html/
(I can't get this to work)
3. Where is some basic information about
map:serialize type=servletService
Thanks, jantje...
--
View this message in context:
http://www.nabble.com/%3Cmap%3Aserialize-type%3D
Hi there,
map:pipeline
map:match pattern=myFirstPipeline
map:generate src=myXmlFile.xml type=file/
map:serialize type=xml/
/map:match
The file above, myXmlFile.xml is in a different directory. F.i:
/mnt/sdLacie/source/xml/myXmlFile.xml while the sitemap is in
Hi there,
For cocoon 2.2, with maven, i have this pipeline in my experimental
sitemap-file:
map:sitemap xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
xsi:schemaLocation=http://apache.org/cocoon/sitemap/1.0
http://cocoon.apache.org/schema/sitemap/cocoon-sitemap-1.0.xsd;
I can't use XSP in cocoon2.2 There is almost no documentation available.
Where can I find information? Thanks
jantje wrote:
Hi there,
For cocoon 2.2, with maven, i have this pipeline in my experimental
sitemap-file:
map:sitemap xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance
Thanks!!! :-)
Jason Johnston-3 wrote:
jantje wrote:
Query the database from my flowscript? I have an object oriented database
(db4o.com).. is it also possible to query this database in flowscript? do
you know where to find information about this.. and how can I f.i. do
= [A, B];
Thank you for your help!!!
Jason Johnston-3 wrote:
jantje wrote:
Query the database from my flowscript? I have an object oriented database
(db4o.com).. is it also possible to query this database in flowscript? do
you know where to find information about this.. and how
Query the database from my flowscript? I have an object oriented database
(db4o.com).. is it also possible to query this database in flowscript? do
you know where to find information about this.. and how can I f.i. do this
in flowscript: import com.db4o.*
Can someone tell me how to do this in
Hi there,
I try to set fd:initial-value, for a fd:field..
fd:field id=startTime required=true
fd:labelStart (HH.mm):/fd:label
!--fd:initial-value17:12/fd:initial-value--
fd:datatype base=date
fd:convertor
fd:patterns
();
}
oldest.invalidate();
Hope that's on the right track.
--Jason
jantje wrote:
Hey! thanks for searching and thinking with me.. but no, i can still use
the
back option in my browser :-(
thanks!
Dev at weitling wrote:
Hi Jan!
After I stumbled through the wood not seeing the wood
the flow PLUS
WebContinuation.invalidate().
Reijn made me look here:
http://cocoon.apache.org/2.1/userdocs/flow/api.html#cocoon
Greetings,
Florian
jantje wrote:
I think it is not working beceause i can still use the back button in
my
browser!!!
OK, maybe no new continuation is created
Hi there,
In my flowscript, i have:
var listOfProjectsForm = new Form(listOfProjects);
var listOfProjectsModel = listOfProjectsForm.getModel();
listOfProjectsModel.projects = [ProjA, ProjB];
listOfProjectsForm.showForm(listOfProjects);
In my form definition i have:
fd:multivaluefield
this? is it possible to fill the array with some kind
of redirection or somthing? (in flowscript)
or can I set these values this in f.i. the form definition?
Thanks and greetings
Jason Johnston-3 wrote:
jantje wrote:
Hi there,
In my flowscript, i have:
var listOfProjectsForm = new Form
thanks for the advice, it really helped!!!
Niels van Kampenhout wrote:
Hi,
jantje wrote:
I have a form definition (of a cocoon form).
I also have an xsp -file, which generates a form template:
snip/
Ok, and here is the problem:
Can I define the selection-list in the FORM
Well, this is just cocoon.exit() from the cocoon documentation!
http://cocoon.apache.org
greetings
Dev at weitling wrote:
Slightly off-topic: Where do you find all the descriptions of all those
javascript functions?
Bye,
Florian
Jeroen Reijn wrote:
Hi Jantje,
why do you
someone know the answer?
Greetings, Jan from Belgium
Jeroen Reijn wrote:
Hi Jantje,
why do you think the cocoon.exit function is not working? Does it not exit
the flowscript without creating a continuation?
Regards,
Jeroen Reijn
-Original Message-
From: jantje [mailto
Hi,
I have a form definition (of a cocoon form).
I also have an xsp -file, which generates a form template:
map:match pattern=generate/*.xsp
map:generate src={1}.xsp type='serverpages'/
map:serialize type=xml/
/map:match
map:match pattern=*.display
Hi there, after searching a lot of information.. (finding a lot of solutions
- but none of them worked).. I will post my question here:
The file hello.xsp:
?xml version=1.0?
xsp:page language=java
xmlns:xsp=http://apache.org/xsp;
xsp:structure
xsp:includejava.util.*/xsp:include
parameters.getParameter(habibi, null);
gives the same problem as:
this.parameters.getParameter(habibi, null);
Still having this problem:
java.lang.NullPointerException:
Cocoon stacktrace[hide]
Language Exception
context://SBxsp/sitemap.xmap - 22:25map:serialize
had? it would be nice to know the solution :-)
Thanks for your time,
me.
jantje wrote:
Hi there, after searching a lot of information.. (finding a lot of
solutions - but none of them worked).. I will post my question here:
The file hello.xsp:
?xml version=1.0?
xsp:page language
35 matches
Mail list logo