Re: CForms - load / save to different targets

2004-09-24 Thread Jorg Heymans
Thanks for the various insights guys - i will also try out the multiple-bindings-per-widget trick, didn't even know this was possible. Jorg Jorg Heymans wrote: Hi, My form has a multivaluewidget, it's values are retrieved from an Arraylist in the bean that is populated using Hibernate. The user

Re: fd:repeater and paging

2004-09-24 Thread Jorg Heymans
Have you looked at the patch in bug 30213 ? I asked for dev@ to comment on it yesterday. If we all put our weight on it then maybe it will get applied sooner. Sylvain Wallez still has a few reservations about it though. Regards Jorg Jennifer Yip wrote: fd:repeater widget in cforms I want

Re: Fedora Install Errors

2004-09-24 Thread Norman Barker
Skip Carter wrote: Can anyone explain why the build script for Cocoon doesn't work on Fedora Core 2? It seems to be having problems setting the ANT environment variables Exception in thread main java.lang.NoClassDefFoundError: org/apache/tools/ant/launch/Launcher I have set JAVA_HOME, JAVA

Re: CForms - load / save to different targets

2004-09-24 Thread Jorg Heymans
fb:value id=widget path=context1 direction=load/ fb:value id=widget path=context2 direction=save/ this does not seem to work for me (using javascript binding becaues of multivaluefield) the loading works but in the saving it says that it can't create path /selectedGroups although there *is* a

Re: Hackatlon 2004 : only for hardcore developpers ?

2004-09-24 Thread Upayavira
Timur Izhbulatov wrote: Last year I was present at the Hackathon. I appreciated the talk and I learned a lot of. But this year I don't know if it will become an 'ask-the-expert-clinic' or an 'hacking between hardcore developers'. What's the problem? I visit the Russian LinuxFest [1]. And it

Re: fd:repeater and paging

2004-09-24 Thread Jean-Baptiste Quenot
* Jennifer Yip: fd:repeater widget in cforms I want to be able to page a list of items in the bound object. It is not yet implemented. You may have to handle the paging yourself, but apparently a patch has entered the pipe yesterday, so things may change in a near future. Best

Re: Fedora Install Errors

2004-09-24 Thread Rui Alberto L.
I'm using Fedora core 2 and i didn't have any problem building cocoon. It seems to me that you have ANT_HOME pointing to the wrong place. Hope this helps, Rui On Thu, 2004-09-23 at 17:18, Norman Barker wrote: Hi, Can anyone explain why the build script for Cocoon doesn't work on Fedora

Re: Problem accessing authentication session in portal sitemap

2004-09-24 Thread Jean-Baptiste Quenot
* Andrew MacDonald: Later on, in the main pipeline I have this: map:match pattern=css/*.css map:act type=auth-protect map:parameter name=handler value=portal-handler/ map:read mime-type=text/css src=skins/{skin}/css/{1}.css/ /map:act /map:match If the user is not

CForms v2

2004-09-24 Thread Jan Hoskens
Hi, I'm using forms.js v2 'cause I need the createForm with an element instead of uri. I just tried to use fd:submit buttons to be able to skip validation with certain submits. Nothing's wrong there, but as I previously worked with html submits (see old way) and used the same name

Re: CForms v2

2004-09-24 Thread Jan Hoskens
Hmm, just saw another message concerning the forms.js versions: http://marc.theaimsgroup.com/?l=xml-cocoon-usersm=109595761120738w=2 Guess I was just a bit too jumpy to mail this Jan Jan Hoskens wrote: Hi, I'm using forms.js v2 'cause I need the createForm with an element instead of uri. I just

Re: CForms - load / save to different targets

2004-09-24 Thread Robin Wyles
Jorg, On 24 Sep 2004, at 11:01, Jorg Heymans wrote: fb:value id=widget path=context1 direction=load/ fb:value id=widget path=context2 direction=save/ this does not seem to work for me (using javascript binding becaues of multivaluefield) the loading works but in the saving it says that it can't

jxtemplate - HashMap

2004-09-24 Thread defe
hi, does someone know how to iterate over the keys of an HashMap and retrieve the values in a jxtemplate? jx:forEach var=key items=${map.keySet()} value${map.get(key)}/value!-- how to pass 'key' as a parameter to get() here? -- /jx:forEach regards

Re: jxtemplate - HashMap

2004-09-24 Thread Robin Wyles
Defe, On 24 Sep 2004, at 12:39, defe wrote: jx:forEach var=key items=${map.keySet()} value${map.get(key)}/value!-- how to pass 'key' as a parameter to get() here? -- /jx:forEach This works fine for me, but I wonder if your map is referenced correctly? Maybe it should be bean.map or

Solaris image fromm imagereader very sow

2004-09-24 Thread Patrick Verboom
Hi, Images from the standard cocoon image reader are unacceptable slow on solaris. Calling a website from cocoon on windows takes about 5 seconds calling the same website on solaris takes about 2.5 minutes. The text is about just as fast only the images take ages. Another problem is that

Re: CForms - load / save to different targets

2004-09-24 Thread Jorg Heymans
snip/ Maybe try: fb:javascript id=targetgroups path=. direction=save fb:save-form var collection = new java.util.ArrayList(); collection = widget.getValue(); var bean = jxpathPointer.getNode(); bean.setSelectedGroups(collection); /fb:save-form I always have

repeater calls row-path method for each element ?

2004-09-24 Thread Jorg Heymans
Hi, I have fb:repeater id=addressess parent-path=. row-path=participants participants is an arraylist of beans in my formbean. Now for each element in the repeater getParticipants() is called, is this normal? If you consider that getParticipants() calls out to O/R mapping to actually retrieve

Problems on JBoss 4.0 release version

2004-09-24 Thread Steinar Rune Eriksen
I've been using Cocoon 2.1.5.1 successfully on JBoss 4 RC1 and RC2 for a while. Very few issues at all actually. I just had to swap the Castor versions and put commons-logging into jboss/server/default/lib and it worked fine. However, on JBoss 4. final release I get some more serious

Re: Problems on JBoss 4.0 release version

2004-09-24 Thread Upayavira
Steinar Rune Eriksen wrote: I've been using Cocoon 2.1.5.1 successfully on JBoss 4 RC1 and RC2 for a while. Very few issues at all actually. I just had to swap the Castor versions and put commons-logging into jboss/server/default/lib and it worked fine. However, on JBoss 4. final release I

CForms with Tabs via fi:styling type=tabs/ ?

2004-09-24 Thread Philipp Rech
Hello Folks ou there! my goal is to have a CForm page in wich several parts of the form are displayed within tabs - just like the example in the blocks section: http://localhost:8080/cocoon/samples/blocks/forms/form1 I use Cocoon Version: 2.1.5.1 within Tomcat. My question is:

Looking for a cocoon developer

2004-09-24 Thread Sal Mangano
My company, Into Technology, is nearing completion of a content management and publishing system specialized for periodical publishers (i.e online magazines). The system is built on cocoon and also uses MySQL, XPath 2.0/XSLT 2.0, client side JavaScript, and some custom java code (mostly cocoon

Re: CForms with Tabs via fi:styling type=tabs/ ?

2004-09-24 Thread Joerg Heinicke
On 24.09.2004 13:52, Philipp Rech wrote: How can I create the tabs? How does fi:styling type=tabs/ works? Does it create the tabs just through the form-samples-styling.xsl (or one of the other xsl files in rescources)? The Blocks Sample page works with Actions (another with Flowscript) are the

Problem using xscript, encoding.

2004-09-24 Thread Henry Orlando Canastero
Hi all, We are using Cocoon 2.1.5 for develop the Site of the Academic Information System of the Universidad Nacional de Colombia, and are using the xscript logicsheet. When we use the next code: xscript:variable name=soap-result testnuñez/test /xscript:variable xscript:variable

reload the layout

2004-09-24 Thread Nicole Hochleiter
Hi, I'm building a portal with cocoon-2.1.5 and let the user change his layout by adding/removing coplets. But he only will realize the changes if he logs out and relogs in. Is there possibility to force cocoon to reload the useres layout? TNX, Nicole

Re: Problem using xscript, encoding.

2004-09-24 Thread Antonio Gallardo
Henry Orlando Canastero dijo: How we change the configuration encoding to ISO-8859-1 in the xscript transform, for it can support the ñ and others Spanish characters ? Hi Henry: UTF-8 is able to support all spanish characters. I guess the problem is more related to how are you encoding the

Re: Hackatlon 2004 : only for hardcore developpers ?

2004-09-24 Thread Timur Izhbulatov
, 24.09.2004, 13:18, Upayavira : The danger with the hackathon is that it looses its focus. The Cocoon developer community is spread all over the world, and this is its one opportunity each year to meet in reasonable numbers. It would be a real shame if the hackathon changed from being a

Re: CForms - load / save to different targets

2004-09-24 Thread Joerg Heinicke
On 24.09.2004 11:01, Jorg Heymans wrote: Original Exception: org.apache.commons.jxpath.JXPathException: Exception trying to create xpath selectedGroups; Factory is not set on the JXPathContext - cannot create path: /selectedGroups That's similar to a NullPointerException. Your variable is null,

RE: Problem using xscript, encoding.

2004-09-24 Thread Henry Orlando Canastero
Hi Antonio, I´m sure that the problem is xscript transform. When serialize the content without xscript tags, all that´s right. I need capture the xml content in a java variable, to manipulate inside the same xsp. Too I have used the capture logicsheet, but obtain null pointer exception. Any

Re: Fedora Install Errors

2004-09-24 Thread Russell Geraghty
If you've preinstalled ant from Fedora 2 I would remove it, it has a strange classpath. I found that removing Fedora's ant allowed me to build cocoon. HTH Russell Rui Alberto L. Gonalves wrote: I'm using Fedora core 2 and i didn't have any problem building cocoon. It seems to me that you have