Radio button with image

2004-05-28 Thread Steve
Hi all, I want to display different images next to each of the radio buttons appearing on the form. For example if there are 3 radio buttons for orange,apple and peach then i would like to have 3 different images next to each of the radio buttons. How do i achieve this. Is there any

upgrade to Cocoon 2.1

2004-05-28 Thread Geert Van Damme
Hi all, we're planning an upgrade from 2.0.4 to 2.1 and I'm asked to make an estimate of the time it will take. We currently just use XSP, XSLT and some custom transformers. Anything special I should know about the upgrade ? Any impact on the code used (XSP's with ESQL and sendmail logicsheet)

Re: Authentication: access role info in sitemap

2004-05-28 Thread mirko
mirko wrote: Hi, How can I access role information in the sitemap? I want to protect some pipelines to be only accessed by special users. I think I'll write an action that will put role to the parameters but maybe there is already written and better solution. (The best would be for me that the

RE: Converting linebreak to br/?

2004-05-28 Thread robby . pelssers
if you would translate it, then you'd have to translate br/ into lt;brgt; The translations i use most are : becomes gt; lt; space #160; amp; ' quot; -Original Message- From: Tony Collen [mailto:[EMAIL PROTECTED] Sent: 27mm2004

Re: Converting linebreak to br/?

2004-05-28 Thread Suzan Foster
Stephan Coboos wrote: I'am using a flowscript to retrieve text from a form's textarea. This text may contain some linebreaks \n. Now I want display the content with line breaks in a html view. So I need to convert \n to br/. For displaying the content of the textarea I'am using a JXTemplate.

Re: Problem using processPipelineTo()

2004-05-28 Thread Suzan Foster
Joerg Heinicke wrote: Sorry, a case of not enough coffee.. ;) However, the code is now failing on pipelineUtil.processToDOM() reporting: Streaming of an internal pipeline is not possible with a reader. Changing the pipeline to internal-only=false doesn't solve the problem. That's exactly

AW: AW: Retrieving session data from an action

2004-05-28 Thread Hildebrandt, Ole
Hi, I think sscontext.getAttribute() could work. Maybe you want to have a look at the API-docs: http://cocoon.apache.org/2.1/apidocs/org/apache/cocoon/webapps/session/conte xt/SimpleSessionContext.html Kind Regards Ole -Ursprüngliche Nachricht- Von: Bruce Perryman [mailto:[EMAIL

Re: How can I get access to continuation-id (flowscript) in xsl template

2004-05-28 Thread John L. Webber
Leonid, To get at the continuation ID from an xsp: xsp:logic WebContinuation kont = (WebContinuation) request.getAttribute(FlowHelper.CONTINUATION_OBJECT); xsp:logic if(kont != null ){ idxsp:exprkont.getId()/xsp:expr/id } /xsp:logic /xsp:logic Hope

Re: Authentication: access role info in sitemap

2004-05-28 Thread Guido Casper
mirko wrote: mirko wrote: Hi, How can I access role information in the sitemap? I want to protect some pipelines to be only accessed by special users. I think I'll write an action that will put role to the parameters but maybe there is already written and better solution. (The best would be

Re: Adding a global validation message to a form?

2004-05-28 Thread Joerg Heinicke
On 28.05.2004 11:24, Upayavira wrote: re: adding form-level validation error messageS. This is a feature I would use as well. In our applications, we often display the list of errors at the top of the form and then each field in error is styled in red and the label gets an *. This is something

Lucene Question

2004-05-28 Thread laurent_rorive
Dear All , I'd like to make a search tool based on cocoon, I think that the best way is to use Lucene. At first is this true ? I check the sample module and it seems to work so I will inspire myself from this. I'm still having a question : How is the index refresh ? Do I have to use CRON ?

Trouble with Cocoon 2.0.1 and i18n-Transformation

2004-05-28 Thread Marcus Rau
Hello, I'm working on a webapplication based upon Cocoon 2.0.1 (in combination with a JDK 1.3.0 from IBM and Tomcat 4.0.4 under Win 2000). Recently I encountered an uncomprehensible (for me!) problem with the i18n-Transformer. Translation keys from the i18n-catalogues can't be found though

Re: Creating links based on a condition in cocoon forms

2004-05-28 Thread Joerg Heinicke
On 28.05.2004 13:25, [EMAIL PROTECTED] wrote: Hi, We have a requirement in which we need to have a href tag for a row based on some values using cocoon forms. In short if based on some condition we need to add a href for a give row. We are using Cocoon2.1.4 and JDK version 1.4.2. Can someone tell

Email using Cocoon

2004-05-28 Thread Jones A
Is there any complete tutorial for developing an email application using Cocoon? The Samples dont provide enough information. Jones. - Still single? Click here to find the perfect match.

Re: Email using Cocoon

2004-05-28 Thread Antonio Gallardo
Jones A dijo: Is there any complete tutorial for developing an email application using Cocoon? Hint: See Apache James mailets - http://james.apache.org/ It can be integrated in Cocoon. James use Avalon too. Best Regards, Antonio Gallardo

Re: Trouble with Cocoon 2.0.1 and i18n-Transformation

2004-05-28 Thread Antonio Gallardo
Hi: Please carefully review your i18n tags. Not sure if in 2.0.1, but recently was found that i18n not log some problems in catalogs. I think there is bug report in bugzilla. BTW, if you can go to 2.0.4 it is more stable. Ir better to 2.1.5 Best Regards, Antonio Gallardo Marcus Rau dijo:

Re: Lucene Question

2004-05-28 Thread Antonio Gallardo
[EMAIL PROTECTED] dijo: How is the index refresh ? Do I have to use CRON ? Why not? Best Regards, Antonio Gallardo - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Has anyone used Cocoon for chinese language application ?

2004-05-28 Thread Vincent Mahe
Hello, It would be very interesting to me if you could send a "light" example of your messages.xml file ... Where you producing simplified chinese or traditional chinese ? Are you using a specific charset in the HTML you produce to tell the browser which charset it must use ? Or in the XSLT you

Re: Has anyone used Cocoon for chinese language application ?

2004-05-28 Thread Reinhard Poetz
Johnson wrote: Hi! We use chinese,by UTF-8,including pdf,everything good. the messages dic must be UTF-8 Do you mind preparing a small sample (including instructions what you need on the client-side)? If not, file a Bugzilla report (http://nagoya.apache.org/bugzilla/index.html) and I add

Re: Authentication: access role info in sitemap

2004-05-28 Thread mirko
Guido Casper wrote: var contextMan = cocoon.getComponent(Packages.org.apache.cocoon.webapps.session.ContextManager.ROLE); var authContext = contextMan.getContext(authentication); var userfrag = authContext.getXML(/authentication/ID); var rolefrag = authContext.getXML(/authentication/data/role);

Re: Cocoon 2.1.5 - javaflow problem (4)

2004-05-28 Thread Stephan Michels
Am Fr, den 28.05.2004 schrieb Joerg Heinicke um 0:28: On 27.05.2004 12:45, Enrico Migliore wrote: Right now I'm using the flowscript for the logic of my application, but I have to move fast to java. What do you think if I contact the authors of the javaflow block, and then post the solution

Include XML fragment that does not contain root element

2004-05-28 Thread Leszek Gawron
I have a string with xml fragment that is half-valid - it does not contain root element. I would like to generate sax events from that string without having to wrap it with any tag. The usage is : I want to integrate a radeox wiki parser into my web application. So if user enters __test__ abc

Has anyone tried to generate the sitemap.xmap via WebGUI ?

2004-05-28 Thread Andreas Schmid
I am currently developing a CMS based on Cocoon 2.1.4 The thing is changing contents is no problem.. but our users also want to add or delete pages on their webpage. So i thought it would be great to create an sub sitemap which holds the pages for the webpage. Has anyone experience in doing

Re: Has anyone tried to generate the sitemap.xmap via WebGUI ?

2004-05-28 Thread Andreas Kuckartz
Andreas Schmid wrote: I am currently developing a CMS based on Cocoon 2.1.4 Did you have a look at Apache Lenya (http://cocoon.apache.org/lenya) ? Andreas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: ServletContext.getRealPath()

2004-05-28 Thread Alan
* Joerg Heinicke [EMAIL PROTECTED] [2004-05-27 22:35]: On 27.05.2004 23:22, Alan wrote: I'm attempting to use cocoon.context.getRealPath() in my flowscript. Like so: cocoon.context.getRealPath(/WEB-INF) However, I'm getting this exception:

Jboss 3.2.1 - Cocoon 2.1

2004-05-28 Thread Martín Mauri
Hello users, I´ve succesfully deployed the Cocoon war file over JBOSS 3.2.1, but now I need to start adding application that work with cocoon. My question is that I simply can package my apps in .war files and simply deploy them or I need to do something else? how does cocoon realize that it's a

Re: Has anyone tried to generate the sitemap.xmap via WebGUI ?

2004-05-28 Thread Andreas Schmid
For better understanding: map:pipelines !-- This is the external matcher area , this are the links the customer should be able to create via GUI-- map:pipeline internal-only=false map:match patter=foo.html map:redirect-to uri=cocoon:template1_storyID10 /

Re: ServletContext.getRealPath()

2004-05-28 Thread Joerg Heinicke
On 28.05.2004 16:57, Alan wrote: I'm attempting to use cocoon.context.getRealPath() in my flowscript. Like so: cocoon.context.getRealPath(/WEB-INF) However, I'm getting this exception: org.apache.avalon.framework.CascadingRuntimeException: getRealPath is not a function. Does cocoon

Re: ServletContext.getRealPath()

2004-05-28 Thread Alan
* Joerg Heinicke [EMAIL PROTECTED] [2004-05-28 15:31]: On 28.05.2004 16:57, Alan wrote: I'm attempting to use cocoon.context.getRealPath() in my flowscript. Like so: cocoon.context.getRealPath(/WEB-INF) However, I'm getting this exception:

Re: Has anyone tried to generate the sitemap.xmap via WebGUI ?

2004-05-28 Thread Andreas Schmid
I just looked at the Sources of Lenya But i did not realy find anything that helps... They use the sitemap to move nodes up and down.. and other stuff... but the thing i want to do is do generate a sitemap.xmap dynamicaly. I did not find anything concrete, because the sources of lenya are

Re: ServletContext.getRealPath()

2004-05-28 Thread Joerg Heinicke
On 28.05.2004 17:38, Alan wrote: * Joerg Heinicke [EMAIL PROTECTED] [2004-05-28 15:31]: Found the code for FOM_Cocoon.java and there's this: /* TODO: Vote on the inclusion of this method public String jsFunction_getRealPath(String path) { return context.getRealPath(path);

Re: ServletContext.getRealPath()

2004-05-28 Thread Alan
* Joerg Heinicke [EMAIL PROTECTED] [2004-05-28 16:06]: On 28.05.2004 17:38, Alan wrote: * Joerg Heinicke [EMAIL PROTECTED] [2004-05-28 15:31]: Found the code for FOM_Cocoon.java and there's this: /* TODO: Vote on the inclusion of this method public String

Re: Lucene Question

2004-05-28 Thread laurent_rorive
Perhaps a bit young technology ? Antonio Gallardo [EMAIL PROTECTED] 28/05/2004 14:18 Please respond to users To: [EMAIL PROTECTED] cc: Subject: Re: Lucene Question [EMAIL PROTECTED] dijo: How is the index refresh ? Do I have to use CRON ? Why not? Best

Re: Adding a global validation message to a form?

2004-05-28 Thread Bruno Dumon
On Fri, 2004-05-28 at 11:24, Upayavira wrote: Joerg Heinicke wrote: On 28.05.2004 01:13, Benoit Deshaies wrote: re: adding form-level validation error messageS. This is a feature I would use as well. In our applications, we often display the list of errors at the top of the form and

File upload with Cocoon

2004-05-28 Thread Oleg Dulin
This questions was probably posted a number of times, but I cant find the information.. The examples in wiki appear out of date. I need to upload a file using Cocoon, and then in an XSP process it. Any tips ? Oleg

Re: Please give me a hand

2004-05-28 Thread Carlos Chávez
Hi, See : http://www.jfree.org/jworkbook/gnumeric-xml.pdf Cheers, Carlos Chávez. [EMAIL PROTECTED] Escribio :-) Is there any restriction on the total of cells in a styleregion? Joerg Heinicke [EMAIL PROTECTED] 2004-05-27 05:14 Please respond to users To: [EMAIL

Strange problem: Reference from XSL to FLowScript

2004-05-28 Thread Stephan Coboos
Hello, I have a strange problem which I cannot explain by my self. I'am using FlowScript to show a form containing a simple textarea via JXTemplate. The textarea can be filled out and after submit the content of the textarea will be displayed on a other html page as preview. Before displaying

Short Introduction to using Cocoon with non-roman languages - was: Has anyone used Cocoon for chinese language application ?

2004-05-28 Thread Jasper Michalczik
Dear Reinhard, dear Cocoon-users, I was asked to give a short explanation on how to use Cocoon for non-roman languages - especially Arabic - which should be of use for Chinese as well. I'm not too firm in using Cocoon, so please feel free to correct or extend this. All files have to be saved

Re: ServletContext.getRealPath()

2004-05-28 Thread Joerg Heinicke
On 28.05.2004 18:09, Alan wrote: Oh, sorry, I looked a bit to fast on it. We decided for FOM to provide as less functionality as possible. If someone has a use case for a feature not implemented like the one above he can propose it to be included. Then it can be voted about it (on the dev list

Re: Adding a global validation message to a form?

2004-05-28 Thread Joerg Heinicke
Moving this to dev list. Find the original thread at http://marc.theaimsgroup.com/?t=10855910974r=1w=4. On 28.05.2004 20:13, Bruno Dumon wrote: I'm not sure if this is a good solution, since those messages are not specifically recognized as being validation errors, and so this wouldn't work

Re: cocoon doesn't start

2004-05-28 Thread Joerg Heinicke
On 28.05.2004 23:24, Xaver wrote: Hello, I'm new to cocoon so please be patient. First warning: please don't ask for return receipts on public mailing lists ;-) I've installed Tomcat 5.25 which works well, after that I've downloaded cocoon 2.04 and istalled it as in the install file

Re: cocoon doesn't start

2004-05-28 Thread Xaver
Joerg Heinicke wrote: On 28.05.2004 23:24, Xaver wrote: Hello, I'm new to cocoon so please be patient. First warning: please don't ask for return receipts on public mailing lists ;-) Thanks for the help and sorry for the receipt, I noticed it after I sent the mail., too late. O:-) Xaver

SAXException while working with the sql transformer

2004-05-28 Thread Luis Javier Beltran
Hello everybody, I'm getting this SAXException: Unrecognized file format. It's weird because yesterday it was working ok, and I don't remember making any changes... well, this exception is thrown when I use the sql transformer. My sitemap.xmap is as follows: map:match pattern=qry.xml

Re: ServletContext.getRealPath()

2004-05-28 Thread Alan
* Joerg Heinicke [EMAIL PROTECTED] [2004-05-28 21:47]: On 28.05.2004 18:09, Alan wrote: Oh, sorry, I looked a bit to fast on it. We decided for FOM to provide as less functionality as possible. If someone has a use case for a feature not implemented like the one above he can propose it to

Re: ServletContext.getRealPath()

2004-05-28 Thread Joerg Heinicke
On 29.05.2004 02:08, Alan wrote: Not the thread about the decision, it only refers to that one, but includes also some of the ideas: http://marc.theaimsgroup.com/?t=10799658351r=1w=4 Actually, it references the method that I'm looking to expose. Even this! Sylvan suggests a