Re: Processing checkboxes from a form via flowscript

2007-05-31 Thread johnson
Please see the issue I post in http://issues.apache.org/jira/browse/COCOON-1900 it's fix in 2.1.10, If you use early version, please fix it by yourself.(by fixing the form-field-styling.xsl). Best Regards johnson hsu Derek Hohls ??: Cocoon 2.1.8 I'm using flowscript to create a form, tha

RE: Applet in portal coplet

2007-05-31 Thread Jeroen Reijn
Hi Bary, you can set the log levels in the logkit.xconf in your cocoon/WEB-INF/ directory. Kind regards, Jeroen Reijn -Original Message- From: bary [mailto:[EMAIL PROTECTED] Sent: Thu 31-5-2007 21:20 To: users@cocoon.apache.org Cc: Subject:Re: Applet in portal cop

Re: Forms Validator Number Format Exception

2007-05-31 Thread Giuseppe Di Pierri
ASFAIK, form-validator is no longer maintained, even if this would be a bug. I suggest you to use CForm instead: it is more powerful and flexible. bye pino On 31/05/07, Jeff Sallade <[EMAIL PROTECTED]> wrote: Hi, does anyone have some more specifics on how to use the "form-validator" action wit

Re: How to suppress xmlns:jx attribute in output of JXTemplate generator?

2007-05-31 Thread Giuseppe Di Pierri
On 31/05/07, Giuseppe Di Pierri <[EMAIL PROTECTED]> wrote: On 31/05/07, Christian Schlichtherle <[EMAIL PROTECTED]> wrote: > > > > Hi, > > I have an XSL stylesheet which needs to be preprocessed with JXTemplate so > that the resulting sheet strictly conforms to XSL 1.0 (so it can be > processed b

Re: How to suppress xmlns:jx attribute in output of JXTemplate generator?

2007-05-31 Thread Giuseppe Di Pierri
On 31/05/07, Christian Schlichtherle <[EMAIL PROTECTED]> wrote: Hi, I have an XSL stylesheet which needs to be preprocessed with JXTemplate so that the resulting sheet strictly conforms to XSL 1.0 (so it can be processed by some recent browsers). The stylesheet looks like this: http://www.w

Re: Applet in portal coplet

2007-05-31 Thread bary
Hi Andreas, can you tell me how should I set the log level for the category 'sitemap' up to 'DEBUG'? Andreas Kuehne-2 wrote: > > Hi Bary, > > try to set the log level for the category 'sitemap' up to 'DEBUG' . > > Next time you call into the server the sitemap log will give you detailed > i

Forms Validator Number Format Exception

2007-05-31 Thread Jeff Sallade
Hi, does anyone have some more specifics on how to use the "form-validator" action with a descriptor file that contains parameters having type="long" in conjuction with the min and max attributes specified? I have a parameter in my descriptor file as follows: The data passed in as a request pa

How to suppress xmlns:jx attribute in output of JXTemplate generator?

2007-05-31 Thread Christian Schlichtherle
Hi, I have an XSL stylesheet which needs to be preprocessed with JXTemplate so that the resulting sheet strictly conforms to XSL 1.0 (so it can be processed by some recent browsers). The stylesheet looks like this: http://www.w3.org/1999/xhtml> http://www.w3.org/1999/xhtml"; xmln

Re: Applet in portal coplet

2007-05-31 Thread Andreas Kuehne
Hi Bary, try to set the log level for the category 'sitemap' up to 'DEBUG' . Next time you call into the server the sitemap log will give you detailed information which matcher solves your request ( or wich didn't ! ) and you can track down your problem. I would bet that you see completely wro

Re: Cocoon / Hibernate revisited

2007-05-31 Thread Baptiste Placé
Johannes, url-patterns of servlet mapping are indeed very constraining. No real wildcard neither regexp. Changing the url to add one '/' had some side effects which are quite annoying (problem with continuation url and resources finding). Right now I'm trying to make an EmptyFilter for css, js

Re: Processing checkboxes from a form via flowscript

2007-05-31 Thread Baptiste Placé
Hi Derek, In my flowscript, I use following code to store form values in a HashMap : function fill_formData(){ formData = new java.util.HashMap(); formData.put("typeNode", form.getChild("SO_ST_selection").getValue()); formData.put("tyappli", form.getChild("procedure_type").getValue());

Processing checkboxes from a form via flowscript

2007-05-31 Thread Derek Hohls
Cocoon 2.1.8 I'm using flowscript to create a form, that consists of variable number of checkboxes: var theForm = new Form("cocoon:/myform-create.xml"); theForm.showForm("rep/myform-display"); var nmodel = theForm.getModel(); var theValues = Array(); Now I need to process all

Re: Re: Cocoon / Hibernate revisited

2007-05-31 Thread Johannes Textor
Hi Baptiste, how is your "filter-mapping" defined in web.xml ? This looks like you map the filter to all URLs, including images, css, non-database-dependent HTML and so on ... you should map the filter only to those URLs which actually use the hibernate session. This is a little difficult, tho

Re: Cocoon / Hibernate revisited

2007-05-31 Thread Baptiste Placé
Johannes, I have successfully refactored my code with your last update of the wiki article. Really clean and elegant. I'm having one behavior I don't understand. After starting tomcat, when I browse the homepage of my webapp, where no request are made on the database, I get this : hibernate.

RE: Cannot access sitemap parameters using Velocity and JXTemplate

2007-05-31 Thread Jeroen Reijn
Hi Christian, yes you are right. This seems to be a problems since the introduction of the new jx template generator. Kind regards, Jeroen Reijn -Original Message- From: Christian Schlichtherle [mailto:[EMAIL PROTECTED] Sent: Thu 31-5-2007 5:07 To: users@cocoon.apache.org Cc:

Re: Cocoon / Hibernate revisited

2007-05-31 Thread Baptiste Placé
Hi Tricia, I would add to Johannes' answer those advantages of DAOs (http://java.sun.com/blueprints/patterns/DAO.html) : The Data Access Object (or DAO) pattern: * separates a data resource's client interface from its data access mechanisms * adapts a specific data resource's acce

Re: Cocoon Productivity

2007-05-31 Thread Niels van Kampenhout
Fergus McMenemie wrote: I have not seen anyone else pointing it out, but after a day or two I was really struck by the fact that conceptually pipelines are not pipelines in any common understanding of the term; rather matchers are the pipelines! I know what you mean, here in our office every

Re: Continuations with dynamically created forms?

2007-05-31 Thread Niels van Kampenhout
Derek Hohls wrote: That works now - only issue is that the continuation no. has a "}" at the end - is this a problem: You can leave the last '}' out, I think it was a typo in my earlier reply :-) Regards, Niels - To unsubs