Howto Display a Progress Page / Bar

2004-02-23 Thread David Tekeshe
How do I display a progress / please wait page? The following code snippet is not working. Thanks in advance // flow.js // ... cocoon.sendPage("html/wait.htm"); for(var row = 0; row < repeater.getSize(); row++){   var isSelected = repeater.getWidget(row, "select").getValue().booleanValue();  

Howto Display a Progress Page / Bar

2004-02-23 Thread David Tekeshe
How do I display a progress / please wait page? The following code snippet is not working. Thanks in advance // flow.js // ... cocoon.sendPage("html/wait.htm"); for(var row = 0; row < repeater.getSize(); row++){   var isSelected = repeater.getWidget(row, "select").getValue().booleanValue();  

RE: User coplet access in new Portal Engine

2004-02-23 Thread Laurent Trillaud
Jeff It’s pretty easy to do. Configure the role in the portal/resources/sunrise-user.xml, then create portal/layout/portal-[user|role]- files. The portal will match before user name, if not role name, if not got the portal.xml. For exemple: portal-user-anonymous.xml, portal-role-poweru

Coccon/FOP/SVG/PDF viewBox affecting dsiplayed size

2004-02-23 Thread Steve Schwarz
Hi I've got a weird problem generating pdfs using FOP from xml containing SVG; but only when converted through Cocoon (2.1.2). Generation directly with FOP is problem free. For viewBox values larger than "0 0 525 525" (you know this is going to be weird already...) the generated image within th

woody field select list null value

2004-02-23 Thread Steve Steinitz
Hello, The Cocoon Wiki's Woody Datatype Reference mentions a "nullable" attribute which presumably controls whether or not a field's selection list contains a null choice. This would be exactly what we want. However, our initial investigation suggests that this "nullable" is not (yet?) implement

[file upload with XSP-actions] first try

2004-02-23 Thread steph
Hello, As my application need to do an upload, I am searching how to do this with cocoon (2.1.4 with a GNU/Linux box). I saw on the wiki that the 2 recommended ways to do that are Actions and flows. But , as I don't use flows (for my co-workers javascript is a "patching" langage), I'd like to do

Stored Procedure and esql

2004-02-23 Thread Anna Bikkina
Hi, I am trying to run a stored procedure using esql in cocoon. I guess I am having a syntax error. Please let me know where I am going wrong. I am using the informix database.I checked the storedprocedure using dbaccess and that runs. I get an error saying "Function doesn't have an outpu

User coplet access in new Portal Engine

2004-02-23 Thread Jeff Davis
I’m setting up a portal that requires role-based coplet access (i.e., some coplets will appear for some users but others not). I know this is probably supported, but I didn’t see an example of it in the Portal sample that comes with Cocoon 2.1.4. Does anyone have an samples of role-based co

Portal engine: NewEventLinkTransformer

2004-02-23 Thread Christian Mayrhuber
Hi, What am I doing wrong? Does the NewEventLinkTransformer already work? I was using it this way: 1. Transform the elements using the LinkTransformer (which works quite well). 2. Transform the eventlink elements with the NewEventLinkTransformer which results in If I access s

Re: woody, flow and database confusion

2004-02-23 Thread Joerg Heinicke
On 22.02.2004 04:07, Antonio Gallardo wrote: Maybe we should put together our efforts to get this thing working and to help other people with a wiki page. I need to tell I am newbie in OJB too. Maybe 1 or 2 days ahead in some cases, but this is nothing. Pure understatement :) We have at least o

Re: Change encoding to ISO-8859-1

2004-02-23 Thread Carlos Dias
The XML file is generated by a process that create a file with UTF encoding. So I have to change the encoding from the base file, or use the UTF. But I think doesn't work for the character set of my country (Portugal)?! Thanks for the support, CDias - Original Message - From: "Joerg Heinic

Re: Change encoding to ISO-8859-1

2004-02-23 Thread Joerg Heinicke
Another good hint might be to use a browser like IE or Mozilla to view the XML file because they tell you if something is wrong with the file and no editor/application/cocoon is involved. Joerg On 23.02.2004 21:50, Joerg Heinicke wrote: On 23.02.2004 21:53, Carlos Dias wrote: Let me see if I

Re: Change encoding to ISO-8859-1

2004-02-23 Thread Joerg Heinicke
On 23.02.2004 21:53, Carlos Dias wrote: Let me see if I understand your answer... you are saying that the file is defined with a specific encoding, but has characters that are in a different encoding, right?! Yes. This happens if you use an encoding-unaware editor or the editor can not handle the

Re: Change encoding to ISO-8859-1

2004-02-23 Thread Carlos Dias
Let me see if I understand your answer... you are saying that the file is defined with a specific encoding, but has characters that are in a different encoding, right?! CD - Original Message - From: "Joerg Heinicke" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, February 23, 200

Re: Change encoding to ISO-8859-1

2004-02-23 Thread Bert Van Kets
I use JEdit to change file encodings. It allows you to read a file in a certain encoding, change the buffer to a different encodig, make corrections where necessary and write out in the new encodig. I thought I'd mention for those not knowing JEdit. Bert - Original Message - From: "Joe

Re: Change encoding to ISO-8859-1

2004-02-23 Thread Joerg Heinicke
On 23.02.2004 21:34, Carlos Dias wrote: Hi!!! I know this is a issue largely discussed here, but for me the tips that I read didn't work. I already try to set the current encoding in the sitemap, like you can see here: pool-grow="4" pool-max="32" pool-min="4" src="org.apache.coc

Re: Need help calling Java from flowscript

2004-02-23 Thread Mark Lundquist
D'oh! Never mind. 8^/ ~Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Need help calling Java from flowscript

2004-02-23 Thread Upayavira
Mark Lundquist wrote: Hi, I'm trying to call Java from flowscript for the first time, but I'm stuck. The interpreter seems to be finding my Java class just fine; it doesn't complain about: importClass (Packages.com.wrinkledog.foo); However, it's not finding the class methods. I get erro

Change encoding to ISO-8859-1

2004-02-23 Thread Carlos Dias
Hi!!! I know this is a issue largely discussed here, but for me the tips that I read didn't work. I already try to set the current encoding in the sitemap, like you can see here:   pool-grow="4" pool-max="32" pool-min="4"    src="">ISO-8859-1truesrc=""

Need help calling Java from flowscript

2004-02-23 Thread Mark Lundquist
Hi, I'm trying to call Java from flowscript for the first time, but I'm stuck. The interpreter seems to be finding my Java class just fine; it doesn't complain about: importClass (Packages.com.wrinkledog.foo); However, it's not finding the class methods. I get error messages like: Java cl

Actions and parameters in sitemap

2004-02-23 Thread Anna Bikkina
Hi, I am using multiple action classes to validate my date. I want to display error message depending on which action class has failed. I am trying to do something like this because that fails. Can someone suggest me how can I do this. I am adding a parameter ERROR after every act and trying t

RE: Woody in portal engine coplet Help!

2004-02-23 Thread Laurent Trillaud
Phil I wrote a small wiki about that http://wiki.cocoondev.org/Wiki.jsp?page=WoodyCopletForPortalEngine It can be useful for you Laurent Trillaud >I was confused in my last mail... >I succeeded to plug quite any sample from r 2.1.4 in a portal engine >coplet (type uri), except Woody (with or with

RE: Woody integration in Porta

2004-02-23 Thread Laurent Trillaud
Bart I wrote a small wiki about that Bart I wrote a small wiki about that http://wiki.cocoondev.org/Wiki.jsp?page=WoodyCopletForPortalEngine It can be useful for you Laurent Trillaud >I'm struggling with the implementation of woody in a coplet. ---

Re: nested woody repeater

2004-02-23 Thread Jan Hoskens
You can nest as many repeaters as you want. There are no special things about the references or widget names, you just have to create them in the repeater: the same goes for the binding/template. See the wiki's for more info! Bye, Jan -

Re: Documentation: all {variables} for sitemap.xmap

2004-02-23 Thread Lionel Crine
Someone sent a page on this list, here it is : http://resin.mediahost.org/cocoon/samples/modules/xml.xsp At 19:35 18/02/2004 +0100, you wrote: Hello, I have found a lot of examples of variables eg {host} {request:contextPath} that I can use in sitemap. However does it exist somewhere in the docu

Re: CInclude or XInclude

2004-02-23 Thread Lionel Crine
cocoon:/ is working so there's no trouble. At 22:24 11/02/2004 +0100, you wrote: On 05.02.2004 16:14, Lionel Crine wrote: Hi, I'd like to merge some part of document coming from different pattern. On "cocoon.apache.org", I saw tat Cinclude and Xinclude can merge some document calling href. Als

Re: [once again] best way to set http header encoding

2004-02-23 Thread Lionel Crine
Hi, there is an action which change the http-header encoding in Cocoon 2.1 -> http://cocoon.apache.org/2.1/apidocs/org/apache/cocoon/acting/HttpHeaderAction.html In the serializer, you can specify the output encoding of the flow. See the main sitemap of Cocoon to have an example. If you want two

nested woody repeater

2004-02-23 Thread Bert Van Kets
I have a table containing link data (linkid, url, title, groupid) and a table containing the link group data (groupid, groupDescription). Is it possible to have two nested woody repeater widgets so I get + groupdescription1 - link data for group 1 - ... + groupdescription2 - link data for gr

Re: saving woody data after insert

2004-02-23 Thread Bert Van Kets
It works. :-D Thanks Marcin. - Original Message - From: "Marcin Okraszewski" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, February 22, 2004 9:34 PM Subject: Re: saving woody data after insert > I think it might be the same I had some time ago. What type does the > /addLink

Re: static web site generation using cocoon

2004-02-23 Thread yangontha Maung
The error is Buildfile: build.xml csscolumnsite: BUILD FAILED /usr/local/cocoon-2.1.4/build/webapp/csscolumnsite/build.xml:42: Could not find a classpath that points to the Cocoon classes Total time: 1 second and the build.xml file is:- --- Upayavira <[EM

Re: building Collection from JDO problems

2004-02-23 Thread Bert Van Kets
> Instead, try to use OJB-PB (PersistenceBroker). Yesterday, I extended > Cocoon CVS to allow the use of PBFactory. > > Currently, seems like the JDO implementation in OJB is broken. The > persistence broker is stable and can be used. You can very easy switch to > PB. For a tutorial see: > > http:/

Re: static web site generation using cocoon

2004-02-23 Thread Upayavira
yangontha Maung wrote: Hi, I am trying the example applications from cocoon wiki site. (cssColumnsite) http://wiki.cocoondev.org/Wiki.jsp?page=ExampleApps That is to generate static web pages using cocoon from xml and style sheets. I can run the samples and I can modify the xml pages so that the

Writing Testcases for JUnit

2004-02-23 Thread Ann
Hi I am new to cocoon and am trying to develop test cases for cocoon framwork. Can anybody guide me on how to go about developing test cases .I have been looking at the testcases written at src/test/ in cocoon package and still am not very clear. Working with cocoon -2.1.3 Any suggestions on h

static web site generation using cocoon

2004-02-23 Thread yangontha Maung
Hi, I am trying the example applications from cocoon wiki site. (cssColumnsite) http://wiki.cocoondev.org/Wiki.jsp?page=ExampleApps That is to generate static web pages using cocoon from xml and style sheets. I can run the samples and I can modify the xml pages so that the output on the browser

Re: problem svg jpeg cocoon 2.0.4 and tomcat 4.1.27

2004-02-23 Thread yangontha Maung
Hi, Thanks a lot! Now it works. In fact I have inserted the following line in cocoon.sh file. JAVA_OPTIONS='-Djava.awt.headless=true' Now, it is working. thanks & rgds, --- Simon Mieth <[EMAIL PROTECTED]> wrote: > On Mon, 23 Feb 2004 02:03:02 -0800 (PST) > yangontha Maung <[EMAIL PROTECT

Re: problem svg jpeg cocoon 2.0.4 and tomcat 4.1.27

2004-02-23 Thread Simon Mieth
On Mon, 23 Feb 2004 02:03:02 -0800 (PST) yangontha Maung <[EMAIL PROTECTED]> wrote: > Hi, > > I would like to add something. > Conversion from svg to jpeg/png is not working > properly in the sample files. But I believe it is not > cocoon problem. It is the java setting, where we need > to add -D

Re: problem svg jpeg cocoon 2.0.4 and tomcat 4.1.27

2004-02-23 Thread yangontha Maung
Hi, I would like to add something. Conversion from svg to jpeg/png is not working properly in the sample files. But I believe it is not cocoon problem. It is the java setting, where we need to add -Dawt.headless=true property. Usually I can add in the .bash_profile file for normal java programs.

Re: Best practice for "database" manipulation?

2004-02-23 Thread Bertrand Delacretaz
Le Samedi, 21 fév 2004, à 13:22 Europe/Zurich, Bastian Breithaupt a écrit : ...I have read your summary and I think it is great. First question: Is the paper the summary is based on "Open Source" :-) ? Thanks - it is not a big paper actually, only a collection of examples with some explanations

Re: Error:action logicsheet cannot be used in generators

2004-02-23 Thread John L. Webber
Anna Bikkina wrote: Hi, I am trying to use ServerPagesAction in cocoon. I have a wierd problem where I get an error saying org.apache.cocoon.ProcessingException: action logicsheet cannot be used in generators This is correct -- you can't use actions in generators. You can use different

RE: building Collection from JDO problems

2004-02-23 Thread Antonio Gallardo
Neil Bacon dijo: > Antonio, > your quote from the JDO spec does not imply that the JDO objects > contained in the Collection returned by a query are unmodifiable. > You can't add and remove elements from the Collection, but you can > update the fields of the JDO objects it contains (and have JDO >

Re: i18n - how to get localized message after form validation

2004-02-23 Thread Joern Wallstabe
On Sat, 21 Feb 2004 01:13:37 +0100 Joerg Heinicke <[EMAIL PROTECTED]> wrote: > On 10.02.2004 17:54, Joern Wallstabe wrote: > > >>>How can I get a localized (!!) message from these function back in my form if > >>>validation fails ? > > > > I tried different approaches, but it's not working (co

Re: Clean build failures:

2004-02-23 Thread Joerg Heinicke
On 23.02.2004 08:46, Johan Kok wrote: Clean build provides the following errors: compile-core: Copying 1 file to C:\Apache\cocoon\cocoon-2.2\build\cocoon-2.2-dev\classes ... 11 errors BUILD FAILED C:\Apache\cocoon\cocoon-2.2\tools\targets\compile-build.xml:51: Compile failed; see the compiler e