images in wiki pages?

2004-11-30 Thread gounis
hi people is it way to put images in wiki pages ? the images can be in any url, but i dont know if i can put something like img src=http://any.url/image.gif/ in wiki im thinking that it will be nice to put some screens in documents like LoadInEclipse, etc thnx --stavros

Re: CForms work to do before marking it stable

2004-11-30 Thread Reinhard Poetz
I added the issues that came up in this thread to http://wiki.apache.org/cocoon/22StabilizeCocoonForms Could everybody (excepcially Tim, Sylvain, Bruno and Marc) who interested in a stable CocoonForms block review it and report back! This would be very helpful to agree on a feature set for

RE: Including External Apps in Cocoon Portal

2004-11-30 Thread Matt Innes
I've done a find tomcat5.0.28 -name *.log -mtime 0 -ls and checked all the files returned - nothing relevant. There are some InputStream: Document content looks like HTML 3.2 in stdout.log, but I think these are warnings. I guess I need to rack the logging up to DEBUG for the relevant bits and

Re: Dynamic adoption of SQL-Query in ESQL based on parameter

2004-11-30 Thread Markus Vaterlaus
Hello all, I got some other work to do, therefore the solution of my own problem had to wait a bit... However this morning I found time and implemented a solution. The information at http://cocoon.apache.org/2.1/userdocs/xsp/esql.html#Dynamic+Queries gave me a hint. For anybody else

RE: Including External Apps in Cocoon Portal

2004-11-30 Thread Matt Innes
Phil, Thanks for the help. JAlbum as used by me is a Swing app - it produces static HTML i.e. I can just point a browser at the directory that is produced and it just works - no container required. It claims to be W3C compliant XHTML (although they are lying a bit about this on the skin I am

RE: Slightly OT: accessing serial port using Java

2004-11-30 Thread Matt Innes
The problem is: how do I write the part that can communicate with the serial port? I don't know if I can do this in Java and I have never written software specifically for the Linux platform. One trick that I have used in the past was to write a small C program that talked to the serial port

retrieving a cookie value in flowscript

2004-11-30 Thread David Merrilees
I'm having trouble retrieving a cookie value in flowscript. I have a cookie set with the value 'true'. When I retrieve the value using flowscript I receive the error: true is not a function. org.apache.avalon.framework.CascadingRuntimeException: true is not a function. My flowscript: function

Re: retrieving a cookie value in flowscript

2004-11-30 Thread Andrew M
try adding .toString() at the end not sure, but that might so the trick. Andrew On 30 Nov 2004, at 09:42, David Merrilees wrote: I'm having trouble retrieving a cookie value in flowscript. I have a cookie set with the value 'true'. When I retrieve the value using flowscript I receive the

RE: retrieving a cookie value in flowscript - Email has different SMTP TO: and MIME TO: fields in the email addresses

2004-11-30 Thread David Merrilees
Thanks, but nojoy i'm afraid. From: Andrew M [mailto:[EMAIL PROTECTED] Sent: 30 November 2004 09:46To: [EMAIL PROTECTED]Subject: Re: retrieving a cookie value in flowscript - Email has different SMTP TO: and MIME TO: fields in the email addresses try adding .toString() at the end not

RE: retrieving a cookie value in flowscript

2004-11-30 Thread H . vanderLinden
function contact() { var test = cocoon.request.getCookies()[0].value() cocoon.sendPage( test.jx, { test : test } ); } the correct syntax is: cocoon.sendPage( test.jx, { test : test } ); -

RE: retrieving a cookie value in flowscript

2004-11-30 Thread robby . pelssers
the function getValue() should return a String... Anyway... shouldn't you use getCookies()[0].getValue() instead of .value() http://cocoon.apache.org/2.1/apidocs/org/apache/cocoon/environment/Cookie.ht ml Kind regards, Robby Pelssers -Original Message- From: David Merrilees

SQL Transformer ERROR

2004-11-30 Thread D.Skirde
Title: SQL Transformer ERROR Hi, I am attempting to use the sql transformer to make an insert to an oracle database. Running with cocoon version 2.1.4 Here is my sitemap: map:match pattern=soapcall map:generate type=wsproxy src=""> map:transform type=xslt src=""> map:transform type=sql

Re: Including External Apps in Cocoon Portal

2004-11-30 Thread pguillard
OK. The image point is easier. Even if you application is in portal/coplet or anywhere the page is still rendered by the main entry portal in portal folder sitemap (map:match pattern=portal ). Your browser is receiving some img src=images/foo.gif/ tags and will try to get them from there, thus

Re: Calling components from java

2004-11-30 Thread Robin Wyles
Ralph, Thanks for the clarification... Robin On 29 Nov 2004, at 17:53, Ralph Goers wrote: Robin Wyles said: Jorg, On 29 Nov 2004, at 12:20, Jorg Heymans wrote: It is my understanding that you can only call / lookup components from other components (i'ld love to be proven wrong on this btw). Write

Re: SQL Transformer ERROR

2004-11-30 Thread Markus Vaterlaus
Hi, just an idea: Did your test your insert statement in TOAD or SQL*Plus? Does ewo_lg_xml do any harm? HTH Markus On Tue, 30 Nov 2004 12:24:13 +0100, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, I am attempting to use the sql transformer to make an insert to an oracle

Re: SQL Transformer ERROR

2004-11-30 Thread D.Skirde
Title: Re: SQL Transformer ERROR Hi Markus, yes, i have tested the insert statement with toad. it run's well and their is no harm with anything. I have tested this moment the application on my notebook (Win XP, Tomcat) and all run's very well. Now, i am a little confused about this. Dirk

RE: retrieving a cookie value in flowscript - Email has different SMTP TO: and MIME TO: fields in the email addresses

2004-11-30 Thread David Merrilees
I believe both 'test : test' and 'test : test' are legal. It makes no difference either way as the statement fails on 'var test = cocoon.request.getCookies()[0].value()' -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 30 November 2004 11:09 To: [EMAIL

RE: retrieving a cookie value in flowscript - Email has different SMTP TO: and MIME TO: fields in the email addresses

2004-11-30 Thread David Merrilees
I thought that. Both methods produce the same error, as does getName(). -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 30 November 2004 11:18 To: [EMAIL PROTECTED] Subject: RE: retrieving a cookie value in flowscript - Email has different SMTP TO: and MIME

RE: retrieving a cookie value in flowscript - Email has different SMTP TO: and MIME TO: fields in the email addresses

2004-11-30 Thread H . vanderLinden
Try to break it down in steps: var cookies = cocoon.request.getCookies(); if (cookies.size() 0) { var firstcookie = cookies[0]; print(first cookie value: + firstcookie.getValue()); } HTH. Bye, Helma -Original Message- From: David Merrilees [mailto:[EMAIL PROTECTED] Sent:

RE: retrieving a cookie value in flowscript - Email has different SMTP TO: and MIME TO: fields in the email addresses - Email has different SMTP TO: and MIME TO: fields in the email addresses

2004-11-30 Thread David Merrilees
No, none of that works. I think there is a bug in cocoon. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 30 November 2004 12:22 To: [EMAIL PROTECTED] Subject: RE: retrieving a cookie value in flowscript - Email has different SMTP TO: and MIME TO: fields in

RE: retrieving a cookie value in flowscript - Email has different SMTP TO: and MIME TO: fields in the email addresses - Email has different SMTP TO: and MIME TO: fields in the email addresses

2004-11-30 Thread David Merrilees
That's solved it, thanks. I don't understand why I couldn't use getValue() though. -Original Message- From: Upayavira [mailto:[EMAIL PROTECTED] Sent: 30 November 2004 14:10 To: [EMAIL PROTECTED] Subject: Re: retrieving a cookie value in flowscript - Email has different SMTP TO: and MIME

HttpResponse.sendRedirect vs. ResponseWrapper

2004-11-30 Thread robby . pelssers
Hi all, We used HttpResponse.sendRedirect to divert to other pages in some cases. Like for instance : HttpResponse httpResponse = (HttpResponse)response; httpResponse.sendRedirect(WebApp.rewriteURI(id:helpinaccessnetwork)); But with Cocoon2.1.6, it seems that the response is of type

Re: SQL Transformer ERROR

2004-11-30 Thread D.Skirde
Title: Re: SQL Transformer ERROR Hi Markus, thanks for your EMail and help. Very kindly. I have solved the problem. Your tip with the char set brought me up on the right way. In my xml file i have commented out the following line: !-- xsl:output method=html encoding=ISO-8859-1/ -- and

Flowscript, posting a form to an external url and returning back to flowscript

2004-11-30 Thread Andrew M
x-tad-biggerHow do chaps, I will try my best to explain what i'm trying to do. Ok, I have a form which when filled out by a user is then submitted to a secure merchant account which checks the users credit card details: 1. flowscript: cocoon.sendPageAndWait(confirmOrder.xml,

Re: SQL Transformer ERROR

2004-11-30 Thread Markus Vaterlaus
Hi Dirk, hi list, glad you found a solution! --mv On Tue, 30 Nov 2004 15:45:45 +0100, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi Markus, thanks for your EMail and help. Very kindly. I have solved the problem. Your tip with the char set brought me up on the right way. In

Re: Flowscript, posting a form to an external url and returning back to flowscript

2004-11-30 Thread Andrew M
Reinhard, brilliant.. I will give that a try. many thanks Andrew On 30 Nov 2004, at 15:30, Reinhard Poetz wrote: Andrew M wrote: How do chaps, I will try my best to explain what i'm trying to do. Ok, I have a form which when filled out by a user is then submitted to a secure merchant account

https on a cocoon form

2004-11-30 Thread Andrew M
x-tad-biggerHi, I am using flowscript and wondered whether is is possible to set https on in flowscript before I call sendPage / sendPageAndWait? So for example: cocoon.sendPageAndWait(/x-tad-biggerx-tad-biggertakeCreditCardDetails.xml/x-tad-biggerx-tad-bigger,

[Cforms] Correct syntax for binding bean in repeater?

2004-11-30 Thread H . vanderLinden
Hi guys (and gals), Please help, I'm fiddling with this for the last week and I cannot get it to work properly. Situation: I have a bean (it's rather complicated for a bean) that holds a map of lists that I want to edit in a repeater. I either get nothing displayed at all or I get it displayed

Re: https on a cocoon form

2004-11-30 Thread Bertrand Delacretaz
Le 30 nov. 04, à 18:43, Andrew M a écrit : ...I am using flowscript and wondered whether is is possible to set https on in flowscript before I call sendPage / sendPageAndWait? I'd recommend using a front-end httpd server with mod_proxy for https, it's the easiest and cleanest way IMHO. See

Re: https on a cocoon form

2004-11-30 Thread Andrew M
x-tad-biggerBertrand, I currently have apache sitting at the front end passing requests to jboss on port 8080 like so in my http.conf: /x-tad-biggerx-tad-bigger# mod_jk2 configuration LoadModule jk2_module modules/mod_jk2.so # for jboss RewriteEngine on RewriteRule ^/WEB-INF/?(.*) $0 [L,F,NC]

Re: https on a cocoon form

2004-11-30 Thread Bertrand Delacretaz
...How would I, in this instance, be able to do what you recommended? Bare with me if this seems fairly obvious as I have never worked with https before... My setup is a bit different, I have documented it at http://wiki.apache.org/cocoon/ApacheModProxySsl I haven't explained the basic SSL

ExceptionSelector: Exception Not Unrolling

2004-11-30 Thread Kist, Paul
Hello everyone, I am using the ExceptionSelector to do some custom error handling based on the different Exceptions being thrown. It looks like the only Exceptions I am able to do anything with are the java.lang.RuntimeException and the org.apache.cocoon.ProcessingException. I set up a

Re: [Cforms] Correct syntax for binding bean in repeater?

2004-11-30 Thread Joerg Heinicke
On 30.11.2004 18:57, [EMAIL PROTECTED] wrote: Hi guys (and gals), Please help, I'm fiddling with this for the last week and I cannot get it to work properly. Situation: I have a bean (it's rather complicated for a bean) that holds a map of lists that I want to edit in a repeater. I either get

RE: [Cforms] Correct syntax for binding bean in repeater?

2004-11-30 Thread H . vanderLinden
fb:context xmlns:fb=http://apache.org/cocoon/forms/1.0#binding; path=/ fb:repeater id=appointments parent-path=. row-path=lists/appointments If I change it into fb:repeater id=appointments parent-path=lists/appointments row-path=. That one is wrong, the above one

How do you submit repeater values to an ESQL Query Page? (through HTML)

2004-11-30 Thread Jonathan_Leaders
I have an HTML form that has a variable amount of fields. Because the number of fields (and thus their field names) are unknown at submission, how can I write an XSP page that will take the dynamic content? (The dynamic content however, is deducible, either by DOM tree, or local _javascript_

Flow: Javaflow and Sitemaps

2004-11-30 Thread Eric Gulatee
Hi, I am building a website with forms and javaflow etc. I have a nested structure so that forms and content for different modules are relatively easy to plug into the structure. My problem is the following: An admin module [subsitemap] may invoke a login flow, now the problem is that the

Re: How do you submit repeater values to an ESQL Query Page? (through HTML)

2004-11-30 Thread Carlos Chávez
[EMAIL PROTECTED] Escribio :-) I have an HTML form that has a variable amount of fields. Because the number of fields (and thus their field names) are unknown at submission, how can I write an XSP page that will take the dynamic content? (The dynamic content however, is deducible, either by

[CForms] Losing identity values in repeater. Please help!

2004-11-30 Thread H . vanderLinden
Hi, I finally have my repeater working, but now something odd happens: I loose the value of the widget that is defined as identity, which results in all existing rows being added as new. I suppose I'm doing something wrong, but I cannot figure out what. And it gets wierder by the minute: When

Re: [Cforms] Correct syntax for binding bean in repeater?

2004-11-30 Thread Joerg Heinicke
On 30.11.2004 21:57, [EMAIL PROTECTED] wrote: This method adds the new AppointmentBean to the list of appointments, something like: public void add(AppointmentBean ab) { this.lists.appointments.add(ab); } I know this is how the add method should work then, but the problem is that I have a

Re: [CForms] Losing identity values in repeater. Please help!

2004-11-30 Thread Joerg Heinicke
On 01.12.2004 00:25, [EMAIL PROTECTED] wrote: I finally have my repeater working, but now something odd happens: I loose the value of the widget that is defined as identity, which results in all existing rows being added as new. I suppose I'm doing something wrong, but I cannot figure out what.

detect that a session has expired (how to?)

2004-11-30 Thread Paul Joseph
Hi, I am wrestling with a requirement that I keep tabs of the number of users that are currently logged into the system. When the user logs in, I can increment the counter (no problem). When the user explicitly logs out, I can decrement the counter. However, how do I decrement the counter

Re: detect that a session has expired (how to?)

2004-11-30 Thread Mike Casey
I have been having a similar issue with a logging system I have been working on. I have got around this with sessions. In the FOM_Session class that is nested in the FOM_Cocoon class there are methods for getting the last accessed time and for setting the maximum inactive interval. From there,

Re: detect that a session has expired (how to?)

2004-11-30 Thread Benoit Deshaies
Have a look at HttpSessionListener. This requires modifing the web.xml if I remember. Also, in the past, I had an application that created some files on the hard drive that I wanted to delete when the user session ended (timeout or logout). To do this, I created a cleanup class that implemented

RE: [Cforms] Correct syntax for binding bean in repeater?

2004-11-30 Thread H . vanderLinden
I see. If 'lists' itself is a bean should it not simply work with setting context of repeater to lists bean and row-path to appointment list: fb:repeater id=appointments parent-path=lists row-path=appointments Hmm. Never tried. lists is actually a Hashtable or Hashmap (forgot which

RE: [CForms] Losing identity values in repeater. Please help!

2004-11-30 Thread H . vanderLinden
fb:repeater id=appointments parent-path=. row-path=lists/appointments fb:identity fb:value id=ID path=id/ Additionally I have added direction=save to my ID fields, ?? Shouldn't this be direction=load ? so that they can not even overwritten in flowscript. On the

Re: https on a cocoon form

2004-11-30 Thread Andrew M
Bertrand, I am using Apache 2.0.52 and have made the following amendments: 1. create a certificate file : /library/Apache2/conf/mysiteNew.crt 2. create a key file: /library/Apache2/conf/www.mysite.com.key 3. Amend the ssl.conf file: IfDefine SSL VirtualHost 127.0.0.1:443 .. SSLCertificateFile

Re: https on a cocoon form

2004-11-30 Thread Bertrand Delacretaz
Le 1 déc. 04, à 08:48, Andrew M a écrit : ...Suffice to say, when I enter https://www.mysite.com into the url I get 'the connection was refused when attempting to contact www.mysite.com'. What am I doing wrong???.. Most probably your server is not listening on the https port (443). I don't have