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

2004-07-16 Thread Derek Hohls
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 (b) how that inf can be passed as a parameter in the sitemap? Thanks Derek [EMAIL PROTECTED] 2004/07/15 05:24:22 PM Hi Derek, The

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

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 ... !DOCTYPE HTML PUBLIC -//W3C//DTD

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:

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 Cocoon is

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

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 days

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;

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

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 big

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

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): radiobutton label - 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.

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

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: fd:field id=special fd:labelMovie Theme/fd:label fd:datatype base=string/ !-- from internal pipeline... database call

Running Cocoon behind a Proxy

2004-07-16 Thread JACOB, ERIC
Hi, Im 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

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

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

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

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. map:match pattern=**/*.log map:read

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,

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

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: !-- Define a Proxied HTTP/1.1 Connector on port 8082 -- !-- See proxy documentation for more information about

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

Servlet doPost

2004-07-16 Thread Andrea Massimiliani
I've wittenservlet that implements method doGet and method doPost. if I write this: map:act type="request" map:parameter name="parameters" value="true"/ map:generate src=""/ /map:act in sitemap.xmap the servlet recognizes only doGet method. What can I write so that the servlet recognizes also

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 esql:* and retrieve the users email address and password then mail it to the user using mail:*. However, to do so, it would seem that I need to get the data

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

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

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://localhost/copy?src=mysourcedest=my-destination -- map:match pattern=copy map:action type=copy-action