Jan Bromberger wrote:
No, sorry - it is not. Actions, Matchers and Selectors are
executed during
processing of the sitemap immediately - generators, transformers and
serializers
are executed after the complete xml pipeline is established.
So, first your selector is tested and at that
On 05.Sep.2002 -- 09:20 PM, Antonio Gallardo Rivera wrote:
What we can do with this problem? :(
I need to end forms to the next thursday :(
How I can help?
Antonio Gallardo.
Since this is not advocated officially, I respond off-list. 2.1 resources
have a feature / bug, so they will
On 05.Sep.2002 -- 06:25 PM, Barbara Post wrote:
Hello, evening here...
In c2.1, do the global parameters respect the stack created by actions ?
So, if I have pipeline 1 and 3 nested actions in it, in the latest one I
want to access foo1 global-parameter, do I use {../../../foo1} ?
In
Ivelin
Thank you for your hint. Do you mean something like
map:generate type=xpathdirectory src=docs/myfiles#/Body
map:parameter name=expires value=100/
/map:generate
This seems not to be cached and the directory listing gets created every
time.
Martin
Ivelin Ivanov [EMAIL PROTECTED]
The Open Source Project castor is a very helpfull Tool for
mapping data from a database into Java-Objects. Overwrite
the getFormModel() Method in your Action to get a Bean
from the Database and commit it somewhere in perform().
I use a special Bean which holds the Business-Model in a
Ivelin Ivanov wrote:
Looks promising.
Is there a more complex demo than the one in the download.
No, that's it.
I would be interested to see line items, images, nested tables.
What do you mean by line items?
Do you mean drag and drop images?
As I know nested tables are possible
I have the followin pipeline:
map:match pattern=*-*.html
map:act type=auth-protect
map:parameter name=handler value=agshandler/
map:match pattern=*-*.html
map:act set=process
map:parameter
Hi Chris, nope, I have to use the right path... and have troubles with
level 6.
So...
Barbara
- Original Message -
From: Christian Haul [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, September 06, 2002 8:39 AM
Subject: Re: global-parameters
On 05.Sep.2002 -- 06:25 PM, Barbara
I have noticed something very strange in cocoon log :
/CocoonServlet: 'cdn/dataold/goods' Processed by Apache Cocoon 2.1-dev in 291
milliseconds.
/CocoonServlet: 'cdn/dataold/goods' Processed by Apache Cocoon 2.1-dev in 511
milliseconds.
/CocoonServlet: 'cdn/dataold/goods' Processed by Apache
Hi,
I have a radiobutton and want to give its value-parameter a dynamic value.
My radiobutton in the xsl looks like this:
input type=radio name=Project value=/
I want to use a dynamic value for the value-parameter.
For example:
input type=radio name=Project value=xsp-request:get-parameter
try using xsp:attribute
xsp:logic
String my_link=//do your logic to generate the link here
xsp:logic
a
xsp:attribute name="href"xsp:exprmy_link/xsp:expr/xsp:attribute
xsp:exprmy_link/xsp:expr
/a
hope this helps
Hi Johannes,
you should use the following syntax which is correct xml:
input type=radio name=Project
xsp:attribute name=valuexsp-request:get-parameter
name=ProjectName//xsp:attribute
/input
Judith
-Ursprüngliche Nachricht-
Von: Johannes Wechsler [SMTP:[EMAIL PROTECTED]]
This worked fine...
Thank you :)
- Original Message -
From:
[EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, September 06, 2002 12:04
PM
Subject: Re: Link creation problem
try using
xsp:attributexsp:logicString my_link=//do your
logic to generate the
Hi all,
I'd like to apologise for an error thats crept into my tutorial
Cocoon 2: Build database-driven sites on IBM developerWorks
thats obviously burnt a number of folks.
In the text I've incorrectly shown esql:pool as a child of esql:execute-query
rather than esql:connection. The correct
Dear Leigh,
I'd like to apologise for an error thats crept into my tutorial
Cocoon 2: Build database-driven sites on IBM developerWorks
thats obviously burnt a number of folks.
..[snip]..
Apologies again for causing some of you difficulties and much
head scratching.
To make the
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: 06 September 2002 12:42
To: [EMAIL PROTECTED]
Subject: Re: Problems with my Cocoon database tutorial
...
Apologies again for causing some of you difficulties and much
head scratching.
To make the
On 06.Sep.2002 -- 12:00 PM, Johannes Wechsler wrote:
input type=radio name=Project value=xsl:value-of
select=projectName//
since Judith answered the first one, xsl has similar elements:
xsl:attribute name=valuexsl:value-of select=projectName//xsl:attribute
Here projectName needs to be a
Don't forget the @ character (or $ if it refers to a variable)
input type=radio name=Project value={@projectName}/
Judith
-Ursprüngliche Nachricht-
Von: Robert Koberg [SMTP:[EMAIL PROTECTED]]
Gesendet am: Freitag, 6. September 2002 13:02
An: [EMAIL PROTECTED]
Betreff: RE:
You probably need to preprocess your HTML with tidy before you introduce
it to Cocoon.
John
Ola Berg wrote:
At work I have to handle really bad written HTML (they used some really bad HTML
generator):
html
body
h1Hello, world!/H1
Hi there.
p
This is plain wrong.
p
But it works in certain
Ivelin Ivanov wrote:
Cocoon 2.1 supports an extra attribute in the pipeline,
which specifies the expiration header in the http response.
It serves different purpose; other client won't get cached result, and
refresh also won't get cached result.
Martin, you still need to exted generator to
David LAGARDERE wrote:
Hi.
I'm using an aggregator within my sitemap which is
aggregating pipelines. So, cocoon:/ protocol is
used.
All my parts taken one by one, are cacheable
generators that produce XML events once when I request
them and they are then stored in the cache (my
CacheValidity
Ola Berg wrote:
From: John Moylan [EMAIL PROTECTED]
You probably need to preprocess your HTML with tidy before you introduce
it to Cocoon.
Well, according to the sitemap in the cocoon dist (2.0.2), jtidy is involved in the
HTML generator.
Yes, correct.
Yes, preprocessing is a
Michael Edge wrote:
Thanks Litrik, I have written my action and it works 95%. I have one small, simple
problem. My sitemap entry is below, and below that is an abbreviated version of my
XSP. The XSP constructs a URL dynamically and needs to pass this back to the XSP. How
do I do this? It
Piroumian Konstantin wrote:
Cocoon allows to setup a pipeline that will retrieve remote HTML
documents, transform them and write to the HD.
I think you'll have to run Cocoon from command line and provide the
list of all the documents you need.
Though, I'm not so sure that Cocoon's
Stephen Ng wrote:
Is it possible to plug xsltc into 2.0.3?
Try following this:
http://xml.apache.org/cocoon/snippet/snippet-xslt-options.html
Vadim
I tried substituting in sitemap.xmap:
map:transformer name=xslt
src=org.apache.cocoon.transformation.TraxTransformer
Moritz Petersen wrote:
Cheers, Mates,
deploying Cocoon2 on Websphere is no problem, as we have seen during our
project; we run it on WSAD 4.0.3/Win2k (using the build in Websphere 4.0.2)
all the time. The problem is now, to bring Cocoon2 to AIX.
We use WAS 4.0.3 AE on IBM AIX (RS/6000) to
Manish Shah wrote:
Hi guys,
I am trying to get used to cocoon 2, and I'm not sure about how to do
this. But I have a jsp file that references two other jsp files:
main.jsp contains:
framesrc=header.jsp
framesrc=body.jsp
To create two frames.
header.jsp and body.jsp outputs into
Stephen Ng wrote:
Just found the answer to my first question: the improved http/1.1
connector is in Tomcat 4.04:
[B2] Coyote: This release include a completely new HTTP/1.1 connector
and connector API, called Coyote. This connector provides much
improved performance and robustness over
Antonio Gallardo Rivera wrote:
I have the followin pipeline:
map:match pattern=*-*.html
map:act type=auth-protect
map:parameter name=handler value=agshandler/
map:match pattern=*-*.html
map:act set=process
From: Nicola Ken Barozzi [EMAIL PROTECTED]
HTMLGenerator uses JTidy directly, without making assumptions itself.
If you can use JTidy to work for you, it should work - or can be easily
made to work - with HTMLGenerator too.
What do you mean? I can use JTidy on my system, whether Cocoon
Ola Berg wrote:
From: Nicola Ken Barozzi [EMAIL PROTECTED]
HTMLGenerator uses JTidy directly, without making assumptions itself.
If you can use JTidy to work for you, it should work - or can be easily
made to work - with HTMLGenerator too.
What do you mean? I can use JTidy on my system,
On Friday 06 September 2002 16:30, Ola Berg wrote:
. . .
is it safe to believe that HTMLGenerator utilizes JTidy and
that JTidy fails,
As Nicola told you, HTMLGenerator *does* use JTidy, as is clearly visible
from the source code.
However, AFAIK JTidy offers many more options than what
Hi,
I use a webservice to access the Xindice-database. The URL I access is:
http://localhost:8004/glue/DBServer/xPathQuery?collectionName=johannes2quer
yString=//projects
The method xPathQuery returns the (nearly) the following string:
projects
projectNameTest 1/projectName
Dear All,
Is it possible to get the data into/out of an XMLForm in XML
format, via the session transformer?
My goal is to implement business objects stored in XML in the
session rather than in JavaBeans. It seems to me that form data
is just begging to be stored in XML format, because it
I've tried to follow the how-to's and tutorials on the net and in the
docs. Someone plase let me know what step I'm missing:
0)
* Built 2.0.3 with all the samples and libs, installed war file under
Tomcat 4.04, under JDK 1.4
* Built same tables with given sql file in mysql on a default install
Dear Johannes Wechsler wrote:
Check the return type the the start method. You declare it void
and then return a String. That looks suspicious.
Alan Hodgkinson.
Hi,
I use a webservice to access the Xindice-database. The URL I access is:
Hi,
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Dear Johannes Wechsler wrote:
Check the return type the the start method. You declare it void
and then return a String. That looks suspicious.
You cannot send a string into the transformation and expect it
Dear Vaskin
I've tried to follow the how-to's and tutorials on the net and in the
docs.
Yup.. I tried that to and basically, everything went wrong!
Someone plase let me know what step I'm missing:
There are a few things to check:
0)
* Built 2.0.3 with all the samples and libs,
Thanks Vadim, it's now 100%.
Michael
To: [EMAIL PROTECTED]
Subject: Re: XSP Redirect in Cocoon
2
Michael Edge wrote:
Thanks
Hi,
I've managed to make some svg's with xsp: which is
pretty cool!
But now I want to go further and try to make tables
in svg.
Basically what I would need is such a
snippet:
xsp:logicfor (int count=0;count
lt; 25;count++){/xsp:logicg
id="XMLID_1_"
rect x="0" y="xsp:expr
count*13+40
I think you should build the attribute using
xsp:attribute name="y"xsp:expr...
- Original Message -
From:
Sanne de
Roever
To: [EMAIL PROTECTED]
Sent: Friday, September 06, 2002 7:23
PM
Subject: svg xsp java
Hi,
I've managed to make some svg's with
The Open Source Project castor is a very helpfull Tool for
mapping data from a database into Java-Objects. Overwrite
the getFormModel() Method in your Action to get a Bean
from the Database and commit it somewhere in perform().
I use a special Bean which holds the Business-Model in a
You are trying to use JSP approach to writing XSP document.
Use the following syntax for dynamic attributes instead:
xsp:logic
for (int count=0;count lt; 25;count++){
/xsp:logic
g id=XMLID_1_
rect x=0 width=500 height=12 fill=yellow
xsp:attribute name=yxsp:expr count*13+40
Thanks Boris and Ilya,
I've got this thing working in no time thanks to you two!
I still needed to do some thinking, but then it appeared to me:
xsp:element name=rect
xsp:attribute name=x0/xsp:attribute
xsp:attribute name=yxsp:expr count*13+40
/xsp:expr/xsp:attribute
The magic words seem to be:
xslt-processor
class=org.apache.cocoon.components.xslt.XSLTProcessorImpl
logger=core.xslt-processor
parameter name=use-store value=true/
parameter name=incremental-processing value=true/
parameter name=transformer-factory
Stephen Ng wrote:
The magic words seem to be:
xslt-processor
class=org.apache.cocoon.components.xslt.XSLTProcessorImpl
logger=core.xslt-processor
parameter name=use-store value=true/
parameter name=incremental-processing value=true/
parameter name=transformer-factory
Hi there,
I'm getting the following xalan exception when using xalan 2.4.0:
java.lang.NullPointerException
at
org.apache.xalan.transformer.TransformerImpl.createResultContentHandler(TransformerImpl.java:1034)
at
Can't be sure, but just recently I spent some time tracking down what
was causing a similar NPE.
Turned out I typed xsl:for-each test=something instead of
xsl:for-each select=something. Clearly, it is an error on my part,
but the NullPointerException isn't exactly what I would have expected
Hey Ilya,
It all worked in cocoon 1.0, but I was getting a different problem.
That's why I went to cocoon 2.0. So, the names are right.. What version
of xalan are you using?
On Fri, 2002-09-06 at 14:17, Ilya A. Kriveshko wrote:
Can't be sure, but just recently I spent some time tracking down
hi all,
we're doing some XSP stuff, where the same XSP logic needs to be applied
across source documents. one way to do it would be cut-and-paste (arg!),
but we've chosen instead to implement our own built-in tags, where, say,
fas:header-info/ calls in a whole slew of processing.
(much of this
Is it possible to set up a sitemap that will select a different stylesheet
according to the XML Schema or doctype used in the content file? I've found
information on multiple forms of out put (i.e., doc2html or doc2pdf). I'd
like to have style sheets more along the lines of doc2html, rss2html,
AFAIK,
If you front Cocoon with Apache (ProxyCache enabled) or if any other proxy
server is between your browser and Cocoon, then the expires attribute is of
significant help.
Only I don't remember the syntax when used in the pipeline.
Can someone point us to a document?
However if the browser
Ivelin Ivanov wrote:
AFAIK,
If you front Cocoon with Apache (ProxyCache enabled) or if any other proxy
server is between your browser and Cocoon, then the expires attribute is of
significant help.
Only I don't remember the syntax when used in the pipeline.
Can someone point us to a document?
53 matches
Mail list logo