RE: jx template and number format

2006-04-06 Thread Danny Bols
Using the syntax value your variable becomes a collection of dom nodes! See also: http://marc.theaimsgroup.com/?l=xml-cocoon-users&m=114198612303913&w=2 -- Danny > -Original Message- > From: Philippe LAPLANCHE [mailto:[EMAIL PROTECTED] > Sent: donderdag 6 april 2006 21:16 > To: users@coco

org.xml.saz.saxparseException:Content is not allowed in traling section

2006-04-06 Thread Deepa Jayaprakash
Hello, I am getting the error "org.xml.saz.saxparseException:Content is not allowed in traling section" sometimes, when i trying to open a page in html/pdf format.The same page opens properly sometimes.What is the cause of the problem?Please help. Thanks, Deepa -- View this message in context:

RE: jx template and number format

2006-04-06 Thread Pelssers, Robby, VF-NL
What if you would try something like : ${new Double(local.skipResults % local.bufferSize).intValue} I am assuming here that "local.skipResults % local.bufferSize" returns a double. Cheers, Robby -Original Message- From: Philippe LAPLANCHE [mailto:[EMAIL PROTECTED] Sent: donderdag 6 apr

customize cocoon error message

2006-04-06 Thread Schultz, Gary - COMM
After exhaustive searches with no results I have come here with this question. Is it possible to customize the dreaded error message:   Resource not found   No pipeline matched request cd/v at - file:/something/sitemap.xmap:###:##   Where should I look for information on how to write a more

Re: jx template and number format

2006-04-06 Thread ian . d . stewart
I'm guessing that forEach is expecting int's for begin and end, and you're actually passing in doubles (0.0 vs 0, 4.0 vs 4). Is there a way within jx to force the values to int's? Ian It's better to be hated for who you are than loved for who you are not Ian D. Stewart Appl Dev Analyst-Advisor

[forms libraries] extend group inside a repeater

2006-04-06 Thread Bruyn Bill
I have a widget defined in a library and am able to use it inside a repeater as you'd expect: But when I try to extend the group instead of expand it, I'm greeted with a NPE [1]. If I move the widget out of the repeater, all

jx template and number format

2006-04-06 Thread Philippe LAPLANCHE
I'm so tired of all the problems I have with jx templates ... Am I the only one to use them or what ? I'm beginning to regret that I left xsp for jx:templates This time, I guess I have a number format problem. My forEach loop doesn't work fine. The end attribute is not properly taken into account

RE: Initialization problem in cocoon when trying to view page in html/pdf

2006-04-06 Thread Philippe LAPLANCHE
I have the same problem. It seems that when tomcat is not shutdown properly, then the file C:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps\cocoon\samples\blocks\jcr\repotest\.lock is not deleted When cocoon restarts it finds that file and that prevents cocoon from initializing pr

Initialization problem in cocoon when trying to view page in html/pdf

2006-04-06 Thread Deepa Jayaprakash
Hello, I am using cocoon2.18,with tomcat 5.5.12.I was able to view the html/pdf file when i extracted the war for first time,but after i restarting the tomcat,I am getting this error(Shown in above fig). I deleted the extracted folder and tried extracting again from the same war file.It wo

RE: "auth-protect" not defined for "act"

2006-04-06 Thread Andrew Stevens
From: Peter Flynn <[EMAIL PROTECTED]> Date: Wed, 05 Apr 2006 22:05:18 +0100 ... So now that works, many thanks, but I now get the same class of error saying that auth-protect isn't defined. So taking a guess I tried not expecting it to work, and I wasn't disappointed :-) How many more of the

RE: ${cocoon.continuation.id} gives bad continuation id

2006-04-06 Thread Philippe LAPLANCHE
I found my answer. This is really weird. Actually I didn't put next page I told you this to make things more clear. In my jx file I had : ... ... ... Then I applied an xsl template that would transform my pagedList into html code... It's weird but the fact that I w

running Cocoon CLI for with version 2.1.8

2006-04-06 Thread Stephanie Zohner
Hi community, I have just updated my cocoon version from 2.1.3 to 2.1.8 and wnt to run cocoon cli now. However I get the following exception: org.apache.avalon.framework.configuration.ConfigurationException: Cannot find ServletContext object in application context According to the mailing list a

Re: "auth-protect" not defined for "act"

2006-04-06 Thread Andrew Stevens
From: Peter Flynn <[EMAIL PROTECTED]> Date: Wed, 05 Apr 2006 22:30:14 +0100 [EMAIL PROTECTED] wrote: Peter, I apologize if this has been asked before (I admit to coming somewhat late to this thread). When you built Cocoon, was the authentication-fw block selected for inclusion? I did the def

RE: overriding CForms xslt and css?

2006-04-06 Thread Fernando.Matomira
Missing semicolon. It also works relatively doing  ../..   From: Mato Mira, Fernando (DIA CHE) Sent: Thursday, April 06, 2006 4:03 PM To: users@cocoon.apache.org Subject: RE: overriding CForms xslt and css?   I applied this technique successfully, however there is one missing

RE: overriding CForms xslt and css?

2006-04-06 Thread Fernando.Matomira
I applied this technique successfully, however there is one missing point:   How does one do to write a minimal css with only the overrides and that imports from forms.css in the classpath? I tried an @import, even an absolute URI with everything except the server name, and it’s not gett

RE: CForms: Updating all instances of a widget in a repeater

2006-04-06 Thread Stewart, Gary
> -Original Message- > From: Jason Johnston [mailto:[EMAIL PROTECTED] > Sent: 06 April 2006 14:00 > To: users@cocoon.apache.org > Subject: Re: CForms: Updating all instances of a widget in a repeater > > I think to get the rows from a Repeater you have to use > getRow() rather > than get

Re: CForms: Updating all instances of a widget in a repeater

2006-04-06 Thread Jason Johnston
Stewart, Gary wrote: > Hi there, > > I've got a repeater with two selection lists in; staffmemeber and > staffrole. Upon a value being changed on the staffrole or another > selection list outside of the repeater (department) the list of staff > members change. I'm using an on-changed-value on the

CForms: Updating all instances of a widget in a repeater

2006-04-06 Thread Stewart, Gary
Hi there, I've got a repeater with two selection lists in; staffmemeber and staffrole. Upon a value being changed on the staffrole or another selection list outside of the repeater (department) the list of staff members change. I'm using an on-changed-value on the staffrole repeater and that wo

Re: Accessing ActiveX Component

2006-04-06 Thread Gunter D'Hondt
have a look at http://danadler.com/jacob/ which is a Java2ActiveX bridge which works fine (I've implemented this once already with success). Regards, Gunter D'Hondt "Pius Graber" <[EMAIL PROTECTED]> 06/04/2006 11:57 Please respond to users@cocoon.apache.org To cc Subject Accessing Act

Accessing ActiveX Component

2006-04-06 Thread Pius Graber
Hi   I try to access an ActiveX component under Windows. This works fine when I compile my code with javac and run it with java.   If I want  to use the code in an Logicsheet I get the error:     org.apache.cocoon.components.language.LanguageException: Error compiling awix_xsp: ERRO

RE: overriding CForms xslt and css?

2006-04-06 Thread Stewart, Gary
> I need to provide a different look for the tabs (using images). > > What is the right way to override some but not all of the CForms xslt and css > files? > There is this {$resources-uri} everywhere. I copied the files from source, changed them, and then pointed to the changed files though

Re: "auth-protect" not defined for "act"

2006-04-06 Thread Bruno Dumon
On Wed, 2006-04-05 at 22:05 +0100, Peter Flynn wrote: > Andrew Stevens wrote: > >> From: Peter Flynn <[EMAIL PROTECTED]> > >> Date: Tue, 04 Apr 2006 20:03:56 +0100 > >> > >> I added > >> > >>>> src="org.apache.cocoon.webapps.authentication.acting.LoginAction"/> > >> > >> to the section of my