Re: Trouble connecting to MS SQL Server

2003-10-15 Thread iyy
check wiki cocoon site there is an article on the subject - Original Message - From: "Gianluca Sartori" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, October 15, 2003 2:45 PM Subject: Trouble connecting to MS SQL Server > Hi, > > I have two problems in trying to connect t

RE: GT2003 videos [Fwd: Finished Video Processing]

2003-10-15 Thread Mark H
Very useful having the videos available, I was at the GT but missed Stefano's talk. One thing though, I'm not sure if it's just my computer or not but the video track stops after 13 seconds while the audio track keeps going. Mark > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[E

Problem with authentication-framework

2003-10-15 Thread Frederic Gaus
Hi! I've got a real Problem with the authentication-framework. (By the way, I'm not 100% sure that the authentication-framework is the reason, but guess it is). I have a more or less complicated role-managment in my project. If a user want to change his profile, he logs in and does a click

RE: Mixed HTTP/HTTPS requests in Cocoon sessions

2003-10-15 Thread Gould, Troy (ELS)
This is more a matter of configuring your Web Server and/or Application Server.  By doing this, you still maintain the same session within your application (cocoon.) -Original Message-From: jcplerm [mailto:[EMAIL PROTECTED]Sent: Wednesday, October 15, 2003 3:38 PMTo: [EMAIL P

Problem mounting sub sitemap

2003-10-15 Thread Jim Collins
Hi,   I am trying to have a separate work area for development that is not located under the Webapp context. I have set up a mount point in the main sitemap.xmap like this:   reload-method="synchron" src="" uri-prefix="appsInf"/> Web The sitemap.xmap locate in "c:/projects/devwebsite/cont

Mixed HTTP/HTTPS requests in Cocoon sessions

2003-10-15 Thread jcplerm
I would like to know how can I go about implementing a website in which users have access to all site pages via HTTP, with the exception of login and credit card information updates, while keeping the same session while transitioning from non-secure to secure HTTP and vice-versa.   Has anyon

RE: "directory tree" like presentation of xml contents

2003-10-15 Thread Hugo Burm
Hi, I am using a DHTML tree from http://www.treeview.net to present an xml file. The Cocoon xsl stylesheet has to generate the client side Javascript functions like "insFld" that define the tree (see Treeview docs). And your client has to load the Treeview javascript library (ftiens4.js). Hugo B

RE: "directory tree" like presentation of xml contents

2003-10-15 Thread Robert Koberg
Hi, > > sorry I forgot something here. I want to present the XML in HTML. > You could modify this for your needs: display:block; display:none;

RE: "directory tree" like presentation of xml contents

2003-10-15 Thread Johannes Becker
Hi, sorry I forgot something here. I want to present the XML in HTML. Jonny From: "Lars Huttar" <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: <[EMAIL PROTECTED]> Subject: RE: "directory tree" like presentation of xml contents Date: Wed, 15 Oct 2003 10:40:05 -0500 > I want to present xml l

RE: cocoon build: files in src/targets "could not be found"

2003-10-15 Thread Lars Huttar
> From: Joerg Heinicke [mailto:[EMAIL PROTECTED] > > Hmm, can you try to move Cocoon into a directory without > spaces in the > name. Some days we fixed this for spaces in ANT_HOME and > JAVA_HOME IIRC, > but not for COCOON_HOME. OK, I tried that, and those "could not be found" messages disap

Re: Multiple row insert from html checkboxes

2003-10-15 Thread Luca Morandini
Tommy Smith wrote: PS: Is there a proper forum for Cocoon, I mean bulletin board style that is easy to search, you can post replies, etc. you can use your newsreader to read these mailing list, just by subscribing to: http://www.gmane.org Archives can be searched using: http://marc.theaimsgrou

Re: I am also having problems with logicsheets

2003-10-15 Thread pogietb
No, that's just from my fat fingers... I had to retype here, but the code does in fact have @*|node(). Hope you feel better. Pogie Christopher Painter-Wakefield <[EMAIL PROTECTED]> wrote: >Did you copy and paste from your files?  I did notice one strange thing in >your logicsheet: > >where you

Re: "directory tree" like presentation of xml contents

2003-10-15 Thread Tony Collen
Lars Huttar wrote: Internet Explorer will display XML in an indented, tree-like style (if there is no attached stylesheet). You can also look at the "Pretty-printing XML" FAQ at http://www.dpawson.co.uk/xsl/sect2/pretty.html By the way this is a topic for an XML or XSL list rather than Cocoon. (T

RE: Authentication Components

2003-10-15 Thread Ralph Goers
Carsten, Thanks for the info and letting me know that new doc was available. I still have a couple of questions. The section that discusses and says these resources are called whenever information about available roles or users is needed. What causes that to happen? Is it done just by or Cont

Re: I am also having problems with logicsheets

2003-10-15 Thread Christopher Painter-Wakefield
Did you copy and paste from your files?  I did notice one strange thing in your logicsheet: where you probably meant: Otherwise, this is a mystery to me.  Unfortunately I am out sick today, and I can't easily try your code out to see if I can reproduce your problem.  I hope it just the typo abo

Portal Framework

2003-10-15 Thread Ungvari Sandor
Hello! Has anybody managed to send some parameters from a coplet to itself. for example: I want to write a form, and I want to process the data in the same xsp. or I want to put some links in my coplet, and I want to generate changes only in the coplet. (index.html?asdasd=dsads) THX: Soma ---

RE: "directory tree" like presentation of xml contents

2003-10-15 Thread Lars Huttar
> I want to present xml like this: > > > bla > bla > bla > > bla > > bla > > > > > in a nice "directory tree"-style. > > I looked around for a suitable xsl, but I couldn't find one. > Has anyone got one/ knows of one?

RE: Flow script result as a generate

2003-10-15 Thread Reinhard Poetz
From: Ugo Cei > Reinhard Poetz wrote: > > If you use the JXTemplateGenerator at your view pipeline > (successPage) > > you can serialize the XML returned by the soapComponent. > > Do you mean that by simply using I get the > contents of the DOM in place of the element? AFAIK beans and DOM-

Re: AW: XSP and XSLT -> Exception in ServerPagesGenerator.generate()

2003-10-15 Thread Oleg Dulin
Weren't you firing SAX events in that "toSAX" line already ? Why are you even bothering with the node ? Oleg Jaksch Stefan wrote: Found the bug... Firing all sax events from my Document class results in something like this: . . . So I'll start working on my code

RE: Authentication Framework

2003-10-15 Thread Wilson, Colin
This does work although I also would like to use the session parameter if possible: http://apache.org/xsp"; xmlns:esql="http://apache.org/cocoon/SQL/v2"; xmlns:xsp-session="http://apache.org/xsp/session/2.0"; xmlns:xsp-request="http://apache.org/xsp/request/2.0"; cre

RE: Authentication Framework

2003-10-15 Thread Carsten Ziegeler
The prefix "parameter_" is removed, so using the way you describe with "userid", "password" should work, i guess. Carsten > -Original Message- > From: Patrick Hess [mailto:[EMAIL PROTECTED] > Sent: Wednesday, October 15, 2003 4:06 PM > To: [EMAIL PROTECTED] > Subject: Authentication Frame

Multiple row insert from html checkboxes

2003-10-15 Thread Tommy Smith
Hi All, Simple question: how? Has anyone an example they could share with me. PS: Is there a proper forum for Cocoon, I mean bulletin board style that is easy to search, you can post replies, etc. Personally I think this 'email question to everyone approach' is terrible. _

Cocoon + Bea Weblogic 7 Cluster

2003-10-15 Thread Patrick Hess
Hi, is here anyone who tried to use cocoon with Wl7 in a clustered setup? I'm asking myself if there are any problem to prepare for. Any information about a clustered cocoon would be helpful. Thanks a lot and have a nice day, Patrick Hess

GT2003 videos [Fwd: Finished Video Processing]

2003-10-15 Thread Steven Noels
Original Message Subject: Finished Video Processing Date: Wed, 15 Oct 2003 15:01:38 +0200 From: Stefano Mazzocchi <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: Apache Cocoon <[EMAIL PROTECTED]> All videos has been grabbed, cut, subtitled, exported, encoded and uploaded. Go t

Authentication Framework

2003-10-15 Thread Patrick Hess
Hi, I'm trying to implement a protected area in my cocoon setup. In the docs I found the following action: ... ... My question may be pretty simple: how to get the name/password in a XSP page? I found a parameters object in usable in the XSP and tried to get the value with par

2.0.4 and 304 Not Modified

2003-10-15 Thread Andrew Hoffman
Hi, I'm in the process of upgrading a couple of sites running from Cocoon 2.0.2 to 2.0.4 on various installs of Apache Tomcat, including 4.1.24 and 4.1.26. For some reason, Cocoon 2.0.4 won't pass back a '304 Not Modified' when I request a file that has already been loaded and has clearly been

AW: XSP and XSLT -> Exception in ServerPagesGenerator.generate()

2003-10-15 Thread Jaksch Stefan
Found the bug... Firing all sax events from my Document class results in something like this: > . . . So I'll start working on my code to get some well-formed xml out of my xsp... Stefan -Ursprüngliche Nachricht- Von: Oleg Dulin [mailto:[EMAIL PROTECTE

RE: Using quotes in an xsp page

2003-10-15 Thread Wilson, Colin
Ignore that PLEASE! Col WilsonWeb Programmer - Software Development Technology Centre Met Office Eddystone 1 Fitzroy Road Exeter Devon EX1 3PB United Kingdom Tel: +44 (0)1344 854560 Fax: none Mobile: +44 (0)1344 854560 E-mail: [EMAIL PROTECTED] http://www.metoffice.com -Origina

Using quotes in an xsp page

2003-10-15 Thread Wilson, Colin
How do I get this xsp page to put single quotes around the username and password? { = call .funct1( , ) } - To unsubscribe, e-mail: [EMAIL PROTECTED] For a

AW: XSP and XSLT -> Exception in ServerPagesGenerator.generate()

2003-10-15 Thread Jaksch Stefan
I transform the file in a pipeline like this: With this I get the Exception: Those work well for me: AFAIK is cocoon dealing w

Re: I am also having problems with logicsheets

2003-10-15 Thread pogietb
I'm running Cocoon 2.1.1 with Tomcat 4.1.27 on W2K Server. I've stripped the files down to bare bones. home.xsp: http://apache.org/xsp"; xmlns:ts="http://ts.org";> Test SOME TEXT logicsheet: http://www.w3.org/1999/XSL/Transform"; xmlns:xsp="http://apache.org/xsp"; x

Re: XSP and XSLT -> Exception in ServerPagesGenerator.generate()

2003-10-15 Thread Oleg Dulin
How do you transform the file ? Are you using a pipeline or something else outside of Cocoon ? Cocoon XSLT transformer as is is using standard org.w3c.dom , not JDom. Perhaps you should add your own JDom transformer into the pipeline. Otherwise, I recommend converting the object into DOM first.

XSP and XSLT -> Exception in ServerPagesGenerator.generate()

2003-10-15 Thread Jaksch Stefan
Hi, I'm using cocoon2.1.1 with tomcat 4.1.24 on win2000. I'm trying to use a java class (derived from org.jdom.Document) in a XSP (snippet below), transform the result with XSLT and serialize it to html. Calling just the XSP works, transforming a file (similar to the one generated by the XSP)

Re: Flow script result as a generate

2003-10-15 Thread Ugo Cei
Reinhard Poetz wrote: If you use the JXTemplateGenerator at your view pipeline (successPage) you can serialize the XML returned by the soapComponent. Do you mean that by simply using I get the contents of the DOM in place of the element? Ugo -- Ugo Cei - Consorzio di Bioingegneria e Informati

Portal framework and new Cocoon 2.1.2

2003-10-15 Thread Sylvain.Thevoz
Hello, I'm using the portal framework for almost one year and I have just updated my application to Cocoon 2.1.2 last stable release. My problem is that now the "Save" function in Customize doesn't work anymore. The user-profile file is not updated anymore. If There is already a profile for a u

Re: Trouble connecting to MS SQL Server

2003-10-15 Thread Frank Taffelt
see http://wiki.cocoondev.org/Wiki.jsp?page=MsSQL or you could use the jtds driver http://jtds.sourceforge.net/ hth, Frank - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: variable image

2003-10-15 Thread Upayavira
Frank Daly wrote: Hi I figured this out using google. The solution I found is to assign a variable to my xml element and use this variable as the source for my image http://localhost:8080/Images/'"/> Looks a bit complicated. Why not just: Referring to localhost wil

variable image

2003-10-15 Thread Frank Daly
Hi I figured this out using google. The solution I found is to assign a variable to my xml element and use this variable as the source for my image http://localhost:8080/Images/'"/> Frank ---Legal Disclaimer-

Re: Trouble connecting to MS SQL Server

2003-10-15 Thread Gianluca Sartori
Okay I solved the first problem but the second still remains. Someone of you has knowledge about MSSQLServer + Cocoon 2.1.2 ? I'm running Linux with MSSQLServer drivers from Microsoft. They worked just fine with JSPs and Servlets. Any help? Gianluca Il mer, 2003-10-15 alle 11:15, Gianluca Sartori

"directory tree" like presentation of xml contents

2003-10-15 Thread Johannes Becker
Hi, I want to present xml like this: bla bla bla bla bla in a nice "directory tree"-style. I looked around for a suitable xsl, but I couldn't find one. Has anyone got one/ knows of one? Thanks Jonny

FileGenerator adds XHTML namespace?

2003-10-15 Thread Andreas Hartmann
Hi Cocoon users, I just noticed an interesting behaviour of the FileGenerator: It transforms the source file http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd";> ... into http://www.w3.org/1999/xhtml"; version="-//W3C//DTD XHTML 1.1//EN"> ... Is t

Trouble connecting to MS SQL Server

2003-10-15 Thread Gianluca Sartori
Hi, I have two problems in trying to connect to a MS SQL Server. The first is a configuration problem: I configured cocoon.xconf modifing the existing "hb_pool" connection as follow: jdbc:microsoft:sqlserver://sql.elis.org:1433 DatabaseUser [passwd]

variable image

2003-10-15 Thread Frank Daly
Hi I query a database using xsp to get the path to an image file based on a user's selection. I now have this path in the content of an element but at run-time I won't know which image, and consequently which path, the user has selected. Is it possible to display this image using xsl and cocoon?

Re: choose a random image

2003-10-15 Thread Jon Evans
Bertrand Delacretaz wrote: Le Mardi, 14 oct 2003, à 13:34 Europe/Zurich, Jon Evans a écrit : > ...I can use a directory generator to give me a list of images, but I > don't know how to transform that list in order to select one of them > at random. The easiest thing that comes to mind is an XSL

RE: Flow script result as a generate

2003-10-15 Thread Reinhard Poetz
From: Joe Latty > The javascript function is called from a pipeline match > > > > > > > The function looks something like this > > function main() { > var output = new Packages.java.io.ByteArrayOutputStream(); > cocoon.processPipelineTo('blah/matcher, {}, output); > > var do

Flow script result as a generate

2003-10-15 Thread Joe Latty
The _javascript_ function is called from a pipeline match   pattern="test">    function="main" />      The function looks something like this   function main() {     var output = new Packages.java.io.ByteArrayOutputStream();     cocoon.processPipelineTo('blah/matcher, {}, output);     

form validator

2003-10-15 Thread Flavio
Hi all, a question from a newbie ... how is the best way for implementing form validations more specific than the ones in form-validator.xsl ? i need to do someyhing like check the existence of a code into a DB table and so on ... so which is the clearest way to do this ? now i run with cocoo

Re: IF - ELSE expression into an XSP with ESQL

2003-10-15 Thread Ed Sinjiashvili
Josep Riudavets Aguilo wrote: > Hi all ... [ skipped ] > If "solicitat" is true, no more database access are allowed, and the > XSP must ignore the second query. > > How can I implement this IF-ELSE expression? I know about > taglib for implementing java code, but I don't know if > ESQL taglibs c

RE: Authentication Components

2003-10-15 Thread Carsten Ziegeler
Ralph Goers wrote: > > Thanks, Carsten. > > Is there an example of accessing the user data somewhere? Is the > information about the user obtained from the handler resource? > Yes, everything the handler resource delivers is stored in the session and therefore available. The authentication example