Passing parameter from sitemap

2004-01-20 Thread Dmitry Diskin
Hi, I'm looking for a way to pass some constant parameter from sitemap to all my xsl styles. Basically I need to replace multiple occurences (bad design! not mine :)) of (c) 2001-2003 to something like (c) 2001-${currentyear}, where currentyear will be defined in single place (sitemap,

Re: Passing parameter from sitemap

2004-01-20 Thread Antonio Gallardo
Dmitry Diskin dijo: Hi, I'm looking for a way to pass some constant parameter from sitemap to all my xsl styles. Basically I need to replace multiple occurences (bad design! not mine :)) of (c) 2001-2003 to something like (c) 2001-${currentyear}, where currentyear will be defined in single

Re: [Portal, Woody, PDF]: PDF Output in new window

2004-01-20 Thread Helmut Tammen
Joerg Heinicke schrieb: On 17.01.2004 15:08, Helmut Tammen wrote: I´ve developed a woody app that has some input fields on a form and a Print button. Pressing the button leads to a pipeline that generates PDF Output of the form fields. This is o.k. as long as I run the woody application as

Re: Passing parameter from sitemap

2004-01-20 Thread Dmitry Diskin
Antonio Gallardo wrote: Dmitry Diskin dijo: Hi, I'm looking for a way to pass some constant parameter from sitemap to all my xsl styles. Basically I need to replace multiple occurences (bad design! not mine :)) of (c) 2001-2003 to something like (c) 2001-${currentyear}, where currentyear will

RE: Cocoon -Hibernate problems part 2

2004-01-20 Thread Hugo Burm
Hello 1) I assume Userss is a typo: class name=test.Userss table=users, your class appears to be test.User. 2 Check that the dtd http://hibernate.sourceforge.net/hibernate-mapping.dtd; is for the Hibernate version you are using (this one is for 1.x ?) 2) Turn on debugging in Hibernate and verify

Re: Passing parameter from sitemap

2004-01-20 Thread Antonio Gallardo
Dmitry Diskin dijo: However, this is not exactly what I want since I'll have to add xi:include ... / to each xsl file. I will do it, of course, if no other solutions exist. Ideally, I want to define something in sitemap (or include something just once), and then use it in each xsl file

Update flowscript's objects

2004-01-20 Thread mirko
Hi, I'm working with flowscript which uses my JavaBeans. Everytime I modify beans source code I need to restart my application to ensure that it uses updated beans. Classes are not updated also when I start new continuation. Is there a way to force flowscript to update beans it uses? TIA Regards,

Re: Passing parameter from sitemap

2004-01-20 Thread gounis
On Tue, 20 Jan 2004, Dmitry Diskin wrote: Hi, I'm looking for a way to pass some constant parameter from sitemap to all my xsl styles. Basically I need to replace multiple occurences (bad design! not mine :)) of (c) 2001-2003 to something like (c) 2001-${currentyear}, where currentyear

Re: Cocoon - Hibernate problems part 1

2004-01-20 Thread Ugo Cei
beyaNet Consultancy wrote: I have, for the first time, installed hibernate and followed instructions I managed to get concerning hibernate and cocoon, and of course it doesn't work! When you run the pipeline: What are the contents of the mapping file for test.User? Ugo

Re: Cocoon -Hibernate problems part 2

2004-01-20 Thread Ugo Cei
beyaNet Consultancy wrote: hi, as a follow on to the first email, I am adding here some further information as to the installation procedure I followed: ... class name=test.Userss table=users Userss? Is this a typo? Ugo - To

Re: Passing parameter from sitemap

2004-01-20 Thread Yury Mikhienko
On Tue, 20 Jan 2004 11:03:09 +0300 Dmitry Diskin [EMAIL PROTECTED] wrote: Antonio Gallardo wrote: Dmitry Diskin dijo: Hi, I'm looking for a way to pass some constant parameter from sitemap to all my xsl styles. Basically I need to replace multiple occurences (bad design! not mine

Re: Cocoon -Hibernate problems part 2

2004-01-20 Thread beyaNet Consultancy
Ugo, yes this is a typo and is not featured in my production code. Basically this the first time I am using Hibernate. I saw, what I thought was a, straight forward example just to see how things hang together in hibernate. Apparently I have been told the I am not doing the following:

RE: How can i get my mount root

2004-01-20 Thread Meyer, Christian
Thanks for your replies, but unsuccessfully i cant use both solutions. I want generate links in a xsp page. Till the next mainrelease we have to work with cocoon 2.0.4 . I thought there is an solution like the the getContextPath method in the request Interface. The context is only a part of the

XSP Action

2004-01-20 Thread Jan Hoskens
Hi, I've updated my cvs head today and tried to run my site. Whenever I want to use an xsp action, I get a nullpointer exception: ERROR (2004-01-20) 10:17.08:730 [sitemap.handled-errors] (/cocoon/cocoontest/index.html) http8080-Processor2/PipelineNode: java.lang.NullPointerExceptionat

Looking for data persistance method recommendation

2004-01-20 Thread mirko
Hi, What data persistance method could you recommend for flowscript + woody project? I started doing everything on my own following DAO pattern but because the lack of time I'm considering using existing framework: Castor or OJB. If anyone have experiences in these technologies I'd be very

Encoding Problem (slightly OT)

2004-01-20 Thread Nicolas Toper
Hi, If I'm using UTF-8 encoding with a French file special characters as é or à makes an error... I don't understand why... Isn't UTF-8 supposed to integrate this characters or did I miss something? Nicolas - To

Re: HTML Editor for Woody

2004-01-20 Thread Patrick Hess
Michael Wechner wrote: For the Lenya form editor we are using an XSLT src/webapp/lenya/xslt/authoring/edit/copy-mixed-content.xsl [...] Sounds good, I will have a look into lenya to get it working... btw, this week will be hackathon/sprint on Epoz at

Cocoon parameters encoding problem

2004-01-20 Thread Nicolas Toper
Hi, I'm trying to get the following parameter working through the same file. Here is my sitemap snippet where the generator src is a sitemap working on the same principle as Forrest (it does contain much more informations however: basically the map.xml contains the high level semantics and

Re: Looking for data persistance method recommendation

2004-01-20 Thread mirko
Nicolas Toper wrote: Have a look on Hibernate. They also explain well the overhead added by their tool. Thank you. I'll look on this. Hmm, Castor has one additional feature: mapping an object to XML stream. Do you know if Hibernate supports this? Reagrds, mirko

Re: Looking for data persistance method recommendation

2004-01-20 Thread Nicolas Toper
No Castor is infamously slow (or so I heard :=)) One advantage of Hibernate is that it is covered in the Wiki so Cocoon and Hibernate shouldnt be that hard to integrate Le Mardi 20 Janvier 2004 11:30, mirko a écrit : Nicolas Toper wrote: Have a look on Hibernate. They also explain well the

Re: Cocoon -Hibernate problems part 2

2004-01-20 Thread Ugo Cei
beyaNet Consultancy wrote: Ugo, yes this is a typo and is not featured in my production code. Basically this the first time I am using Hibernate. I saw, what I thought was a, straight forward example just to see how things hang together in hibernate. Apparently I have been told the I am not

Re: Cocoon -Hibernate problems part 2

2004-01-20 Thread beyaNet Consultancy
further to my original posts, the source of the material i used was from a tutorial situated at : http://wiki.cocoondev.org/Wiki.jsp? page=UsingHibernateToMakeYourJavaBeansPersistent If anyone has the time, could you take a look at this for me and see whether you get the same results. As

Re: HTML Editor for Woody

2004-01-20 Thread Marcin Okraszewski
I'm also using HTMLArea in project, and it works fine. I had problems with freezing when I used tabbed group styling (I have multilanguage articles), but version from CVS is fine. But coming to character escaping. I'm not sure what you exactly do, but I store the article in relational DB

Re: [Woody] Date field - how to change format to 24 hours.

2004-01-20 Thread Marcin Okraszewski
On 20.01.2004 00:12, Marcin Okraszewski wrote: But when I enter a sample date 24.01.2004 12:05, it is recognized as 00:05 (12:05am) (it is saved in DB in this way). But when I enter 24.01.2004 13:05, then it is all right (1:05pm). I might be wrong but isn't the change from AM to PM at 13:00

Re: slow pipeline (svg, aggregation)

2004-01-20 Thread Jorg Heymans
thanks for pointing me to catalogs because it seems that's exactly what i'm looking for. Having a few probs configuring it though, continuing this in thread catalog entities from a few days ago. Jorg Geoff Howard wrote: Jorg Heymans wrote: Why is the svgserializer making an http call to

parameter content from xml-file or woody widget

2004-01-20 Thread Ulrich, Dominik
Hi everyone I need to access a Pojectnumber, which is entered in a form earlier before. it is stored in a file by woody binding. so I need to have a map:parameter name=projectNR value=the number from file/in my sitemap. how can I manage to do this? I need this to copy this file with the

Re: Encoding Problem (slightly OT)

2004-01-20 Thread Joerg Heinicke
On 20.01.2004 11:14, Nicolas Toper wrote: Hi, If I'm using UTF-8 encoding with a French file special characters as é or à makes an error... I don't understand why... Isn't UTF-8 supposed to integrate this characters or did I miss something? Is it this one:

Best practice - use db xmldb of or file system for simple xml (xhtml) documents

2004-01-20 Thread gounis
i just copy from Marcin's mail But coming to character escaping. I'm not sure what you exactly do, but I store the article in relational DB (HSQLDB) and use ESQL logic sheet to take it out of there. And what I had to do, to was to use esql:get-xml/ instead of esql:get-string/ (hopefully

Re: Cocoon parameters encoding problem

2004-01-20 Thread Marcin Okraszewski
There is a form encoding parameter in the web.xml: init-param param-nameform-encoding/param-name param-valueUTF-8/param-value /init-param set there the encoding you are using (by default ISO-8859-1 is taken). Regards, Marcin Okraszewski Hi, I'm trying to get the following

Re: Best practice - use db xmldb of or file system for simple xml (xhtml) documents

2004-01-20 Thread Marcin Okraszewski
i just copy from Marcin's mail But coming to character escaping. I'm not sure what you exactly do, but I store the article in relational DB (HSQLDB) and use ESQL logic sheet to take it out of there. And what I had to do, to was to use esql:get-xml/ instead of esql:get-string/ (hopefully

Re: xsp:attribute bug ???

2004-01-20 Thread Luca Morandini
Marcin Okraszewski wrote: Try: xsp:logic if (false) { xsp:attribute name=should-not-betrue/xsp:attribute } /xsp:logic Regards, Wow - it works. Who would expect it is so simple :-) ;) don't forget that XSP has a more programmer-friendly syntax than JSP.

Re: Looking for data persistance method recommendation

2004-01-20 Thread Werner Guttmann
Interesting, indeed. Now, if that's really the case, would you mind sharing with us where you did hear this ? Werner On Tue, 20 Jan 2004 11:34:35 +0100, Nicolas Toper wrote: No Castor is infamously slow (or so I heard :=)) One advantage of Hibernate is that it is covered in the Wiki so

Re: catalog entities

2004-01-20 Thread Jorg Heymans
Hi, I am running cocoon 2.0.4 and have some problems with entity resolving as well. 1) i copied the resources/entities in the cocoon webapp dir (was not there, or maybe i deleted it long time ago) 2) i have nothing referencing the entity resolver in cocoon.xconf so I added entity-resolver

Re: Looking for data persistance method recommendation

2004-01-20 Thread Nicolas Toper
I may be wrong :=) I don't remembre, but I'm sure of having read that somewhere... Actually, I didn't try it b/c of that. Is it false? Le Mardi 20 Janvier 2004 12:39, Werner Guttmann a écrit : Interesting, indeed. Now, if that's really the case, would you mind sharing with us where you did

Re: HTML Editor for Woody

2004-01-20 Thread Patrick Hess
Marcin Okraszewski wrote: But coming to character escaping. I'm not sure what you exactly do, but I store the article in relational DB (HSQLDB) and use ESQL logic sheet to take it out of there. And what I had to do, to was to use esql:get-xml/ instead of esql:get-string/ (hopefully HTMLArea

converting svg to jpa _and_ map elements

2004-01-20 Thread Alten, Jelle Paul
Hi y'all, I was wondering if there is a way to convert svg to jpg or gif and some html-map element? I have some links in my svg to other documents, and would like to keep these links when serializing it. I think I'm looking for a svg-map serializer which will create the mapareay ... /map part of

Re: Encoding Problem (slightly OT)

2004-01-20 Thread Nicolas Toper
No Le Mardi 20 Janvier 2004 12:05, Joerg Heinicke a écrit : On 20.01.2004 11:14, Nicolas Toper wrote: Hi, If I'm using UTF-8 encoding with a French file special characters as é or à makes an error... I don't understand why... Isn't UTF-8 supposed to integrate this characters or did

RE: Cocoon -Hibernate problems part 2

2004-01-20 Thread Hugo Burm
I am starting to recognize this piece of code. I updated and tested two of the other Hibernate examples on the Wiki (the JXForms and the Woody one) with more recent versions of Hibernate and Woody, but not this one. So the DTD is probably wrong (see my previous email) Hugo Burm -Original

Re: Encoding Problem (slightly OT)

2004-01-20 Thread Lionel Crine
Hi, be carefull. ISO-8859-1 ASCII goes from 0 to 255 UTF-8 ASCII goes from 0 to 127 For example, A é is the 233 character in the ISO-8859-1 ASCII table. It will be encoded on one octet. But with UTF-8 this character is not included in the ASCII table so it will be converted from ISO-8859-1 to

Re: HTML Editor for Woody

2004-01-20 Thread gounis
is it possible to include a sample that use htmlarea in cocoon distribution. Are they licence problems or not ? --stavros On Tue, 20 Jan 2004, Marcin Okraszewski wrote: I'm also using HTMLArea in project, and it works fine. I had problems with freezing when I used tabbed group styling (I

Re: Looking for data persistance method recommendation

2004-01-20 Thread Antonio Gallardo
Nicolas Toper dijo: Have a look on Hibernate. They also explain well the overhead added by their tool. Le Mardi 20 Janvier 2004 11:48, mirko a écrit : Hi, What data persistance method could you recommend for flowscript + woody project? I started doing everything on my own following DAO

Re: converting svg to jpa _and_ map elements

2004-01-20 Thread Derek Hohls
Jelle Unfortunately not - but if you hear of such a thing I would interested - if you cannot find it, it should be possible to write such a code, especially for regular area shapes, and then aggregate the result via a pipeline. Derek [EMAIL PROTECTED] 2004/01/20 02:20:07 PM Hi y'all, I was

Re: Cocoon -Hibernate problems part 2

2004-01-20 Thread beyaNet Consultancy
Hugo, I am running version 2.1 of hibernate and changed the DTD so: !DOCTYPE hibernate-mapping PUBLIC -//Hibernate/Hibernate Mapping DTD 2.1//EN http://hibernate.sourceforge.net/hibernate-mapping-2.1.dtd> But still, nothing is written to the postgresql table! Andrew On 20 Jan 2004, at 12:09,

How do I access global sitemap variables within flow or jxpath?

2004-01-20 Thread Joakim Verona
Hello list, How do I access global sitemap variables within flow or jxpath? i would like, for instance, to access a global sitemap variable from within a JX template with somthing like this: ${cocoon.global.my-global-variable} but I can't figure out the correct syntax. Regards, /Joakim

Re: OJB Samples

2004-01-20 Thread leo leonid
On Jan 20, 2004, at 2:35 AM, Antonio Gallardo wrote: leo leonid dijo: Hi, is there anybody who has got the OJB samples up and running and maybe can give me a hint what might be wrong here? I use the latest CVS and have the required jars (jdo + jdori) in place. Yesterday I used the binary release,

JXForm - filling model with data from DB

2004-01-20 Thread Hubert Trzewik \(Prosystel\)
Need tip for following subject. JXForm is easy to create forms with multi-views and to build data model (for/from forms) just programming in _javascript_. But, let say, I need to prepare a data model before displaying form. And I need access to DB for that. Question is how toaccess SQL DB

Re: Best practice - use db xmldb of or file system for simple xml (xhtml) documents

2004-01-20 Thread Christofer Dutz
Marcin Okraszewski wrote: i just copy from Marcin's mail But coming to character escaping. I'm not sure what you exactly do, but I store the article in relational DB (HSQLDB) and use ESQL logic sheet to take it out of there. And what I had to do, to was to use esql:get-xml/ instead of

Re: Looking for data persistance method recommendation

2004-01-20 Thread mirko
Antonio Gallardo wrote: Nicolas Toper dijo: Have a look on Hibernate. They also explain well the overhead added by their tool. Le Mardi 20 Janvier 2004 11:48, mirko a écrit : Hi, What data persistance method could you recommend for flowscript + woody project? I started doing everything on my own

Cocoon CLI Request params

2004-01-20 Thread Stephanie Zohner
Hi, I'm just trying to get a better understanding of the cocoon command line interface. The configuration is quite tricky but with the help of the mailing list I could run a simple example, at least. However, my problem now is: How can I configure request parameters for one of the URLS in the

RE: Ask help for Cinclude implement

2004-01-20 Thread Morley Howell
Jian, The output you're getting doesn't make any sense to me. Are you reading this output from within a browser? Sometimes browsers don't recognize that they're receiving XML, and do strange things when displaying it. Try viewing the source of the output from within the browser. For example in

Re: catalog entities

2004-01-20 Thread David Crossley
Jorg Heymans wrote: Hi, I am running cocoon 2.0.4 and have some problems with entity resolving as well. 1) i copied the resources/entities in the cocoon webapp dir (was not there, or maybe i deleted it long time ago) 2) i have nothing referencing the entity resolver in cocoon.xconf so

Re: OJB Samples

2004-01-20 Thread leo leonid
Antonio Gallardo writes: leo leonid dijo: On Jan 20, 2004, at 2:35 AM, Antonio Gallardo wrote: leo leonid dijo: Hi, is there anybody who has got the OJB samples up and running and maybe can give me a hint what might be wrong here? I use the latest CVS and have the required jars

RE: [portal] Linking to portal pages

2004-01-20 Thread Alex Romayev
Hi Laurent, Thanks again for your help, -Alex == copletinstancedata/portal.xml: The calling coplet: coplet-instance-data id=news-summary-1 name=standard coplet-datanews-summary/coplet-data /coplet-instance-data The coplet being called, requires

Re: catalog entities

2004-01-20 Thread Jorg Heymans
snapped Well you cannot go around deleting stuff and copying other stuff and then expect the poor thing to still work. True, this was actually about 10 months ago, where I got the 2.0.4 distro and had no clue what was core and what were examples i didn't need. There was a wiki entry back then

Fragment extractor problems...

2004-01-20 Thread Derek Hohls
I am running Cocoon 2.1.3, under Java 1.4. Am having problems with the fragment extractor not showing the correct version of an SVG-JPEG serialisation. The page with just the SVG code embedded works just fine (the data itself varies, depending on a call to the retrieved from the database - and

Re: JXForm - filling model with data from DB

2004-01-20 Thread Christopher Oliver
See the Petstore sample. It contains a simple JS API for SQL. Hubert Trzewik (Prosystel) wrote: Need tip for following subject. JXForm is easy to create forms with multi-views and to build data model (for/from forms) just programming in JavaScript. But, let say, I need to prepare a data model

Re: JXForm - filling model with data from DB

2004-01-20 Thread Stephan Coboos
Hubert Trzewik (Prosystel) wrote: Need tip for following subject. JXForm is easy to create forms with multi-views and to build data model (for/from forms) just programming in JavaScript. But, let say, I need to prepare a data model before displaying form. And I need access to DB for that.

indents SourceWritingTransformer ?

2004-01-20 Thread Stephanie Zohner
Hi, I generate an XML File with cocoon with no indents. Like pageheader/headercontent/content Then I would like to save this file with indents with the SourceWritingTransformer. How can I do this? I already tried this (in vain): 1. I added indentyes/indent to the configuration of the

Woody Calendar in Portal

2004-01-20 Thread Helmut Tammen
Hi, can anyone tell me where I have to put the js-files for the woody calendar in the portal? I´ve found out that to include the woody-samples-styling.xsl into my central portal matcher in order to get the corresponding javascripts and the link to woody.css into my portal page: map:match

RE: Woody Calendar in Portal

2004-01-20 Thread H . vanderLinden
Check the woody-samples-styling.xsl. If I'm not mistaken you can add a URL parameter where to find the scripts. Hope this helps. Bye, Helma -Original Message- From: Helmut Tammen [mailto:[EMAIL PROTECTED] Sent: Tuesday, 20 January 2004 16:15 To: [EMAIL PROTECTED] Subject: Woody

Re: Looking for data persistance method recommendation

2004-01-20 Thread Brian McCallister
On Jan 20, 2004, at 9:06 AM, mirko wrote: That's why I asked on the group :) There is at least three frameworks: - Hibernate - Apache OJB - Castor I'd like to know information about using them in Cocoon, specially about its: - reliability - performance - good/bad integreation with Cocoon - easy

Re: [Woody] How to get value in flowscript, modify it, and put it back before xml bind

2004-01-20 Thread Brian Burridge
Unfortunately, form.getWidget(contacts.6.votes) returns null for me, instead of the value it contains. Brian On Mon, 2004-01-19 at 15:58, Jim Horner wrote: Appreciate the link, but I've been through that wiki many times and haven't been able to solve my problem. sorry. sometimes I have

How to access http-request parameters in a coplet

2004-01-20 Thread Stefan Eichenhofer
Hi everyone, is there a possibilty to directly access the http request parameters from within a coplet? Or, more generally, how are params passed to a coplet? thnx for help stefan

RE: Woody Calendar in Portal

2004-01-20 Thread Alex Romayev
You can include references to your javascript and css files in portal-page.xsl. --- [EMAIL PROTECTED] wrote: Check the woody-samples-styling.xsl. If I'm not mistaken you can add a URL parameter where to find the scripts. Hope this helps. Bye, Helma -Original Message- From:

allowing non-dynamic downloads.

2004-01-20 Thread James Cummings
Hi there, I've got a bit of a sitemap.xmap that currently looks like: map:match pattern=downloads map:generate src=downloads/downloads.xml/ map:transform type=xalan src=style/xsl/add-includes.xsl/ map:serialize type=html/ /map:match Now from this page of downloads there will be links

Re: [Woody] How to get value in flowscript, modify it, and put it back before xml bind

2004-01-20 Thread Bruno Dumon
On Tue, 2004-01-20 at 16:48, Brian Burridge wrote: Unfortunately, form.getWidget(contacts.6.votes) returns null for me, instead of the value it contains. To access it in the Javascript way, do: form.getModel().contacts[6].votes or to access it using the Java API (from flowscript):

RE: converting svg to jpg _and_ map elements... Torsten?

2004-01-20 Thread Alten, Jelle Paul
Hi Derek, That is too bad... I found something by Torsten Knodt, but that was too deep into Batik for me... Has anybody heard from him lately? Torstens story was here: http://www.mail-archive.com/[EMAIL PROTECTED]/msg01764.html Jelle -Oorspronkelijk bericht- Van: Derek Hohls

How to build a flexible menu system - example anyone?

2004-01-20 Thread pfennig63-cocoonusers
Hi fellow Cocoon users, I concider myself still a novice with Cocoon, but I love it already. Here is my desire: I'd like to build a flexible menu system into my generated websites. It should be simple but flexible. I tried to backport the Forrest Menu system, but got stuck with technical issues

Re: allowing non-dynamic downloads.

2004-01-20 Thread Jorg Heymans
the Serializer has a method getMimeType(), this method is called during pipeline setup IIRC so there is no way of setting it dynamically afterwards (if anyone says it is please let me know!). If your files have the correct extension then it is likely that the browser will do the right thing

RE: How to build a flexible menu system - example anyone?

2004-01-20 Thread Luke Penca
Title: RE: How to build a flexible menu system - example anyone? I used a _javascript_ menu named CoolMenus (www.dhtmlcentral.com) and had Cocoon generate the definition file on a periodic basis. Luke. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent:

RE: How to build a flexible menu system - example anyone?

2004-01-20 Thread H . vanderLinden
Hi, depends on what you mean by flexible. Do you want to build your menu structure in an XML file and read that or should the menu be based on the content of a directory? In the first case: go ahead and build an XML file, transform it using an XSL file and include it into an aggregation that

Re: How to build a flexible menu system - example anyone?

2004-01-20 Thread Nicolas Toper
i use a Forrest port. Can send it to you if you want Le Mardi 20 Janvier 2004 17:39, Luke Penca a crit : I used a javascript menu named CoolMenus (www.dhtmlcentral.com) and had Cocoon generate the definition file on a periodic basis. Luke. -Original Message- From: [EMAIL

Re: How to build a flexible menu system - example anyone?

2004-01-20 Thread Jorg Heymans
Nice tip, cool ! Luke Penca wrote: I used a javascript menu named CoolMenus (www.dhtmlcentral.com) and had Cocoon generate the definition file on a periodic basis. Luke. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tue 1/20/2004 10:13 AM To:

RE: How to build a flexible menu system - example anyone?

2004-01-20 Thread Remmerie Bart
Title: RE: How to build a flexible menu system - example anyone? Maybe you should check out the bonebreaker-bicycles example (about creating a navigation menu: simple straightforward) http://www.cocooncenter.org/articles/navigation.html Bart -Original Message- From: [EMAIL

action compiling problem

2004-01-20 Thread Dioc Vine
hi * Im a complete newbie to Cocoon and have troubles to compile actions. Im using the 2.1.3 distribution of cocoon and tried to compile the sample action HelloAction.java which comes with the source. Therefore I included the cocoon-2.1.3.jar and the avalon-framework-4.1.4.jar in the

Re: action compiling problem

2004-01-20 Thread beyaNet Consultancy
Georg, I presume that you are using ant to build? I use the following build script: 1. build.xml project name=User default=compile> target name=compile> javac srcdir=../classes --- directory you *java file(s) to be compiled are destdir=../classes -- destination where you want the compiled

Re: OJB Samples

2004-01-20 Thread Antonio Gallardo
Can you post the error? I think it can be related to a non enhanced classes. Best Regards, Antonio Gallardo - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Looking for data persistance method recommendation

2004-01-20 Thread mirko
Antonio Gallardo wrote: mirko dijo: I forgot to ask: if I return a query results' iterator (broker.getIteratorByQuery(query)), will I be able to pass it as a parameter to flows's view and then iterate it in my JXTemplate? I've a feeling that it won't work :( The iterator no, but a bean

Cocoon 2.1.3 on WebLogic 8.1: CocoonServlet does not have a default constructor

2004-01-20 Thread Oleg Dulin
I have an application based on Cocoon 2.1.1 that I need to update to Cocoon 2.1.3 (long story). The application worked fine under WebLogic 8.1 until I updated it to use Cocoon 2.1.3 jars ( I also updated cocoon.xconf and map:components to reflect class changes). Now, WebLogic won't even start

RE: Cocoon 2.1.3 on WebLogic 8.1: CocoonServlet does not have a d efault constructor

2004-01-20 Thread Ralph Goers
Did you update cocoon.xconf and the main sitemap when you upgraded (as well as all the jars)? I'm running 2.1.3 in Weblogic 8.1 with no problems. Ralph -Original Message- From: Oleg Dulin [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 20, 2004 4:50 AM To: [EMAIL PROTECTED] Subject:

DateInputModule : formatting

2004-01-20 Thread julien bloit
Hi, I'm confused because although I've read several threads about the question, I can't seem to get a final solution to formatting the result from DateInputModule. http://wiki.cocoondev.org/Wiki.jsp?page=InputModules article mentions the problem about format attributes not working, and also says

Re: Cocoon 2.1.3 on WebLogic 8.1: CocoonServlet does not have a d efault constructor

2004-01-20 Thread Oleg Dulin
Ralph: I customized my set up. My application does not run under Cocoon main sitemap. I took out everything from stock cocoon and turned it into a webapp such that the main sitemap IS my applicaton sitemap. That said, I copied components and cocoon.xconf and web.xml from the stock cocoon and

Re: Looking for data persistance method recommendation

2004-01-20 Thread Brian McCallister
If you are worried about the memory usage one thing you might want to consider is the paging support for collections. Specify to use a proxy for the collection, then set the proxy-prefetch-limit for the collection to the value you need (iirc, the default is either 50 or 200). It will only

RE: Cocoon 2.1.3 on WebLogic 8.1: CocoonServlet does not have a d efault constructor

2004-01-20 Thread Ralph Goers
But with your sitemap? I build Cocoon with only the blocks I want and then use the generated sitemap (except that I remove references to finding stuff in users home directories - the build should be able to be made to disable that!). I then use that as the main sitemap. All our stuff is in

Re: Looking for data persistance method recommendation

2004-01-20 Thread Antonio Gallardo
mirko dijo: Antonio Gallardo wrote: mirko dijo: I forgot to ask: if I return a query results' iterator (broker.getIteratorByQuery(query)), will I be able to pass it as a parameter to flows's view and then iterate it in my JXTemplate? I've a feeling that it won't work :( The iterator no, but

Re: Looking for data persistance method recommendation

2004-01-20 Thread Brian McCallister
I misread your statement - you are looking at collections coming back from the query, not object referenced collections. In this case the proxy-prefetch limit won't help you, however passing the lazy loading collection as the return value from whatever your query/repository/etc service is

Re: Cocoon 2.1.3 on WebLogic 8.1: CocoonServlet does not have a d efault constructor

2004-01-20 Thread Geoff Howard
Ralph Goers wrote: But with your sitemap? I build Cocoon with only the blocks I want and then use the generated sitemap (except that I remove references to finding stuff in users home directories - the build should be able to be made to disable that!). This can be done of course with an xpatch

action compiling (continued)

2004-01-20 Thread Dioc Vine
hi *, as Andrew proposed I now used Ant to compile my action (thanx a lot for the build file!). Its now guaranteed that every jar file in the cocoon/WEB-INF/lib directory is included in the class path. But still there is the same problem: java cant find ServicableAction and getLogger().

RE: Cocoon 2.1.3 on WebLogic 8.1: CocoonServlet does not have a d efault constructor

2004-01-20 Thread Oleg Dulin
Yes, my sitemap. Cocoon 2.1.3 WAR appears to work (although I get 404 trying to get to anything, it seems like cocoon servlet is loaded). So, I copied everything under WEB-INF from cocoon into my app, and components from the main sitemap into my sitemap. Still, same problem:

Re: Performance analysis/optimization?

2004-01-20 Thread Alex Romayev
http://cocoon.apache.org/2.1/performancetips.html --- Andrzej Jan Taramina [EMAIL PROTECTED] wrote: Can anyone point me to some resources that discuss the best way to do Cocoon (2.1.x) performance tuning and optimization? Thanks! Andrzej Jan Taramina Chaeron Corporation: Enterprise

Re: action compiling (continued)

2004-01-20 Thread beyaNet Consultancy
Georg, could you refresh my memory again and remind me what the error message was you were getting? Andrew On 20 Jan 2004, at 19:37, Dioc Vine wrote: hi *, as Andrew proposed I now used Ant to compile my action (thanx a lot for the build file!). Its now guaranteed that every jar file in the

RE: Cocoon 2.1.3 on WebLogic 8.1: CocoonServlet does not have a d efault constructor

2004-01-20 Thread Oleg Dulin
I don't see it anywhere in the cocoon buld. Let's go through this: I downloaded latest cocoon (cocoon-2.1.3). I ran build.bat Copied build/webapp to bea/user_applications/domains//applications/cocoon213 Deployed Tried hitting localhost:7001/cocoon213 and get 404 from Cocoon servlet.

net.sf.hibernate.MappingException: Error reading resource: test/User.hbm.xml

2004-01-20 Thread beyaNet Consultancy
Hi, when trying to run my hibernation app, i am getting the above mentioned error. Any ideas where I am going wrong? My hbm.xml file, situated in catalina/tomcat/web-inf/classes/test, is: ?xml version=1.0?> !DOCTYPE hibernate-mapping PUBLIC -//Hibernate/Hibernate Mapping DTD 2.1//EN

RE: Cocoon 2.1.3 on WebLogic 8.1: CocoonServlet does not have a d efault constructor

2004-01-20 Thread Ralph Goers
Cocoon.roles lives in an obscure place - underneath the classes directory. It will be in cocoon.jar if you are using that. Here is the way I build my site: 1. Build Cocoon with only the blocks I need and disabling the samples. 2. Copy all the jars in WEB-INF/lib to my maven repository in the

Re: How to access http-request parameters in a coplet

2004-01-20 Thread Alex Romayev
Hi Stefan, If you look at [portal] Linking to portal pages: http://www.mail-archive.com/[EMAIL PROTECTED]/msg08500.html thread that's been going on for a couple of days, I got some help on this from Laurent. I am now passing parameters to and between coplets. Still have a couple of issues,

RE: Cocoon 2.1.3 on WebLogic 8.1: CocoonServlet does not have a d efault constructor

2004-01-20 Thread Oleg Dulin
Ralph: Your pointing out cocoon.jar to me made me realize what a dumbass I am. I forgot to remove old cocoon-2.1.1 jars from WEB-INF/lib... I should've known from my experience that the exception I was getting is a classpath issue. Thanks a lot! My application appears to be working now! Oleg

Re: Cocoon CLI Request params

2004-01-20 Thread Upayavira
Stephanie Zohner wrote: Hi, I'm just trying to get a better understanding of the cocoon command line interface. The configuration is quite tricky but with the help of the mailing list I could run a simple example, at least. However, my problem now is: How can I configure request parameters for

Re: action compiling problem

2004-01-20 Thread Joerg Heinicke
On 20.01.2004 17:50, Dioc Vine wrote: hi * Im a complete newbie to Cocoon and have troubles to compile actions. Im using the 2.1.3 distribution of cocoon and tried to compile the sample action HelloAction.java which comes with the source. We have a HelloAction in the Cocoon sources??

Re: net.sf.hibernate.MappingException: Error reading resource: test/User.hbm.xml

2004-01-20 Thread Joerg Heinicke
On 20.01.2004 21:19, beyaNet Consultancy wrote: Hi, when trying to run my hibernation app, i am getting the above mentioned error. Any ideas where I am going wrong? My hbm.xml file, situated in catalina/tomcat/web-inf/classes/test, is: From the error messages it seems not to be related to

Re: Performance analysis/optimization?

2004-01-20 Thread Andrzej Jan Taramina
http://cocoon.apache.org/2.1/performancetips.html Found that...it's a bit slim on the info and ideas. Was wondering if there were any from the trenches ideas/suggestions that might be worth considering. Andrzej Jan Taramina Chaeron Corporation: Enterprise System Solutions

  1   2   >