omit namespace declarations

2004-07-08 Thread Markus Reis
hi, i am trying to include my own smil-like xml file/template via cinclude into a xsp page and perform some transformation steps (e.g. replacing some tokens) in order to get a valid smil output ... ... everything works fine ... except that the smil element in the output smil file contains

RE: Lenya / Lynotype / webdav

2004-07-08 Thread Derek Hohls
Gary This looks v. interesting; are there any plans to include this in a future release of Lenya ie. is there a reason why the project has to use the BXE/Mozile0.5 as opposed to the newer 0.6 version...? Derek [EMAIL PROTECTED] 2004/07/07 01:36:46 PM Another alternative for within browser

Re: omit namespace declarations

2004-07-08 Thread Derek Hohls
markus please look through the mail archives; this one was answered just recently! i guess someone needs to add this to the FAQ in the WIKI?! derek [EMAIL PROTECTED] 2004/07/08 09:00:36 AM hi, i am trying to include my own smil-like xml file/template via cinclude into a xsp page and

Re: Lenya / Lynotype / webdav

2004-07-08 Thread Thorsten Scherler
Derek Hohls wrote: Gary This looks v. interesting; are there any plans to include this in a future release of Lenya ie. is there a reason why the project has to use the BXE/Mozile0.5 as opposed to the newer 0.6 version...? You can include in lenya more or less everything ;-). Lenya has a

RE: Lenya / Lynotype / webdav

2004-07-08 Thread Lincoln Mitchell
Very impressed with Mozile. I'll run with this for a while. Cheers Linc -Original Message- From: Derek Hohls [mailto:[EMAIL PROTECTED] Sent: Thursday, 8 July 2004 3:01 PM To: [EMAIL PROTECTED] Subject: RE: Lenya / Lynotype / webdav Gary This looks v. interesting; are there any

flowscript - javascript problem

2004-07-08 Thread defe
hi, i've got a the following javascript evaluation error : Can't find method net.sf.hibernate.impl.SessionImpl.load(java.lang.Class,string) when writing var s = HibernateHelper.currentSession(); var vhost = s.load(VHost, cocoon.request.getHeader(Host)); ... where,

RE: [WIKI] configuration tweaks

2004-07-08 Thread Derek Hohls
David To chip in my 2c; I think the issues that Helen is raising about the cluttered layout are valid - it took a while before I realized why - the page title is on the upper right of the page! This is a somewhat strange location... I think that if all the elements on the top were rearranged

Reading XML data from flowscript

2004-07-08 Thread Derek Hohls
Is there is a simple function in flow script that will allow me to: - access a specified XML file (say, passed as a request/sitemap parameter) - read in one or nodes from the file and store these as flowscript variables. Thanks Derek -- This message has been scanned for viruses and dangerous

Re: flowscript - javascript problem

2004-07-08 Thread Peter Velychko
Hello defe, Try to use var header = cocoon.request.getHeader(Host); var vhost = s.load(VHost, new java.lang.String(header)); Thursday, July 8, 2004, 10:29:28 AM, you wrote: dff hi, dff i've got a the following javascript evaluation error : dff Can't find method

Re: flowscript - javascript problem

2004-07-08 Thread defe
thanks Peter, it works now! Hello defe, Try to use var header = cocoon.request.getHeader(Host); var vhost = s.load(VHost, new java.lang.String(header)); - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

RE: [WIKI] configuration tweaks

2004-07-08 Thread David Crossley
Derek Hohls wrote: David To chip in my 2c; I think the issues that Helen is raising about the cluttered layout are valid - it took a while before I realized why - the page title is on the upper right of the page! This is a somewhat strange location... I think that if all the elements on

RE: [WIKI] configuration tweaks

2004-07-08 Thread David Crossley
Derek Hohls wrote: David To chip in my 2c; I think the issues that Helen is raising about the cluttered layout are valid - it took a while before I realized why - the page title is on the upper right of the page! This is a somewhat strange location... I think that if all the elements on

[Solution] [Flowscript] Delete files

2004-07-08 Thread Olivier Billard
Thanks Leszek and Robin, It works, many thanks ! -- Olivier Leszek Gawron wrote: Olivier Billard wrote: Hi cocooners ! I'm trying to delete a java.io.File flowscript, but delete is a reserved word in javascript, and I get the following error : SyntaxError: missing name after . operator calling

Re: Reading XML data from flowscript

2004-07-08 Thread Leszek Gawron
Derek Hohls wrote: Is there is a simple function in flow script that will allow me to: - access a specified XML file (say, passed as a request/sitemap parameter) you can get DOM from supplied uri via this code: var resolver = null; var source = null; try { resolver = cocoon.getComponent(

Re: New wiki - impressions?

2004-07-08 Thread Steven Noels
On 05 Jul 2004, at 13:39, Derek Hohls wrote: Upayavira So are you saying tough, we have to fit into some Apache 'corporate image' ?!... ah, I already miss the wild free days of the Independant Cocoon Wiki - maybe a small group of rebels will start a new, hidden site somewhere on the far side of

RE: [WIKI] configuration tweaks

2004-07-08 Thread Derek Hohls
David When I click on the: http://wiki.apache.org/cocoon/ConfigTodo?action=AttachFile the file *does* show up, and I can get or view it... I was not aiming this message at you specfically; it had your name because you had replied to the previous message, and indicated you had made all the

Re: [WIKI] configuration tweaks

2004-07-08 Thread Steven Noels
On 08 Jul 2004, at 10:25, Derek Hohls wrote: If this is not the case, I apologise - and can you tell me who would be the right person responsible for the overall look-and-feel of the site... What David is trying to hint at is that we are all responsible for the Cocoon Wiki. Anyone can contribute.

[cforms] field-styling Hyperlink

2004-07-08 Thread Remmerie Bart
Dear all, I've managed to create a hyperlink styling as follows: Adding the following code to forms-field-styling.xsl xsl:template match=fi:field[fi:styling/@type='myLink'] priority=2 a name=[EMAIL PROTECTED] id=[EMAIL PROTECTED] xsl:attribute name=hrefshowDetail/

PDF table in XML

2004-07-08 Thread s . q . huang
Hi, Do any one know how to generate a table using the FOPSerilizer? Table just like : Title1 Title2 Data11 Data12 Data21 Data22 30.5 56 Thanks Regards, Able.Huang

Re: handling XML Node deletion in CForms

2004-07-08 Thread Jeremy Quinn
On 7 Jul 2004, at 16:26, Vilya Harvey wrote: Jeremy Quinn wrote: Is there some way to have a FlowScript function called from the binding when node deletion takes place in a CForms repeater ? You could try using a fb:javascript element inside the fb:on-delete-row element of your repeater binding.

Re: handling XML Node deletion in CForms

2004-07-08 Thread Joerg Heinicke
On 08.07.2004 10:52, Jeremy Quinn wrote: Is there some way to have a FlowScript function called from the binding when node deletion takes place in a CForms repeater ? You could try using a fb:javascript element inside the fb:on-delete-row element of your repeater binding. I haven't tried it

Re: Reading XML data from flowscript

2004-07-08 Thread Peter Velychko
Hello Derek, Try to use the following function testPage() { var uri = cocoon.parameters.myUri; var resolver = cocoon.getComponent(Packages.org.apache.excalibur.source.SourceResolver.ROLE); var parser =

Re: [WIKI] configuration tweaks

2004-07-08 Thread David Crossley
Steven Noels wrote: Derek Hohls wrote: If this is not the case, I apologise - and can you tell me who would be the right person responsible for the overall look-and-feel of the site... What David is trying to hint at is that we are all responsible for the Cocoon Wiki. Anyone can

Cocoon 2.1.5 as a FreeBSD port

2004-07-08 Thread Sylvain Wallez
Hi all, Jean-Baptiste Quenot, a colleague of mine, made a FreeBSD port of Cocoon 2.1.5, replacing the previous one which was based on... Cocoon 1.8.3!! See http://www.freshports.org/textproc/cocoon/ The port includes a GUI to specify which blocks are to be included by the build. Enjoy, Sylain

Re: Reading XML data from flowscript

2004-07-08 Thread Peter Velychko
Hello Peter, Some corrections. I looked at mail of Leszek Gawron and uderstand that I forgotten to release components used. Taking into account the message of Leszek it sould be: var uri = cocoon.parameters.myUri; try { var resolver =

Re: Lenya / Lynotype / webdav

2004-07-08 Thread Michael Wechner
Derek Hohls wrote: Gary This looks v. interesting; are there any plans to include this in a future release of Lenya ie. is there a reason why the project has to use the BXE/Mozile0.5 as opposed to the newer 0.6 version...? BXE is not really part of Lenya, but rather an OSCOM project at

Re: handling XML Node deletion in CForms

2004-07-08 Thread Jeremy Quinn
On 8 Jul 2004, at 09:59, Joerg Heinicke wrote: On 08.07.2004 10:52, Jeremy Quinn wrote: Is there some way to have a FlowScript function called from the binding when node deletion takes place in a CForms repeater ? You could try using a fb:javascript element inside the fb:on-delete-row element

Re: Lenya / Lynotype / webdav

2004-07-08 Thread Michael Wechner
Thorsten Scherler wrote: Derek Hohls wrote: IMO it would not make much sense to ship lenya with Mozile0.6 because the BXE project as well seems to develope nicely. BXE is based on Mozile, but I don't know how the current status is. BXE and Mozile communities know each other quite well I think,

Re: getLogger() utilisation

2004-07-08 Thread Olivier Billard
Hi Lionel, You can make them inherit AbstractLogEnabled and give them the logger via setLogger(Logger logger) in a standard Avalon component, or from an XSP : xsp:logic MyClass class = new MyClass(); class.setLogger(getLogger()); /xsp:logic Note : the logger conf (category, level) is

RE: [WIKI] configuration tweaks

2004-07-08 Thread David Crossley
Derek Hohls wrote: I attached a sample layout to the page: http://wiki.apache.org/cocoon/ConfigTodo?action=AttachFile Great work Derek. I reckon that such positioning and top banner stuff would be possible. Let us wait until Moin-1.2 and then do it. If anyone really wants it now, then please

Re: PDF table in XML

2004-07-08 Thread J.Pietschmann
[EMAIL PROTECTED] wrote: Do any one know how to generate a table using the FOPSerilizer? Yes. If you need a more informative answer you'll have to supply a bit more context. Some table examples (although for specific problems): http://xml.apache.org/fop/fo.html#xsl-fo J.Pietschmann

Re: PDF table in XML

2004-07-08 Thread Mark Leicester
I have found this to be useful: http://www.ibiblio.org/xml/books/bible2/chapters/ch18.html Hope this helps! Mark So, let us talk, but let it be with no predetermined outcome. http://www.atomicmaestro.com On 8 Jul 2004, at 09:55, [EMAIL PROTECTED] wrote: Hi, Do any one know how to generate a

Re: handling XML Node deletion in CForms

2004-07-08 Thread Jeremy Quinn
Now, I realise that the Shot Previews cannot be deleted by JavaScripts in the Binding, because the user may decide to cancel the form operation after they have removed Shots in the repeater rows. So I need to maintain a record somehow of what Shots are being deleted, so I can then remove the

Disabling cookies

2004-07-08 Thread Oro smith
Is it possible to disable cookies in cocoon? How is this done?

indetation in the serializers

2004-07-08 Thread Lionel Crine
I all, I'd like to serialize my document without indentation so I define my xml serializer : map:serializer logger=sitemap.serializer.xml mime-type=text/xml name=xml src=org.apache.cocoon.serialization.XMLSerializer encodingUTF-8/encoding indentno/indent -- does not work

Sendmail action won't use the smtphost I assign

2004-07-08 Thread Gerben ten Wolde
Hi there, I'm trying to send an automated mail reply as part of a webapp I'm currently developing. I'm using cocoon 2.1.5 and tomcat 4.1.3. I've placed the mail.jar and activation.jar in the WEB-INF/lib dir of my webapp. I'm using the following matcher to test sending mail: map:match

sendmail nullpointerexception

2004-07-08 Thread Thomas Hartwig
Hello, I'm trying to use the sendmail feature like described in http://wiki.apache.org/cocoon/RecipeXSPSendMailExample, but it fails with an exception. I'm using 2.1.5 and try to set it up within the Lenya application. Jars are all placed. The error occurs if I submit the default form. I use

Velocity generator throws exception on encountering nbsp

2004-07-08 Thread kranga
I'm using cocoon 2.1 and I have a Velocity page that I'm trying to serve. The page as a non-breaking space nbsp in it. The exception I get is: The entity nbsp was referenced, but not declared. In generated document: html head at at

how to get Table names in the datasource

2004-07-08 Thread Reuben Christie
I m newbie to cocoon. I am trying to get list of tables in my MSSQL datasource using XSP. how do I do that ? i am confused because in xsp you dont create connection its cocoon who manages the connection to db.so how do i get object of type java.sql.Connection ? so that i can write the following

Re: Velocity generator throws exception on encountering nbsp

2004-07-08 Thread Peter Velychko
Hello kranga, Try to use #160; instead of nbsp;. Thursday, July 8, 2004, 5:53:26 PM, you wrote: k I'm using cocoon 2.1 and I have a Velocity page that I'm trying to serve. k The page as a non-breaking space nbsp in it. The exception I get is: k The entity nbsp was referenced, but not

RE: session problem

2004-07-08 Thread fabio . duo
The ouput i posted is not correct. I don't recive any attributes name. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Velocity generator throws exception on encountering nbsp

2004-07-08 Thread Stephan Coboos
kranga wrote: I'm using cocoon 2.1 and I have a Velocity page that I'm trying to serve. The page as a non-breaking space nbsp in it. The exception I get is: The entity nbsp was referenced, but not declared. In generated document: html head at at

Re: indetation in the serializers

2004-07-08 Thread Stephan Coboos
Lionel Crine wrote: I all, I'd like to serialize my document without indentation so I define my xml serializer : map:serializer logger=sitemap.serializer.xml mime-type=text/xml name=xml src=org.apache.cocoon.serialization.XMLSerializer encodingUTF-8/encoding indentno/indent -- does not

Re: [cforms] field-styling Hyperlink

2004-07-08 Thread Marc Portier
Bart, wouldn't you just want to make this an action instead, and have the click thus submit the form and trigger the flow-logic accordingly? in case you don't however lets take a stab at it... IIUC, (and putting it somewhat more general) you have something like: fd:repeater id=rep + fd:field

Re: Accessign eXist via XMLDB problem

2004-07-08 Thread Luigi Bai
Nick, You can either copy the xmldb-api-***.jar file from cocoon-2.1.4 into cocoon-2.1.5, or download the eXist source and fix org.exist.xmldb.DatabaseImpl to include the following method: public String[] getNames() { return new String[] { dbName }; } I've done both. You can access an

Re: indetation in the serializers

2004-07-08 Thread Joerg Heinicke
On 08.07.2004 14:45, Lionel Crine wrote: I all, I'd like to serialize my document without indentation so I define my xml serializer : map:serializer logger=sitemap.serializer.xml mime-type=text/xml name=xml src=org.apache.cocoon.serialization.XMLSerializer encodingUTF-8/encoding

Re: Disabling cookies

2004-07-08 Thread Joerg Heinicke
On 08.07.2004 13:20, Oro smith wrote: Is it possible to disable cookies in cocoon? How is this done? This is a servlet container issue, not Cocoon. Joerg - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

caching requests and pagination

2004-07-08 Thread Bhaskar Rathod
I am fairly new to cocoon. I am working on a web application where, based on the request parameters, I am generating output dynamically. I am using Paginator to send this output page-by-page. For each page, I use xslt transformation to generate proper html. The flow is as follows:

RE: how to access authentication context or to set up custom context during logi

2004-07-08 Thread Steve Schwarz
Hi, IIUC your solution below will put the user on the page they requested. It should only leave you with the do-login url if someone had tried to access a link to a protected page and was not yet logged in. Once they login their links will be correct for all other protected and non-protected

Form.load method

2004-07-08 Thread Scott Yeadon
Hello, Has anyone used the Form.load method for CForm binding within Javascript. I get a UniqueTag error that appears to be thrown from one of the Mozilla java libraries. The cocoon source has this method commented out, yet the samples obviously are working.

RE: Sendmail action won't use the smtphost I assign

2004-07-08 Thread Corin Moss
Title: Message Hi There, I'm not entirely sure if it's related, but you might want to look at this bug: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=28485 Which relates to the resetting of the SMTP Host. HTH, Corin -Original Message-From: Gerben ten Wolde