Does anybody think wrapping some other tags around xsl:copy-of
select=$curSel/ could solve the problem? I was experimenting with
util:include-expr, util:expr and xsp:expr but no success.
Are there similar ones which I don't know yet?
I'd really appreciate some help.
Regards,
Harry
I have
I've chosen copy-of in analogy to the example. But I assume that's not the
matter. Actually mixing any tag with java code causes error.
Harald
do you really want copy-of for $href, or value-of?
Geoff
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent:
I have extracted the relevant information into a small-scale example. As
follows I include the logicsheet, the stacktrace and the generated Java file.
I'd hope that somebody can give me a hint.
Regards,
Harry
Logicsheet: Test.htm.xsp.xsl
?xml version=1.0 encoding=ISO-8859-1?
xsp:page
Hello!
Does anybody have an idea to solve this problem?
I'd really appreciate your help!
Harry
I'm a novice cocoon user and currently changing an existing site running
on
cocoon 2.01 from cookie-based session management to manual URL encoding.
This
cocoon version doesn't yet support
I'm a novice cocoon user and currently changing an existing site running on
cocoon 2.01 from cookie-based session management to manual URL encoding. This
cocoon version doesn't yet support encodeURLTransformer and I can't upgrade
to a newer version.
The example found at
Hello!
Are there any (working) examples available how to use encodeURL transformer?
Unfortunately I my system behaves similar like described in a previous
posting.
Any comments are welcome!
Best regards,
Harald
Hello!
Is ther a different behavior regarding session management when I use
Klondike WAP Browser or Nokia Mobile Internet Toolkit V 3.0?
My application works normal using Klondike. However if I switch to Nokia's
Toolkit on each request a new session is created.
I'm redirecting to the pages in
Thanks for your reply. I considered form ... target=blank as well before
I posted this question. However you should know that currently my
architecture utilizes only one form trag to which various user inputs (e. g. buttons)
submit. On serverside I gather the information which action was
Currently my application consists of cocoon-actions that invoke xsp/xsl
files upon requests. As normal the new output always refreshes the client's
browser view.
Based on some calculations at the actions I'm required to delegate the
response not to the current browser window but to a newly
Hello,
A java library, I call it itemAcc produces the text of the XML-Tags I'd
like to include in my XSP file for stylesheet transformation.
In my XSP-File there is the following call:
toXml.marshal(itemAcc, new IncludeXMLConsumer(this.contentHandler));
ToXml.java method marshal contains
Hello!
In my xsp-page the following statemet works correctly:
cinclude:include src=cocoon:/SimpleTable.htm element=xxx/
However I'm required to assign the value of src dynamically.
Initially I tried this statement which did not work:
cinclude:include
Worked -
Thanks a lot!
Regards,
Harald
[EMAIL PROTECTED] wrote:
Hello!
In my xsp-page the following statemet works correctly:
cinclude:include src=cocoon:/SimpleTable.htm element=xxx/
However I'm required to assign the value of src dynamically.
Initially I tried this
Hello,
ad 1:
Vadim, as you suggested it finally works with this expression -
thanks!:
util:include-exprutil:exprxsp:exprmm.marshal(mm.getSimpleItems())/xsp:expr/util:expr/util:include-expr
ad 2:
The contentHandler used in 2 b) is a TraxTransformer instance. Is it
possible that in this case
Whats the best way to perform marshalling from Objects to XML within XSP's?
The Object is a result from a Castor OQL-Query.
Here's an example what I'd like to intend:
some-items anAttr=aVal
xsp:logic
marshalObjToXml(model.getAnItem());
/xsp:logic
/some-items
1. Include Object as String:
xsp:page
language=java
xmlns:xsp=http://apache.org/xsp;
xmlns:cinclude=http://apache.org/cocoon/include/1.0;
xmlns:util=http://apache.org/xsp/util/2.0;
some-items anAttr=aVal
2.
Use Castor's marshalling capabilities:
some-items anAttr=aVal
xsp:logic
model.marshal(this.contentHandler);
/xsp:logic
/some-items
This sounds perfect.
You can use CastorTransformer from Cocoon scratchpad instead. It looks
something like this:
Nicola, what I'd intend is to invoke pdf-creation via xsp/xsl that exist in
my cocoon2 environment from JFC-Application. Once I have the generated pdf I
could use the OS-specific installed pdf-viewer.
I read about cocoon's command line interface but unfortunately I didn't find
any examples. How
Hello!
Is it possible to integrate pdf's that cocoon2 produced with Standard Java
Applications i.e. using JFC?
Currently I have a tiny web application serving HTML and WAP clients and
that procuces PDF. I'd like to access the created PDF via an external JFC
Application.
Thanks for your
Hello!
I'm new using cocoon and I just got running the example 'greeting3.xml'
using 'logicsheet.greeting.xsl' as taglib transformed with the stylesheet
'greeting.xsl'. I was using cocoon 2.
(http://xml.apache.org/cocoon/userdocs/xsp/logicsheet.html)
This example uses the logicsheet within the
19 matches
Mail list logo