Re: sunRise User Administration for Dummies

2002-10-15 Thread Richard Reyes
Hi Matthew, Thanks for the response... I am done with the Authentication stuffs. And i am more concern on how I'll create my Roles ( admin, guest, user ) and on where would these datas be saved. Since the Authentication framework is providing a way to managed users and user roles. Thanks again

org.apache.cocoon.ProcessingException: Failed to execute pipeline.: java.lang.NullPointerException

2002-10-15 Thread Majcen, Kurt
Hello all! In my frame based solution I have a main frame with the navigation being some links to xhtml files for the second frame. For each of these functionalities behind the links I did a sitemap in a sub-directory. The phaenomenon I realised: When I click on a navigation link for the first

RE: Simple XSP Ordering Problem

2002-10-15 Thread Nathaniel Alfred
-Original Message- From: Sonny Sukumar [mailto:[EMAIL PROTECTED]] Sent: Montag, 14. Oktober 2002 21:56 To: [EMAIL PROTECTED] Subject: Simple XSP Ordering Problem Product xsp:logic String productId = xsp-request:get-parameter name=productid default=/; /xsp:logic ... Try:

RE: Simple XSP Ordering Problem

2002-10-15 Thread Sonny Sukumar
Hmmm, I didn't read about the request object in my Cocoon book. Where is it defined exactly? Do I need to import anything to use it? Thanks again, Sonny --- Nathaniel Alfred [EMAIL PROTECTED] wrote: -Original Message- From: Sonny Sukumar [mailto:[EMAIL PROTECTED]] Sent: Montag,

Serializing JavaScript

2002-10-15 Thread Lenz, Evan
I have an XSLT transformation that outputs a JavaScript file that I need to serialize as text to send to the client. I am using map:serialize type=text/, but the serialized result includes an XML declaration with markup characters escaped (as if serializing an external parsed general entity). How

RE: Simple XSP Ordering Problem

2002-10-15 Thread Morrison, John
There are several objects available for use in xsp, take a quick look in the generated java, they should be documented there. J. PS, folks: when you reply, *please* trim any excess off :) From: Sonny Sukumar [mailto:[EMAIL PROTECTED]] Hmmm, I didn't read about the request object in my

Re: Serializing JavaScript

2002-10-15 Thread Frank Taffelt
We had same problems. See my posting on this thread: http://marc.theaimsgroup.com/?l=xml-cocoon-devm=103243063421117w=2 This solution works for our company. For current discussion's look at : http://marc.theaimsgroup.com/?l=xml-cocoon-devm=103431785702537w=2 hth, Frank Taffelt

Re: Resource not found /

2002-10-15 Thread leo leonid
On Dienstag, Oktober 15, 2002, at 02:14 Uhr, Bryan Zarnett wrote: I am currently trying to make a weblog application I created the main association to my root URL. Right now I have it setup so that the welcome.xhtml is called whenever I hit my URL. What I want to happen is that i

Re: How do I match cocoon-action-*

2002-10-15 Thread Bruno Dumon
On Mon, 2002-10-14 at 17:19, Bobby Mitchell wrote: I want to be able to match cocoon-action-* and use the value {1}. Is this possible? Which matcher? Someone else just asked me this last week, so I wrote one (see attachment). It's tested with C2.03. You'll need to compile this and put it an

Writing transformer

2002-10-15 Thread simo kauranen
Hey you cocoon professionals! I wrote the transformer below. It does nothing except creates an empty temp.xml-file. Why it does not respond to sax events (from TraxTransformer)? Appreciate all advice. Simo K. package org.apache.cocoon.transformation; public class StoreTransformer extends

[newbie] XMLForms XSP

2002-10-15 Thread Druzhinin Igor
Hello. Can I use XMLForms provided data with XSP logicsheets, like ESQL, Request, Session? I've searching cocoon docs, but find nothing. Any advises? Thanks in advance. - Please check that your question has not already been

set user agent with request parameter or path element

2002-10-15 Thread Thomas Haselberger
I'm using the browser selector to display different content depending on the user agent. Now I'd like to set the user agent with a request parameter or path element. eg. url?user_agent=nokia7110 then the user agent should be set to nokia7110 to be used in the browser selector. any hints how

Re: Writing transformer - I found the problem

2002-10-15 Thread simo kauranen
__ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com - Please check that your question has not

RE: set user agent with request parameter or path element

2002-10-15 Thread Thomas Haselberger
-Original Message- From: Jörg Heinicke [mailto:[EMAIL PROTECTED]] Sent: Dienstag, 15. Oktober 2002 12:01 To: [EMAIL PROTECTED] Subject: Re: set user agent with request parameter or path element AFAIK the best then is to use is parameter selector, not the browser selector. But so

XSP error

2002-10-15 Thread Sylvain.Thevoz
Hello, I try to test my first XSP page but I have this error: The XML page cannot be displayed Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.

XMLForm transformer

2002-10-15 Thread Nuno Santos
When i was developing a multi edit form, using the xf:repeat tag, i realised that it didn´t work before a simple tag call before, like count(*). I then checked the source code and found the function that's responsible for the Repeat tag unrolling : protected void unrollRepeatTag(

Re: XSP in XSL and Caching problem!

2002-10-15 Thread Tuomo Lesonen
We really need some advice on this problem. It's slowing our development by 600% ! Anyone? Cocoon 2.1-DEV (from CVS about a month ago) Tomcat 4.0.5 JDK 1.4.1_01 On Thu, 10 Oct 2002, Timothy Larson wrote: I am having the same problem and am using the same ugly workaround. Tomcat 3.3.1

Re: XSP error

2002-10-15 Thread Ruben_Inoto
Hi Sylvain, it looks that the browser cannot show the XML with that namespace applying its XSL... try serializing the output to 'html' |-+- | | Sylvain.Thevoz@sw| | | isscom.com | | |

Re: Resource not found /

2002-10-15 Thread Bryan Zarnett
That worked perfectly! Thanks Leo! Bryan On Tuesday, October 15, 2002, at 04:44 AM, leo leonid wrote: On Dienstag, Oktober 15, 2002, at 02:14 Uhr, Bryan Zarnett wrote: I am currently trying to make a weblog application I created the main association to my root URL. Right now I have it

RE: XSP error

2002-10-15 Thread Sylvain.Thevoz
Thank you, it works if I serialize the output to html. But why it doesn't work? I use IE 6.0. Sylvain -Message d'origine- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Date: mardi, 15. octobre 2002 14:23 À: [EMAIL PROTECTED] Objet: Re: XSP error Hi Sylvain, it looks that the

ComponentException: UnnamedSelector

2002-10-15 Thread simo kauranen
All of a sudden cocoon can't find my transformer and gives the next error message: org.apache.avalon.framework.component.ComponentException: UnnamedSelector: ComponentSelector could not find the component for hint: store Here are the critical parts of my sitemap: ... map:transformers

RE: XSP error

2002-10-15 Thread Ruben_Inoto
Hi, with IE 6.0 should work.. no idea Ruben |-+- | | Sylvain.Thevoz@sw| | | isscom.com | | | | | | 10/15/2002 02:26 | | | PM|

RE: XSP error

2002-10-15 Thread Sylvain.Thevoz
This problem looks very strange. When this problem appended, I tried to test a simple helloworld application (without XSP): map:pipeline map:match pattern=helloworld map:generate src=helloworld.xml/ map:transform src=helloworld2html.xsl/ map:serialize/

Re: set user agent with request parameter or path element

2002-10-15 Thread Joerg Heinicke
And why not simply always the browser selector?? Regards, Joerg Thomas Haselberger wrote: -Original Message- From: Jörg Heinicke [mailto:[EMAIL PROTECTED]] Sent: Dienstag, 15. Oktober 2002 12:01 To: [EMAIL PROTECTED] Subject: Re: set user agent with request parameter or path element

Re: [newbie] XMLForms XSP

2002-10-15 Thread Ivelin Ivanov
You certainly could. I am not a great fan of XSP myself, being bitten by JSPs many times. Maybe some of the other folks can help with examples. Ivelin - Original Message - From: Druzhinin Igor [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, October 15, 2002 5:46 AM Subject:

Re: How do I match cocoon-action-*

2002-10-15 Thread Bobby Mitchell
Someone else just asked me this last week, so I wrote one (see attachment). It's tested with C2.03. You'll need to compile this and put it an jar and put that in WEB-INF/lib (let me know if you need more help on this). It is of course possible that there are multiple request parameter names

Re: XMLForm - VoiceXML

2002-10-15 Thread apurva zaveri
--- Ivelin Ivanov [EMAIL PROTECTED] wrote: elements in XMLForm do not have to start with /. It is just used for clarity in the examples. You can try just city. You are right trying just city works. So there is no problem. What are the limitations for names of VXML forms? / in a field

RE: set user agent with request parameter or path element

2002-10-15 Thread Thomas Haselberger
-Original Message- From: Joerg Heinicke [mailto:[EMAIL PROTECTED]] Sent: Dienstag, 15. Oktober 2002 15:17 Subject: Re: set user agent with request parameter or path element And why not simply always the browser selector?? let me explain: a user should be able to select a friends

Re: SourceWritingTransformer.

2002-10-15 Thread Alex Romayev
From what I understand, yes. In 2.1 SourceWritingTransformer has been merged with ex-sunrise InsertTransformer. Alex --- ROSSEL Olivier [EMAIL PROTECTED] wrote: I use old-style SWT: source:write src=... tree-to-be-written ... /tree-to-be-written /source It seems that there is a

RE: SourceWritingTransformer.

2002-10-15 Thread ROSSEL Olivier
From what I understand, yes. In 2.1 SourceWritingTransformer has been merged with ex-sunrise InsertTransformer. No hope to see this feature in C2.0.4 ? It would be a so neat feature!!! This e-mail is intended only for the above addressee. It may contain privileged information. If you are not

RE: XSP error

2002-10-15 Thread Geoff Howard
That first problem sounds suspiciously like your browser caching the mime type for the url. If it happens again, close your browser, open a new one and try again. Geoff Howard --- [EMAIL PROTECTED] wrote: This problem looks very strange. When this problem appended, I tried to test a simple

How to insert multiple rows in a table at once?

2002-10-15 Thread Antonio Gallardo Rivera
Hi, I am trying to insert multiple rows into a table after the user press a Finish buton. I think this can be done with modular.databse. But I dont know how to do that. Given a fixed key: my_id from a master table and rows: my_id my_subid my_data --- usr input. Can someone provide a simple

InsertTransformer

2002-10-15 Thread ROSSEL Olivier
It seems that the InsertTransformer accepts sunshine:insert subtree as an input. But it provides no XML output so you know if the insertion went ok or not. SWT is much more verbose! You get an XML output that provides a success/failure result. Is it possible to get an XML output from the

Re: How to insert multiple rows in a table at once?

2002-10-15 Thread Tuomo Lesonen
In your sitemap inside map:actions put: map:action name=mod-db-add src=org.apache.cocoon.acting.modular.DatabaseAddAction descriptorcontext://foo/bar/database.xml/descriptor throw-exceptiontrue/throw-exception /map:action In pipeline: map:act type=mod-db-add map:parameter name=table-set

RE: Simple XSP Ordering Problem

2002-10-15 Thread Sonny Sukumar
Somebody suggested that documentation for the request object could be found in the generated Java file for the XSP..but there isn't any documentation in there that I can see. Just curious to learn more about it. :-) Instead of: Product xsp:logic String productId =

Can anybody solve this?

2002-10-15 Thread Sonny Sukumar
Hi guys, I sent the following message (below the line) yesterday and got one good suggestion to use xsp:logic String productId = request.getParameter(productid); /xsp:logic instead of xsp:logic String productId = xsp-request:get-parameter name=productid/; /xsp:logic However, it

RE: [newbie] XMLForms XSP

2002-10-15 Thread Mitchell A. Cohen
What do you use, if not xsp? -Original Message- From: Ivelin Ivanov [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 15, 2002 9:28 AM To: [EMAIL PROTECTED]; Druzhinin Igor Subject: Re: [newbie] XMLForms XSP You certainly could. I am not a great fan of XSP myself, being bitten by

RE: Can anybody solve this?

2002-10-15 Thread Artur Bialecki
Can you move your xsp:logic before the Product tag? Or try this xsp:init-page String productId = request.getParameter(productid); xsp:init-page/ although the init-page tag might only work as a child of xsp:page. Artur... -Original Message- From: Sonny Sukumar [mailto:[EMAIL

Re: Can anybody solve this?

2002-10-15 Thread Werner Guttmann
Now, where would one find documentation on the xsp:init-tag tag, iima ? I've been using Cocoon for 2+yrs now (in production environments, that is), and I've never come across this ... Werner Artur Bialecki wrote: Can you move your xsp:logic before the Product tag? Or try this xsp:init-page

Re: Can anybody solve this?

2002-10-15 Thread Werner Guttmann
Btw, you do not have to change it to the suggested way. Using a logicsheet within a xsp:logic element makes perfectly sense ... I think in your case, just make sure that you move the code that assigns the value of the productId request parameter to your local variable before trying to generate

Re: Can anybody solve this?

2002-10-15 Thread Jerry Fowler
I think this snippet that I gleaned from the list a while back (didn't thank the author in my comment, unfortunately, so I don't remember who) addresses what you're asking: !-- Allows initialization code to be executed exactly once. This was expressed as: xsl:template

svg rasterize problems

2002-10-15 Thread schaer
hello, i'm encountering a problem while using the batik-transcoder in cocoon 2. if the svg-file i want to rasterize has all its css-definitions inside the document (inside the style-tags) there are no problems. if the css-definitions are put in an external css-stylesheet and linked via

RE: Can anybody solve this?

2002-10-15 Thread Artur Bialecki
-Original Message- From: Werner Guttmann [mailto:[EMAIL PROTECTED]] Sent: October 15, 2002 2:42 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: Can anybody solve this? Now, where would one find documentation on the xsp:init-tag tag, iima ? I've been using Cocoon

RE: svg rasterize problems

2002-10-15 Thread Conal Tuohy
Peter - the problem may be that Batik has failed to resolve the relative url svg.css. I've also had problems with Batik's resolver when using svg image elements that refer to external graphic files, and I've found it necessary to provide an absolute URL; this may solve your problem too, though

RE: Can anybody solve this?

2002-10-15 Thread Sonny Sukumar
Artur, Somehow I couldn't move the the productId declaration initialization before the Product tag because this would move it to class level and 1.) the xsp-request:get-parameter tag must be used within the root element of the generated document (for some reason) and 2.) I get a

Re: Can anybody solve this?

2002-10-15 Thread Sonny Sukumar
I looked in a few places and didn't find any documentation for the xsp:init-page tag either. Artur must be the all-knowing Cocoon person. :-) --- Werner Guttmann [EMAIL PROTECTED] wrote: Now, where would one find documentation on the xsp:init-tag tag, iima ? I've been using Cocoon for 2+yrs

RE: svg rasterize problems

2002-10-15 Thread schaer
hi con, many thanks for this hint. i added the absolute URL of my server to the code and voila! everything works. thanks very much peter Zitat von Conal Tuohy [EMAIL PROTECTED]: Peter - the problem may be that Batik has failed to resolve the relative url svg.css. I've also had problems with

Re: Can anybody solve this?

2002-10-15 Thread Sonny Sukumar
Wow, Jerry, that's complicated for an XSL newbie like me. I will definitely keep it around and try to crack the code sometime. ;-) Btw, do you know of any XSL/XPath book of which you think highly? I have an XML book but it doesn't go into all that much depth. Thanks, Sonny --- Jerry

RE: Can anybody solve this?

2002-10-15 Thread Sonny Sukumar
Just an update... xsp:init-page String productId = xsp-request:get-parameter name=productid default=/; /xsp:init-page works just as well as xsp:init-page String productId = request.getParameter(productid); xsp:init-page/ which means that the xsp-request:get-parameter tag doesn't need

Re: Cocoon, sockets and not a web browser.

2002-10-15 Thread Mauro Daniel Ardolino
Hi! I've red all the information and mails. Thanks a lot. I think TRaX will be the best solution. I'm not sure if I am missing something (e.g. i18n), but for the moment it's my choice. Now I think I will not use XSP logic because it can be solved with Java. My applications will be using the

Cocoon 1.8.2 and FOP 0.20.4

2002-10-15 Thread George Pieri
Has anyone gotten FOP 0.20.4 to work with Cocoon 1.8.2 Should I be able to change 1) the fop_0_15_0.jar to the new fop.jar 2) modify the cocoon properties file formatter.type.text/xslfo = org.apache.cocoon.formatter.FO2PDFFormatter and then use the new fo ??? Thanks in

Using Servlet Filters

2002-10-15 Thread David LAGARDERE
Hello. Does anybody know how to configure a filter for Cocoon servlet ? My goal is to zip the output with a CompressionFilter, as documented in Tomcat 4.0 examples. I'm trying to put this code in mu web.xml descriptor but it does nothing at all... filter filter-nameCompression

PosgreSQL and Modular DB Actions.

2002-10-15 Thread Antonio Gallardo Rivera
Hi, I am trying to run the Modular Dabatase Example from the Cocoon site, but with PostgreSQL 7.2. I am using Cocoon 2.1 (lastest CVS), Java 1.4.1, Tomcat 4.1.12 on Red Hat Linux 7.3. Someone make it work? I am having problems with: table name=groups keys key name=gid type=int

Re: PosgreSQL and Modular DB Actions.

2002-10-15 Thread Bobby Mitchell
Antonio Gallardo Rivera wrote: Hi, I am trying to run the Modular Dabatase Example from the Cocoon site, but with PostgreSQL 7.2. I am using Cocoon 2.1 (lastest CVS), Java 1.4.1, Tomcat 4.1.12 on Red Hat Linux 7.3. Someone make it work? I am having problems with: table name=groups

Re: PosgreSQL and Modular DB Actions.

2002-10-15 Thread Antonio Gallardo Rivera
Thanks for the info. Antonio Gallardo El Martes, 15 de Octubre de 2002 17:26, Bobby Mitchell escribió: Antonio Gallardo Rivera wrote: Hi, I am trying to run the Modular Dabatase Example from the Cocoon site, but with PostgreSQL 7.2. I am using Cocoon 2.1 (lastest CVS), Java 1.4.1, Tomcat

RE: avalon.excalibur ping of oracle fails

2002-10-15 Thread neil
In cocoon.xconf, the oradb attribute in pool-controller oradb=true is apparently no longer used. Instead, a child element allows you to specify the sql to be used to ping the database connection like this: pool-controller max=5 min=2 keep-alive disable=falseselect 1 from dual/keep-alive

Action + Sql Transformer

2002-10-15 Thread aps olute
I've been out of luck trying to get samples to work for Actions and SQL Transformer. For the sample Action I am receiving a: org.apache.cocoon.ProcessingException: The prefix xsp-request for element xsp-request:get-attribute is not bound.: org.xml.sax.SAXParseException: The prefix xsp-request

Re: Help wanted: Cocoon documentation tracks!

2002-10-15 Thread Gabriele Domenichini
Alle 15:31, lunedì 14 ottobre 2002, Bertrand Delacretaz ha scritto: added sql track. comments are welcome (cross-posted to -dev and -user, we need you too!) IMHO adding tracks to the Cocoon documentation could make it much more useful, by providing several reading lists targeted to the

Re: [newbie] XMLForms XSP

2002-10-15 Thread Ivelin Ivanov
Actions or Generators I like to keep complex logic in pure java. Find it easier to read, test, reuse, etc. Just a personal preference. Ivelin - Original Message - From: Mitchell A. Cohen [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, October 15, 2002 12:59 PM Subject: RE:

Re: XMLForm transformer

2002-10-15 Thread Ivelin Ivanov
Nuno, please submit the patch via Bugzilla. I will gladly review and apply if appropriate. Thank you. Ivelin - Original Message - From: Nuno Santos [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, October 15, 2002 6:52 AM Subject: XMLForm transformer When i was developing a

TransFormers

2002-10-15 Thread Tanmay Kumar
Hi all, I am finding Cocoon very useful for our project. Thanks a lot to the developers... I have one requirement like this. Is there any Cocoon class to address this issue? Input will be a DOM node, but while parsing the DOM node all SAX events should be fir. Example: R A101/A

Cannot render SVG images

2002-10-15 Thread Artur Matos
Hi to all, I am unable to serialize SVG images to JPG with the latest Cocoon 2.0.3. When I try to acess my own website images, or even the hello.svg example in the Cocoon distribution, I always get the following message: The image http://localhost:8080/cocoon/hello.svg; cannot be displayed,

Proposal: Documentation about database connection

2002-10-15 Thread Gabriele Domenichini
What about setting up a page with the configurations needed to connect cocoon to the various database ? There is already something but is distributed among web pages, cocoon official documentation, mailing lists, etc... I was thinking about a page in which for any commercial or open source