Re: How to access Session/Request object inside Transformer class

2004-07-02 Thread Robin Wyles
Hi, I may be looking at this too simplistically, or missing part of your problem, but it appears to me that you are trying to achieve all this in one pipeline, when two would be easier. 1st pipeline: 1. Generate the xml 2. Transform using xsl 3. Serialize into html, with the src of your image

Re: cl:links in cachingURI coplet ?

2004-07-02 Thread roy huang
Hi,Chris: I change the uri attribute because I change GAlleryViewer from URICoplet to CachingURICoplet,the CachingURICoplet need to change the original attribute.What make me stuffed is CachingURICoplet not URICoplet.Maybe it is a CachingURICoplet's bug. Roy Huang - Original Message

Re: Cannot get store error.

2004-07-02 Thread Oro smith
Dear Mr.Marco rolappe, All your assumptions turned out be perfect!! The application works perfectly now after i added the EncodeURL transformer!! regards Smith. Quoting [EMAIL PROTECTED]: > > > Oro smith schrieb: > > > The following error message is seen in the error.log file when >

Re: xinclude not working

2004-07-02 Thread Lionel Crine
Finally, I reinstall the webapps, upgrade the xalan and xerces to last version. All is working fine now. Diagnostic tool would have been useful but I was in a rush. If this happens again, I'll try that. Lionel Joerg Heinicke wrote: On 01.07.2004 14:57, Lionel Crine wrote: Hi, I'm using xinclude

Input module question

2004-07-02 Thread Lionel Crine
Hi, Is it possible to get the domain of the computer using the input module ? Lionel -- Lionel CRINE Ingénieur Systèmes documentaires Société : 4DConcept 22 rue Etienne de Jouy 78353 JOUY EN JOSAS Tel : 01.34.58.70.70 Fax : 01.39.46.06.90

make excel

2004-07-02 Thread Carl-Otto Kjellkvist
I would like to do an excel document of my data I get from a web services using xsp. Could someone give me a hint of what to do and maybe a link to a good tutorial or something? tnx c-o -- Using Opera's revolutionary e-mail client: http://www.opera.com/m2/

Re: fd:upload unexpected behaviour

2004-07-02 Thread Peter Velychko
Hello Joerg, Friday, July 2, 2004, 2:44:09 AM, you wrote: On 01.07.2004 20:55, Peter Velychko wrote: But try the sample with two upload widgets that are not required (see example below). fd:form xmlns:fd=http://apache.org/cocoon/forms/1.0#definition;

Re: How to access Session/Request object inside Transformer class

2004-07-02 Thread Java Developer
You are absolutely right Robin, it is really very simple when someone is working only with Cocoon and Fins and the xml input data is not coming from DB(which isn't the normal case). In my webapp scenario I have an existing webapp which is (as 90% of webapps these days) based on Struts and charts

Re: validating fd:booleanfield

2004-07-02 Thread Bruno Dumon
On Thu, 2004-07-01 at 19:06, Jeremy Quinn wrote: snip/ OK, the ClassCastException has gone. However, the updated BooleanField still outputs no fi:validation-message/ even when given (what I believe to be) an impossible to pass validation assert statement. fd:assert test=False() . . .

Re: Input module question

2004-07-02 Thread leo leonid
On 02.07.2004, at 09:38, Lionel Crine wrote: Hi, Is it possible to get the domain of the computer using the input module ? probably it's {request:serverName} what you're looking for. /Leo - To unsubscribe, e-mail: [EMAIL

Re: Validating fd:fields with datatype base=date

2004-07-02 Thread Peter Velychko
Hello Joerg, Friday, July 2, 2004, 12:46:12 AM, you wrote: On 01.07.2004 21:13, Colin Paul Adams wrote: I have a widget defined with a base datatype of date. I have the calendar pop-up attached so that the user can enter dates easily. However, if the users types in a date by hand, and gets

Re: make excel

2004-07-02 Thread Antonio Gallardo
Carl-Otto Kjellkvist dijo: I would like to do an excel document of my data I get from a web services using xsp. Could someone give me a hint of what to do and maybe a link to a good tutorial or something? http://wiki.cocoondev.org/Wiki.jsp?page=ExcelGeneration Best Regards, Antonio Gallardo

Re: make excel

2004-07-02 Thread Arnab Sengupta
Hi, You can use POISerializers for that. You can also checkout the POI project of jakarta which has API for reading and writing Excel. Thanks And Best Regards, Arnab Sengupta IBM Global Services Plot X1-7, Block - EP/GP, Saltlake Kolkata - 700 091 Telephone: +91 33 23579110 extn 3460(office)

Re: Input module question

2004-07-02 Thread Lionel Crine
The serverName is the name of the computer. In fact, I try to get the Domain where the computer is register. By default, this is WORKGROUP. Lionel leo leonid wrote: On 02.07.2004, at 09:38, Lionel Crine wrote: Hi, Is it possible to get the domain of the computer using the input module ? probably

Re: Input module question

2004-07-02 Thread leo leonid
On 02.07.2004, at 10:32, Lionel Crine wrote: The serverName is the name of the computer. In fact, I try to get the Domain where the computer is register. By default, this is WORKGROUP. Lionel then try {request:remoteAddr} and please have a look at the samples of your cocoon-dist.

Re: validating fd:booleanfield

2004-07-02 Thread Jeremy Quinn
On 2 Jul 2004, at 09:10, Bruno Dumon wrote: On Thu, 2004-07-01 at 19:06, Jeremy Quinn wrote: snip/ OK, the ClassCastException has gone. However, the updated BooleanField still outputs no fi:validation-message/ even when given (what I believe to be) an impossible to pass validation assert

Why Cocoon Stops processing all Requests URI the moment one of them has an exception

2004-07-02 Thread Arnab Sengupta
Hi All, I have a Cocoon pipeline that takes a huge xml as input. The stucture of xml is: Root Message !--- Other elements inside it -- /Message Message !--- Other elements inside it -- /Message Message !--- Other elements inside it -- /Message /Root Now I have an xsltc transformer taking an

Re: Show/Hide Widgets

2004-07-02 Thread Jeremy Quinn
On 1 Jul 2004, at 23:16, Joerg Heinicke wrote: On 01.07.2004 10:37, oceatoon wrote: Hello everyone Thanks for the answers, and the paths to solutions I went through Tim Larson's explanation, and GUI model that really give great ground for dynamic implementation, but also come with a certain

CForms Binding to XML file sample

2004-07-02 Thread Colin Paul Adams
It seems to me there is something seriously wrong with the binding to xml file sample. If I add a new row to the table at the bottom, I get the following XML output: data - wrapper - context - info email boolBindingWorks=false[EMAIL PROTECTED]/email number value=3/ choose

Link Livesites: Cocoon 2.1

2004-07-02 Thread Peter Velychko
Hi all, I'd like to suggest you the link to new site powered with cocoon 2.1.5. title: Zolotoverh.info description: The site of Ukrainian Orthodox Church (ukrainian) URL: http://www.zolotoverh.info/ Best regards, Peter Velychko [EMAIL PROTECTED]

Re: cl:links in cachingURI coplet ?

2004-07-02 Thread Christian Mayrhuber
On Friday 02 July 2004 09:15, roy huang wrote: Hi,Chris: I change the uri attribute because I change GAlleryViewer from URICoplet to CachingURICoplet,the CachingURICoplet need to change the original attribute.What make me stuffed is CachingURICoplet not URICoplet.Maybe it is a

Re: How to access Session/Request object inside Transformer class

2004-07-02 Thread Joerg Heinicke
On 02.07.2004 08:28, Robin Wyles wrote: Hi, I may be looking at this too simplistically, or missing part of your problem, but it appears to me that you are trying to achieve all this in one pipeline, when two would be easier. 1st pipeline: 1. Generate the xml 2. Transform using xsl 3. Serialize

Re: JspGenerator doesn't work from flow but does otherwise...

2004-07-02 Thread Joerg Heinicke
On 02.07.2004 07:01, Terry Brick wrote: Cocoon 2.1.5 Tomcat 5.0 Weird problem. I have a small test JSP that I'm accessing using JspGenerator. It works fine if I hit it straight from the browser (with a URL that matches pipeline in my sitemap) but it fails if I call the exact same thing from my

Re: Validation of time fields in CForms

2004-07-02 Thread Joerg Heinicke
On 02.07.2004 07:56, Colin Paul Adams wrote: I have the following in my form definition file: fd:field id=start-time fd:labelStart time/fd:label fd:datatype base=date fd:convertor datatype=date variant=time type=formatting fd:patterns

Re: Why Cocoon Stops processing all Requests URI the moment one of them has an exception

2004-07-02 Thread Joerg Heinicke
First, please avoid cross-posting. On 02.07.2004 11:16, Arnab Sengupta wrote: I have a Cocoon pipeline that takes a huge xml as input. The stucture of xml is: Root Message !--- Other elements inside it -- /Message Message !--- Other elements inside it -- /Message Message !--- Other elements

Re: Cannot get store error.

2004-07-02 Thread Marco Rolappe
nice to hear that everything's working fine now ;-) Oro smith schrieb: Dear Mr.Marco rolappe, All your assumptions turned out be perfect!! The application works perfectly now after i added the EncodeURL transformer!! regards Smith. Quoting [EMAIL PROTECTED]:Oro smith

Re[2]: [cforms] Editing existing list of uploads

2004-07-02 Thread g[R]eK
. Hi Joerg! . Friday, July 2, 2004, 11:55:50 AM, you wrote: JH On 02.07.2004 02:52, g[R]eK wrote: JH Ah, the @required is the problem. The form does not know that there was JH already uploaded a file and so the user is forced to upload one. Yes, and form layout is not adapted to handling

Re: Validation of time fields in CForms

2004-07-02 Thread Colin Paul Adams
Joerg == Joerg Heinicke [EMAIL PROTECTED] writes: Joerg This time variant becomes more and more nasty - maybe we Joerg should easily drop it completely :-p Can you collect all Please don't. proper support for it would be a better approach. :-) Joerg issues for the variant handling

Re: FirstFriday July 2 - Wiki migration

2004-07-02 Thread David Crossley
We are doing FirstFriday on IRC as usual if you care to join. We are doing the Wiki migration at the moment. The conversion is done. So you can go to the new wiki. http://wiki.apache.org/cocoon/FirstFriday But we are currently dealing with some glitches: * doing redirect from cocoondev.org *

Multipage forms and XML binding

2004-07-02 Thread Karim ALKHADER
Hello, I'm a student, new user of Cocoon. I'm using Cocoon 2.1.5, I tried CForm and XMLBinding and this allows really powerfull things. The problem I'm facing with is when I want to create an XML document from several forms. I did it having one form defintion file, several form template files

best place to store information

2004-07-02 Thread Lionel Crine
Hi all, I have to store some information about the users in my application. Today, I store them into the session object (org.apache.cocoon.environment.Context) using a custom action. I think, there are other ways to do that and I need some advices to manage this information. Am I doing the

Re: best place to store information

2004-07-02 Thread Dirk Gronert
Lionel Crine wrote: Hi all, I have to store some information about the users in my application. Today, I store them into the session object (org.apache.cocoon.environment.Context) using a custom action. I think, there are other ways to do that and I need some advices to manage this information.

Re: Show/Hide Widgets

2004-07-02 Thread oceatoon
That's true Which brings me back to the template xslt solution (for my part I don't need the validation so I don't have the problem). Another way might be tosimply use css rules on my hidable widgets display = none, and swap the rule on changes. Tibor

Re: FirstFriday July 2 - Wiki migration

2004-07-02 Thread David Crossley
David Crossley wrote: We are doing FirstFriday on IRC as usual if you care to join. We are doing the Wiki migration at the moment. The conversion is done. So you can go to the new wiki. http://wiki.apache.org/cocoon/FirstFriday But we are currently dealing with some glitches: * doing

Binding a CForm to a database

2004-07-02 Thread Colin Paul Adams
Having explored the CForms binding to an XML file sufficiently, I now want to have the data on a database instead. Does this mean I have to bind to a bean, and have logic in the bean update the database? Or are there other options? -- Colin Paul Adams Preston Lancashire

Re: error with Window.open() in Cocoon

2004-07-02 Thread Leona Slepetis
Joerg Heinicke [EMAIL PROTECTED] wrote on 07/01/2004 07:36:09 PM: On 01.07.2004 21:59, Leona Slepetis wrote: So, in my sitemap, I have: map:match type=regexp pattern=files/daily_20040718.pdf map:read mime-type=application/pdf src=file://Z:/daily_20040718.pdf/

Re: Binding a CForm to a database

2004-07-02 Thread Joerg Heinicke
On 02.07.2004 15:45, Colin Paul Adams wrote: Having explored the CForms binding to an XML file sufficiently, I now want to have the data on a database instead. Does this mean I have to bind to a bean, and have logic in the bean update the database? Or are there other options? There is no binding

Re: Binding a CForm to a database

2004-07-02 Thread Colin Paul Adams
Joerg == Joerg Heinicke [EMAIL PROTECTED] writes: Joerg On 02.07.2004 15:45, Colin Paul Adams wrote: Having explored the CForms binding to an XML file sufficiently, I now want to have the data on a database instead. Does this mean I have to bind to a bean, and have logic in

Re: JspGenerator doesn't work from flow but does otherwise...

2004-07-02 Thread Terry Brick
- SiteMap - ?xml version=1.0? map:sitemap xmlns:map=http://apache.org/cocoon/sitemap/1.0; map:components map:generators default=file map:generator

Re: Cocoon 2.1.5 incompatibilities with TEI Stylesheets

2004-07-02 Thread Nick
Dear Joerg Heinicke, Thank you very much for your reply. I am trying to transform a TEI document into HTML and PDF documents using native XSL style sheets from http://www.tei-c.org/Stylesheets/teixsl.html http://www.tei-c.org/. These style sheets are composed of one main (teihtml.xsl) that uses

Re: How to access Session/Request object inside Transformer class

2004-07-02 Thread Java Developer
Hey Jeorg, You are very correct, I have to use the same xml in generating the image and rendering the page. I will trying using these transformer. Will get back to you soon. -S --- Joerg Heinicke [EMAIL PROTECTED] wrote: On 02.07.2004 08:28, Robin Wyles wrote: Hi, I may be looking

Re: releashing resources in cocoon

2004-07-02 Thread padhu
Hi I am trying to read a xml file (amp.xml in the following code), display it to the users and finally replace (using java action class) the xml file with the options that user has selected. I have problem in accessing the file using the action java class, since cocoon transformer holds that

Re: best place to store information : another question

2004-07-02 Thread Lionel Crine
Ok, I'll try one the two ways. Another question : If I want to set some parameters, is there a place. These parameter have to be set before the application starts. by now, I put them into the web.xml but I'm not sure this is for the best. I always forget each time I install the application. Dirk

Re: Interest in Boston Cocoon Users Group

2004-07-02 Thread Jim McLaughlin
I'll go have a beer with you during XMAS walk in MarbleHead if you put together the time/place. --- Ben Sheppard [EMAIL PROTECTED] wrote: At 04:48 PM 6/29/2004 -0400, Brad Kain wrote: The purpose of this email is to solicit interest in a Boston-area users group focused on Cocoon and

Re: best place to store information : another question

2004-07-02 Thread Steve Schwarz
Hi Lionel If I understand correctly, I think you can put them in the sitemap global-variables section. Then the variable assignments are copied along with the sitemap at installation. From the default sitemap: global-variables !--+ | Define global parameters here: |

Schema2CocoonForms example at CocoonWiki

2004-07-02 Thread Niels van Kampenhout
I have put together a small example that demonstrates how a Cocoon Form can be generated from an XML schema. See http://wiki.apache.org/cocoon/Schema2CocoonForms for more info. (Note: As I find the new Cocoon Wiki a bit confusing, the page might be a bit confusing too... I uploaded the example

Siegfried Haltemeyer/INTERN/o2-Germany ist außer Haus.

2004-07-02 Thread Siegfried . Haltemeyer
Ich werde ab 02.07.2004 nicht im Büro sein. Ich kehre zurück am 09.07.2004. Ich werde Ihre Nachricht nach meiner Rückkehr beantworten. Bei Fragen zu CSC/Release8 wenden Sie sich bitte an Daniel Bart. - To unsubscribe,

Re: Schema2CocoonForms example at CocoonWiki

2004-07-02 Thread Joerg Heinicke
On 02.07.2004 18:39, Niels van Kampenhout wrote: I have put together a small example that demonstrates how a Cocoon Form can be generated from an XML schema. See http://wiki.apache.org/cocoon/Schema2CocoonForms for more info. (Note: As I find the new Cocoon Wiki a bit confusing, the page might be

Re: Binding a CForm to a database

2004-07-02 Thread Colin Paul Adams
Joerg == Joerg Heinicke [EMAIL PROTECTED] writes: Joerg heard that someone bound the form to an XML database like Joerg xindice. This is the same as for binding to an XML file, Joerg you only need another source. It seems that xindice is already included in the cocoon 2.1 CVS

NPE trying to populate XML:DB samples

2004-07-02 Thread Colin Paul Adams
I'm trying to init the XML:DB sample (cocoon 2.1 CVS) and I get this: cause: java.lang.NullPointerException full exception chain stacktrace[hide] Original Exception: java.lang.NullPointerException at net.sf.saxon.om.NamespaceConstant.isReserved(NamespaceConstant.java:154) at

Re: error with Window.open() in Cocoon

2004-07-02 Thread J.Pietschmann
Leona Slepetis wrote: I still would like to hear if anyone else has solved this, but I can live with the workaround for now. Well, the lists keep repeating weird problems related to content which IEx handles through COM extensions (GIFs are handlend natively). I'd write this off as one of these

Trouble referencing buttons

2004-07-02 Thread Anton Andreev
Hello everyone, I have an xsl sheet tied to xml by pipeline. The trouble that i'm having is i can't reference buttons in xsl inside the flow to get them to do different things on click. For example, one button on click event should add items to xml and other one delete them using functions in

Re: Show/Hide Widgets

2004-07-02 Thread Joerg Heinicke
Vilya Harvey vilya at lineone.net writes: This means validation is caused by them though it should not? http://cocoon.apache.org/2.1/userdocs/forms/widget_submit.html Yes. It also means that execution is resumed in the flowscript that sent the page, if the validation passes. I've

Re: CForms Binding to XML file sample

2004-07-02 Thread Joerg Heinicke
On 02.07.2004 11:31, Colin Paul Adams wrote: It seems to me there is something seriously wrong with the binding to xml file sample. If I add a new row to the table at the bottom, I get the following XML output: ... Note that the id field for the new row is an empty attribute. This is no good - if

Constructor In Jexl

2004-07-02 Thread Alan
How does one call a constructor in Jexl from JXTemplate? -- Alan / [EMAIL PROTECTED] / http://engrm.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Binding a CForm to a database

2004-07-02 Thread Joerg Heinicke
On 02.07.2004 20:31, Colin Paul Adams wrote: Joerg == Joerg Heinicke [EMAIL PROTECTED] writes: Joerg heard that someone bound the form to an XML database like Joerg xindice. This is the same as for binding to an XML file, Joerg you only need another source. It seems that xindice is

Re: Constructor In Jexl

2004-07-02 Thread Antonio Gallardo
Alan dijo: How does one call a constructor in Jexl from JXTemplate? Why you need that? Best Regards, Antonio Gallardo - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Trouble referencing buttons

2004-07-02 Thread Joerg Heinicke
On 02.07.2004 21:40, Anton Andreev wrote: I have an xsl sheet tied to xml by pipeline. The trouble that i'm having is i can't reference buttons in xsl inside the flow to get them to do different things on click. For example, one button on click event should add items to xml and other one delete

[OT] Servlet Performance Report updated (or Tomcat vs. Jetty vs... others)

2004-07-02 Thread Antonio Gallardo
Hi Cocooners! I wanted to share with you this interesting piece: http://www.theserverside.com/news/thread.tss?thread_id=27038 Best Regards, Antonio Gallardo - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: FirstFriday July 2 - Wiki migration

2004-07-02 Thread David Crossley
Are other people having trouble with editing the Wiki? I go to UserPreferences, add name and password, login it seems to accept me. However, when i visit a page then i need to login again. -- David Crossley - To unsubscribe,