RE: Cocoon and WAP problems

2004-06-21 Thread Conal Tuohy
Hey Oro, maybe the problem is your WAP client doesn't like query strings in the URL? I know it sounds weird, but it could be. You have a matcher for test.wml - try accessing it with some (dummy) parameters, e.g. test.wml?foo=bar If that IS your problem then instead of URLs like:

Re: [CForms] How to set multivalue widget's values ?

2004-06-21 Thread Derek Hohls
And maybe the same person knows how to *get* the values from the CForm multivalue widget and display them using a JXTemplate loop?? A sample showing both of these would be *very* helpful and (IMO) needs to be a part of the Cocoon forms samples. Thanks Derek [EMAIL PROTECTED] 2004/06/20

Re: [CForms] How to set multivalue widget's values ?

2004-06-21 Thread Johannes Textor
Hi Derek + all, I got this solved in the meantime. Actually I had to create a temporary array and then set the multivalue model to this array: var model = form.getModel(); var rubriken = Array(); for( i = 0 ; i size ; i ++ ) rubriken[i] = new java.lang.Integer(val[i]); model.rubriken =

Re: Runtime.exec()

2004-06-21 Thread John L. Webber
Hi Irfan, It would be helpful if you provided a larger code snippet. It sounds like there is some other syntax error in your page. John [EMAIL PROTECTED] wrote: Hi, I am trying to run a seperate process using Runtime.exec() from within an XSP. I use the following syntax:

RE: No Results from database

2004-06-21 Thread robby . pelssers
Yep, it was added by the mail client... i checked my sent mail and it was correct... Anyway, Fabio, did you try the (to be) correct(ed) sample i gave you??? Robby -Original Message- From: Joerg Heinicke [mailto:[EMAIL PROTECTED] Sent: 20 June, 2004 19:53 To: [EMAIL PROTECTED] Subject:

Browser's Back button problem in Portal Engine

2004-06-21 Thread Mariusz Wjcik
Hi I'm using portal engine, and I have problem with BACK browser button. When I try to do navigation by using links, which are generated by Portal Engine, everything is OK. When user uses BACK button, Portal Engine reacts in very strange way. I think, that site, which is being got from history,

JavaFlow, CForms

2004-06-21 Thread Andreas Schmid
I just tried to create a formular using javaflow and cforms. But now I found 2 classes, providing the stuff i need... the one is a FormularManager... the other one the FormInstance class... which one should be taken ? Ordnary i would like to use the Manager.. but there it is much more difficult

Re: Browser's Back button problem in Portal Engine

2004-06-21 Thread Simon Hutchinson
Mariusz Wjcik wrote: Hi I'm using portal engine, and I have problem with BACK browser button. When I try to do navigation by using links, which are generated by Portal Engine, everything is OK. When user uses BACK button, Portal Engine reacts in very strange way. I think, that site, which is

Re: Cocoon and WAP problems

2004-06-21 Thread Jörg Heinicke
I saved the wml code to disk and accessed it through cocoon. This works fine. The problem occurs only when i go through clicking on the links for the query string: mail/mail/mail.wml?cmd=cat-message-by-idid=3 If there was anything wrong with the wml page generated by cocoon, then why

[CocoonForms] Disable Calendar

2004-06-21 Thread Freddy
Hi all! Just one small question: What do I have to do if I want to disable the calendar in woody-Forms. I have fd:field id=birthdate fd:labelGeburtstag/fd:label fd:datatype base=date fd:convertor type=formatting variant=date fd:patterns

RE: Cocoon and WAP problems

2004-06-21 Thread Oro smith
Quoting [EMAIL PROTECTED]: Hey Oro, maybe the problem is your WAP client doesn't like query strings in the URL? I know it sounds weird, but it could be. You have a matcher for test.wml - try accessing it with some (dummy) parameters, e.g. test.wml?foo=bar If that IS your problem then

Re: [CForms] How to set multivalue widget's values ?

2004-06-21 Thread Johannes Textor
Derek, I actually don't use the values this way, I insert them directly into the database after the form was submitted. Let's examine your code though, since you should be able to use the values in jxt as well. var model = form.getModel(); var atheme = model.theme; /* theme is multiselect

Re: JavaFlow, CForms

2004-06-21 Thread Stephan Michels
Am Mo, den 21.06.2004 schrieb Andreas Schmid um 10:56: I just tried to create a formular using javaflow and cforms. But now I found 2 classes, providing the stuff i need... the one is a FormularManager... the other one the FormInstance class... which one should be taken ? Ordnary i

Re: [CocoonForms] Disable Calendar

2004-06-21 Thread Jan Hoskens
The tag fi:styling type=date ../ is responsible for the layout on your page. You can find the styling in the stylesheets that come with cforms. The date styling in particular can be found in forms-calendar-styling.xsl. You've got several options: create your own styling type, change the cforms

[ANN] Query Bean

2004-06-21 Thread Jeremy Quinn
Hi All I just added a Query Bean and documentation to the Lucene Samples. http://localhost:/samples/blocks/lucene/query/ This sample uses a Bean. FlowScript and CForms to query a Lucene Index. CForms allows you to add a remove multiple Search Criteria on the Query Bean. This allows

Re: [CForms] How to set multivalue widget's values ?

2004-06-21 Thread Derek Hohls
Johannes Still no luck - I have tried adding in some more variables to test; and it looks like the values are being stored in the array OK... var values = Array(); for( i = 0; i model.theme.length ; i ++ ) values[i] = model.theme[i]; var test0 = values[0]; var

Re: [CocoonForms] Disable Calendar

2004-06-21 Thread Jörg Heinicke
Just one small question: What do I have to do if I want to disable the calendar in woody-Forms. The forms-samples-styling.xsl includes by default the forms-advanced-field-styling.xsl (which itself includes the forms-field-styling.xsl). The advanced styling includes htmlarea, double-listbox and

Re: Multivaluefield - getting values in JXTemplate?

2004-06-21 Thread Marc Portier
Derek Hohls wrote: Sorry Joerg I am not sure that this is making a difference: ie in my flowscript if I now have: var atheme = form.getChild(theme).getValue(); and in the jxpage jx:forEach var=thisTheme items=theme liA Selection: ${atheme}/li /jx:forEach jx:forEach var=thisTheme

Problems with get Component ExtendedComponentSelector

2004-06-21 Thread Sebastian Gnoyke
Hi, i use cocoon-2.1.5-dev and have problems to get the avalon component 'ExtendetComponentSelector' registered in the cocoon.xconf. The class has not a ROLE - string. Is this correct, or have i do something else to get these component in my flow skript? Thanks -- Using M2, Opera's

Re: Cocoon and WAP problems

2004-06-21 Thread Marco Rolappe
Oro smith schrieb: Quoting [EMAIL PROTECTED]: Hey Oro, maybe the problem is your WAP client doesn't like query strings in the URL? I know it sounds weird, but it could be. You have a matcher for test.wml - try accessing it with some (dummy) parameters, e.g. test.wml?foo=bar If that IS your

Re: [CForms] How to set multivalue widget's values ?

2004-06-21 Thread Johannes Textor
Hi Derek, now while trying out your code I discovered something that really has nothing to do with CForms: jx:forEach var=thisTheme items=atheme liA Selection 1: ${atheme}/li /jx:forEach the syntax is simply wrong. it should say jx:forEach var=thisTheme items=${atheme} liA Selection 1:

RE: Multivaluefield - getting values in JXTemplate?

2004-06-21 Thread H . vanderLinden
-Original Message- From: Marc Portier [mailto:[EMAIL PROTECTED] Sent: Monday, 21 June 2004 12:59 To: [EMAIL PROTECTED] Subject: Re: Multivaluefield - getting values in JXTemplate? Derek Hohls wrote: Sorry Joerg I am not sure that this is making a difference: ie

RE: Problem connecting to MySQL - Solved

2004-06-21 Thread Guy Picton Phillipps
Problem now solved - it appears that the DB connection parameters needed to be defined in the sitemap, not in the input XML. The answer came from documentation on the SQL Transformer on the Apache Cocoon site - http://cocoon.apache.org/2.1/userdocs/transformers/sql-transformer.html So the

[SOLVED] Re: [CForms] How to set multivalue widget's values ?

2004-06-21 Thread Derek Hohls
Johannes You're a star! That's exactly what I needed to do. You think that having used XSL for n years, I would be used to adding a $ to the variable name... Derek [EMAIL PROTECTED] 2004/06/21 01:32:56 PM Hi Derek, now while trying out your code I discovered something that really has

Re: Cocoon and WAP problems

2004-06-21 Thread Oro smith
On comparing the http headers, The content type of the response header seems to be text/vnd.wap.wml for the login page. However for all the pages after that the content type is text/html, even though it is a wml page. is this right? Smith. Quoting [EMAIL PROTECTED]: Oro smith

Re: Cocoon and WAP problems

2004-06-21 Thread Marco Rolappe
Oro smith schrieb: On comparing the http headers, The content type of the response header seems to be text/vnd.wap.wml for the login page. However for all the pages after that the content type is text/html, even though it is a wml page. is this right? Smith. well, I guess that's the problem.

DatabaseReader with PDF

2004-06-21 Thread Olivier Bleses
Hi, I would like to display pictures loaded from a BLOB in a database. To do this, I use the org.apache.cocoon.reading.DatabaseReader. When I generate an html page, it works fine. But when I generate a pdf page, I have the following message : XObject introuvable : Im1 (which means Xobject can't

Re: Cocoon and WAP problems

2004-06-21 Thread Oro smith
the content type is text/html for all the pages after login page. but this is probably because i tested the pages without logging in. there is no session and the server is returning a text response which shows something like cannot get store connect null. Quoting [EMAIL PROTECTED]: Oro

Re: Multivaluefield - getting values in JXTemplate?

2004-06-21 Thread Marc Portier
[EMAIL PROTECTED] wrote: jx:forEach var=thisTheme items=theme liA Selection: ${atheme}/li /jx:forEach jx:forEach var=thisTheme items=theme ^ shouldn't this be an expression (jexl or jxpath) that returns the array rather then a string?

Re: Spring Petstore (was Re: CForms+Hibernate+Flow)

2004-06-21 Thread Ugo Cei
Il giorno 20/giu/04, alle 10:46, Christian Rosenberger ha scritto: Installation instructions would be great. Is there a build mechanism in Cocoon to install blocks after initial compilation? I've added some instructions to the Wiki. Hope they're clear enough. If you drop the Spring Petstore block

cl:links in cachingURI coplet ?

2004-06-21 Thread Philippe Guillard
Hi, I'm using cl:links OK with URI coplet but can't make cl:links work with cachingURI coplet in rls 2.1.5. Should i change something ? I think the point is that cachingURI Coplet uses portal-html-eventlink transformer. Error: org.apache.cocoon.ProcessingException: Failed to execute

aggregatting data question

2004-06-21 Thread Craig Christophersen
Hello; I am trying to aggregate data from two different generators. The generators work fine and I get the data, but it is just displayed as a hunk of data like it isn't even getting to my xsl stylesheet. Below is my sitemap of the aggregation. Even if I use the File generator I get the

RE: Multivaluefield - getting values in JXTemplate?

2004-06-21 Thread H . vanderLinden
jexl/jxpath supports Map and List and arrays. argh, my explanation was really clumbsy what I tried to say was that @items should have as a value - an expression, ie: ${theme} or #{theme} - and not a string: theme Thx for completing on the possible datatypes! No worries. I'm in the

REPOST: problem in introspection part of JXTemplate, please HELP!

2004-06-21 Thread H . vanderLinden
Hi, I hope someone can help out, because I'm stuck and I need this code to be working before I can continue. Problem: I have two classes (simple class, not Avalong components), each with a method public String getFormattedValue(), say GoodClass and FaultyClass. In my JXTemplate I have:

INTSTALL.txt

2004-06-21 Thread Colin Paul Adams
Hello, I have just unpacked cocoon 2.1.5. I read INSTALL.txt and followed step (1) (obviously), (2) (it was already done, and then tried ./build.sh but I get: Exception in thread main java.lang.NoClassDefFoundError: org/apache/tools/ant/launch/Launcher -- Colin Paul Adams Preston

Re: DatabaseReader with PDF

2004-06-21 Thread J.Pietschmann
Olivier Bleses wrote: I would like to display pictures loaded from a BLOB in a database. To do this, I use the org.apache.cocoon.reading.DatabaseReader. When I generate an html page, it works fine. But when I generate a pdf page, I have the following message : XObject introuvable : Im1 (which

RE: Spring Petstore (was Re: CForms+Hibernate+Flow)

2004-06-21 Thread Christian Rosenberger
Ugo Cei wrote: I've added some instructions to the Wiki. Hope they're clear enough. If you drop the Spring Petstore block in your Cocoon source tree and build it, only the new block will be compiled. The new block is not compiled. There is no message during build process to build a Spring

Re: Spring Petstore (was Re: CForms+Hibernate+Flow)

2004-06-21 Thread Ugo Cei
Il giorno 21/giu/04, alle 21:50, Christian Rosenberger ha scritto: The new block is not compiled. There is no message during build process to build a Spring block. Also no block appears in the blocks directory of the webapps version. I've added one more step to the instructions. Please check.

SqlTransformer = Excption with Jboss

2004-06-21 Thread Oscar Picasso
Hi, I've installed cocoon-2.1.5 on a newly installed Jboss-3.2.4. I've tried to use the SqlTransformer example in samples/blocks but I get the following Exception: org.apache.cocoon.ProcessingException: Failed to execute pipeline.: java.lang.IllegalStateException: SQLTransformer: Not expecting

Internationalizing Form Validation?

2004-06-21 Thread Terry Brick
Is something like this built into Cocoon? I see that that I can use i18n to internationlize the text in the forms, but what about validation for things like date input fields... where different locales use different date formats... For example, depending on the locale, date input format should

Re: Internationalizing Form Validation?

2004-06-21 Thread Terry Brick
Never mind... I found the answer in the documentation. I had looked in the Form Validation section and didn't see it there... ended up finding it under data types... http://cocoon.apache.org/2.1/userdocs/forms/datatypes.html It is also possible to use different patterns for

Re: INTSTALL.txt

2004-06-21 Thread Antonio Gallardo
Hi: Have your setted JAVA_HOME environment variable? Best Regards, Antonio Gallardo Colin Paul Adams dijo: Hello, I have just unpacked cocoon 2.1.5. I read INSTALL.txt and followed step (1) (obviously), (2) (it was already done, and then tried ./build.sh but I get: Exception in

CocoonPortlet Questions

2004-06-21 Thread John Menke
As I understand it CocconPortlet will map the cocoon environment into the JSR Portlet API. I see from the Coccon Wiki that you can deploy this portlet into you portlet container but how does Cocoon interact with the CocoonPortlet? Questions: 1. I assume i need a Cocoon application running in

Re: INTSTALL.txt

2004-06-21 Thread Joerg Heinicke
On 22.06.2004 00:58, Antonio Gallardo wrote: Have your setted JAVA_HOME environment variable? I guess without JAVA_HOME he would not get that Java error. Exception in thread main java.lang.NoClassDefFoundError: org/apache/tools/ant/launch/Launcher This seems to happen in some rare cases (e.g.

Re: INTSTALL.txt

2004-06-21 Thread Colin Paul Adams
Joerg == Joerg Heinicke [EMAIL PROTECTED] writes: Joerg On 22.06.2004 00:58, Antonio Gallardo wrote: Have your setted JAVA_HOME environment variable? Joerg I guess without JAVA_HOME he would not get that Java error. Indeed, and I specifically said it was set. Exception in

Re: INTSTALL.txt

2004-06-21 Thread Antonio Gallardo
Hi: I use FC2 too. I am also using the same version of Java j2sdk1.4.2_04. I really wonder where the problem is. Please run this command before: export JAVA_HOME=/usr/java/j2sdk1.4.2_04 (note the export key). As an old UNIX user I noted often the problem is that people don't export an

Re: INTSTALL.txt

2004-06-21 Thread Colin Paul Adams
Antonio == Antonio Gallardo [EMAIL PROTECTED] writes: Antonio Hi: I use FC2 too. I am also using the same version of Antonio Java j2sdk1.4.2_04. I really wonder where the problem Antonio is. Please run this command before: Antonio export JAVA_HOME=/usr/java/j2sdk1.4.2_04 (note

Re: INTSTALL.txt

2004-06-21 Thread Antonio Gallardo
Colin Paul Adams dijo: Antonio == Antonio Gallardo [EMAIL PROTECTED] writes: Antonio Hi: I use FC2 too. I am also using the same version of Antonio Java j2sdk1.4.2_04. I really wonder where the problem Antonio is. Please run this command before: Antonio export

Re: INTSTALL.txt

2004-06-21 Thread Colin Paul Adams
Antonio == Antonio Gallardo [EMAIL PROTECTED] writes: Antonio Have you another ant installed in the system? Have you Yes: locate ant.jar /home/colin/cocoon-2.1.5/legal/ant.jar.license.txt /home/colin/cocoon-2.1.5/tools/lib/ant.jar /usr/share/ant/lib/ant.jar /usr/share/java/ant.jar