Functional programming (kind of)

2004-07-16 Thread Oscar Picasso
Hi, Is it possible to do some kind of functional programming with Cocoon. May be it's not the right term, so let me try to explain. I have the following pseudo sitemap: <-- example http://http://localhost/pic.jpg?src=my-svg-source --> 1- I would

Calling EJB using Cocoon 2.1.5

2004-07-16 Thread Madhav_Matta
Hello,  Need expert advise to call EJBs using Cocoon 2.1.5.  Also require help on how to send data from CForms to an EJB as a java object?    Please reply to [EMAIL PROTECTED].   Regards Madhav Matta   **

Singleton component

2004-07-16 Thread Glen Ezkovich
I have a component that I would like to be a singleton. What do I need to do to insure that it is recognized as such? Glen Ezkovich HardBop Consulting [EMAIL PROTECTED] http://www.hard-bop.com - new and improved site coming soon A Proverb for Paranoids: "If they can get you asking the wrong questi

RE: Esql + mail in XSP

2004-07-16 Thread Sal Mangano
Never mind. My problem. It's NOT . It would be nice if there was some validation in the various namespaces like esql, mail, etc. before you get to the code generator! It would have saved me an hour or two! > -Original Message- > From: Sal Mangano [mailto:[EMAIL PROTECTED] > Sent: Frid

Esql + mail in XSP

2004-07-16 Thread Sal Mangano
I am trying to implement a "forgot password" page using XSP. This seems like it should be a no brainer. I want to query my user database using and retrieve the users email address and password then mail it to the user using . However, to do so, it would seem that I need to get the data that esql r

Servlet doPost

2004-07-16 Thread Andrea Massimiliani
I've witten servlet that implements method doGet and method doPost. if I write this:             in sitemap.xmap the servlet recognizes only doGet method. What can I write so that the servlet recognizes also doPost method? Personalizza MSN Messenger con sfondi e foto. E' divertente! --

Generating XML from flow for auth-fw

2004-07-16 Thread Steve Schwarz
Hi I've written some flowscript to perform login validation using OJB and on success I end up with a populated bean. I then call sendPage() to a pipeline that uses JXPathGenerator along with the bean to create the XML that meets the needs of the authentication framework. My problem is that whil

RE: Running Cocoon behind a Proxy

2004-07-16 Thread JACOB, ERIC
Ok, I found an answer... It's a Tomcat configuration, but I think it may be useful for Cocoon's users. It is possible to define a proxied connector in conf/server.xml, like this: Thanks, Eric -Original Message- From: JACOB, ERIC [mailto:[EMAIL PROTECTED] Sent: Friday, Ju

Namespaces problem when using XSP or XSLT

2004-07-16 Thread Nick
Hi everybody, I just run into a very interesting behavior of XSP (I guess this would also apply to any XSLT transformation). It temporarily ( XSLT seem to do it permanently ) removes name spaces from the files. To be more specific, the name spaces are not there when SAX events occur, but they a

Flow and Webservices

2004-07-16 Thread Christian Mayrhuber
Hi, Are Webservice calls integrated into flow? I could't find anything than this proposal: http://wiki.apache.org/cocoon/FlowAndWebServices -- lg, Chris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-m

Re: How to view plain text files in IE 6

2004-07-16 Thread Martin Holz
Hello, "Stephanie Zohner" <[EMAIL PROTECTED]> writes: > Hi, > > I want to display plain text files (log files) with cocoon (on a WIndows XP > platform). > Since I need no transformations I decided not to use Chaperon, but (only) > the resource reader. > > > > > > This, however, does not

Re: Forms and Database storage [was Re: woody and "big" radiobutton list]

2004-07-16 Thread Ugo Cei
Joose Vettenranta wrote: I did not find anything related to hibernate in cocoon 2.1.3, perhaps hibernate is still in expiremental feature? First: there's a licensing problem so, unless the ASF decides that distributing (L)GPL code is OK, you won't find code that depends on Hibernate in the Cocoo

How to view plain text files in IE 6

2004-07-16 Thread Stephanie Zohner
Hi, I want to display plain text files (log files) with cocoon (on a WIndows XP platform). Since I need no transformations I decided not to use Chaperon, but (only) the resource reader. This, however, does not work in IE 6 (but in Mozilla 1.7). In IE 6 a new Editor (!!) window is opened a

Re: Forms and Database storage [was Re: woody and "big" radiobutton list]

2004-07-16 Thread Derek Hohls
Joose Please search in the Cocoon Wiki for "Hibernate"; theres lots of stuff there to get started. Also check the Hibernate web page (remember I said its a 3rd part app); maybe you can also start a wiki page with the basics in it (for the next person!) http://www.hibernate.org/ Derek >>> [EM

Re: Forms and Database storage [was Re: woody and "big" radiobutton list]

2004-07-16 Thread Joose Vettenranta
Hi, Part 1: Forms fields Thanks derek for detailed sample. The thing I missed was that I can give cocoon: -style urls to selection-list. Part 2: Saving to a database The move is away from ESQL and Modular DB actions to 3rd party database persistence layers.. this is an I thought that modular d

Running Cocoon behind a Proxy

2004-07-16 Thread JACOB, ERIC
Hi,   I’m running Cocoon behind a proxy server and I need to get RSS feed from the Internet. What I should do to tell Cocoon to use the proxy? Is it a Cocoon or Tomcat configuration?   Many thanks,   Eric  

Forms and Database storage [was Re: woody and "big" radiobutton list]

2004-07-16 Thread Derek Hohls
Joose You are starting to venture in deeper waters here! Part 1: Forms fields This is not so hard, but quite fiddly Your form model will look like: Movie Theme And the form template (layout) will have (as Helma has said, yo

Re: coconn in tomcat

2004-07-16 Thread [EMAIL PROTECTED]
Jan Kohnert wrote: Hello List, I m new with Tomcat and Cocoon, so sorry for my newbie question. I searched the FAQa and the list (also some forums), but I found nothing concerning my problem. Maybe the problem is just to 'newbeeish' :) I m trying to get Cocoon run with Tomcat. Windows or Linux (or

Re: woody and "big" radiobutton list

2004-07-16 Thread Joose Vettenranta
Hi, Atleast my cocoon version does it only in this way (don't know if 2.1.5 does this better): - Joose 16.7.2004 kello 15:47, [EMAIL PROTECTED] kirjoitti: What about orientation "vertical"? Should be set in the styling option somewhere (check the docs for correct syntax). HTH. Bye, Helma -- "A

coconn in tomcat

2004-07-16 Thread Jan Kohnert
Hello List, I m new with Tomcat and Cocoon, so sorry for my newbie question. I searched the FAQa and the list (also some forums), but I found nothing concerning my problem. Maybe the problem is just to 'newbeeish' :) I m trying to get Cocoon run with Tomcat. Therefor I ve copied Cocoon into the T

Re: woody and "big" radiobutton list

2004-07-16 Thread Joose Vettenranta
Hi Derek.. Seems like I little bit over simplified my need =) Anyway, concerning to this, my next question is: If I have data on SQL-server, how can I make it as a forms field as radiobutton list? Is it possible if: a) I don't know the result-set b) I know the result set but only part of it are sh

RE: woody and "big" radiobutton list

2004-07-16 Thread H . vanderLinden
What about orientation "vertical"? Should be set in the styling option somewhere (check the docs for correct syntax). HTH. Bye, Helma > -Original Message- > From: Joose Vettenranta [mailto:[EMAIL PROTECTED] > Sent: Friday, 16 July 2004 13:38 > To: [EMAIL PROTECTED] > Subject: woody and

Custom Action dealing with AuthenticationContext

2004-07-16 Thread Stephanie Zohner
Hi all, I get a NullPointerException in my GetRolesAction, hope somebody of you guys can help me. With my action I want to make the user roles of a cwertain project available to the sitemap. The roles are stored in the Authentication Context. All I want to do is read out the roles from the Auth

Re: woody and "big" radiobutton list

2004-07-16 Thread Derek Hohls
Joose Any reason you cannot use Cocoon 2.1.5; the CForms are a fairly stable and more evolved verison of Woody - and certainly support radio buttons! Derek >>> [EMAIL PROTECTED] 2004/07/16 01:37:49 PM >>> Hi, seems like woody is nice, but I did not find a way to do radiobuton list like this;

woody and "big" radiobutton list

2004-07-16 Thread Joose Vettenranta
Hi, seems like woody is nice, but I did not find a way to do radiobuton list like this; Is this possible to implement? (cocoon 2.1.3) Thanks, Joose -- "Always remember that you are unique, just like everyone else!" * http://iki.fi/joose/ * [EMAIL PROTECTED] * +358 44 561 0270 *

Re: esql+xsp or sqltransformer? which one to use? which one is "better"?

2004-07-16 Thread Derek Hohls
Joose As always in the computing world, its hard to pin down "best" or "right"... and developers are always opinionated people, each convinced of his/her way! >From what I can see (as a non-core member), XSP was created as a 'general purpose' tool to handle a variety of situations in the early

esql+xsp or sqltransformer? which one to use? which one is "better"?

2004-07-16 Thread Joose Vettenranta
Hi, which one should be used to for what use? SQLTransformer or ESQL+XSP? and why? or does it matter? I once saw someone saying sqltransformer should be used and not esql+xsp combination... I have so far used only XSP+ESQL combination, but I started to think, should I start using SQLTransformer?

Re: broken html serialisation

2004-07-16 Thread Bruno Dumon
On Fri, 2004-07-16 at 09:55, David Crossley wrote: > Does any xml/cocoon expert here have any clues as to how > to solve this long-standing issue ... > > HTML serialization has no space between publicId and systemId > http://issues.apache.org/bugzilla/show_bug.cgi?id=28680 > > This is what Coco

cforms : show and hide widgets

2004-07-16 Thread Stephane Delort
Hello cocooners, I have a form with selection lists, just as the car-selector sample. I would like to display the list of "Type" to be displayed only once a "Make" had been choosed. I see two solution for this : 1 : could be cool if I could hide widgets in my flowscript withn something like :

how to avoid 'generator already set' error?

2004-07-16 Thread H . vanderLinden
Hi, I have this bit of flow script: function myFunction() { var form = new Form(formDef); form.createBinding(formBind); var success = false; var errMsg = ""; var count = 0; // to prevent endless loops while(!success && count < 10) { try { form.load(myForm); var viewData = { some:

broken html serialisation

2004-07-16 Thread David Crossley
Does any xml/cocoon expert here have any clues as to how to solve this long-standing issue ... HTML serialization has no space between publicId and systemId http://issues.apache.org/bugzilla/show_bug.cgi?id=28680 This is what Cocoon is producing recently ... http://www.w3.org/TR/html4/loose.dtd

Re: Authentication - passing user info to non-protected match?

2004-07-16 Thread Olivier Billard
Olivier Billard wrote: Derek Hohls wrote: Olivier Good to know there is a solution... would you mind providing me with an example of (a) how the variable(s) info is stored using SessionPropagatorAction You can have a look at the javadoc here, there is an example http://cocoon.apache.org/2.1/apidoc

Re: Authentication - passing user info to non-protected match?

2004-07-16 Thread Olivier Billard
Derek Hohls wrote: Olivier Good to know there is a solution... would you mind providing me with an example of (a) how the variable(s) info is stored using SessionPropagatorAction You can have a look at the javadoc here, there is an example http://cocoon.apache.org/2.1/apidocs/org/apache/cocoon/act