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 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 Coco

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

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 gave me a hint. For anybody else intereste

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 usin

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 seri

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 erro

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 no joy 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 [mailto:[EM

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:              Here is my xsl:        http://apache.org/cocoon/SQL/2.0">     INSERT INTO ewo_

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 ( ). Your browser is receiving some tags and will try to get them from there, thus your images could be anywhere but the match

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 > d

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 PROTECTE

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 TO:

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] > Sen

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 the

Re: retrieving a cookie value in flowscript

2004-11-30 Thread Upayavira
Do: I've just tried this locally and had it working. A few things to try: print(cocoon.request.cookies); print (cocoon.request.getCookie("yourcookie")); What does they say? Remember that a session ID might be your first cookie. That may well not be what you are after. Regards, Upayavira David Mer

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
cocoon.request.cookies returns an array of all cookies from the domain, cocoon.request.getCookie("yourcookie") returns a reference to the cookie object. The problem comes when I try to retrieve the cookie value. The getValue() method of the cookie object returns the error "getValue is not a funct

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

2004-11-30 Thread Upayavira
David Merrilees wrote: cocoon.request.cookies returns an array of all cookies from the domain, cocoon.request.getCookie("yourcookie") returns a reference to the cookie object. The problem comes when I try to retrieve the cookie value. The getValue() method of the cookie object returns the error "

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 T

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 org.apac

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:       and all works fine. Thanks. Gruß Dirk

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 Upayavira
David Merrilees wrote: That's solved it, thanks. I don't understand why I couldn't use getValue() though. Thinking about it - because flowscript uses the FOM (flow object model), which provides a javascript wrapper around the actual java stuff you are accessing. Now, the FOM code actually impl

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

2004-11-30 Thread Andrew M
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 which checks the users credit card details: 1. flowscript: cocoon.sendPageAndWait("confirmOrder.xml", {"artistID":artistID,"artist_nam

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

2004-11-30 Thread Reinhard Poetz
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 which checks the users credit card details: 1. flowscript: cocoon.sendPageAndWait("confirmOrder.xml", {"artistID":a

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 wa

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 whi

Re: HttpResponse.sendRedirect vs. ResponseWrapper

2004-11-30 Thread Ralph Goers
The first thought that comes to mind is to get the HttpResponse object out of the ObjectModel. Ralph [EMAIL PROTECTED] said: > Hi all, > > We used HttpResponse.sendRedirect to divert to other pages in some cases. > Like for instance : > HttpResponse httpResponse = (HttpResponse)response; > htt

https on a cocoon form

2004-11-30 Thread Andrew M
Hi, 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("takeCreditCardDetails.xml", {:artistID,5959,5959,3636"artist_name":artist_name,5959,5959,3636">"userID":userID}); directs

[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 http:

Re: https on a cocoon form

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

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 config

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 situatio

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 not

Re: ExceptionSelector: Exception Not Unrolling

2004-11-30 Thread Joerg Heinicke
On 30.11.2004 20:51, Kist, Paul wrote: 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.Proc

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

2004-11-30 Thread H . vanderLinden
> > xmlns:fb="http://apache.org/cocoon/forms/1.0#binding"; path="/"> > > > row-path="lists/appointments"> > > If I change it into > > > row-path="."> > > That one is wrong, the above one (parent-path pointing to > root bean and > row-path pointing to the list) is correct. > > > the

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_ varia

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 sitem

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 b

[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 d

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 "ge

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. Y

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 if

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, wh

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 Ht

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: > > row-path="appointments"> Hmm. Never tried. "lists" is actually a Hashtable or Hashmap (forgot which one). I assumed the parent-path should be

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

2004-11-30 Thread H . vanderLinden
> > > row-path="lists/appointments"> > > > > > > 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 beans > themselves I do not > even have a setter for id, a

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: .. SSLCertificateFile /Library/Apache2/conf/mysiteNew.crt SS

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 t