Re: Design of XSP version of JSP pager tag

2004-06-23 Thread Derek Hohls
Jim Sorry, no time to look at this in detail; but I am in the process of moving away from XSP (which is heading for deprecation) and trying to make more use of the SQLtransformer and the FilterTransformer. eg, use the former to create the set of data and then [from the user guide] use the

Hibernate and Spring Presentation

2004-06-23 Thread Derek Hohls
For those who are not members of the Java Lobby, you may be interested to know there is an on-line presentation [requires Flash] at: http://www.javalobby.org/eps/bflj/ -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner

Re: Low to zero-cost Cocoon hosting?

2004-06-23 Thread Derek Hohls
Unfortunately they say they cannot accept new users its also not clear from the site what hosting facilities they do offer... Derek [EMAIL PROTECTED] 2004/06/22 06:14:10 PM Derek Hohls wrote: Is there such a service for non-commercial Cocoon apps? Thanks Derek IIRC

Re: Low to zero-cost Cocoon hosting?

2004-06-23 Thread Derek Hohls
Yes, they are cheap but it seems only JSP - I will send an email, though, and ask... [EMAIL PROTECTED] 2004/06/22 06:21:28 PM Derek-- I've been looking at astra hosting (http://www.astrahosting.com). I'm not sure if they do cocoon specifically, but that might be worth a look. The plans use a

Re: Low to zero-cost Cocoon hosting?

2004-06-23 Thread Bertrand Delacretaz
Le 22 juin 04, à 16:45, Derek Hohls a écrit : Is there such a service for non-commercial Cocoon apps? Depending on what you mean by low-cost, you might want to look at virtual servers - you can get the functionality of a dedicated server for a few tenths of euro a month, for example at

Re: blogger-api and xml-rpc

2004-06-23 Thread Joose Vettenranta
Hi, in weblogging, there is 3 things: 1. blog-editor (online forms, client-software,etc..) 2. blog-servers a) for editors (making XML-files from online forms, XML RPC-apis...) b) for clients (showing those XML-files with correct transformation) 3. blog-client (rss-feed readers, web

Re: Low to zero-cost Cocoon hosting?

2004-06-23 Thread Derek Hohls
Bertrand The blurb on the bytemark-hosting site says Pd 15 - or has the pound devalued very rapidly vs the euro ?!! The greatnet site seems much cheaper, but hard to see what the hosting service are (given the German text)... Really; I just need some directory space for XML/XSL files (plus

SourceWritingTransformer, replacing more than 1 node

2004-06-23 Thread Stephanie Zohner
Hi all, I'm using cocoon 2.1.3 and I have a question regarding the source:insert tag of the SourceWritingTransformer. Is it possible to replace not only one node, but a whole set of nodes with one source:insert block? Here is an example to explain, what I mean: source:insert create=false

Re: Low to zero-cost Cocoon hosting?

2004-06-23 Thread Bertrand Delacretaz
Le 23 juin 04, à 10:04, Derek Hohls a écrit : ...The blurb on the bytemark-hosting site says Pd 15 - or has the pound devalued very rapidly vs the euro ?!! sorry, it's my english: I meant a few times ten euro a month, not a few 1/10 of euro ;-) ...The greatnet site seems much cheaper, but hard

Re: Low to zero-cost Cocoon hosting?

2004-06-23 Thread Derek Hohls
Bertrand Yes, I will keep looking - I was just hopeful that someone in the existing Cocoon community had a server up on which there was some space (and processor time!) available... Derek [EMAIL PROTECTED] 2004/06/23 10:14:26 AM Le 23 juin 04, à 10:04, Derek Hohls a écrit : ...The blurb on

Re: Low to zero-cost Cocoon hosting?

2004-06-23 Thread Johannes Textor
Derek, the greatnet hosting service starts at eur 15 for a virtual server. The cheapest cocoon hosting service I know is at http://www.starline-net.de/ (zis is german to though :) and costs eur 10. A friend of mine hosts his private page there and it works OK. If bandwidth and stability are not so

Re: Java flow: Passing parameters in actions

2004-06-23 Thread Stephan Michels
Am Di, den 22.06.2004 schrieb johan coens um 20:00: Hello, How do you read parameters you pass to your action in java flow? Sample call: map:call function=myCall map:parameter name=handler value=com.myHandler/ map:parameter name=myParam value=theValue/ /map:call In com.myHandler

Link Livesites: Cocoon 2.1

2004-06-23 Thread Rainer Jünger
Hi! we work a lot with cocoon. One of our Team members wrote the first German Cocoon 2.1 book (Stephan Niedermeier, he is already listed at your site). We would be very happy if you could add our Links! Cocoon 2.1.4: Bayerisches Geologisches Landesamt (http://www.geologie.bayern.de) realised

Calendar sample

2004-06-23 Thread Colin Paul Adams
I'm looking at the calendar sample. Is it possible to supply a sitemap parameter to the CalendarGenerator in order for it to generate complete weeks at the start and end of the month (i.e. fill in the last few days of the last month, and the few days of the next month), or will this involve

Re: Calendar sample

2004-06-23 Thread Ugo Cei
Colin Paul Adams wrote: I'm looking at the calendar sample. Is it possible to supply a sitemap parameter to the CalendarGenerator in order for it to generate complete weeks at the start and end of the month (i.e. fill in the last few days of the last month, and the few days of the next month), or

Re: Calendar sample

2004-06-23 Thread Colin Paul Adams
Ugo == Ugo Cei [EMAIL PROTECTED] writes: Ugo Colin Paul Adams wrote: I'm looking at the calendar sample. Is it possible to supply a sitemap parameter to the CalendarGenerator in order for it to generate complete weeks at the start and end of the month (i.e. fill in the

Re: blogger-api and xml-rpc

2004-06-23 Thread Gregor J. Rothfuss
Joose Vettenranta wrote: Lenya and cocoblog are both missing possibility to use client-software, because they both require use of online form, so own editor-clients are not possible to use. the lenya blog supports the Atom API. -- Gregor J. Rothfuss Wyona Inc. - Open Source Content Management

Re: Low to zero-cost Cocoon hosting?

2004-06-23 Thread Derek Hohls
I cannot use any local (company) machines, that's why I ask for other solutions. The starline looks OK; just a pity that they do not offer Cocoon as part of the basic package (5E) as I do not really need the bandwith or storage space how good is their support for English speakers? The wiki

Re: Cocoon and WAP problems

2004-06-23 Thread Oro smith
I tried this: map:match pattern=test(2).wml map:generate src=test.wml/ map:serialize type=wml/ /map:match It works. test.wml is displayed. Does that mean that the WAP gateway accepts characters like '(' and ')' ? Smith Quoting [EMAIL PROTECTED]: Oro smith schrieb:

Re: Calendar sample

2004-06-23 Thread Ugo Cei
Colin Paul Adams wrote: It's not the sample as such, only the output of the CalendarGenerator that I'm interested in. So I won't be sending you a patch for the stylesheet. When I've got my application to the point of working, I'll then try extending it, and then I'll send you the patch if I can

Generating wml

2004-06-23 Thread Oro smith
Is it possible for cocoon to generate two different wml codes, one in an opera browser and another in a wap emulator, for the same sitemap, xsl etc... - Still single? Click here to find the perfect match.

Lets Not Go Big Game Hunting!

2004-06-23 Thread Derek Hohls
No, this isn't a spam email. I just digested (er, read) Bruce Tate's brilliant article on Don't make me eat the elephant again where he looks at his past, current (and future?) love-hate relationship with the various EJB versions. Read it at:

Re: Low to zero-cost Cocoon hosting?

2004-06-23 Thread Johannes Textor
well their support might not be the right word, as the page states that the company is run by a sole student :) so you might just try and ask www.mirsky.de is also mentionable, we host our commercial projects there and despite some unannounced maintainment server shutdowns, the overall impression

Re: blogger-api and xml-rpc - use atom api and lenya

2004-06-23 Thread Joose Vettenranta
23.6.2004 kello 13:12, Gregor J. Rothfuss kirjoitti: Joose Vettenranta wrote: Lenya and cocoblog are both missing possibility to use client-software, because they both require use of online form, so own editor-clients are not possible to use. the lenya blog supports the Atom API. Oh, that is

Re: Lets Not Go Big Game Hunting!

2004-06-23 Thread Ivo Limmen
Derek Hohls wrote: No, this isn't a spam email. I just digested (er, read) Bruce Tate's brilliant article on Don't make me eat the elephant again where he looks at his past, current (and future?) love-hate relationship with the various EJB versions. Read it at:

Re: Low to zero-cost Cocoon hosting?

2004-06-23 Thread Jason Lane
On 23 Jun 2004, at 12:36, Johannes Textor wrote: Well we are about to take delivery of a brand new G5 Xserve, to be co-lo'd at TeleHouse London. I'd be prepared to offer a deal to a limited number of list users, dependant of the requirements. However we have some setting up to do etc... So we

Re: blogger-api and xml-rpc - use atom api and lenya

2004-06-23 Thread Thorsten Scherler
Joose Vettenranta wrote: 23.6.2004 kello 13:12, Gregor J. Rothfuss kirjoitti: Joose Vettenranta wrote: Lenya and cocoblog are both missing possibility to use client-software, because they both require use of online form, so own editor-clients are not possible to use. the lenya blog supports the

Re: Lets Not Go Big Game Hunting!

2004-06-23 Thread Ugo Cei
Derek Hohls wrote: I haven't had to tackle even a fraction of the technology that Bruce has had to deal with, but he sums up much of what I have been feeling in recent times about Cocoon; especially the whole issue about integrating persistence frameworks for database access, and all the layers

Can I queue http requests in Cocoon 2.1.5 standalone?

2004-06-23 Thread Thorbjørn Ravn Andersen
I have a situation where I want to use vanilla Cocoon with a few extra classes to render XSL-FO to an untraditional format, which I have working with the Jetty included. What I need to do now, is to limit the number of concurrent requests to avoid FOP to run out of memory, since we may have

Re: Lets Not Go Big Game Hunting!

2004-06-23 Thread Derek Hohls
Ugo Yes, he does (fair enough, he's an independant consultant) - and I think he makes his case *for* wanting to promote them very well - assuming he has had all the experience he speaks of... Derek [EMAIL PROTECTED] 2004/06/23 02:24:28 PM Derek Hohls wrote: I haven't had to tackle

Re: Low to zero-cost Cocoon hosting?

2004-06-23 Thread Upayavira
Dale Christ wrote: Derek-- I've been looking at astra hosting (http://www.astrahosting.com). I'm not sure if they do cocoon specifically, but that might be worth a look. The plans use a shared JVM, so that might be a problem. You can ask for a private JVM, but I'm sure that will cost you more...

Re: Cocoon and WAP problems

2004-06-23 Thread Oro smith
try to change the url pattern so that it doesn't contain parentheses, e.g.: mail/mail/mail_2_.wml some gateways don't like certain characters in URLs, e.g. commas. and as already mentioned check/compare HTTP headers. I tried mail/mail/mail_2_.wml Doesnt work!! again the error invalid wml

Re: Generating wml

2004-06-23 Thread Dirk Gronert
try the browserselector! Is it possible for cocoon to generate two different wml codes, one in an opera browser and another in a wap emulator, for the same sitemap, xsl etc... - Still single? Click here to find the perfect match.

RE: Design of XSP version of JSP pager tag

2004-06-23 Thread Menke, John
Derek, I was planning on the soap:call logicsheet to get my data. ALL XSP is deprecated? What is going to replace this? The SQL Transformer looks like it needs direct connect to DB. I can't do this i need to use SOAP. -jm -Original Message- From: Derek Hohls [mailto:[EMAIL

Re: Cocoon and WAP problems

2004-06-23 Thread Marco Rolappe
Oro smith schrieb: I tried this: map:match pattern=test(2).wml map:generate src=test.wml/ map:serialize type=wml/ /map:match It works. test.wml is displayed. Does that mean that the WAP gateway accepts characters like '(' and ')' ? seems like that. easiest would be if you

Again - how do I make saxon 8 the default xslt transformer?

2004-06-23 Thread Colin Paul Adams
Since no-one has been able to tell me anything, I'm trying to blunder my way through it. I think I've figured out everything except where to put the saxon8.jar file. I assume it must go in one of the sub-directories of the lib directory - I see Xalan is in lib/endorsed. but which one - and do I

Re: Cocoon and WAP problems

2004-06-23 Thread Oro smith
Quoting [EMAIL PROTECTED]: seems like that. easiest would be if you described what you use (emulator, gateway, etc.) and posted an archive containing the minimum to reproduce the problem (i.e. a minimum sitemap and accompanying wml files). I have the necessary tools installed and could

XMLDBTransformer updates problem!

2004-06-23 Thread Rui Alberto L.
Hi, sorry if this is a simple question, but I'm starting using this... What I'm trying to do is update a document in the xml database using XMLDBTransformer. The document that is passed to the transformer is: x:query type=update collection=users/ oid=myresource

Re: Lets Not Go Big Game Hunting!

2004-06-23 Thread sandor
[stuff snipped] Expand capabilities? Yes. Add power features? Sure. But lets keep it simple and usable!! My 2c soapbox for the day... You're right. My feeling is slightly different though. Context: I'm trying to tame Cocoon to make it useful for some lab exercises for our students. I'm

RegExp Transformer?

2004-06-23 Thread Jonathan Linczak
Hi all, New to this list, so go easy on me... :) I'm looking for something like a regular expression transformer. Here's the quick situation: I'm coming from the Lenya mailing list, and I found that one of the editors, Kupu, somehow erroneously adds a strange character when having multiple

XML serializer returns wrong mime-type with JSP Generator

2004-06-23 Thread Wouter Westendorp
Hi all, I use the following sitemap fragment to retrieve xml formatted contents from a JSP page, transform it and return it to the client as XML: map:match pattern=**.ext map:generate type=jsp src={1}.jsp/ map:transform src=stylesheets/page2ext.xslt

Re: XMLDBTransformer updates problem!

2004-06-23 Thread Robert
Rui Alberto L. Gonalves wrote: Hi, sorry if this is a simple question, but I'm starting using this... What I'm trying to do is update a document in the xml database using XMLDBTransformer. The document that is passed to the transformer is: x:query type=update collection=users/

Re: XMLDBTransformer updates problem!

2004-06-23 Thread Rui Alberto L.
My sitemap looks like: Transformers section: map:transformer logger=sitemap.transformer.xmldb name=xmldb src=org.apache.cocoon.transformation.XMLDBTransformer basexmldb:xindice-embed:///db/base /map:transformer The pipelines section: map:match pattern=blockuser map:generate

Re: blogger-api and xml-rpc - use atom api and lenya

2004-06-23 Thread Tony Collen
Joose Vettenranta wrote: 23.6.2004 kello 13:12, Gregor J. Rothfuss kirjoitti: Joose Vettenranta wrote: Lenya and cocoblog are both missing possibility to use client-software, because they both require use of online form, so own editor-clients are not possible to use. the lenya blog supports the

Securing XSP Files

2004-06-23 Thread Brent Johnson
I'm looking for some suggestions on how I can secure a set of XSP files. I'm working on a web based configuration GUI for my WebGate application. As of right now, when you initially go to the interface it checks a config.xml file for a certain XML tag - in this case configured/.. if this is set

BookmarkAction

2004-06-23 Thread Craig Christophersen
I haven't been able to find any info on the BookmarkAction that is included in 2.1.4. Any examples or suggestions? Craig Christophersen(406)496-6421[EMAIL PROTECTED]

Permission problem?

2004-06-23 Thread irfan.hamid
Hi, I am trying to run a command line from inside cocoon (2.0.3) hosted on tomcat (4.0.5) on a windows 2003 advanced server. To do this i have created a new action which i call if the pattern matches. inside the action i am using Runtime.getRuntime().exec(cmdline); The error stream from the

Re: BookmarkAction

2004-06-23 Thread Alex Romayev
This action is used with portal block. http://wiki.cocoondev.org/Wiki.jsp?page=PortalEngineBookmarks Cheers, -Alex --- Craig Christophersen [EMAIL PROTECTED] wrote: I haven't been able to find any info on the BookmarkAction that is included in 2.1.4. Any examples or suggestions? Craig

Re: Permission problem?

2004-06-23 Thread irfan.hamid
Hi again, So i partially figured the problem out. It's a problem of paths. If i give absolute paths for the input files it works. here is my directory structure: webapp | |---cocoon | |-stream (my webapp)

UTF-8 and Encoding Problems

2004-06-23 Thread Kist, Paul
Here's one I haven't seen before: I have an HTML form with the following input tag: input onclick=updateFields(this); name=select value=Patientrsquo;s Page type=radio The rsquo; is supposed to translate to this form of the single quote: ' However this string is being stored in the database,

Re: Generating wml

2004-06-23 Thread Skip Carter
Is it possible for cocoon to generate two different wml codes, one in an opera browser and another in a wap emulator, for the same sitemap, xsl etc... Yes. I do this by creating different entries in the name-useragent mapping in the sitemap and then using that info in the stylesheet.

Users history for session

2004-06-23 Thread Craig Christophersen
I am tasked with making a way for a user to bring up a history of their use for a session such that they can link from it to any document they have viewed. Any direction on how to accomplish this? I cannot use cookies. Should I store each request uri as a session attribute? Craig

Re: Cocoon and WAP problems

2004-06-23 Thread defe
The wml generated is here: ?xml version=1.0 encoding=ISO-8859-1? !DOCTYPE wml PUBLIC -//WAPFORUM//DTD WML 1.1//EN http://www.wapforum.org/DTD/wml_1.1.xml; wmlcard title=Wap mail id=maillink href=../main.css title= media=screen type=text/css rel=stylesheet/link href=../favicon.ico rel=icon/table

Re: Users history for session

2004-06-23 Thread Christopher Painter-Wakefield
We do something like this to create a cookie crumb trail through our application. Ours isn't a complete history, but instead a Stack that is truncated whenever the user re-visits a page already in the list. Anyway, we basically just keep a Stack variable with the request URIs in a session

Re: Cocoon and WAP problems

2004-06-23 Thread Skip Carter
The wml generated is here: ?xml version=1.0 encoding=ISO-8859-1? !DOCTYPE wml PUBLIC -//WAPFORUM//DTD WML 1.1//EN http://www.wapforum.org/DTD/wml_1.1.xml; wmlcard title=Wap mail id=maillink href=../main.css title= media=screen type=text/css rel=stylesheet/link href=../favicon.ico

Re: UTF-8 and Encoding Problems

2004-06-23 Thread Christopher Painter-Wakefield
Are you using Tomcat? If you do some searches, you'll probably turn up other postings on this topic. I can't remember all the ins outs, but supposedly the browsers incorrectly supply encoding information in their requests to Tomcat (ours were POST requests), and Tomcat by default assumes

Re: XML serializer returns wrong mime-type with JSP Generator

2004-06-23 Thread Joerg Heinicke
On 23.06.2004 18:00, Wouter Westendorp wrote: This works fine, except for the returned mime-type. Instead of returning the 'text/xml' mime-type (as expected by the XML serializer that does have the 'mime-type=text/xml' attribute), Cocoon returns a 'text/html' mime-type. I think this 'text/html'

Re: Generating wml

2004-06-23 Thread Joerg Heinicke
On 23.06.2004 13:20, Dirk Gronert wrote: try the browserselector! Is it possible for cocoon to generate two different wml codes, one in an opera browser and another in a wap emulator, for the same sitemap, xsl etc... From the other thread on WML I guess he *fears* that Cocoon does it

Re: Design of XSP version of JSP pager tag

2004-06-23 Thread Joerg Heinicke
On 23.06.2004 15:57, Menke, John wrote: ALL XSP is deprecated? What is going to replace this? The idea is to deprecate XSP *when* there will be a complete alternative. This alternative does not exist at the moment, maybe it will be based on jxtemplate. Joerg

Re: Low to zero-cost Cocoon hosting?

2004-06-23 Thread Joerg Heinicke
On 23.06.2004 12:29, Derek Hohls wrote: The starline looks OK; just a pity that they do not offer Cocoon as part of the basic package (5E) as I do not really need the bandwith or storage space At the end of the hosting page there is a part to pack your own customized package (Selfpaket - what

how to trigger one widget event from another

2004-06-23 Thread Johnson
Hi! I define a repeater widget with an event in it fd:repeater id=daily1List fd:field id=amt fd:labeli18n:text key=amtamt:/i18n:text/fd:label fd:datatype base=decimal/ /fd:field /fd:repeater fd:repeater-action id=removeDaily1

how to use the document object in a widget

2004-06-23 Thread Johnson
Hi! A newbie question,I want to handle the document object in widget like fd:on-value-changed document.getElementById(date).focus(); /fd:on-value-changed But document not define return. how to do this. Best Regards Johnson

Re: Again - how do I make saxon 8 the default xslt transformer?

2004-06-23 Thread David Crossley
Colin Paul Adams wrote: Since no-one has been able to tell me anything, I'm trying to blunder my way through it. I think I've figured out everything except where to put the saxon8.jar file. Have you seen the page http://wiki.cocoondev.org/Wiki.jsp?page=Saxon which may either help or confuse

RE: Design of XSP version of JSP pager tag

2004-06-23 Thread Corin Moss
---BeginMessage--- Hi There, I think that the paginator transformer will do what you need: http://cocoon.apache.org/2.1/howto/howto-paginator-transformer.html Hope that helps. Corin -Original Message- From: John Menke [mailto:[EMAIL PROTECTED] Sent: Wed 23/06/2004 1:14 PM To:

Re: Again - how do I make saxon 8 the default xslt transformer?

2004-06-23 Thread Colin Paul Adams
David == David Crossley [EMAIL PROTECTED] writes: David Have you seen the page David http://wiki.cocoondev.org/Wiki.jsp?page=Saxon which may David either help or confuse further :-) Please edit if you see David fit. No - I hadn't seen this. I followed all the instructions

Re: how to use the document object in a widget

2004-06-23 Thread Joerg Heinicke
On 24.06.2004 02:50, Johnson wrote: Hi! A newbie question,I want to handle the document object in widget like fd:on-value-changed document.getElementById(date).focus(); /fd:on-value-changed But document not define return. how to do this. It's form.lookupWidget(date); But there is

Re: Again - how do I make saxon 8 the default xslt transformer?

2004-06-23 Thread Colin Paul Adams
David == David Crossley [EMAIL PROTECTED] writes: I followed all the instructions (except for setting the log level as it didn't tell me how to do this - I copied the saxon8.jar file into lib/local.. David The instructions that i added are only for saxon-6.5.2 David