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} ?
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
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
> -Original Message-
> From: apurva zaveri [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, September 05, 2002 6:12 PM
> To: [EMAIL PROTECTED]
> Subject: Redirect from sub-sitemap in authentication framework
>
>
> Redirect from an sub-sitemap to the login page does
> not seem to be working
If you are in a hurry and solution will take time.
A) Do your coding another way
B) Switch back to 2.0.3. until problem is solved (yeah I know sounds stupid,
but maybe it is possible in your environment)
Solution A) is probably better :-)
Not a Cocoon answer, just general IT problem solving. Ma
What we can do with this problem? :(
I need to end forms to the next thursday :(
How I can help?
Antonio Gallardo.
El Jueves, 05 de Septiembre de 2002 09:11, Antonio Gallardo Rivera escribió:
> Gerhard:
>
> Many thanks, I put to it 3 points in the bugzilla ;)
>
> I hope it will be soon resolve
Looks promising.
Is there a more complex demo than the one in the download.
I would be interested to see line items, images, nested tables.
- Original Message -
From: "Michael Wechner" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, September 04, 20
Since the form is kept in the request or session, you can access it through
the InputModules.
I don't remember, Do we have the JXPath extension for request and session
input modules?
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, September 04, 2
This feature has been requested multiple times before.
I was holding on an implementation until the W3C XForms spec it out.
Now it is available at:
http://www.w3.org/TR/xforms/slice9.html#ui-common-elements-itemset
It should be relatively easy to implement provided the tag is
very similar.
I
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 the default HTTP/1.1 con
I've been reading through the performance tuning tips and have a couple of
questions and comments.
- For optimum performance with Tomcat 4 and Cocoon 2, use the HTTP/1.0
connector.
This appears to be due to a bug which has been fixed.
See: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=408
Cocoon 2.1 supports an extra attribute in the pipeline,
which specifies the expiration header in the http response.
This should allow temporary caching of the result.
I am not sure where this is documented though.
- Original Message -
From: "Martin Lüthi" <[EMAIL PROTECTED]>
To: <[EMAIL
I was wondering if anyone had addressed the problem of getting the data from
an XMLForm wizard into a database? Any ideas would be helpfull.
Thanks,
Phil Craven
-
Please check that your question has not already been answered
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 a xml file.
Do I te
At work I have to handle really bad written HTML (they used some really bad HTML
generator):
Hello, world!
Hi there.
This is plain wrong.
But it works in certain browsers
I thought by using the HTMLGenerator, the Tidy-thing should take care of this. In my
site map I have
But the ser
I have documented how to write an action using XSP at
http://outerthought.net/wiki/Wiki.jsp?page=XSPAction
That should get you started.
Litrik De Roy
www.litrik.com
- Original Message -
From: "Michael Edge" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, September 05, 2002
On Thu, Sep 05, 2002 at 07:47:17PM +0200, Leszek Gawron wrote:
> I have a very strange problem and do not quite know what is the cause so I
> post here as I think this is the most responsive group I've ever seen. So:
>
> 1. I have a simple xsp page that collects data from request body, parses it
I have a very strange problem and do not quite know what is the cause so I
post here as I think this is the most responsive group I've ever seen. So:
1. I have a simple xsp page that collects data from request body, parses it to
DOM structure and uses it later:
http://apache.org/xsp";
xmlns:esq
Is it possible to plug xsltc into 2.0.3?
I tried substituting in sitemap.xmap:
false
false
false
org.apache.xalan.xsltc.trax.TransformerFactoryImpl<
/transformer-factory>
and adding xsltc-20020723.jar to my lib directory, but it doesn't seem
to do anything (e.g.
I change a pipeline, go to the url in the browser, and it keeps failing
although the levels' depth is correct. Either the pipeline's execution fails
or it says "no such level". I feel bugged. Thanks for any other feedback
about this.
Some pipeline perfectly work. Maybe I have to restart cocoon ?
Error while evaluating 'http://{../../../../../../foo}/...' : not so many
levels
I have an application that ran fine under 2.0.3 and now I use 2.1 so I
replace some hard-coded parameters by global parameters.
I here need to access a global parameter at level 6. I double-checked the
syntax and tr
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 deploy our webapplication, whi
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 pipeline 2, with one action, {../foo1} ?
Thanks, where
Hi,
I am having trouble including JSP's from other JSP's.
I am using
Cocoon 2.0.2
Tomcat 4.0.2
Windows 2000
My sitemap has the following
I am including the "HeaderIncludeGeneral.jsp
> -Original Message-
> From: Stephen Ng [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, September 05, 2002 5:56 PM
> To: [EMAIL PROTECTED]
> Subject: Xsltc and 2.0.3
>
>
> Is it possible to plug xsltc into 2.0.3?
>
> I tried substituting in sitemap.xmap:
>
>src="org.apache.cocoo
Redirect from an sub-sitemap to the login page does
not seem to be working in authentication framework.
i.e
If you have a protected page in subsitemap.
The redirection in sub-sitemap (in case of not
authenticated) is not able to go to login page (in
sitemap)
Gerhard:
You are right!
This simple action is working fine:
but:
does not work. :(
How to make a workaround about that? maybe trough a or
something like that?
Antonio Gallardo.
El Jueves, 05 de Septiembre de 2002 09:11, Antonio Gallardo Ri
Is it possible to plug xsltc into 2.0.3?
I tried substituting in sitemap.xmap:
false
false
false
org.apache.xalan.xsltc.trax.TransformerFactoryImpl<
/transformer-factory>
and adding xsltc-20020723.jar to my lib directory, but it doesn't seem
to do anything (e.g.
My humbles apologies for replying to a message and attaching the entire cocoon users
digest to it. I know it's irritating. Sorry about that, an accident caused by me not
checking that Lotus Notes had correctly deleted the rest of the digest.
Regards
Michael
--
This e-mail may contain conf
I am using Cocoon 2.1. I have the following ESQL:
SELECT cat_id, cat_nombre, cat_habilitado
FROM categoria
WHERE cat_nombre LIKE %%
AND cat_habilitado LIKE %%
ORDER BY
This last line is not working well:
ORDER BY
The curious is that the param
Thanks for the suggestion Nicola. Could you point me in the direction of an example on
how to do this? I've spent hours searching for information on redirects, and as with
most Cocoon documentation, it's pretty vague.
Thanks
Michael
Michael Edge wrote:
> Hi All
>
> It seems to me that the f
Thanks for the suggestion Nicola. Could you point me in the direction of an example on
how to do this? I've spent hours searching for information on redirects, and as with
most Cocoon documentation, it's pretty vague.
Thanks
Michael
Michael Edge wrote:
> Hi All
>
> It seems to me that the
Title: Nachricht
Sascha,
Could you post the mod plz ?
- Original Message -
From:
Sascha Kulawik
To: [EMAIL PROTECTED]
Sent: Tuesday, August 27, 2002 8:38
PM
Subject: RE: Upload problem :( Windows
related (again...)
I
know that problem and have resol
> 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 time no context exists an
Yeh, that's very strange, I'd like to find the answer... If someone can
help...
- Original Message -
From: "Lorenzo De Sio" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, August 30, 2002 2:42 PM
Subject: R: REPOST: Uploaded file name problem
You must be right... but, if so, w
Gerhard:
Many thanks, I put to it 3 points in the bugzilla ;)
I hope it will be soon resolved.
Regards
Antonio Gallardo
El Jueves, 05 de Septiembre de 2002 08:46, Gerhard Hipfinger escribió:
> Hi Antonio,
>
> This bug was reported from Ivan Luzyanin quite a long time ago. There is
> a bug rep
> -Original Message-
> From: Jan Bromberger [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, September 05, 2002 4:59 PM
> To: [EMAIL PROTECTED]
> Subject: Re: No SesionManager provided for Seleector?
>
>
> > When is your session context created?
> It should normaly be created only once on th
Title: Message
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 command line inter
> When is your session context created?
It should normaly be created only once on the first page request. At the
moment for test purposes there is the following pipe:
...
So it is created by the session transformer before the select state.
I have now commented out the session cre
Hi all,
I have to task to convert lots of html documents
downloaded with the URLConnection class
URL url = new URL("http://host/document.htm");URLConnection
urlConnection = url.openConnection();
...into plain text document to be written on my
When is your session context created?
Carsten
> -Original Message-
> From: Jan Bromberger [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, September 05, 2002 4:30 PM
> To: [EMAIL PROTECTED]
> Subject: Re: No SesionManager provided for Seleector?
>
>
> > Ok, I'm not sure, but I think you can'
Hi Antonio,
This bug was reported from Ivan Luzyanin quite a long time ago. There is
a bug report under
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9835
Please, confirm this bug, I hope someone will investigate this issue.
This bug is the reason I can't switch to 2.1 (and still use 2.0.
Hi Antonio,
You must also set the for-descriptor for form validation
The descriptor is only for the action dbAdd
Klaus
> -Original Message-
> From: Antonio Gallardo Rivera [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, September 05, 2002 4:37 PM
> To: [EMAIL PROTECTED]
> Subject: The d
Please help me:
I am using Cocoon 2.1:
In the sitemap I have:
The actions are declared:
The match in the pipeline is:
> Ok, I'm not sure, but I think you can't lookup the SessionManager
> in your compose() method. Try it in your select() method of
> the Selector Interface.
> That should work (I hope).
Yes, thanks. That helps.
But: The session that is provided is not the same as the one that I get
with:
Obje
Ok, I'm not sure, but I think you can't lookup the SessionManager
in your compose() method. Try it in your select() method of
the Selector Interface.
That should work (I hope).
Carsten
> -Original Message-
> From: Jan Bromberger [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, September 05,
> This should work, you can get a SessionManager from the
> ComponentManager.
>
> What/how do you exactly try?
public void compose(final ComponentManager componentManager) throws
ComponentException {
this.componentManager = componentManager;
this.sessionManager = (SessionManager)
compone
Thank you for your hint. I just tried out XPathDirectoryGenerator (scratchpad)
which essentially does what I need, but is a lot less messy than my initial
approach. However, also these results seem not to get cached... Presumably I
should save the result with something like a SourceWritingTransfor
Many thanks !
- Original Message -
From: "Ilya A. Kriveshko" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, September 05, 2002 3:53 PM
Subject: Re: "if" not working
> I prefer the "search".equals()
> form, since it will never throw a NullPointerException.
>
> The reason ``=
I prefer the "search".equals()
form, since it will never throw a NullPointerException.
The reason ``=='' doesn't work is because ``=='' is identity, not
equality check. It will only return true if the two operands are the
same object, not two different objects having the same value.
2c
--
Ily
This should work, you can get a SessionManager from the
ComponentManager.
What/how do you exactly try?
PS: Please send plain text mails and not html.
Carsten
-Original Message-
From: Jan Bromberger [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 05, 2002 3:47 PM
To: [EMAIL PROTEC
That's perfect, thank you very much :)
- Original Message -
From:
Rob
Grundel
To: '[EMAIL PROTECTED]'
Sent: Thursday, September 05, 2002 3:50
PM
Subject: RE: "if" not working
use
the .equals("todo") operator on the string comparison
-Original
I intend to write a SessionContextSelector and
tried to use a SessionManager just like the SessionTransformer does. But it
seems that there is no SessionManager provided to a Selector while a Transformer
gets one.
Am I right?
Why is that so?
And: Has anybody a suggestion for a
workaround?
use
the .equals("todo") operator on the string comparison
-Original Message-From: Ganael LAPLANCHE
[mailto:[EMAIL PROTECTED]]Sent: Thursday, 5 September 2002
11:49 PMTo: [EMAIL PROTECTED]Subject: "if" not
working
Hi all,
I'm trying to test the value of a hidden
pa
Title: Message
Try
to use "search".equals() instead.
--
Konstantin
Piroumian [EMAIL PROTECTED]
-Original Message-From: Ganael LAPLANCHE
[mailto:[EMAIL PROTECTED]] Sent: Thursday, September 05, 2002
5:49 PMTo: [EMAIL PROTECTED]Subject: "if" not
working
Hi all,
Hi all,
I'm trying to test the value of a hidden parameter
sent via an html form...
Here is the test :
if(=="search")
{
That's ok
!
}
The test never returns true... What's wrong
???
Thank you,
Gan.
Can you reach these links:
http://localhost:8080/cocoon/samples/welcome
http://localhost:8080/cocoon/samples/xmlform/wizard
- Original Message -
From: "Gerry Reno" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, September 03, 2002 5:46 PM
Subject: XMLForm - Howto - Mailing Li
http://outerthought.net/wiki/Wiki.jsp?page=Redirecting
--
Nicola Ken Barozzi [EMAIL PROTECTED]
- verba volant, scripta manent -
(discussions get forgotten, just code remains)
-
Michael Edge wrote:
> Hi All
>
> It seems to me that the following code will not work in Cocoon 2.
> I believe it works in Cocoon 1, but for some reason the request
> and response objects available within XSP for Cocoon 2 are not
> HttpServletRequest and HttpServletResponse objects, but rath
Hi All
It seems to me that the following code will not work in Cocoon 2. I believe it works
in Cocoon 1, but for some reason the request and response objects available within XSP
for Cocoon 2 are not HttpServletRequest and HttpServletResponse objects, but rather
some cocoon equivalents, org.a
Antonio Gallardo Rivera wrote:
>Hi all!
>
>Can someone tell me to whom we must report bugs in Cocoon 2.1-dev from
>3/sep/02?
>
>Also, how often we need to check the sources in the CVS?
>
http://marc.theaimsgroup.com/?l=xml-cocoon-cvs
Vadim
>Regards,
>
>Antonio Gallardo
>
After 1 minute of looking, it seems that the DirectoryGenerator is not
cacheable.
So it is going to re-read the directory every time you hit the pipeline.
Your Xincluded pieces might be cacheable, however. For instance, the
FileGenerator *is* cacheable (if you are using it).
If you can live wi
There are multiple possibilities, at least using sitemap aggregation,
document() in XSL or cinclude/xinclude-transformer. And I would avoid using
naming conflicts (i.e. the file extension of included code snippets should
not be "xsl").
Regards,
Joerg
Manish Shah wrote:
> The problem is that
On Thu, 2002-09-05 at 10:37, Martin Lüthi wrote:
> Dear Cocooners
>
> I wonder what would be the most efficient aggregation of many small xml
> documents in a directory. My present approach is very slow:
>
> 1. use directory-generator to make an index of documents
> 2. generate a document contai
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 always return true). Unfor
On Thursday 05 September 2002 11:21, Martin Lüthi wrote:
> I
> want to aggregate all files in a directory, which is not possible with
> afaik.
You'll have to use CInclude or XInclude for this, along with a
DirectoryGenerator to get the list of files.
--
Bertrand Delacrétaz (codeconsult.ch, j
"u15603" <[EMAIL PROTECTED]> writes:
> have you ever use the inside the sitemap? It is easy to
> handle!
Well, with you have to know the names of the files, but I
want to aggregate all files in a directory, which is not possible with
afaik.
Thanks
Martin
--
Martin Lüthi [E
Barbara Post wrote:
> 1. What is this is cocoon.xconf ? Session timeout ? :
>
>
Continuations are, in effect, a type of session and so I would expect
this to be the "session" timeout - ie. the no. seconds that cocoon keeps
the suspended flow program state (stack state, variables, etc.).
Hello Martin,
have you ever use the inside the sitemap? It is easy
to handle!
dirk
>Dear Cocooners
>
>I wonder what would be the most efficient aggregation of many small xml
>documents in a directory. My present approach is very slow:
>
>1. use directory-generator to make an index of document
Dear Cocooners
I wonder what would be the most efficient aggregation of many small xml
documents in a directory. My present approach is very slow:
1. use directory-generator to make an index of documents
2. generate a document containing xincludes with help of a stylesheet
3. perform all xinclud
1. What is this is cocoon.xconf ? Session timeout ? :
2. and what (when) is this component used for ? :
org.apache.cocoon.components.ExtendedComponentSelector
Thanks...
-
Please check that your question has not already be
Now with cocoon 2.1, when I hit control and F5 to force reload of page after
modification of the sitemap the page doesn't want to reload, cocoon has
cached it and seems to ignore that sitemap has changed... I use Internet
Explorer 5.5. If I modify the url sitemap changes are effective.
With c2.0.
72 matches
Mail list logo