Lars Huttar wrote:
From: Alexander Schatten
Sent: Wednesday, November 05, 2003 12:34 PM
To: [EMAIL PROTECTED]
Subject: Impossible CLI??
So, I am playing around for hours now, to get the CLI running
to produce
an example for a demonstration... seems to be, that I am far
too stupid
to
On Wed, 05 Nov 2003 22:53:23 +0100
Ugo Cei [EMAIL PROTECTED] wrote:
Sylvain Wallez wrote:
Joern Wallstabe wrote:
I'm using cocoon 2.1.3 dev and would like to fill a selection-list in
a woody form dynamically
using the result of a database query.
How can I fill the selection-list
Hi,
What can you advice me with developing more cocoon applications in one site ?
My idea is to do basic core functionality to my site.
And then other developers will do each one application.
Is it possible to put cocoon to diffrent WAR files
so application can be changed separately - but there
Joern Wallstabe wrote:
The countryselector example shows how to change a selection list inside an event handler.
Indeed, I should've pointed this out in my reply, but I was in a hurry.
Is this the only way e.g is there a wd:load to fill the list inside an event handler.
Can it be done without an
Hello,
I'm sending this question again because I 'am still stuck with the problem :
in two words, does Cocoon provide mechanisms for passing a context from a
session to another (see description below) ?
Maybe this is a dumb question or a known issue, but I haven't found the
right thread to help
I've downloaded the latest nightly build of Cocoon 2.1 and it doesn't work. Where can
I get the latest version?
David
-Mensaje original-
De: Ugo Cei [mailto:[EMAIL PROTECTED]
Enviado el: miércoles, 05 de noviembre de 2003 18:49
Para: [EMAIL PROTECTED]
Asunto: Re: Starting
I've forgot to specify the exact problem I'm having:
An Error Occurred
resource://org/apache/cocoon/woody/flow/javascript/woody2.js, line 83: uncaught
JavaScript exception: at selectCar
(file:/E:/DAVID/des/cocoon-2.1.2/build/webapp/samples/woody/flow/woody_flow_example.js,
Line 34) at Form
Hi
The goal is to retrieved handler application information inside the
portal page by an action
The application is declare like this :
authentication-manager
handlers
handler name=portalhandler
redirect-to uri=cocoon:/login /
On Thu, 2003-11-06 at 10:19, Carmona Perez, David wrote:
I've forgot to specify the exact problem I'm having:
An Error Occurred
resource://org/apache/cocoon/woody/flow/javascript/woody2.js, line
83: uncaught JavaScript exception: at selectCar
Thanks Bruno,
I've already done that and it works!!!
I thought that the build system supported incremental builds.
David
-Mensaje original-
De: Bruno Dumon [mailto:[EMAIL PROTECTED]
Enviado el: jueves, 06 de noviembre de 2003 10:31
Para: [EMAIL PROTECTED]
Asunto: Re: RV:
Hello,
I would like to propagate an exception to the map:handle-errors section of a sitemap.
How could I do that?
Thanks
Sylvain
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi Jorg,
-Message d'origine-
De: Jorg Heymans [mailto:[EMAIL PROTECTED]
Date: mercredi, 5. novembre 2003 15:33
À: [EMAIL PROTECTED]
Objet: Re: servlet destroy() method in Cocoon
extremely-off-the-top-of-my-head
Doesn't the servlet specification allow to redirect to a page
On Wed, 2003-11-05 at 21:34, Kasia Lale wrote:
Hi,
I'm hoping somebody can point me in the right direction, please...
I've been looking at Woody and the bean binding sample included in 2.1.(x),
and wondering how i can synchronize the bean with the database, or at least
what's the best way
On Thu, 06 Nov 2003 09:08:43 +0100
Ugo Cei [EMAIL PROTECTED] wrote:
Joern Wallstabe wrote:
The countryselector example shows how to change a selection list inside an event
handler.
Indeed, I should've pointed this out in my reply, but I was in a hurry.
Is this the only way e.g is
Isn't it already automatically propagated?
Where is it caught? Find it out with a debugger.
David
-Mensaje original-
De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Enviado el: jueves, 06 de noviembre de 2003 11:17
Para: [EMAIL PROTECTED]
Asunto: How to propagate exception in
i think the problem here is that all exceptions are propagated, but not
all are caught by the handle:errors section.
It would be good to get a statement from an expert here on exactly what
exception to throw so they are guaranteed to be caught by the handle:error.
Carmona Perez, David wrote:
sure, but is a servlet destroyed each time a user presses cancel during
the request? That would seem very expensive.
[EMAIL PROTECTED] wrote:
Hi Jorg,
-Message d'origine-
De: Jorg Heymans [mailto:[EMAIL PROTECTED]
Date: mercredi, 5. novembre 2003 15:33
À: [EMAIL PROTECTED]
Objet: Re:
Hi all,
I've been studying Woody a little,
and have some proposals (maybe some of them are nonsense):
Ability to generate client-side _javascript_ for
validation, in addition to server-side one, like ASP.NET. E.g. the required condition is
easy to do
Possibility of
Hi everybody
as sylvain described below, there is a possibility to save the pipeline output to file
system.
I think I know how to implement that in my pipeline, but don't know which
class I have to declare in the sitemap under map:actions
where do I get this class in case it's not included? CVS?
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
/snip
Page: http://wiki.cocoondev.org/Wiki.jsp?page=Main , version:
266 on Thu Nov 6 11:10:19 2003 by BrunoDumon
+ * November 6, 2003
+ ** Created a [Wiki page
+
David,
1) you can easily adjust the woody-default.xsl that generates the html
tags and then also the javascript code. I've already developed a basic
clientside javascript framework but didn't had any time to finish it
completely (then I might throw it to the community)
2) this would be against
With code like
Enumeration enum = null;
enum = session.getAttributeNames();
while (enum.hasMoreElements()) {
String curName = (String)enum.nextElement();
String value = (String)session.getAttribute(curName);
if
Cocoon (or any servlet) will only know the user has pressed cancel when it tries to
write to the Servlet response. By
that time the database query will (probably) have completed so the damage is already
done. You can obviously catch
this exception and close the connection (or probably return
Carmona Perez, David wrote:
I've forgot to specify the exact problem I'm having:
cause: org.apache.avalon.framework.component.ComponentException: Could not find
component (key [org.apache.cocoon.woody.datatype.SelectionListBuilderSelector])
Are you sure you're not using some files from an older
Hello,
I'm trying to get a string from a session parameter.
My transformer put it :
this.session.setAttribute(request, query);
then I have an xsp reading it :
xsp-session:get-attribute name=3Drequest as=3Dxml/
The thing is that the String is not displayed as xml but as text, i.e =20
or are
Upayavira wrote:
Lars Huttar wrote:
Cannot find CatalogManager.properties
??? and
server.properties not found, using command line or default properties
Isn't this the message Jetty spits out when you don't specify startup
properties? At the
least, it's spit out in the console when doing
Have you tried as=object instead?
just a guess...
- Original Message -
From: Lionel Crine [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, November 06, 2003 2:29 PM
Subject: XSP session
Hello,
I'm trying to get a string from a session parameter.
My transformer put it :
hello all!
i'm trying resin 3.0.3 out and i wanted to bring up cocoon on it. well
everything seems to go well and the cocoon 2.1.2 welcome page turns up
under
http://localhost:8080/cocoon/
though none of the samples under http://localhost:8080/cocoon/samples/
turns up. checking the
Hello Robert,
it's the endorsed libs problem (XML libraries). It's common for all JDKs
above version 1.4. I don't know exactly how to solve it with Resin, starting
the server with -java.endorsed.dirs=/directory pointing to a directory that
contains the XML library versions of Cocoon should
Hi,
I am having some strange problems with the svg-to-jpeg serialisation in
combination with german umlauts. I am using cocoon to dynamically
generate images according to the url of the immage. If I embed an image
/images/Title.jpg a jpeg containing the text Title is created. My
problem now is,
Do You now some Cocoon-users in Switzerland or near regions?
Thank You
er
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
This should be fine. What is wrong? Does it cause compilation errors?
Have you tried doing this and calling your testMethod() from within an
xsp:logic block inside your page element?
-Christopher
|-+
| | Otmar Vobejda|
| |
Hello,
Im getting an Stylesheet directed termination when trying to connect from
Cocoon 2.1 to exist 0.9.2 with the XMLDB Logicsheet for Cocoon.
My sitemap looks like that:
map:match pattern=adressen
map:generate type=serverpages src=TEST/xml/samples/adressen.xsp/
Dr. med. Elieser Rosenberg wrote:
Do You now some Cocoon-users in Switzerland or near regions?
In Zurich, there are Giacomo Pati and Massimo Sonego from
Otego (http://www.otego.com) and some people from Wyona
(http://www.wyona.com) including Michael Wechner (the founder
of the Lenya Project) and
Andreas Hartmann wrote:
Maybe some of us could meet - e.g., at a dinner - to share
our experiences, get more insight into recent developments
etc. and talk about the users group again.
What do you think?
yes, that would be nice. What about next week in Zurich?
Michi
-- Andreas
Another proposal for Woody:
Give a default value for the atribute-name parameter. In this way there wouldn't be
for most cases any need to specify the lines marked as bold:
map:match pattern=registration
map:select type=request-method
map:when test=GET
map:act type=woody-make-form
hi all,
i have to display a table as a footer of the document, but
declaring it in the xsl-region-after block is not doing the work.
can anyone suggest me any other way to display the table in footer?
ashish.
-
To
stylesheet directed termination means there is a xsl:message
terminate=yes anywhere in your stylesheet xmldb.xsl.
Joerg
Katharina Weimer wrote:
Hello,
Im getting an Stylesheet directed termination when trying to connect from
Cocoon 2.1 to exist 0.9.2 with the XMLDB Logicsheet for Cocoon.
My
Hallo,
i need to set correctlythe encoding of my xml
output files in apipeline.
For example:
if I use a simplepipeline like
this
map:generate src=""/map:transform
src=""/map:serialize/
The xml encoding in the input.xml is
ISO-8859-1,
The xml encoding ofthe simple.xsls
ISO-8859-1,
The
Hi Carmona,
no text is shown in bold, since the email is converted to just ascii on this
side of the world (or at least in my puter) and all text formatting is gone.
Can you resend the message and mark the lines in a different way? Preferably
not italic ;)
Jelle
-Oorspronkelijk bericht-
use
serialize type="xml" /
Jelle
-Oorspronkelijk bericht-Van: Gianluca Morello
[mailto:[EMAIL PROTECTED]Verzonden: donderdag 6 november 2003
17:21Aan: [EMAIL PROTECTED]Onderwerp: [HELP]: How
to set xml encoding?
Hallo,
i need to set correctlythe encoding of my
Gianluca Morello wrote:
Hallo,
i need to set correctly the encoding of my xml output files in apipeline.
For example:
if I use a simple pipeline like this
map:generate src=input.xml/
map:transform src=simple.xsl/
map:serialize/
The xml encoding in the input.xml is ISO-8859-1,
The xml
Sorry,
al little too quick perhaps. You should also define the encoding in the
components section, for example:
map:serializers
default="html"
label="result"
map:serializer name="xml" mime-type="text/xml"
src=""
encodingUTF-8/encoding
/map:serializer
map:serializer name="html"
Here you are, see below the marked lines.
David
-Mensaje original-
De: Alten, Jelle Paul (sds-sp) [mailto:[EMAIL PROTECTED]
Enviado el: jueves, 06 de noviembre de 2003 17:02
Para: '[EMAIL PROTECTED]'
Asunto: RE: Woody proposals: default parameter value
Hi Carmona,
no text is
How can I do in flow script custom
validation?, i.e. validation that
is very app specific and Woody provided validations aren't enough.
The only solution I see is to make a
custom version of woody.js. Surely
there must be something easier.
David
I'm not sure which list to post this question to,
but maybe one of you know if it's possible at all to stop a SAX parser once the
immediate content handler finds whatever info it is looking for, in order to
avoid unnecessary parsing of the rest of a potentially large XML
document?
Thanks,
is the encoding on your xml document correctly set? ie ISO8859-1 or UTF-8?
Add debugging views to your pipeline to see at which stage exactly it
loses your umlauts
Christofer Dutz wrote:
Hi,
I am having some strange problems with the svg-to-jpeg serialisation in
combination with german
Another issue,
While in the provided example form.isValid
is called?
Isn't always the form valid when showForm()
returns?
function form1(form) {
var locale = determineLocale();
var model =
form.getModel();
model.email = [EMAIL PROTECTED];
model.somebool = true;
If this functionality is needed within a custom transformer then you
could extend AbstractDOMTransformer instead. There you have direct
access to the full document, so no need to parse every single element.
Could you be a bit more specific?
jcplerm wrote:
I'm not sure which list to post
Hallo Jelle,
My serializers map is like this:
map:serializers
default="html" map:serializer name="xml-iso"
mime-type="text/xml"
src=""
encodingISO-8859-1/encoding
/map:serializer /map:serializers
And using the following pipeline the xml output
encoding is correct!
map:generate
On Thu, 2003-11-06 at 17:36, David Kavanagh wrote:
If I'm not mistaken, you can call endDocument() in your own
transformer at any time. That effectively puts an end to pipeline
processing.
But that won't stop the parser from parsing the rest of the file and
pushing SAX events out.
The only
I am new in cocoon, but would be very much interested in such a meeting.
Next week in Zurich would be ok for me.
I work in a small company focused on publishing solutions, like many
others...
Daniel
Maybe some of us could meet - e.g., at a dinner - to share
our experiences, get more insight
hi,We are developing a large documentation for our courses at school that could be available online.We are planning to have all our data in xml, and we were suggested to use some publishing frame work.But i find we can directly use xml tags in JSP pages for transfermation into html using xslt .Can
Sorry,
I don't know enough
about the SourceWritingTransformer to tell you how to set the encoding for the
SourceWritingTransformer.
Anybody
else?
-Oorspronkelijk
bericht-Van: Gianluca Morello
[mailto:[EMAIL PROTECTED]Verzonden: donderdag 6 november 2003
18:07Aan: [EMAIL
i have to display a table as a footer of the document, but
declaring it in the xsl-region-after block is not doing the work.
can anyone suggest me any other way to display the table in footer?
Did you define an extent for your region-after in your simple-page-master?:
fo:region-after
On Thu, 2003-11-06 at 17:19, Carmona Perez, David wrote:
How can I do in flow script custom validation?, i.e. validation that
is very app specific and Woody provided validations aren't enough.
The only solution I see is to make a custom version of woody.js.
Surely there must be something
It's not working.
At 14:44 06/11/2003 +0100, you wrote:
Have you tried as=object instead?
just a guess...
- Original Message -
From: Lionel Crine [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, November 06, 2003 2:29 PM
Subject: XSP session
Hello,
I'm trying to get a string from
Interesting. I was under the assumption that the content handler events
were synchronous, so the processing could be interrupted by calling
endDocument(). Doesn't the pipeline get recycled at this point? I
thought that a generator would stop processing when it gets a life
cycle event to clean
I guess throwing an exception is a pretty good suggestion that I try out.
Sorry for my ignorance, but is there any XML pull parser that is already
available in Cocoon?
Or would this require still some integration effort?
jlerm
- Original Message -
From: Bruno Dumon [EMAIL PROTECTED]
What Bruno says makes sense. A SAX pipeline is
actually just a sequence of classes, each one invoking methods of another
one.
For instance:
SaxParser-ContHandler1-ContHandler2-...-ContHandlerN
If ContHandler1 invokes endDocument(), all this
does is call this method in ContHandler2.
On Thu, 2003-11-06 at 17:33, Carmona Perez, David wrote:
Another issue,
While in the provided example form.isValid is called?
Isn't always the form valid when showForm() returns?
Not necessarily, the normal form processing cycle can be interrupted
(e.g. from an eventhandler for action
On Thu, 2003-11-06 at 18:03, jcplerm wrote:
I guess throwing an exception is a pretty good suggestion that I try out.
Sorry for my ignorance, but is there any XML pull parser that is already
available in Cocoon?
not that I know of.
Or would this require still some integration effort?
Yep.
Title: trying to generate the SRC attribute of map:transform element based on XML returned by generator.
Hi!
I am trying to dynamically create the URL which will be set as a value of SRC attribute of map:transform element.
The dynamic parts of the URL are some of the elements of XML
Igor Galperin wrote:
Hi!
I am trying to dynamically create the URL which will be set as a value
of SRC attribute of map:transform element.
The dynamic parts of the URL are some of the elements of XML returned
by generator.
May be somebody knows the way how to retrieve the elements of XML
Hello,
I have developed a Avalon-Component (No Transformer, generator, aso.) which
is accessible with the Component Manager. Within this Avalon-Component I
need access to the ObjectModel to extract the Cocoon request object. But how
do I get this object?
Thank you!
Regards
Stephan
Lionel Crine wrote:
Hello,
I'm trying to get a string from a session parameter.
My transformer put it :
this.session.setAttribute(request, query);
then I have an xsp reading it :
xsp-session:get-attribute name=3Drequest as=3Dxml/
I believe what you need is the xsp-session:getxml/ tag:
Encoding is ok ... and I tracked the Problem back to some Sitemap-Problems
Here is the Part of my sitemap:
map:match pattern=images/ueberschrift/*.jpg
map:generate src=stylesheets/dummy.xml/
map:transform src=stylesheets/Ueberschrift.xsl
map:parameter name=label value={1}/
Jorg Heymans wrote:
i think the problem here is that all exceptions are propagated, but not
all are caught by the handle:errors section.
It would be good to get a statement from an expert here on exactly what
exception to throw so they are guaranteed to be caught by the handle:error.
You can
Exception:
java.lang.NoClassDefFoundError: org/apache/log/Logger
at
org.apache.avalon.framework.logger.LogKitLogger.isDebugEnabled(LogKitLogger.
java:60)
at
org.apache.avalon.excalibur.logger.DefaultLogTargetFactoryManager.configure(
DefaultLogTargetFactoryManager.java:217)
Dear Fellow Cocoon Users:
I have a sitemap A that mounts a sitemap B. The sitemap A has a callable
resource Foo that I would like to access in sitemap B. However, Cocoon
is telling me that sitemap B has no resources.
Any ideas ?
Regards,
Oleg
I do this with some of my components, and as far as I know the only way
to do it is to pass the ObjectModel from an Action, Transformer, or
Generator. The way the component manager works though, your component
will only be valid within the scope of the component you request it
from (i could be
Any idea??
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi,
I'm trying to replace an attribute with the source
writing transformer and I can't get it done. I'm
trying something like:
source:insert
source:source/users/jef/account.xml/source:source
source:path/account-info[1]/source:path
source:replace./@disabled/source:replace
Hello again,
Still no joy compiling 2.1.2 obtained from cocoon-latest-srs.zip in the
downloads section of the web site.
Previous version built without incident. The difficulty is I'm not a
java programmer and I get a little nervous when things don't work
straight off the bat as they usually do!
Hello Tony,
I guess nobody had such an error, so nobody can help you. The only thing
I guess is a non-Cocoon Rhino on the classpath.
Chris, can you confirm my guess from a look on the code?
Regards,
Joerg
On 07.11.2003 00:09, Tony Edwards wrote:
Hello again,
Still no joy compiling 2.1.2
Hi Joerg,
I'll check that out. Thanks!
Tony
Joerg Heinicke wrote:
Hello Tony,
I guess nobody had such an error, so nobody can help you. The only thing
I guess is a non-Cocoon Rhino on the classpath.
Chris, can you confirm my guess from a look on the code?
Regards,
Joerg
On 07.11.2003
Only actions can set sitemap parameters, which is how you would set the src attribute. If you can write a simple action that will create your URL and place it in the sitemap parameters then you should try that. I don't know another way to do it. I've never used flowscript, but maybe it's possible
You
can write an input module to dynamically pass date to a
transformer.
-Original Message-From: Justin Fagnani-Bell
[mailto:[EMAIL PROTECTED]Sent: Thursday, November 06,
2003 3:43 PMTo: [EMAIL PROTECTED]Subject: Re:
trying to generate the SRC attribute of map:transform
Are there any ways I can influence the names
and links of and in offline pages that are
generated through CLI?
Especially I want the parameters I attached to
the URL to go away: ?param1=valueparam2=value.
These are included in page names and links of
all the files generated.
Or would I be
If you do this direct mapping from request param to stylesheet param,
the request character encoding must be the same as the stylesheet
encoding if I remember correctly. We had the same problem 1,5 years ago
when generating images dynamically. At the end we circumvent it by using
i18n, where
Lars, this list is really useful. Would you be willing to add
it to the
CommandLine wiki page? Really, I think the web site docs
should be the
formal this is what the uris node means docs, but there
is a really
big place for this kind of this works for me docs too, on the Wiki.
On 07.11.2003 00:58, Volker Buchenau wrote:
Also I had to add a map:views section to my
sub-sitemap which is not inherited from the main
sitemap as stated in the Wiki.
Fixed it on the wiki.
Joerg
-
To unsubscribe, e-mail:
Again thank you for answers, I have still not advanced for one
millimeter, though again trying for some long time...
the details:
Upayavira wrote:
I believe this (uri) is now fixed in CVS. uris is a new feature
that allows you to process groups of uris, having independant options
with each
PRATAP dijo:
hi,
We are developing a large documentation for our courses at school that
could be available online.
We are planning to have all our data in xml, and we were suggested to
use some publishing frame work.
I thought you can also see Apache Forrest - http://xml.apache.org/forrest
Hi Asim:
It depends what are you running inside Tomcat. I mean you have here 3
posibilities:
1-Define a context that point to your Cocoon webapp directory. In that
case, there is where you need to remove or change the file you want.
2-build cocoon as a .war file and deploy it inside your webapp
I want to start a new thread, because I had some compilation problems
during still unsuccessful experiments with cli. but those are (at least
partly) no cli matters:
(1) To the first point: I believe it to be an extremly bad idea not to
provide an binary distribution, by many reasons, the
On Thursday, November 6, 2003, at 03:51 PM, Ralph Goers wrote:
You can write an input module to dynamically pass date to a
transformer.
How would this work? I'm using Cocoon 2.1, but still mostly use 1.x
techniques. Could the input module actually access the SAX stream?
-Justin
Only actions
87 matches
Mail list logo