Re: [ControlFlow] Mais où est la fonction main ?

2005-03-17 Thread Sébastien ARBOGAST
Ok ok ok... je m'auto-réponds à moi-même, j'avais pas vu la déclaration map:flow language=javascript !-- Flow will use the javascript functions defined in game.js -- map:script src=flow/game.js/ /map:flow La prochaine fois je retournerai 7 fois ma langue dans ma tête avant de poser une question

Re: get an array from cocoon request

2005-03-17 Thread Mark Lowe
I'm not sure if something clever happens in cocoon but in a standard case you'd want something like input type=checkbox name=groups[0] value=1 / var value1 = cocoon.request.getParameter(groups[0]); multple select would perhaps behave more as you expect, but checkbox is typically submiting a

Problems running Cocoon 2.1.6 on Websphere 5.1

2005-03-17 Thread Nicole Hochleiter
Hi, First I used Cocoon 2.1.5 with Websphere 5.1 and had some problems which I could solve with the help of the newsgroup. But now I updated Cocoon to 2.1.6 and got the Problem again. I' using the ParanoidCocoonServlet and set the Logging to use the Apache commons logging supplied with Cocoon.

Re: get an array from cocoon request

2005-03-17 Thread Geert Josten
Hi all, This shouldn't be necessary. Input fields with same names are all submitted and should be collected in the HTTP request as an array or something... Looking around on the web, I found a construct in XSP that might lead you to what you need: xsp-request:get-parameter-values(name). You'll

Re: trouble with Hibernate 2.1 under Cocoon 2.17

2005-03-17 Thread Leszek Gawron
Grzegorz Sikora wrote: Hello Leszek, Tuesday, March 15, 2005, 9:38:53 AM, you wrote: Anyone used Hibernate 2.1 under Cocoon 2.17 ? LG I am using cocoon under 2.1.x branch and trunk - no problem at all. Are you sure ? Which HB version ? I've downloaded RELEASE_2_1_6 and followed the same steps as

Re: get an array from cocoon request

2005-03-17 Thread Vlad Golodov
Actually it should work without any index while submit. If we would use this way: groups[1], then there wouldn't be the right order in an array. Still fighting with the problem :S Geert Josten [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi all, This shouldn't be necessary.

Re: get an array from cocoon request

2005-03-17 Thread Gertjan Assies
I dont think the brackets should be in the name of the input element the request object takes the input elements with the same names and returns those as an array with the getParameter try input type=checkbox name=groups value=1/ group 1 cheers, Gertjan Vlad Golodov wrote: Hi! was trying for a

RE: Forms builder

2005-03-17 Thread Michel SALAIS
I have downloaded the plugin cocoon forms editor and obtained a temporary license but I can't find how to use it! There is no trace in the menus, no button as much as I could find! I've created a new cocoon project but I failed to find any thing then to build forms. Can you say how to do it?

[SOLVED] Re: get an array from cocoon request

2005-03-17 Thread Vlad Golodov
Thanks all, problem is solved by leaving brackets off input type=checkbox name=groups value={groupId}/ xsl:value-of select=groupName/ and collecting an array this way var groups = cocoon.request.getParameterValues(groups); Vlad Gertjan Assies [EMAIL PROTECTED] wrote in message news:[EMAIL

Re: get an array from cocoon request

2005-03-17 Thread Grzegorz Tańczyk
Hello Vlad, Is there request.getParameterValues method in JS Flow? If no they You can try to make simple wrapper class in Java and connect it with Your JS Flow script :) Thursday, March 17, 2005, 9:07:05 AM, you wrote: VG Hi! VG was trying for a while to get an array from cocoon request

Re: XForms and Cocoon

2005-03-17 Thread Erik Bruchez
Lars Huttar wrote: Christoph Hermann wrote: Andrea Vagliengo schrieb: Hello, I can't find any documentation about XForm support under cocoon: the WS-Proxy manages XForms, but I have to render it some way in the browser and I need XSLT transformation to adapt the XML content to the client

DList in flow script

2005-03-17 Thread Johnson
Hi! How to define a DList in flow script. I try a=new org.odmg.DList() or a=new net.sf.hibernate.odmg.Implementation.newDList() botherror. best regards Johnson

Re: DList in flow script

2005-03-17 Thread Joerg Heinicke
On 17.03.2005 17:20, Johnson wrote: Hi! How to define a DList in flow script. I try a=new org.odmg.DList() or a=new net.sf.hibernate.odmg.Implementation.newDList() both error. I don't know how much has changed since the last time I tried it out (2.1.6, still with old Rhino), but at

Re: DList in flow script

2005-03-17 Thread Mark Leicester
Hi Johnson, Have you seen this page? http://wiki.apache.org/cocoon/JavascriptForJavaProgrammers Take a look at section 7: Using Java Objects Hope this helps, Mark On 17 Mar 2005, at 16:20, Johnson wrote: Hi!   How to define a DList in flow script. I try a=new org.odmg.DList() or a=new

RE: browser's back button and authentication framework

2005-03-17 Thread Adam Ratcliffe
Hi Marc You're right that the approach I outlined doesn't deal with issue of the user being able to go back to the login page but it does handle the 2nd authentication request correctly, the login() function tests if the user is authenticated and if so redirects to the protected resource, no

ErrorHandler problem

2005-03-17 Thread Oleg Konovalov
Hi, I am deploying a bunch of Cocoon 2.04 apps on JBoss 3.0.7/Tomcat 4.1.24 [ Apache 2.0.48] on Solaris 9. Everything works fine, but when the server is starting, getting the following errors in the console: ... 16:23:13,302 INFO [XMLLoginConfig] Starting 16:23:13,385 ERROR [STDERR] Warning:

DOCTYPE declaration with an external entity

2005-03-17 Thread Frey, David
We are creating a NewsML/NITF doc out of our process. The header of this document needs to contain an entity statement. The very top of this document should look like this: ?xml version=1.0 encoding=ISO-8859-1? !DOCTYPE NewsML SYSTEM http://nationaljournal.com/dtd/NewsML_1.2.dtd; [ !ENTITY %

RE: DOCTYPE declaration with an external entity

2005-03-17 Thread Conal Tuohy
David Frey wrote: We are creating a NewsML/NITF doc out of our process. The header of this document needs to contain an entity statement. The very top of this document should look like this: ?xml version=1.0 encoding=ISO-8859-1? !DOCTYPE NewsML SYSTEM

Re: DList in flow script

2005-03-17 Thread Johnson
I try var abean = new Packages.org.odmg.Implementation.newDList(); and here the error Java class org.odmg.Implementation has no public instance field or method named newDList. but I see the java doc org.odmg.Implementation has a method public DList newDList()best regardsjohnson - Original