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]
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
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
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
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
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
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
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
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
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
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
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/
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
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
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
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:
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
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
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 =
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
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
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:
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.
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
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
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
[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,
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
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
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).
30 matches
Mail list logo