Generating(?) the content of a flowscript

2008-08-25 Thread jantje
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

jXtemplate and Java source: searching an example or tutorial

2008-08-23 Thread jantje
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

generate form_definition

2008-08-22 Thread jantje
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

RE: generate form_definition

2008-08-22 Thread jantje
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

RE: generate form_definition

2008-08-22 Thread jantje
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

Not able to create and test cocoon2.2 webapp with maven/jetty

2008-08-19 Thread jantje
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

Re: Not able to create and test cocoon2.2 webapp with maven/jetty

2008-08-19 Thread jantje
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

cocoon + db4odjects.jar

2008-07-28 Thread jantje
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:

Re: cocoon + db4odjects.jar

2008-07-28 Thread jantje
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

Cocoon + Apache httpd

2008-07-21 Thread jantje
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

Re: Cocoon + Apache httpd

2008-07-21 Thread jantje
, 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

Re: Cocoon installation howto?

2008-07-12 Thread jantje
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

Re: Cocoon installation howto?

2008-07-08 Thread jantje
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

Re: Cocoon installation howto?

2008-07-08 Thread jantje
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

Re: Cocoon installation howto?

2008-07-08 Thread jantje
/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

Cocoon installation howto?

2008-07-07 Thread jantje
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

map:serialize type=servletService/

2008-06-04 Thread jantje
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

Sitemap point to extern directory

2008-06-03 Thread jantje
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

Type 'serverpages' does not exist for 'map:generate'

2008-06-03 Thread jantje
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;

Re: Type 'serverpages' does not exist for 'map:generate'

2008-06-03 Thread jantje
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

Re: fd:multivaluefield - direct the content of the two fields!!!

2006-09-21 Thread jantje
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

Re: fd:multivaluefield - direct the content of the two fields!!!

2006-09-21 Thread jantje
= [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

Re: fd:multivaluefield - direct the content of the two fields!!!

2006-09-20 Thread jantje
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

java.util.Date fd:initial-value

2006-09-18 Thread jantje
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

Re: cocoon.exit();

2006-09-18 Thread jantje
(); } 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

Re: cocoon.exit();

2006-09-15 Thread jantje
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

fd:multivaluefield - direct the content of the two fields!!!

2006-09-15 Thread jantje
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

Re: fd:multivaluefield - direct the content of the two fields!!!

2006-09-15 Thread jantje
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

Re: xsp produces a form template

2006-09-14 Thread jantje
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

Re: cocoon.exit();

2006-09-14 Thread jantje
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

RE: cocoon.exit();

2006-09-14 Thread jantje
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

xsp produces a form template

2006-09-13 Thread jantje
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

Passing parameter from sitemap to .xsp - everything failes - help needed

2006-09-12 Thread jantje
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

RE: Passing parameter from sitemap to .xsp - everything failes - help ne

2006-09-12 Thread jantje
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

Re: Passing parameter from sitemap to .xsp - everything failes - help ne

2006-09-12 Thread jantje
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