AW: [ANN] Apache Cocoon 2.3.0 Released

2023-11-28 Thread Christofer Dutz
Anyone sharing this on LinkedIn and X? Chris Von: Cédric Damioli Datum: Dienstag, 28. November 2023 um 14:17 An: users@cocoon.apache.org , d...@cocoon.apache.org , annou...@apache.org Betreff: [ANN] Apache Cocoon 2.3.0 Released Apache Cocoon 2.3.0 Released -

AW: Re: XSLT is Dead ?!

2009-04-24 Thread Christofer Dutz
Hi, I have to confirm the first part of your post. I have been using Cocoon since 1.0.8 (I think) ... those were the times with processing-instructions, plain-xsp and no sitemap whatsoever and have used it in a number of projects verry successfuly. Currently I am considering using other

AW: Re: XSLT is Dead ?!

2009-04-24 Thread Christofer Dutz
at 03:27, in message 202a1a1e28af7c42be78cc28cf94a27501f6a92...@cwareserver1.intern.c-ware.de, Christofer Dutz christofer.d...@c-ware.de wrote: Hi, I have to confirm the first part of your post. I have been using Cocoon since 1.0.8 (I think) ... those were the times with processing-instructions

AW: Custom validation-message.gif

2009-03-06 Thread Christofer Dutz
Hi Mike, It was pretty easy to modify this. By using the following pipeline, I used an alternate svg-xsl transformation. You just have to make sure that you pass the correct value attribute to do the output. In my case all I had to do to block any attacker, was to add a leading letter to the

AW: [HOWTO WANTED] APP migration from Cocoon 2.1 to Cocoon 2.2

2009-03-02 Thread Christofer Dutz
Hi Vanja, maybe my documentation, I published a few days ago will help you get a better idea of how Cocoon 2.2 works. I would greatly appreciate some feedback on how I could improve the document. I updated the documentation of the build and some problems with this yesterday, so it should be

AW: problem with this line?

2009-02-24 Thread Christofer Dutz
Hi Paul, one of the things I have learned, when dealing with Cocoon was, never to trust the actual error message ... or, when thinking about try-catch blocks inside finally blocks in my Java Flow, not even to try to understand them ;-) I would guess your original code was fine. I would tip on

AW: Cocoon 2.1.11--Scheduler with name Cocoon already exists.

2009-02-23 Thread Christofer Dutz
Hi Paul, I guess one or more components in your cocoon.xconf are failing during cocoon startup. I ran into this problem quite some times. As soon as a component fails, Cocoon does a second initialization of all components. It seems the scheduler isn't correctly shut down prior to reinitializing.

AW: AW: Cocoon 2.1.11--Scheduler with name Cocoon already exists.

2009-02-23 Thread Christofer Dutz
a clue though. rgds Paul Christofer Dutz wrote: Hi Paul, I guess one or more components in your cocoon.xconf are failing during cocoon startup. I ran into this problem quite some times. As soon as a component fails, Cocoon does a second initialization of all components. It seems the scheduler

AW: CForms Serialization

2009-01-21 Thread Christofer Dutz
Hi Ralph, it should be possible, if you extract the data from the form and persist that. I think you could add a parameter to a submit-widget to not validate the form (this would be the easiest way), this way you can return to your flowscript or javaflow and continue processing. Alternatively

AW: AW: CForms Serialization

2009-01-21 Thread Christofer Dutz
for the integer widget which automatically tries to validate it and returns null if that value is not an integer - so the output of the binding for that widget will be empty Thanks. Christofer Dutz wrote: Hi Ralph, it should be possible, if you extract the data from the form and persist

AW: AW: C2.2 with CForms, JavaFlow and JPA (Hibernate)

2009-01-05 Thread Christofer Dutz
: Samstag, 3. Januar 2009 17:53 An: users@cocoon.apache.org Betreff: Re: AW: C2.2 with CForms, JavaFlow and JPA (Hibernate) Christofer Dutz pisze: Hi Luca, first of all ... thanks for your response. I switched from FlowScript to JavaFlow about two years ago ... JavaFlow seems to use some

AW: AW: AW: C2.2 with CForms, JavaFlow and JPA (Hibernate)

2009-01-03 Thread Christofer Dutz
? Chris -Ursprüngliche Nachricht- Von: news [mailto:n...@ger.gmane.org] Im Auftrag von Luca Morandini Gesendet: Freitag, 2. Januar 2009 20:42 An: users@cocoon.apache.org Betreff: Re: AW: AW: C2.2 with CForms, JavaFlow and JPA (Hibernate) Christofer Dutz wrote: first of all thanks for your

AW: AW: C2.2 with CForms, JavaFlow and JPA (Hibernate)

2008-12-31 Thread Christofer Dutz
document, if there is an interest in it. Currently It sould nicely help newbies. Chris -Ursprüngliche Nachricht- Von: Christofer Dutz [mailto:christofer.d...@c-ware.de] Gesendet: Freitag, 19. Dezember 2008 16:40 An: users@cocoon.apache.org; lmorand...@ieee.org Betreff: AW: AW: C2.2

AW: C2.2 with CForms, JavaFlow and JPA (Hibernate)

2008-12-19 Thread Christofer Dutz
Nachricht- Von: news [mailto:n...@ger.gmane.org] Im Auftrag von Luca Morandini Gesendet: Freitag, 19. Dezember 2008 09:29 An: users@cocoon.apache.org Betreff: Re: C2.2 with CForms, JavaFlow and JPA (Hibernate) Christofer Dutz wrote: The basic Setup I use in my projects at the moment is: Cocoon

AW: AW: C2.2 with CForms, JavaFlow and JPA (Hibernate)

2008-12-19 Thread Christofer Dutz
. Chris -Ursprüngliche Nachricht- Von: news [mailto:n...@ger.gmane.org] Im Auftrag von Luca Morandini Gesendet: Freitag, 19. Dezember 2008 14:05 An: users@cocoon.apache.org Betreff: Re: AW: C2.2 with CForms, JavaFlow and JPA (Hibernate) Christofer Dutz wrote: Hi Luca, first of all

C2.2 with CForms, JavaFlow and JPA (Hibernate)

2008-12-18 Thread Christofer Dutz
Hi, last night I had my fifth attempt to setup the Web-Frontend of one of my projects with Cocoon 2.2. After successfully using C2.1 and below in project for about 8 years, I wanted to make the step towards C2.2 After 16 hours I simply quit and went back to a standard Spring 2 + JSF(Faclets)

AW: [C2.2] Problem after Hosting Block

2008-10-22 Thread Christofer Dutz
Hi Matthias, As I remember, if you want to use Saxon in Cocoon, you have to modify the jar-file you can download from the Saxon guys. In my FAQ document (Whenever I run into a problem and find a solution, I document it for myself) I noted, that you have to remove the classes contained in the

AW: styling a cforms dojo combobox (suggestion-list)

2008-10-21 Thread Christofer Dutz
Hi, I had similar Problems, I managed to solve them by two steps: 1. Install some tool to display which CSS Styles are active in the Element underneath the Mouse-Pointer (Firbebug, IE Developer Toolbar, .) 2. Replace the CSS file provided in the dojo-rsc-jar by a custom one

AW: AJAX in CForms... not that simple?!

2008-10-15 Thread Christofer Dutz
Hi Derek Well I can help you with the resources ;-) They are located in jar-files. Depending on the resources you are using Cocoon-forms-block.jar: org.apache.cocoon.forms.resources.* Dojo-rsrc-xxx.jar: org.apache.cocoon.dojo.rerources.* I usually make them available using the following

AW: AW: AW: AJAX in CForms... not that simple?!

2008-10-15 Thread Christofer Dutz
/javascriptcocoon.forms.ajax = true;/script I suppose that if there no AJAX set, then nothing else will work. But how does this help me find out what is missing? Thanks Derek On 2008/10/15 at 03:03, in message [EMAIL PROTECTED], Christofer Dutz [EMAIL PROTECTED] wrote: Hi Derek, to sort out my resource

AW: AW: AJAX in CForms... not that simple?!

2008-10-15 Thread Christofer Dutz
, Christofer Dutz [EMAIL PROTECTED] wrote: Hi Derek Well I can help you with the resources ;-) They are located in jar-files. Depending on the resources you are using Cocoon-forms-block.jar: org.apache.cocoon.forms.resources.* Dojo-rsrc-xxx.jar: org.apache.cocoon.dojo.rerources.* I usually make them

AW: pass repeater to the database using javaflow

2008-10-10 Thread Christofer Dutz
Hi, Well I have never used RepeaterAsList so I can't really say what type the elements are, but in the Web I could find: A List view of a http://www.jdocs.com/link/org/apache/cocoon/forms/formmodel/Repeater.html Repeater , each element of the list being a Map wrapping a repeater row, as

AW: Cocoon become very slow on load

2008-10-08 Thread Christofer Dutz
Hi Thorsten, I had similar problems with one of my applications. At first the application gets slower and slower and CPU and Memory usage sort of explodes and all of a sudden the entire application locked up. I traced the cause of my problem back to the following: Tomcat (and Bea wasn't much

AW: JavaFlow in Cocoon 2.2

2008-08-14 Thread Christofer Dutz
Well I had a look at list several times ... even if it might not be stable (The C2.1 was awfully buggy ... but if you knew how to deal with the bugs, it worked very well). Any help on how to get this block up and running? As I said I'm just starting to understand Maven and how to work with it.

AW: AW: JavaFlow in Cocoon 2.2

2008-08-14 Thread Christofer Dutz
Hi Torsten, after having another close look at my cocoon 2.2 trunk build, I could see, that the build of allBlocks was successful, but the javaFlow block was not build because of the missing dependency you were talking about. I think it's really great, that we have to use Maven to get rid of

AW: AW: AW: JavaFlow in Cocoon 2.2

2008-08-14 Thread Christofer Dutz
is currently based upon JavaFlow. Chris -Ursprüngliche Nachricht- Von: Torsten Curdt [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 14. August 2008 17:15 An: users@cocoon.apache.org Betreff: Re: AW: AW: JavaFlow in Cocoon 2.2 On Aug 14, 2008, at 16:05, Christofer Dutz wrote: Do I

AW: Guide to JavaFlow

2008-08-14 Thread Christofer Dutz
as dependency Well … I guess I’ll have to check if everything works and if the failed Tests have any unpleasant effect … but I guess only time will tell. Hope this helps anyone Chris [ C h r i s t o f e r D u t z ] C-Ware IT-Service Inhaber Dipl. Inf. Christofer Dutz Karlstraße. 104

AW: how to pass params from flowscript to the widget

2008-08-05 Thread Christofer Dutz
Hi, you can set Attributes on CForms Widgets or maybe Fields, I know that I use these a lot to pass additional Information from JavaFlow to the Form. fd:field id=density required=true fd:labelDensity/fd:label fd:datatype base=decimal/

AW: AW: how to pass params from flowscript to the widget

2008-08-05 Thread Christofer Dutz
!!! Christofer Dutz-3 wrote: Hi, you can set Attributes on CForms Widgets or maybe Fields, I know that I use these a lot to pass additional Information from JavaFlow to the Form. fd:field id=density required=true fd:labelDensity/fd:label

AW: xml in string in jxtemplate

2008-07-17 Thread Christofer Dutz
Hi Philippe Try using the new org.apache.cocoon.template.JXTemplateTransformer in combination with the jx:out value=${res.xmlstring} xmlize=true/ That should do the trick ;) Chris -Ursprüngliche Nachricht- Von: Philippe LAPLANCHE [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 17.

AW: xml in string in jxtemplate

2008-07-17 Thread Christofer Dutz
I use this since Cocoon 2.1.9 ... so I think this is simply not true ;-) -Ursprüngliche Nachricht- Von: Philippe LAPLANCHE [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 17. Juli 2008 08:55 An: users@cocoon.apache.org Betreff: RE: xml in string in jxtemplate I just found this and

AW: Change widget label in action listener

2008-07-17 Thread Christofer Dutz
Hi Gary, I just had a look at your problem since the question sounded interesting. I think I have to disappoint you here. The label stuff is dealt with not in the Widget itself, but the WidgetDefinition class, which is used to encapsulate the form-definition. As far as I could see it the

Long delay for Newsgroup Messages

2008-07-04 Thread Christofer Dutz
Hi, I was wondering, why mails sent to this newsgroup take so long for delivery. My messages take about half a day to be posted. Why is this so? Chris [ C h r i s t o f e r D u t z ] C-Ware IT-Service Inhaber Dipl. Inf. Christofer Dutz Karlstraße. 104, 64285 Darmstadt fon: 0 61 51

AW: [english 92%] Access Cocoon User-Object from outside Cocoon?

2008-07-04 Thread Christofer Dutz
this helps anyone. Chris Von: Christofer Dutz [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 3. Juli 2008 13:01 An: users@cocoon.apache.org Betreff: [english 92%] Access Cocoon User-Object from outside Cocoon? Hi, I am currently optimizing an application I have developed and am

Access Cocoon User-Object from outside Cocoon?

2008-07-03 Thread Christofer Dutz
Cocoon this is absolutely no problem, but I am struggling to do this from outside Cocoon. Has anyone done this before and could give me a hint at how to do this? Chris [ C h r i s t o f e r D u t z ] C-Ware IT-Service Inhaber Dipl. Inf. Christofer Dutz Karlstraße. 104, 64285 Darmstadt

AW: ajax partial page update after submit form from flowscript

2008-06-27 Thread Christofer Dutz
Hi Pavel, I guess you could do this by defining a div/span whatsoever with an id and manually send back a bu:replace for that id. I guess this should work. Have always used this to update things in parallel to form updates. Have never tried sending this as response after finishing the form

AW: include css

2008-06-13 Thread Christofer Dutz
Hi, Did you setup a pipeline for serving the css file in your sitemap? You have to add something like this: map:match pattern=internal/style/style-main.css map:read src=internal/style/style-main.css/ /map:match ... or use *, ** and {1},{2} if you want it a little more general ;-) Hope

Cocoon and Cometd

2008-06-11 Thread Christofer Dutz
-Ware IT-Service Inhaber Dipl. Inf. Christofer Dutz Karlstraße. 104, 64285 Darmstadt fon: 0 61 51 / 27315 - 61 fax: 0 61 51 / 27315 - 64 mobil: 0171 / 7 444 2 33 email: mailto:[EMAIL PROTECTED] [EMAIL PROTECTED] http://www.c-ware.de/ http://www.c-ware.de FA Darmstadt: 07 813 60581

Re: flowscript vs javaflow - pros and cons?

2007-12-13 Thread Christofer Dutz
Even if this thread might be a little old, I thought I shoud give my feedback on this. I am currently usinf JavaFlow in two big Projects. The first one is a fully equipped logistic portal for a big German logistic company The second is an Internet Community (http://www.technoclub.tc) The

Re: [Exist-open] problem while processing large xmls

2007-10-22 Thread Christofer Dutz
Hi, I think you might be experiencing a problem with the memorymanager of your java virtual machine. The problem with this ist, that everytime the VM increases the amount of allocated memory, it expects this to be in one block. Whenever there is no unfragmented block able to contain all the VM

Re: [Exist-open] problem while processing large xmls

2007-10-22 Thread Christofer Dutz
Uuups ... sorry for posting to the wrong mailinglist. Seems that I setup my mail-filters a litte wrong ;) Christofer Dutz schrieb: Hi, I think you might be experiencing a problem with the memorymanager of your java virtual machine. The problem with this ist, that everytime the VM increases

Re: ajax request and another cform in the same page

2007-06-12 Thread Christofer Dutz
:) direct js ajax request + no cform on the page = ok direct js ajax request + 1 cform on the page = bug cform ajax request + 1 cform on the page = ok cform ajax request + 2 cform on the page = bug Marc 2007/5/14, Christofer Dutz [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]: Hi Marc, do

Re: R: Convert to java flow?

2007-06-12 Thread Christofer Dutz
Hi Leonardo, I have just finished a project in which I switched from Flowscript to JavaFlow to avoid the Rhino Problems in Weblogic and I have to say it works quite well. Unfortunately I have found some bugs in the Java-Flow implementation. If you want to use ajax-cform widgets that use

Fixed TimeToLive of JavaFlow Continuations

2007-06-12 Thread Christofer Dutz
Hi, I was currently analysing some of my customers bug reports and in the course of this had to find out that there is a small bug in the JavaFlowInterpreter code. The parameter timeToLive is fixed to 60 with no possibility of changing this. If I should supply a patch, I willl gladly do

Re: Fixed TimeToLive of JavaFlow Continuations

2007-06-12 Thread Christofer Dutz
the ttl is fixed anyway. Chris Torsten Curdt schrieb: This has been brought up already a couple of times ...go for it cheers -- Torsten On 12.06.2007, at 11:05, Christofer Dutz wrote: Hi, I was currently analysing some of my customers bug reports and in the course of this had to find out

Re: ajax request and another cform in the same page

2007-05-14 Thread Christofer Dutz
Hi Marc, do I understand your problem correct, that you have two forms on your page? This can be a problem. Since having a deeper cook into JavaFlow I could see, that the form instance is bound to an AvalonContext with a fixed Name. This means, that one FormInstance should overwrite the other

Re: Preselected items fd:multivaluefield

2007-05-10 Thread Christofer Dutz
Hi Amon, try setting the widgets value to a komma-separated string list of values Chris Amon schrieb: Best Users, I wonder how i can multiple preselected items in a fd:multivaluefield widget? I have the following definition fd:multivaluefield id=theme fd:labelTheme:/fd:label

Re: Authenticating pipelines called from a cron job

2007-05-09 Thread Christofer Dutz
Hi Sanket, do I understand you correct. You want your cronjob to execute an external pipeline on the same cocoon instance the cron job is runing and want to prevent external users from accessing the same pipeline manually? Why not use an internal pipeline instead? You could create an

Problems with CForms when using JavaFlow

2007-05-09 Thread Christofer Dutz
Hi, I migrated my application from Flowscript to JavaFlow and so far everything is working fine. Everything except one thing: I was using a custom Generator for providing content for my suggestion lists. This doesn't seem to work anymore since I switched to JavaFlow. My first test was using

Re: Authenticating pipelines called from a cron job

2007-05-09 Thread Christofer Dutz
Is the Cron Job and the Pipeline handled by the same Cocoon instance? How are you calling your pipeline? Are you calling it using HttpClient or are you using internal methods? If you are calling a pipeline on the same system ... make your CronJob implement Servicable and use the

Re: Dynamic suggestion list

2007-05-05 Thread Christofer Dutz
answer ! About updating the list, do you mean using something like fd:selection-list src=cocoon:/mychoices.xml dynamic=true/ ? Or is it about changing the map:match pattern=_cocoon/forms/suggest part ? I'm quite interested about this, as the only information I've found is Christofer Dutz' idea (http

Re: use of validation transformer

2007-05-05 Thread Christofer Dutz
Argh ... I hate these double negations in the early morning ;) Sorry :) Christofer Dutz schrieb: Hi Ard, ... that's not quite right ;) I make quite some use of this. Our Cocoon Application communicates quite intensively with Webservices and it's great for validating input and output

Re: Cocoon Pipline Debuger Plugin for Eclipse

2007-05-02 Thread Christofer Dutz
and convenient, feel free to share. Regards, Joerg Heinicke a écrit : Hi Chris, this sounds really interesting. Maybe you can send this mail to the developer's mailing list as well. And the end you probably have to issue an entry in Jira. Thanks, Joerg On 24.04.2007 14:06, Christofer Dutz wrote

Re: Not loading MySQL Driver

2007-04-25 Thread Christofer Dutz
Hi Lally Are you sure your dburl is correct? I would rather think it would have to be dburljdbc:mysql://dev.iddl.vt.edu:3306/vto/dburl (The port part directly after the host.part, followed by the schema) Chris Lally Singh schrieb: Hey all, I'm using some cocoon 2.0-2.1 techniques in a block

Re: saparation of java code

2007-04-24 Thread Christofer Dutz
Sounds Good ;) Well I think I'll wait for this, since our current project is based on the ordinary 2.1.10 and I don't want to start any experiments here. The Idea was switching to JavaFlow and here this RCL would really come in handy ;) Chris Grzegorz Kossakowski schrieb: Christofer Dutz

Cocoon Pipline Debuger Plugin for Eclipse

2007-04-24 Thread Christofer Dutz
Hi, I just finished my first version of a very very simple Eclipse pulgin, which I can use for debuging my pipelines. Usually I inserted a map:serialize type=xml in the place I wanted to have a closer look at. Unfortunately - especially when dealing with ajax request - this breaks the

Re: R: R: Unable to get transformer handler on WebLogic

2007-04-20 Thread Christofer Dutz
Hmmm ... All I can say, is that I am using global variables in conjunction with prefer-web-inf but am using the newest official cocoon release ... maybe this is why I am not having your problems. Why don't you just try replacing the jars with newer ones? I rememder the Xml Parser Jars allways

Re: saparation of java code

2007-04-20 Thread Christofer Dutz
Hi, I just stumbled over your discussion.There is a RepositoyClassLoader available in Cocoon in which you can add additional classpath entries to your application. Unfortunately you can just add and not remove. This is why I didn't continue in this direction. There is also a Reloading

Enhanced execute pipeline to Dom from Flowscript

2007-04-18 Thread Christofer Dutz
(cocoon:/testpipeline, {param1: param1Value}); Any ideas and hints to how I can accieve this? Regards, Christofer Dutz - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Adobe Flex(MXML)/Flash apps via Cocoon?

2007-04-18 Thread Christofer Dutz
Hi Lincoln, interesting news :) I allready thought of building a Cocoon Flex Serializer and had a look at the flex compilers code in order to be inspired. Unfortunately It was far to complex to do this at home, after work. And there were some leagal doubts preventing me from continuing after

Re: R: Unable to get transformer handler on WebLogic

2007-04-18 Thread Christofer Dutz
Hi Leonardo, I am using Cocoon 2.1.10 on a Weblogic and all I had to add was the prefer-web-inf-classes option in the weblogic.xml I think the suggestion with renaming the other packages was an alternative to this and is only needed if you need access to the appserver-global classloader.

Re: Enhanced execute pipeline to Dom from Flowscript

2007-04-18 Thread Christofer Dutz
}); Any ideas and hints to how I can accieve this? Regards, Christofer Dutz - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED

Re: Executing piplines from code

2007-04-04 Thread Christofer Dutz
Tobia schrieb: Christofer Dutz wrote: Am I a little shy in the brain, if I don't understand a word? ;) LOL! I'm sorry, my editor decided to play tricks on me! Not sure how that happened... What I was saying is, I'd try using wget, curl or a similar commandline HTTP client to invoke Cocoon

Executing piplines from code

2007-04-03 Thread Christofer Dutz
Hi, I am curently working on an application which makes it nesecary to access cocoons pipelines to generate xml-documents. For example a cocoon cron-job has to write the output of a cocooon pipeline to the file system. At the moment I am using quite an ugly hack which saves a cocoon-object

Re: Executing piplines from code

2007-04-03 Thread Christofer Dutz
Am I a little shy in the brain, if I don't understand a word? ;) Greets, Chris Tobia schrieb: Christofer Dutz wrote: Is there a way to remote control cocoon in a nice way? ilent %s/\s\+$//ge |norm ``zz |endifget? Tobia

[AJAX] cocoon.ajax.periodicalUpdate and IE caching problems

2006-09-18 Thread Christofer Dutz
Hi, I had some problems using the internet explorer in conjunction with the periodicalUpdate functionality. Since nobody here seemed to be able to help me, I managed to find out myself. Maybe it helps anyone. You have to modify a file inside the cocoon-ajax-block.jar here the

[AJAX] cocoon.ajax.periodicalUpdate and IE caching problems

2006-09-05 Thread Christofer Dutz
Hi, I am currently playing around with the periodicalUpdate functionality from the Cocoon 2.1.9 samples. It seems to work quite well - on the first look. When using the Internet-Explorer only one first update is done. After that I have to manually clear the cache to trigger a new

AW: 2 Cocoon's One JVM

2006-09-05 Thread Christofer Dutz
Hi Doug, I would recommend striping all components from the build which offer services based upon sockets or exclusive file-access to single files. In a stripped down Cocoon, I dont see a reason for it not working. I even had up to 5 Cocoons running in multiple versions in one VM. If

AW: CForm Definition and CForm Template issue

2006-08-30 Thread Christofer Dutz
Hi Omar, I think you should use lookupWidget instead of getChild. getChild only gets you the direct child of the form-root. You could either write form.getChild(name).getChild(firstname).getValue(); Or form.lookupWidget(name/firstname).getValue(); Hope this helps. Regards, Chris [ c h r i

AW: Memory remains claimed after continuation expiration

2006-08-25 Thread Christofer Dutz
Hi Rob, There is a monitor utility shipped with almost every VM. This can show you the exact memory-usage. On one of the tabs there is a button to manually trigger a big garbage-collection. I would guess that you are having the same problems we were having some months ago. If this is

[CFORMS] Alternate Suggestion-List generation

2006-08-25 Thread Christofer Dutz
Hi, I would like to post an alternate way of generating suggestion lists. In our current project we had the need of generating context-sensitive suggestion-lists. Next to the context sensitivity, there were other things bothering us. While debugging everything we had a look at what

AW: How does the captcha valid. in forms work?

2006-08-07 Thread Christofer Dutz
Hi Marco As far as I understand it, the widget generates a string with the expected value and gives this an id. This is stored in the session. When rendering the widget to html an image with the name capcha-{id}.jpg is requested. Cocoon now takes this id to generate the image for that

AW: Custom class that runs when cocoon starts up

2006-08-07 Thread Christofer Dutz
Hi Sanket Well whenever I need a Cocoon service, I write an Avalon component, that implements the Startable interface. If you configure this in the cocoon.xconf it will be automatically started when cocoon starts. Here some code snippets: The implementation class: public class XmlDbServerImpl

AW: [CForms] Caching of suggestion-lists?

2006-08-03 Thread Christofer Dutz
Hi Reijn The communication is done server side and is partially custom built. The communication is done using simple on-value-change events defined for the widgets. The custom thing is that the suggestion-list generator can not generate context-sensitive lists. That is why I created my on

AW: on-value-changed not working on fields with suggestion list?

2006-08-02 Thread Christofer Dutz
on fields with suggestion list? Christofer Dutz escribió: Hi, I am having some trouble with fields with suggestion-lists. If I add a on-value-changed element to the widget containing a simple print() statement this is only called if ajax is turned off. As soon as the field transforms into one

AW: on-value-changed not working on fields with suggestion list?

2006-08-02 Thread Christofer Dutz
-changed code of my widget :( What could be the reason for this? Chris -Ursprüngliche Nachricht- Von: Christofer Dutz [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 2. August 2006 11:06 An: users@cocoon.apache.org Betreff: AW: on-value-changed not working on fields with suggestion list? Hi

Accessing AJAX forms field values

2006-08-01 Thread Christofer Dutz
Hi, I am currently working on an cforms ajax application. Here when entering an address, the user enters the country code of an address (the content is provided by a suggestion-list and this works fine) If he then starts entering the zip code only the zip codes for that particular

AW: AW: Accessing AJAX forms field values

2006-08-01 Thread Christofer Dutz
, 1. August 2006 14:20 An: users@cocoon.apache.org Betreff: Re: AW: Accessing AJAX forms field values Christofer Dutz napisal(a): Hi Grzegorz, Thanks for your reply. In general your Idea sounds good. Could you explain what you mean by seting an attribute of zip? Is it possible to add additional

on-value-changed not working on fields with suggestion list?

2006-08-01 Thread Christofer Dutz
Hi, I am having some trouble with fields with suggestion-lists. If I add a on-value-changed element to the widget containing a simple print() statement this is only called if ajax is turned off. As soon as the field transforms into one of the ultracool suggestion-list elements (I really

AW: AJAX enabling custom widget

2006-07-24 Thread Christofer Dutz
stylesheets. Chris -Ursprüngliche Nachricht- Von: Jason Johnston [mailto:[EMAIL PROTECTED] Gesendet: Samstag, 22. Juli 2006 01:15 An: users@cocoon.apache.org Betreff: Re: AJAX enabling custom widget Christofer Dutz wrote: Hi I am migrating an existing application to ajax. I managed to update

AW: [CForms] Union-Widget loosing data

2006-07-21 Thread Christofer Dutz
and switching the tabs without having to save the values before switching the tab) What do I have to do for this? Regards,     Chris Von: Christofer Dutz [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 20. Juli 2006 17:23 An: users@cocoon.apache.org Betreff: [CForms] Union-Widget

AW: [CForms] Union-Widget loosing data

2006-07-21 Thread Christofer Dutz
output of a union-widget but the jx-generator generates code that is no where near similar to this, so where can I get more information on this? Regards, Chris Von: Christofer Dutz [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 21. Juli 2006 15:10 An: users@cocoon.apache.org Betreff

AJAX enabling custom widget

2006-07-20 Thread Christofer Dutz
-code which displays tabs with links for switching the active tag. When clicking on a link the view state changes correctly. Unfortunately the control itself has to be updated as well. This does not work. How can I make Cocoon/Ajax update the content and the control? Regards, Christofer Dutz

[Slightly Off Topic] Tool for viewing Browsers live DOM

2006-07-20 Thread Christofer Dutz
Are there any tools which I could use? I found out that the Website-Testing tool Sitewalker has a Live-Dom-View unfortunately It keeps bugging me with popups, if I just want to use the tool as Pimped-Up Browser L Regards, Christofer Dutz [ c h r i s t o f e r d u t z ] IT-Berater univativ GmbH Co

[CForms] Union-Widget loosing data

2006-07-20 Thread Christofer Dutz
Hi, I am currently working on a strange problem. The problem occurs after porting an existing application from 2.1.7 to 2.1.9. The application contains a form with a union-widget. When initially displaying the form the fields contain the correct information. When switching to the

AW: AW: AW: OutOfMemoryError

2006-07-12 Thread Christofer Dutz
PROTECTED] Gesendet: Dienstag, 11. Juli 2006 15:54 An: users@cocoon.apache.org Betreff: Re: AW: AW: OutOfMemoryError Christofer Dutz wrote: Hi Oleg Well exactly this is why I used JRockit, because I didn’t want to bother finding out how to tweak it ;) I know that the way the Garbagecollector

AW: AW: AW: OutOfMemoryError

2006-07-12 Thread Christofer Dutz
. - Original Message From: Christofer Dutz [EMAIL PROTECTED] To: users@cocoon.apache.org; Oleg Konovalov [EMAIL PROTECTED] Sent: Tuesday, July 11, 2006 4:28:03 AM Subject: AW: AW: OutOfMemoryError Hi Oleg Well exactly this is why I used JRockit, because I didnt want to bother

AW: AW: OutOfMemoryError

2006-07-11 Thread Christofer Dutz
there are Cocoon ones.) Thank you, Oleg. - Original Message From: Christofer Dutz [EMAIL PROTECTED] To: users@cocoon.apache.org; Oleg Konovalov [EMAIL PROTECTED] Sent: Monday, July 10, 2006 3:50:27 AM Subject: AW: OutOfMemoryError Hi Oleg, we encountered similar problems

AW: OutOfMemoryError

2006-07-10 Thread Christofer Dutz
Hi Oleg, we encountered similar problems and fortunately found our that these problems were VM related. I assume you are using a standard Sun JDK installation (This was the case with our system). When looking at the VM memory consumption, we could see an increasing memory consumption.

AW: form-template onSubmit issue

2006-07-10 Thread Christofer Dutz
Hi Andrew How about some print-statements? As far as I know the java-script is executed server-side, so an alert will not work. If you do a print(case) this should output to your console the value of case. Regards, Christofer Von: Andrew Madu [mailto:[EMAIL PROTECTED]

AW: form-template onSubmit issue

2006-07-10 Thread Christofer Dutz
to make statements like document.body.appendChild(element) work server-side! ;-) Any ideas anyone? regards Andrew On 10/07/06, Christofer Dutz [EMAIL PROTECTED] wrote: Hi Andrew How about some print-statements? As far as I know the java-script is executed server-side, so an alert

AW: How can I use the repeater add-row function with a normal button?

2006-06-07 Thread Christofer Dutz
know what function I should call. Any idea? Regards, Ellie -Ursprüngliche Nachricht- Von: Christofer Dutz [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 6. Juni 2006 22:19 An: users@cocoon.apache.org Betreff: AW: How can I use the repeater add-row function with a normal button

AW: AW: eXist xmldb

2006-06-07 Thread Christofer Dutz
Hi All, As I mentioned, my version only uses local access, so configuring all these additional servlets is not necessary and the additional jars aren’t needed. One thing I remembered thou:I think the Driver automatically initializes the database if it can’t find an instance … had

AW: How can I use the repeater add-row function with a normal button?

2006-06-07 Thread Christofer Dutz
Just meant to do this image button thing for having a look at what cocoon would do. After you saw and copied what happened just use that code in your Button :) -Ursprüngliche Nachricht- Von: Christofer Dutz [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 7. Juni 2006 08:09 An: users

AW: How can I use the repeater add-row function with a normal button?

2006-06-07 Thread Christofer Dutz
Oh well ... my mistake ... type=link. I forgot, that I modified my sapmle-styling stylesheets ... sorry :( But I found the code you were looking for: a id={id of the widget} name={id of the widget} title={any hint you like} href=javascript:forms_submitForm(this,'{id of the widget}')linktext

AW: CForms: conditional display of widgets

2006-06-07 Thread Christofer Dutz
Hi Fernando, use the JX-Templates. In Order to make Cforms work you have to ad the following as child of the templates root: jx:import uri=resource://org/apache/cocoon/forms/generation/jx-macros.xml/ And then stop using the forms generator but to use a normal resource or ile

AW: repeaterLoop in repeater-rows

2006-06-07 Thread Christofer Dutz
Hi Nicolas, You have to use the forms transformer instead of the forms generator. I assume you use the generator, because otherwise the cforms stuff would not have worked. Regards, Chris [ c h r i s t o f e r d u t z ] IT-Berater univativ GmbH Co. KG Robert-Bosch-Str. 7, 64293

AW: How to extract image, audio and video metadata from media files in Cocoon?

2006-06-07 Thread Christofer Dutz
Hi Hans, Well if you use the ImageDirectoryGenerator, it generates an xml representing the file and directory structure of a specified directory with additional size information ... don't think a Generator for videos exists. There is a MP3DirectoryGenerator for generating file and directory xml

AW: AW: repeaterLoop in repeater-rows

2006-06-07 Thread Christofer Dutz
Hi Nicolas, I think you are missing some code here ... you can't call a function like form2xml with a parameter from a pipeline. I think there must have been some kind of function called handleForm which has a look at a parameter called function and then calls that providing a form object. Well

AW: How can I use the repeater add-row function with a normal button?

2006-06-07 Thread Christofer Dutz
the Javascript with the forms_submitForm function: script type=text/javascript language=JavaScript src=resources/forms-lib.js /script but then I get a syntax error when the page is loaded. What am I missing? Kind regards, Ellie -Ursprüngliche Nachricht- Von: Christofer Dutz [mailto:[EMAIL

  1   2   3   >