Re: Problems with date and xsp

2004-01-04 Thread Davide
nooo what a terrible mistake :-( ok now it works perfectly, thanks Best Regards, Davide um, addcomment is your tag, in your code below. Put your xsp:logic block inside your addcomment block. Davide [EMAIL PROTECTED] 01/03/2004 03:02 PM Please respond to users To: [EMAIL PROTECTED]

Re: App level variable in flow

2004-01-04 Thread Stefan Klein
Upayavira, How do I store a java object in some application context or an application level variable, just once during servlet container startup, when I'm writing an app that uses flow? Could you not write it as I component, include it in cocoon.roles so that it'll be loaded automatically

Re: JDOUserException: Object not PersistenceCapable

2004-01-04 Thread Stefan Klein
Eric, Is the class listed in your repository.xml and the repository.xml lies somewhere in the classpath? AFAIK, OJB raises ObjectNotPersistenceCapable in two cases: 1. The class hasn't been enhanced (which can't be it in your case) 2. No description of the class can be found in repository.xml

Re: Cocoon + postgreSQL

2004-01-04 Thread Tommy Smith
Hi, If you have managed to return a resultset back to Cocoon, I would be very glad to see your solution! I have tried without much success to return a a resultset back from an Oracle stored procedure (both function procedure). PostgreSQL is very similar to Oracle in many respects so there

Re: JDOUserException: Object not PersistenceCapable

2004-01-04 Thread Antonio Gallardo
Stefan Klein dijo: Eric, Is the class listed in your repository.xml and the repository.xml lies somewhere in the classpath? AFAIK, OJB raises ObjectNotPersistenceCapable in two cases: 1. The class hasn't been enhanced (which can't be it in your case) From my own experience: While using JDO

Re: how to configure JXPathMetaModule?

2004-01-04 Thread Christian Haul
joakim verona wrote: Hello, I would like to URL encode in the sitemap, and I figured the JXPathMetamodule would be useful. However, I cant figure out how to configure it. The docs mention a function element that can be used to define java classes to be used with jxpath: function

serialization

2004-01-04 Thread toto
Hi, I can I bypass the serialization of a pipeline and start a new one without HTTP redirection? for example, in the following sitemap : map:match pattern=something/ map:generate type=stream/ !-- HTTP POST xml content -- map:transform src=source-write.xsl/ !-- source writing instructions

Re: [mod-db] Pb with input module

2004-01-04 Thread Christian Haul
Laurent Trillaud wrote: Hello I want to override the default request-param input module in the database.xml by another input module. For example, if I change name filed in the database.xml provided in /samples/databases/mod-db/ to this snippet table name=user alias=user keys...keys values

Re: Chaining modules and prefixes

2004-01-04 Thread Christian Haul
g[R]eK wrote: . Hi users! . I want to chain request-param and session-context modules. The problem is with context name for session-context module. For example if I ask request-param module for 'view' value, the session-context module should be asked for 'user/view' where 'user' is a name

Re: serialization

2004-01-04 Thread Jorg Heymans
toto wrote: Hi, I can I bypass the serialization of a pipeline and start a new one without HTTP redirection? for example, in the following sitemap : map:match pattern=something/ map:generate type=stream/ !-- HTTP POST xml content -- map:transform src=source-write.xsl/ !-- source writing

Re: serialization

2004-01-04 Thread toto
Jorg Heymans wrote: toto wrote: Hi, How(!) can I bypass the serialization of a pipeline and start a new one without HTTP redirection? for example, in the following sitemap : map:match pattern=something/ map:generate type=stream/ !-- HTTP POST xml content -- map:transform

Re: serialization

2004-01-04 Thread Jorg Heymans
Not sure if this is possible without http redirection. Maybe flowscript offers this possibility, but i haven't used it. have you looked into aggregates? map:match pattern=something/ map:generate type=stream/ map:transform src=source-write.xsl/ map:transform type=source-write/

Re: PATCH: RawRequestParameterModule

2004-01-04 Thread Christian Haul
joakim verona wrote: Hello list, This is a patched version of RawRequestParameterModule so that it returns URLencoded request parameters. The docs say that whats this module is supposed to do, and I'm shure it did/does in some circumstances. I'm trying to do a proper patch entry in bugzilla

Re: map:select parameter value from xsp?

2004-01-04 Thread Christian Haul
julien bloit wrote: Isn't there a work-around for this ? I'm not a java expert, and I'm in a testing phase for my project where using xsp would be much more straight-forward, as in my case, the logic needs to make database and session-context accesses to set the parameter value. use an xsp-action

Re: Cocoon + postgreSQL

2004-01-04 Thread Luca Morandini
Tommy Smith wrote: I have tried without much success to return a a resultset back from an Oracle stored procedure (both function procedure). PostgreSQL is very similar to Oracle in many respects so there may be some common ground on how you invoke it from Cocoon. Talking about Oracle's SPs

Re: Need Help with SessionAttributeSelector in Sitemap

2004-01-04 Thread Joerg Heinicke
On 22.12.2003 23:06, Christian Haul wrote: Jürgen Haas wrote: Hello, unfortunately I could not find what I am searching for neither by using a search engine nor by browsing cocoon faq or mail archives. Maybe You can help me. I tried to use the SessionAttributeSelector in my sitemap as follows:

logs less detailed?

2004-01-04 Thread Paul Kelly
Howdy, apologies if this is a faq but I couldn't find anything in the archives. I just upgraded to 2.1 (previously I ad 2.0 on Tomcat 4) and I can no longer trace xsl errors as easily through the logs. Used to be I'd get the line # of embedded, included stylesheets and some useful verbiage. No

Re: logs less detailed?

2004-01-04 Thread Jorg Heymans
have you looked at logkit.xconf, i think in 2.1 the loglevels there are set to INFO by default. Or maybe the xslt transformer does not have a default logger associated with it in the sitemap. Paul Kelly wrote: Howdy, apologies if this is a faq but I couldn't find anything in the archives. I

Re: Cocoon + postgreSQL

2004-01-04 Thread beyaRecords - The home Urban music
Tommy, here is some code I have managed to put together both stored procedure, which takes 2 parameters, and an xsl page which calls the stored procedure. 1. xsl calling page page> xsp:logic> String user_name = xsp-request:get-parameter name=user />; String user_password =

Re: logs less detailed?

2004-01-04 Thread Geoff Howard
Paul Kelly wrote: Howdy, apologies if this is a faq but I couldn't find anything in the archives. I just upgraded to 2.1 (previously I ad 2.0 on Tomcat 4) and I can no longer trace xsl errors as easily through the logs. Used to be I'd get the line # of embedded, included stylesheets and some

Sudden difference in interpretation of #160

2004-01-04 Thread H . vanderLinden
Hi, I use #160; as nbsp entity. This worked. I don't really know what happened, but now a capital A with a ^ (decimal code 194) is displayed instead of a space. Anybody have any idea? Bye, Helma - To unsubscribe, e-mail: [EMAIL

RE: Sudden difference in interpretation of #160 - update

2004-01-04 Thread H . vanderLinden
Hi, I traced the problem back to serialize type=html vs xhtml. The latter shows the A. Can anybody explain why and what to use for nbsp; in xhtml? Thanks. Bye, Helma -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Sunday, 04 January 2004 21:19 To:

RE: Sudden difference in interpretation of #160 - update

2004-01-04 Thread Simon Hürlimann
HiOn Sun, 2004-01-04 at 21:23, [EMAIL PROTECTED] wrote: Hi, Helma I use #160; as nbsp entity. This worked. I don't really know what happened, but now a capital A with a ^ (decimal code 194) is displayed instead of a space. I traced the problem back to serialize type=html vs xhtml.

XSL template from database

2004-01-04 Thread O . Vobejda
Hi, I'd like to make the pipeline, where is the XSL template readed from SQL database (not from filesystem). Is it possible? Selecting of appropriate template depends on the one key, it is generated either with serverpages generator or it can be contained in the URI (doesn't care). Thanks a

RE: Sudden difference in interpretation of #160 - update

2004-01-04 Thread H . vanderLinden
Hi, Good guess, but unfortunately both ideas don't work. In character entity references xhtml is similar to html 4, so both use the same code for nbsp (#160). As far as I can deduct from all the information, UTF-8 includes Latin-1, which includes the code for nbsp. So, in all encodings

Re: XSL template from database

2004-01-04 Thread Jorg Heymans
You could make a custom transformer that reads the stylesheet from the database, then using the saxon or xalan java API applies this transformation to the generated xml (look at the transform() function of abstractDOMtransformer, that's where your stuff will go). It's not that difficult, just

Re: Sudden difference in interpretation of #160 - update

2004-01-04 Thread Martijn Bouterse
[EMAIL PROTECTED] wrote: Hi, Good guess, but unfortunately both ideas don't work. In character entity references xhtml is similar to html 4, so both use the same code for nbsp (#160). As far as I can deduct from all the information, UTF-8 includes Latin-1, which includes the code for nbsp. So,

Re: Need Help with SessionAttributeSelector in Sitemap

2004-01-04 Thread Jürgen Haas
Hi Jörg, The @type does not match the selector declaration above. Use type=session-attribute Hmm, what's the difference? :) We cleared that misunderstanding recently. There is no difference *g* But still the SAS won't work. Any ideas? Are you using it? CU Jürgen

publishing docs to a cocoon webapp

2004-01-04 Thread danl001
Hi, I have a cocoon based web application that I use to publish XML documents in various formats accessible over the internet (HTML, PDF). Currently, the people who create these documents edit them on their workstation and then upload them to a server that runs the cocoon application using an

Re: publishing docs to a cocoon webapp

2004-01-04 Thread Hassan Abolhassani
You may like to take a look at lenya: (B (Bhttp://cocoon.apache.org/lenya/ (B (BHassan Abolhassani (B (BHi, (B (B (B (BDan wrote: (B (BI have a cocoon based web application that I use to publish XML (Bdocuments in various formats accessible over the internet (HTML, PDF).