How to implement a back button

2004-05-17 Thread Michel Erard
Hello, I've in an application something like a cycle of an order which is divided into 3 forms. Now I have to implement a back button which shows the previous page with his state. Does someone know an easy and elegant way to implement this? I've read something with createPageLocal(), but does t

Re: How to implement a back button

2004-05-18 Thread Michel Erard
Yes, I've also seen this today and tried out... but then I've seen that the method with the continuation is probably not the best way, because all the state made on the second page surely is lost. But the input on page 1 is also lost. I think the continuation is created right after sending page

Re: How to implement a back button

2004-05-18 Thread Michel Erard
"John L. Webber" <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] Date: Tue, 18 May 2004 12:05:36 +0200 >I think cocoon.createWebContinuation() doesn't exist until cocoon-2.1.4 >- I had the same problem trying to use the function in 2.1.3 > >John > >Michel Erard w

I18Transformer

2004-06-10 Thread Michel Erard
Hi all, does someone know how the transformer exactly works. Are the xml files loaded into memory at startup of the servlet or dynamically when a tag is used? thanks Mike __ __ __ QuickLine WebMail - http://www.quick-line.ch -

compiling with Tiger

2005-02-23 Thread Michel Erard
Hello, i've just compiled cocoon with java 1.5. The target tag in init-build-xml i've modified. now when i compile, it dures onli 1 Minute and has output like below. Thanks for your help. Mike ... Loading source files for package org.apache.cocoon.faces.samples.components.renderkit... Loading so

compiling cocoon on windows with jdk1.5

2005-03-07 Thread Michel Erard
Hello, I'was trying to compile cocoon on a windows machine with java 1.5 installed. After some seconds there was an error: DocumentWrapper.java:48: org.apache.cocoon.xml.dom.DocumentWrapper is not abstract and does not override abstract method normalizeDocument() in org.w3c.dom.Document

Global Question to cocoon and Java 1.5

2005-03-08 Thread Michel Erard
Does someone using cocoon and Java 1.5 on Windows? I think it is not possible to compile cocoon witz this version of java, becaus the Interface org.w3c.dom.Document was expanded from version 1.4.2 to 1.5.0 and contains currently more methods, which are'n implementet by cocoons classes. F. ex. by

cforms and binding classes

2005-03-28 Thread Michel Erard
Hello, I've a question about the bindings in cforms. Is it possible to have one global class for bindings with different forms? A class that don't sets the attribuetes like this. setName(String name { this.name = name; ) That would use a Map instead? If yes, how to write in the binding.xml

Problem with stylesheets

2005-04-04 Thread Michel Erard
Hello, I've tried to aggregate the multi-page-form example into an existing application. Now I've the problem, that my styles.css file isnt found any longer and it doesn't add the javascripts for the popups from matt kruse to the page. Does somebody see my fault? Thanks Mike ---

Re: Problem with stylesheets

2005-04-05 Thread Michel Erard
/styles into a >different element (create a stylesheet and import the forms stylesheets to >make it easier). > >Kind regards, >Jan > >Michel Erard wrote: >> Hello, >> >> I've tried to aggregate the multi-page-form example into an existing >> application.

form reopens same page

2005-04-21 Thread Michel Erard
Hello, I'm making some tests with the authentication framework. Now I have a problem with the login form: USERNAME

Re: form reopens same page

2005-04-21 Thread Michel Erard
db & I realize that only when I check the log file. > >Regards >Roberto > >- Original Message - >From: "Michel Erard" <[EMAIL PROTECTED]> >To: >Sent: Thursday, April 21, 2005 10:39 AM >Subject: form reopens same page > > >> Hel

Re: form reopens same page

2005-04-21 Thread Michel Erard
ok it's near the week-end ;-) Thanks, Mike -- Original Message -- From: Joachim Breitsprecher <[EMAIL PROTECTED]> Reply-To: users@cocoon.apache.org Date: Thu, 21 Apr 2005 11:10:09 +0200 >Michel Erard wrote: >> Does someone see

How to write a transformer

2005-04-25 Thread Michel Erard
Hello, I'd like to write a custom transformer which replases tags like: NAME with "Mike" for example. I've found a little manual here: http://www.cocooncenter.org/articles/transformer.html but this is not very helpful because it doesn't any replaceing. Does someone know, where I finde a tutorial

How to configure my Authenticator

2005-04-26 Thread Michel Erard
Hello, I've written an custom authenticator which isn't a component, but implements the Configure Interface. How must I write the entry in cocoon.xconf to pass the configuration to my Class? With and it's not working. Best regards, Mike -

logkit.xconf configuration

2005-05-05 Thread Michel Erard
Hello, I've a problem with my logging. It doesn't log with level debug how it is configured. I see only the INFO messages. Did I make a mistake? //targets ${context-root}/WEB-INF/logs/elquerito/db- %7.7{priority} %23.23{time:dd.MM. HH:mm:ss:SSS} [%20.20{category}] : %{message}\n%{throwable

Re: logkit.xconf configuration

2005-05-05 Thread Michel Erard
sorry, I've found the fault. Mike Am 05.05.2005 um 14:40 schrieb Michel Erard: Hello, I've a problem with my logging. It doesn't log with level debug how it is configured. I see only the INFO messages. Did I make a mistake? //targets ${context-root}/WEB-INF/logs/elq

some help with binding

2005-05-18 Thread Michel Erard
hello, I've a problem with the binding framework, because I do not realy understand how it works. I've a form like this: ,,E1E1">> "1" ,,E1E1">> ,,E1E1">/> ,,E1E1">> "2" ,,E1E1">> ,,E1E1">/> ,,

need some help with binding

2005-05-18 Thread Michel Erard
hello, I've a problem with the binding framework, because I do not realy understand how it works. I've a form like this: ,,E1DF">> "1" ,,E1DF">> ,,E1DF">/> ,,E1DF">> "2" ,,E1DF">> ,,E1DF">/> ,,

Re: Flowscript class not found problem

2005-05-22 Thread Michel Erard
hi carlos, did you made an import like this "importClass(Packages.ch.bfh.hti.elquerito.User);" in your flowscript file? regards, Mike Am 22.05.2005 um 19:07 schrieb Carlos M. S. Bento Nogueira: Hello! I'm using cocoon 2.1.7 on tomcat 5.5 and in my flowscript when i do: cocoon.getCompone

I18n-Message in validation message

2005-05-23 Thread Michel Erard
Hello, I've a form with validatet fields like this: 00011 i18n:catalogue="errors">ERROR_RESTRICTION_LENGTH

date convertor in binding

2005-05-25 Thread Michel Erard
Hello, I've the problem that the convertor in my binding only works in one direction (Object --> Form). When I save back the input from my form into the object, the Date is passed as String like 01.01.2005 and not as Date Object. "http://apache.org/cocoon/forms/1.0#binding"         xmln

Problem with axis running in cocoon

2005-11-03 Thread Michel Erard
Hi, im running a webservice in cocoon and have some problems with the generated client stub.the generated bindingStub.java contains following code:if (super.cachedEndpoint == null) {             throw new org.apache.axis.NoEndPointException();         }         org.apache.axis.client.Call _call = c

Re: forms with ajax and cinclude

2007-09-25 Thread Michel Erard
Hello, thanks for this hint. It solved my problem. Regards, Mike -- Original Message -- From: Jason Johnston <[EMAIL PROTECTED]> Reply-To: users@cocoon.apache.org Date: Sat, 22 Sep 2007 08:31:05 -0600 >cocoon.erard wrote: >> Hi, >> >> I've another

Re: Continuation.suspend(); does not stop

2007-10-02 Thread Michel Erard
thanks for your hint Torsten, I've now added: to my Sitemap. Now, I've the error: java.lang.IllegalStateException: stack corruption. Is class org.apache.cocoon.components.flow.java.Invoker instrumented for javaflow? at org.apache

Re: Continuation.suspend(); does not stop

2007-10-08 Thread Michel Erard
Reply-To: users@cocoon.apache.org Date: Thu, 4 Oct 2007 20:19:02 +0200 >Hey, Mike > >I haven't used this for a while. In theory you would not have to care >about the invoker. >Are you just trying to get the examples working? ...and they don't? > >cheers >-- >T

counter in jx:foreach

2007-10-08 Thread Michel Erard
Hello, I'm implemented this loop with jx: http://apache.org/cocoon/templates/jx/1.0";> ${item} : ${counter} function home() { var list = new ArrayList(); list.add("test 1"); list.add("test 2"

Re: counter in jx:foreach

2007-10-08 Thread Michel Erard
Thank you Felix, I didn't know this 'varStatus'. Now it's working correctly. Cheers, Mike -- Original Message -- From: Felix Knecht <[EMAIL PROTECTED]> Reply-To: users@cocoon.apache.org Date: Mon, 08 Oct 2007 15:09:06 +0200 >Ciao Michel > > >Somethin

Re: Continuation.suspend(); does not stop

2007-10-09 Thread Michel Erard
ss >and replace the original from the javaflow block. Then report back :) > >cheers >-- >Torsten > >On 08.10.2007, at 10:18, Michel Erard wrote: > >> Good Morning, >> >> I've tested with the version in trunk and with the examples I've >> th

Re: Continuation.suspend(); does not stop

2007-10-16 Thread Michel Erard
ck >> use ant with the commmons-javaflow ant task >> jar the block >> >> On 09.10.2007, at 09:42, Michel Erard wrote: >> >>> Mhh... there is no build file. >>> >>> Mike >>> >>> >>> -- Original Message

Re: Re: Cocoon 2.2 - Webapp without blocks

2007-10-18 Thread Michel Erard
Hi Hugh, How did you define your Sitemap-Servlet? Try something like this in applicationContext.xml: Regards, Mike -- Original Message -- From: "Hugh Sparks" <[EMAIL PROTECTED]> Reply-To: users@cocoon.apache.org Date: Wed, 17 Oct

Re: Re: Cocoon 2.2 - Webapp without blocks

2007-10-18 Thread Michel Erard
-- Original Message -- From: "Hugh Sparks" <[EMAIL PROTECTED]> Reply-To: users@cocoon.apache.org Date: Thu, 18 Oct 2007 21:07:16 +0900 >- Original Message - >> Michel Erard suggests: >> Try somethi

http-proxy and forms/ajax

2007-10-18 Thread Michel Erard
Hello, I've a problem, when I use a http-proxy in front of my cocoon-application, the browser cannot get the javascript files from forms and ajax block. In my pipeline I've defined like this: if use the application direct width jetty (localhost:/myApp), it is runnin

AW: Continuation.suspend(); does not stop

2007-10-23 Thread Michel Erard
Hi Torsten, sorry I didn't have the time to try :-(, but I'll tell you, if Your hints were helpfull. Thanks, Mike -Ursprüngliche Nachricht- Von: Torsten Curdt [mailto:[EMAIL PROTECTED] Gesendet: Di 23.10.2007 01:18 An: users@cocoon.apache.org Betreff: Re: Continuation.suspend(); doe

AW: http-proxy and forms/ajax

2007-10-23 Thread Michel Erard
's my second post to this subject, but I've little trouble with my mailserver ;-) -Ursprüngliche Nachricht----- Von: Michel Erard [mailto:[EMAIL PROTECTED] Gesendet: Fr 19.10.2007 10:10 An: users@cocoon.apache.org Betreff: http-proxy and forms/ajax Hello, I've a problem, whe

AW: http-proxy and forms/ajax

2007-10-23 Thread Michel Erard
So... I've still this Problem. Without Proxy I have the script sources definded in my html as:

AW: AW: http-proxy and forms/ajax

2007-10-29 Thread Michel Erard
ECTED] Gesendet: Sa 27.10.2007 10:11 An: users@cocoon.apache.org Betreff: Re: AW: http-proxy and forms/ajax Michel Erard pisze: > So I've found a solution, I have to add additional configurations to my > proxy, for forms and ajax: > > >ProxyPasshttp://localho

AW: own widget

2007-11-08 Thread Michel Erard
7 15:30 An: users@cocoon.apache.org Betreff: Re: own widget Michel Erard pisze: > Hi, > > I'd like do implement an own widget, where the label is a link that opens a > help page. > > Is it possible to implement a new widget, outside of the cocoon-forms block > or do I hav

own widget

2007-11-08 Thread Michel Erard
Hi, I'd like do implement an own widget, where the label is a link that opens a help page. Is it possible to implement a new widget, outside of the cocoon-forms block or do I have to extend this block? Is there a small tutorial, which classes I have to implement/overwrite? Regards, Mik

AW: AW: own widget

2007-11-08 Thread Michel Erard
I already tested the trunk version of forms block and the only thing that changed for uses was that all 'class' attributes are replaced by 'ref' and take a spring bean as argument. And there is a new spring config file in the forms block of course. What do you think about a new Datatype 'objec

getting session in AbstractJavaSelectionList

2007-11-09 Thread Michel Erard
Hello, I need access to session attributes in a subclass of AbstractJavaSelectionList. Can I get the session with Spring or a factory? Cheers, Mike <>- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

suggestion list combobox

2007-11-13 Thread Michel Erard
Hello, I'd like to use a suggestion list in my application. Is it possible to change the rendering of the suggest combobox? Use an own css? Regards, Mike <>- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional command

AW: AW: own widget

2007-11-14 Thread Michel Erard
xed part', something like '/myhelppages/' + a variable part linked to the id of the record. Where the id of the record is a part of the object model, known within the form (as a hidden field) & accessible in the stylesheet. I know this may seem complicated, and if inte

AW: AW: own widget

2007-11-14 Thread Michel Erard
PS: I use Version 2.2 :-) Von: Michel Erard Gesendet: Mi 14.11.2007 15:28 An: users@cocoon.apache.org Betreff: AW: AW: own widget Hi Bart, how did you catch the label in your xsl transformation? In forms-field-styling.xsl we have

changing dojo look and feel

2008-01-03 Thread Michel Erard
Hello, first: A happy new Year to everyone! I'm a big fan of the suggestion list, integrated to cforms with dojo. Now the look of the widget is not exactly like the look of the other widgets. The border is black, and only visible on top and on the left side. Is it possible to change the beh

No Interpreter set in FOM_Cocoon

2008-01-25 Thread Michel Erard
Hello, I'm using cocoon 2.2 and the suggestion list widget. For the ajax combo I turned off the autocompletion. Now sometimes I have a NullPointerException in the class FOM_Cocoon in Method: public void forwardTo(...) in line 718 the method getInterpreter() returns null. But not all the

AW: No Interpreter set in FOM_Cocoon

2008-01-25 Thread Michel Erard
Ok, I've found some more Information. If I select an Entry oft he suggestion list and use Tab to confirm, I receive the described Error. If I use Enter all is ok. Von: Michel Erard Gesendet: Freitag, 25. Januar 2008 11:18 An: users@cocoon.apache.org Betreff: No Interpreter s

Listeners in Datefield

2008-02-05 Thread Michel Erard
Hello, I've another ajax problem. I've a field with a date picker. Now, to the field is added a listener that deletes the content of another field, if a date is choosed. the generated html is: So the problem is, that the listener is only called, if I choose a Date, click into the Field and

validation Errors on tabs

2008-02-15 Thread Michel Erard
Hello, I use a complex form with a lot of widgets. To make it a bit more user friendly I've made different groups and styled them as tabs. The Problem is, if the user is on tab 2, submits the form and there is an error on tab 1, he doesn't recognize. Except he navigates himself to the tab. Is

AW: validation Errors on tabs

2008-02-17 Thread Michel Erard
Michel, just try in your CForms template. This lists all validation errors. HTH, Florian Michel Erard wrote: > Hello, > > > > I use a complex form with a lot of widgets. To make it a bit more user > friendly I've made different groups and styled them as tabs. T

AW: AW: validation Errors on tabs

2008-02-18 Thread Michel Erard
rrors on tabs Michel Erard wrote: > But this does only work, when ajax is set to false for the form? Is that > correct? > I dunno, it's a year ago I used it. Just give it a try. And report :-) Bye, Florian - To

AW: AW: validation Errors on tabs

2008-02-18 Thread Michel Erard
: AW: validation Errors on tabs Michel Erard schrieb: > Ah yes, thank you. > > But this does only work, when ajax is set to false for the form? Is that > correct? > I think so, yes. See also https://issues.apache.org/jira/browse/COCOON-1570

Notify when session gets invalid

2008-03-13 Thread Michel Erard
Hello, Is it possible to get notified by cocoon, when the session gets invalid? Or do I use the common interface provided by the servlet engine? I've implemented an action to logout, but what if the users does not use the logout button and the session is destroyed when the timeout expires?

Cocoon Performance Tips

2008-03-20 Thread Michel Erard
Hello, Are there already some performance tips with cocoon 2.2, or are thy more or less equal to the older versions? Or is it more important to look at some how-tos on the spring site? Thanks and Happy Easter J Mike

Problem with Proxy

2008-04-16 Thread Michel Erard
Hello, Im using cocoon 2.2 and have currently some problems, if there is a proxy in front of my application. The application is deployed in a jetty and in my environement I'm usinga a apache httpd as proxy in front of the application with this configuraion: ProxyPasshttp://localho

Problem in flow

2008-06-23 Thread Michel Erard
Hello, I've a site with a flow like this: on a search mask a user can enter some conditions --> after the results are shown in a list --> there the user can choose one and de detail is displayed. Every step on a different page. On every of these pages, the user can change the langauge. For thi

Re: Cocoon22 - core.properties and modes with Tomcat

2008-06-24 Thread Michel Erard
Hi Hugh, you can set the system property org.apache.cocoon.mode while startup -Dorg.apache.cocoon.mode=prod Regards, Mike Am Mittwoch, den 25.06.2008, 01:30 +0200 schrieb Hugh Sparks: > org.apache.cocoon.mode - To unsubscr

AW: Simple cocoon distribution

2008-07-22 Thread Michel Erard
Hi, That's a good idea. I also thought on a small sample app. Perhaps with a sample layout, menu concept to handle this in a generic way, security (possibility to login), some sample Service Classes to get Data with java, ... but unfortunately I didn't have the time till now :-( Regards, M

New line in String passed to the form

2008-07-22 Thread Michel Erard
Hello, I pass a String as parameter to my form. The string contains some "java new lines". For example "foo \n bar". Now I'd like that the new lines are replaced by tags in the generated html code. I'd tried with ${text} and How can I do this? Thanks, Mike ---

Bufferoverflow in AbstractCachingProcessingPipeline

2008-11-26 Thread Michel Erard
Hello, In our productive environment we currently have a lot of exception loggings in our cocoon.log. Does someone see, what's going wrong? Caused by: java.nio.BufferOverflowException at java.nio.DirectByteBuffer.put(DirectByteBuffer.java:311) at org.mortbay.io.nio.NI

BufferOverflow in

2008-11-26 Thread Michel Erard
Hello, In our productive environment we currently have a lot of exception loggings in our cocoon.log. Does someone see, what's going wrong? Caused by: java.nio.BufferOverflowException at java.nio.DirectByteBuffer.put(DirectByteBuffer.java:311) at org.mortbay.io.nio.NI

changing Language within flow

2009-01-05 Thread Michel Erard
Hi, I've a problem with my page flow when the user changes the language. I show a search site, where the user can make the query, he submitts and a page with the found items is showed. There he can choose one an becames a detailed view. Nothing special. On every of these three pages, I have s

Custom validation-message.gif

2009-03-06 Thread Michel Erard
Hello, Is it possible to replace the validation-message.gif of cocoon forms in an easy way? Thanks, Mike