Within a map:handle-errors is it possible to aggregate the ErrorGenerator
document with another document before passing it to a Transformer? I can't
seem to be able to get at the error document except through the
transformation step. Each page that I build (even the error notification)
needs access
Take a look at "Controlling Whitespace, Part One-Three"
http://www.xml.com/pub/a/2001/11/07/whitespace.html
http://www.xml.com/pub/a/2001/12/05/whitespace.html
http://www.xml.com/pub/a/2002/01/02/whitespace.html
Stephan.
On Tue, 28 Oct 2003, McDonald, Bruce wrote:
> For excellent examples of
On Tue, 2003-10-28 at 15:28, Olivier Billard wrote:
> Hi Nicolas !
>
> The following code should work, to browse your
>
> Repeater transform = (Repeater)form.getWidget().getWidget("transform");
> for (var i=0 ; i Field searchField = (Field) transform.getWidget(i, "search");
> ... do somethin
On 29/10/2003 09:07, Bruno Dumon wrote:
On Tue, 2003-10-28 at 15:28, Olivier Billard wrote:
Hi Nicolas !
The following code should work, to browse your
Repeater transform = (Repeater)form.getWidget().getWidget("transform");
for (var i=0 ; i
the above looks like a mix of Java and Javascript c
On Mon, 2003-10-27 at 19:52, Johannes Becker wrote:
> Hi,
>
> I wanted to try out and customize the WoodyBinding
> (http://localhost:/samples/woody/form2xml.flow) example.
>
> Because I want to write some xml in an existing xml-file I customized this
> line in the code:
> old:
> new:
>
>
ti, 2003-10-28 kello 19:08, Joose Vettenranta kirjoitti:
Hi,
that solution does work, but ONLY if browser won't use cookies. So, I
can't use http://host/directory/"; /> If browser
won't have cookies.
And I have like this now:
> I have like this:
>
>
>
>
>
>
> ur
On Wed, 2003-10-29 at 02:09, Jim Wu wrote:
> Hi everyone, I have hit on a problem with Woody that I hope you can
> help with...what I need is to have a widget be required only based on
> the value of another widget. Is there anyway to do that within the
> Woody framework? Thanks.
It is not po
On 29.10.2003 05:36, Hassan Abolhassani wrote:
> Hi
>
> Could you please add the following site:
>
> Url: Http://www.razorfish.co.jp
> Cocoon version: 2.1
> Short description:
> Razorfish Japan provides web services
> that help organizations generate competitive
> advantage by leveraging
Hi Joerg,
(B
(BThanks for the reply. Actually on our staging server we already moved to
(BCocoo 2.1, but the change is not reflecte to our live server. I
(Bunderstand that I need to send the change request when we update the
(Blive site. Am I right?
(B
(BRegards,
(BHassan
(B
(B
(B> Hi
(
Hi!
I think the JspGenerator is broken in that it cannot
resolve cocoon:/... type urls in the src attribute.
I have looked in the JspGenerator src code and it passes the
path to the jsp to the (tomcat) JSPEngine as a string and since
JSPEngine does not know anything about cocoon:/ it is no
wonder
On 29.10.2003 09:57, Hassan Abolhassani wrote:
> Hi Joerg,
>
> Thanks for the reply. Actually on our staging server we already moved to
> Cocoo 2.1, but the change is not reflecte to our live server. I
> understand that I need to send the change request when we update the
> live site. Am I right?
ke, 2003-10-29 kello 10:21, Joose Vettenranta kirjoitti:
> ti, 2003-10-28 kello 19:08, Joose Vettenranta kirjoitti:
>
> Hi,
>
> that solution does work, but ONLY if browser won't use cookies. So, I
> can't use http://host/directory/"; /> If browser
> won't have cookies.
Seems like I can't make i
Sylvain Wallez wrote:
>
> We must refactor the XSLTProcessor so that:
> - it returns a MultiSourceValidity if needed (see in
> o.a.c.c.source.impl in scratchpad).
I moved it out into repository block in case anybody was wondering where
it went. I moved it with *TraversableGenerator stuff beca
Stefan Kostopoulos wrote:
Hi!
I think the JspGenerator is broken in that it cannot
resolve cocoon:/... type urls in the src attribute.
That's true. You might already have read the following comment in the
JspGenerator:
// TODO (KP): Should we exclude not supported protocols, say 'context'?
I ha
J.Pietschmann wrote:
phung.ano wrote:
- In the sitemap i tried other mime types:
application/octet-stream, application/zip (for zip files), aso.
Not implemented yet. Any value in the sitemat (pipeline definition)
is silently ignored.
Register *.jar as application/octet-stream with your servlet
e
Hello
Using the double asterisk in a sub sitemap doesn't seem to work:
example:
root sitemap define sub sitemap 'demo'
in sitemap demo define following pipeline:
If I now try to resolve the url
http://localhost:/demo/test/xmldir/test.xml I get a no pipel
Wouter,
You have to use the double asterisk in the root sitemap as well, otherwise
it will never get to the subsitemap.
for example, in the root sitemap:
pattern="demo/*"
won't match demo/test/xmldir/test.xml, but will match demo/test.xml
So it will never get to the mount, and never ent
I don't see any use of your first matcher demo/*
Cocoon automatically uses the correct sitemap
The second matcher should be test/*/*.xml
and your generator src becomes {1}/{2}.xml or wherever your input is located
Gunter D'Hondt.
> Hello
>
> Using the double asterisk in a sub sitemap doesn't
[EMAIL PROTECTED] wrote:
Hello
Using the double asterisk in a sub sitemap doesn't seem to work:
example:
root sitemap define sub sitemap 'demo'
Must be demo/**, otherwise your URL is not matched by the above match pattern.
Joerg
in sitemap demo define following pipeline:
Alright, I'll try it.
What do you mean by "experimental"? It's not wise to implement it in a
production project for the moment ?
- Original Message -
From: "leo leonid" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, October 28, 2003 10:22 PM
Subject: Re: shopping cart : creati
Hi,
When I change content of i18n catalogue, the page doesn't react for this
unless I reload webapp. Is there any way to avoid this or to reload i18n
buffers without reloading webapp?
Regards,
Marcin Okraszewski
-
To unsubscribe
From: "Marcin Okraszewski" <[EMAIL PROTECTED]>
> Hi,
> When I change content of i18n catalogue, the page doesn't react for this
> unless I reload webapp. Is there any way to avoid this or to reload i18n
> buffers without reloading webapp?
No, currently it's not implemented.
This can be implement
Hi,
I also had problems creating and accessing session contexts. I solved
them using the "session logicsheet". You can find the doc here
http://cocoon.apache.org/2.1/userdocs/xsp/session.html
Have fun,
Peter
-Original Message-
From: julien bloit [mailto:[EMAIL PROTECTED]
Sent: Mittwoch,
Thanks Peter,
Before I dig into the problem a little more, can you tell me if you were
able to create a session context without any user identification process?
thanks for your help
Julien
- Original Message -
From: "Peter Dietz" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesda
Hi All,
I am investigating Cocoon, but I don't obtain answers
to following questions:
1) Does Cocoon implement any Design Pattern? Is this
feature transparent to user?
2) I desire to develop an application with Cocoon and
EJB. Will I have to implement EJB Design Patterns by
myself? Or, are there
hi all,
where can i find help/documentation for dynamic pdf generation (by
quering database)? i m a newbie & can't get much help regarding this
thing.
ashish
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
Hi Julien,
I missed the beginning of this thread (just read it in the archive). Before
creating a context to store data in you must create a session for the user.
Check this page for details on the Session action:
http://cocoon.apache.org/2.1/userdocs/actions/session-action.html
You don't need an
Yes, e.g. the Separation of Concerns design pattern.
David
-Mensaje original-
De: Leandro Rosa [mailto:[EMAIL PROTECTED]
Enviado el: miércoles, 29 de octubre de 2003 13:09
Para: [EMAIL PROTECTED]
Asunto: Cocoon & Design Patterns & EJB
Hi All,
I am investigating Cocoon, but I d
Hi,
Article about Cocoon 2.1
http://www.developer.com/java/ent/article.php/10933_3098661_1
Cocoon is implementing:
- Modell-View-Controller pattern,
- Separation Of Concern pattern, and many others
More about Frameworks, Components, Design Patterns:
--
ashish
Its not clear what you need help with - using various
Cocoon and related components you will need to:
1. query the database and return the results as XML (various options)
2. transform the XML to FO (using XSL)
3. serialize the result as PDF (using FOP)
All of these steps will need
Try this
http://cocoon.apache.org/2.1/howto/howto-html-pdf-publishing.html
_
Kieran Kirwan
Executive Transportation Planner
Transportation Modelling Department
Dublin Transportation Office
Hainault House,
69/71 St. Stephen's Green,
Dublin 2,
Irelan
Hi all,
What I understand, when you want to create a new skin, you have to write
many XSL files and switch the skin in the portal sitemap with the global
variable:
skins/common/
But my problem is that I use CSS files to customize my portal with only one
HTM
Tks David for your shiny answer.
--- "Carmona Perez, David" <[EMAIL PROTECTED]>
escreveu: > Yes, e.g. the Separation of Concerns
design pattern.
>
>
>
> David
>
> -Mensaje original-
> De: Leandro Rosa [mailto:[EMAIL PROTECTED]
> Enviado el: miércoles, 29 de octubre de 2003 13:
hi there,
thanx for ur prompt reply, i basically need help in first step, i.e.
xml output of the database query, i have worked quite a bit
for later two steps & i know how to do them in cocoon.
there must be heaps of documentation regarding it but actually i
have messed up with them an
Tks Canavaggio!!
I know all these books and papers, however I wish to
know if Cocoon (or Avalon) implements the EJB design
patterns (facade, etc)...
Leandro Rosa
--- Canavaggio Guillaume ZFF PA-K
<[EMAIL PROTECTED]> escreveu: > Hi,
>
> Article about Cocoon 2.1
>
http://www.developer.com/java/e
ashish
Couple of places to start:
Get your database connection configured:
http://wiki.cocoondev.org/Wiki.jsp?page=DatabaseConnectionOverview
Recommend you read/try the tutorials from IBM
(you may have to register, but they have some really professional
quality material on their Developerw
Many thanks for you all, I will try it today and tell you if I experience
difficulties, thanks again.
Halgurt
-Ursprüngliche Nachricht-
Von: Markus Heussen [mailto:[EMAIL PROTECTED]
Gesendet: Dienstag, 28. Oktober 2003 16:41
An: [EMAIL PROTECTED]
Betreff: AW: MS Access with cocoon
Try
Can you send me please your configuration code? It will be very nice.
Thanks,
Halgurt
-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Gesendet: Dienstag, 28. Oktober 2003 23:05
An: [EMAIL PROTECTED]
Betreff: Re: MS Access with cocoon
through ODBC?
i use odbc
Assuming you have a database up and running (I'm using MYSQL).
.say called mydatabase.with a table called mytable.with 2
fields.myfield1 and myfield2
1 Edit COCOON.XCONF as follows
false
jdbc:mysql://localhost:3306/mydatabase
root
--
ms access through odbc
cocoon.xconf
jdbc:odbc:ldb
secret
web.xml
sun.jdbc.odbc.JdbcOdbcDriver
-- stavros
On Wed, 29 Oct 200
Thanks Joerg,
it's now working pefectly! :) Many thanks again...
Rui
On Tue, 2003-10-28 at 21:22, Joerg Heinicke wrote:
> Take a look into an existing generator as base, e.g. the JSPGenerator.
>
> There you have code like
>
> SAXParser parser = null;
> try {
>byte[] bytes = ;
>
>InputS
Title: javascript serializer?
Hi
I am trying to set up a pipeline to generate a _javascript_ file.
What serializer do I use? Text? I am using cocoon 2.0.3.
Cheers
Alban
Join us at Cognos' biggest event of the year Enterprise 2003, The Cognos Business Forum. Taking place in over 25 cit
Title: javascript serializer?
_javascript_ is plain text, just a
TextSerializer or even a custom Reader like I've done if for its generation you
don´t need any XML data.
David
-Mensaje
original-
De: Tsui, Alban
[mailto:[EMAIL PROTECTED]
Enviado el: miércoles, 29
what' your needs ?
1. to read javascript from a source .js
2. to produce your javascript through a pipeline (generation, transformation,
serialization
if you want jsut to read a .js use map:read
-- stavros
On Wed, 29 Oct 2003, Tsui, Alban wrote:
> Hi
>
> I am trying to set up a pipeline to
Title: RE: javascript serializer?
I am trying to setup a full pipeline... so the script is generated depending on some values from database.
Anyway I have just done a quick test to use text serialization and it seems to work.
Thanks for your help.
-Original Message-
From: [EMAIL
Many many thanks, that was a great help form me.
Thanks again,
Halgurt
-UrsprÃngliche Nachricht-
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 29. Oktober 2003 14:54
An: [EMAIL PROTECTED]
Betreff: Re: AW: MS Access with cocoon
ms access through odbc
cocoon.xconf
Ok, the session creation seems to work with the session action, however, it
seems I can't get the session transformer to work in my pipeline :
where new_panier.xml is :
http://cocoon.apache.org/session/1.0";>
first item
Cocoon definitely implements the following patterns:
1. Front Controller
2. Application Controller
3. View Helper (Functional Approach)
4. Composite View (Transformer View Management Strategy)
5. Service to Worker (via actions and generators)
Cocoon does not provide any J2EE Business Tier patterns
> http://cocoon.apache.org/session/1.0";>
The namespace should read: http://apache.org/cocoon/session/1.0
See also this post:
http://marc.theaimsgroup.com/?l=xml-cocoon-dev&m=106674388619634&w=2
Matthew
> -Original Message-
> From: julien bloit [mailto:[EMAIL PROTECTED]
> Sent: Wednesd
Thank you, that was the answer to my problem.
- Original Message -
From: "Matthew Langham" <[EMAIL PROTECTED]>
To: "julien bloit" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Wednesday, October 29, 2003 4:21 PM
Subject: RE: shopping cart : creating a new context
> > http://cocoon.apac
Hi Steve ... thanks for your help ... I have some doubts.
When I compile the action, I put it into a package, named
edu.uoc.riudavets, under /WEB-INF/classes directory...
I have applied next code into sitemap.xmap:
Josep
I think the problem is that your sitemap doesn't return a page in the
failure case; you just end up with a serializer on no data. Your upload is
probably failing and then cocoon can't process the request. I'm surprised
you don't get a warning/error on startup.
So I'd do the following:
1.
Hiya,
Quick, and I hope relatively simply question:
If I have a file under cocoon at say:
http://domain.name/foo/blort
and in the auto-mounted sitemap for blort I have:
because when MSIE bookmarks things it leaves off the / on
http://domain.name/foo/blort/wibble/
and I have another mat
try something like this
but if you put this in a sub sitemap i think tha you have to modify and
your parent sitemap
-- stavros
On Wed, 29 Oct 2003, James Cummings wrote:
> Hiya,
>
I based my current Cocoon 2.1 webapp on the samples. I just zipped up
my webapp for backup purposes and noticed that the file zipped was 30MB.
I saw on the Wiki someone has directions for creating a minimal cocoon
install - but the directions are for Cocoon 2.0.
Is there an ant task "minimal" or
Hello Brent,
have a look into install.txt and blocks.properties for building a minimal
Cocoon webapp. It's much easier than for Cocoon 2.0.
Joerg
Brent L Johnson wrote:
I based my current Cocoon 2.1 webapp on the samples. I just zipped up
my webapp for backup purposes and noticed that the file
http://cocoon.apache.org/2.1/userdocs/concepts/sitemap.html#Handling+Errors
still documents 2.0 error handling. It also states that generators are not
allowed. However,
http://cocoon.apache.org/2.1/userdocs/concepts/errorhandling.html documents
the new error handling and mentions that generators a
hi julien
i like very much your very clean shoping-cart approach
and i consider to replace a javascripr based simple shoping cart with
something like yours but
as i see you set your cart (in session) at once, you are not able to add
or remove items thats right or is something i missed?
thnx
I was hoping to use an input module to create an object to pass as a
parameter to my generator. However, Parameters only accepts Strings. Is
there another easy way to do this?
Ralph Goers
Sr. Software Engineer, Software Architecture
Digital Insight Corporation
web: www.digitalinsight.com
voice: 8
Hi Ralph,
you can use flowscript with sendPage() or sendPageAndWait() functions to
pass any java or javascript object to your sitemap.
Greetings, Markus
I was hoping to use an input module to create an object to pass as a
parameter to my generator. However, Parameters only accepts Strings. Is
I'm not using flowscript, just the sitemap. Even so, how would the object
be passed to the generator? The only thing I can think of is that it has to
be store in the request or the temporary context, in which case the input
module would have to return the name the value is stored as. The generato
That's right.
In fact, I try to solve one problem after the other, doing little steps, I
first tried to work out the basic fonctionnality. Now that I got it working,
I'm working on the issue you just mentionned. I think maybe an xsl
stylesheet mixed with the tag could do the trick. I have
no resul
hi there,
great!, it was really good help.. i m able to generate the xml
& access it on the browser. but the next thing is, how do i pass this xml
file for xsl & fo tranformation using an xsl file & wat parameteres
should it contain? i can separetly convert an xml to pdf using a seperate
xsl
If you store the "goods" in the "cart" - why don't you just then add
and remove items as needed using setxml and removexml. There is no need
to copy the cart each time - it just stays in the session context.
Matthew
On Mittwoch, Oktober 29, 2003, at 06:38 PM, julien bloit wrote:
That's right.
Joerg Heinicke wrote:
I wonder why it works in our ConWeb application:
It works under certain circumstances. See
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10277
for a complete discussion.
J.Pietschmann
-
To unsubscribe, e
Thanks Joerg,
I didn't see your posting...
Mat
--
Mathias Wiegard
Sedanstraße 67
89077 Ulm
GERMANY
Fon: +49 (0731) 6031938
Email: [EMAIL PROTECTED]
> Von: Joerg Heinicke <[EMAIL PROTECTED]>
> Antworten an: [EMAIL PROTECTED]
> Datum: Tue, 28 Oct 2003 17:41:41 +0100
> An: [EMAIL PROTECTED]
> Bet
i'm interesting too about this cart
if u use setxml then you re-create the content in session's context
(correct me if i'm wring)
so that we need is a mechanism tha wil determine if the "shoping-cart"
exist if not will create it (setxml) otherwhise will just add items
(mergexml) is it possible
1. Modify the XSP page generating XML as follows
http://apache.org/xsp"; xmlns:esql="http://apache.org/cocoon/SQL/v2";
xmlns:xsp-session="http://apache.org/xsp/session/2.0";
xmlns:xsp-request="http://apache.org/xsp/request/2.0";>
mydatabasequery
mydatabase
select * from mytable
When using the required="true" attribute on a field
widget (specifically within a repeater-widget) I do not want to
have the "*" appear next to the field (conforming to our existing
standards).
Can anyone tell me where this is added and how I
can override it?
Joe
"Alten, Jelle Paul (sds-sp)" <[EMAIL PROTECTED]> writes:
> Nice one, Kieran.
>
> One more last addition in the xsl, start with:
>
>
>
> That's all for now.
The xsl:output element has no effect when the stylesheet is used by
the xsl transformer in cocoon. To control theses output properties, c
[Hey all, I sent this yesterday but didn't get any response. I really
haven't been able to figure it out.]
Hi guys,
Ever since I upgraded to 2.1.2 (release version) my application's logging
hasn't been working at all. It's set to work with LogFactor5 and worked
perfectly before I upgraded.
I found out why the files were corrupted.
It is due to the cocoon building process.
When the files are copied from src/ to build/
they are filtered based on there extension.
image files for example are copied as if,
all the others files are filtered (text format
conversion).
I modified the src/targ
Sorry too many coffees, not enough sleep.
Of course it was in my
woody-field-styling.xsl
Joe
- Original Message -
From:
Joe
Latty
To: [EMAIL PROTECTED]
Sent: Thursday, October 30, 2003 9:41
AM
Subject: Woody Template Transformer
When using the required=
Hi Ralph
For an example of storing and retrieving objects in the Request take a look
at AbstractValidatorAction and SimpleFormTransformer.
The action fills a map with the validation information (for both success and
failure of the action)
and pushes it into the request. The transformer then extra
Hi:
I found this interesting article:
http://linuxtoday.com/developer/2003102900426OSHLDV
I am wondering if we can provide support for this in Cocoon. As always,
comments are very welcomed. :-)
Best Regards,
Antonio Gallardo
--
Some older post about XUL in our maillist:
user list:
http://marc.theaimsgroup.com/?l=xml-cocoon-users&w=2&r=1&s=xul&q=b
dev-list:
http://marc.theaimsgroup.com/?l=xml-cocoon-dev&w=2&r=1&s=xul&q=b
Best Regards,
Antonio Gallardo
On 30.10.2003 02:09, Antonio Gallardo wrote:
Hi:
I found this interesting article:
http://linuxtoday.com/developer/2003102900426OSHLDV
I am wondering if we can provide support for this in Cocoon. As always,
comments are very welcomed. :-)
It's not that difficult, it's "just another markup langua
Joerg Heinicke dijo:
> On 30.10.2003 02:09, Antonio Gallardo wrote:
>> Hi:
>>
>> I found this interesting article:
>>
>> http://linuxtoday.com/developer/2003102900426OSHLDV
>>
>> I am wondering if we can provide support for this in Cocoon. As
>> always, comments are very welcomed. :-)
>
> It's not
Joerg Heinicke dijo:
> It's not that difficult, it's "just another markup language".
>
> Not long ago I announced our ConWeb application based on XUL:
> http://marc.theaimsgroup.com/?l=xml-cocoon-users&m=106448993524514&w=2.
> As you can read this is already based on Cocoon
BTW, can you recommend
Joern:
> so your call to the preview page is some kind of submit but you can't use a
> replace=all cause this would end the form session. so i would try a submit
> replace=none and a following load action to show the preview page. hitting
> back then should bring you back to your session. - at lea
Hi
I have a select query containing joins across tables which have the same
column names. I'd like to be able to differentiate the similarly named
columns in the elements by explicitly naming them.
I've tried changing my query to include aliases for the selected columns but
the output is alway
Wow I've never even heard of this - I guess using IE too
much will do that to ya. I assume XUL is the XML format
the browser frontend is written in to allow for different
skins in Mozilla? I've heard the GUI is all in XML,
but didnt realize you could utilize this for building
web app gui's.
I'd
On Wed, Oct 29, 2003 at 11:47:51PM -0500, Brent L Johnson wrote:
>
> I'd like to check it out - that login/pass that's in
> the mailing list thread does not work. Does anyone
> have any XUL examples I could check out? I like
> the idea of outputting XUL format using Cocoon
> to build a webapp fro
Carsten Ziegeler wrote:
While debugging/profiling a very big application for our customer I found out that the current implementation of the TraxTransformer is slowing down caching!
Why? Well, the caching algorithm asks every sitemap component if the cached content is still valid. The TraxTransfo
Is there any way to force a pipeline result to be cached?
My application reads some xml documents from a database, and though they are
dynamically read from the DBMS, their content is static. That is, the dbms
is just a convenient replacement for a filesystem for storing these
documents.
So f
85 matches
Mail list logo