I don't know if it's already said done, but I'm working with cocoon
release 2.1.4 and there was a slight problem with the calendar. When using
the calendar under mozilla browsers, it shows at the top of the page, not at
the correct location (as in contrast to IE). I fixed this by simply setting
a
Um, at the risk of being labelled a compromiser, I think
both posts here are saying essentially the same thing -
keep it simple and direct for folks starting out, but provide
the links/hooks [carefully labelled, of course!] for those
who want/need/can handle more detail. The only minor
argument
JD
This was *exactly* my post to the mailing list a few days
back - I have previously used XSP to do all the DB stuff
(in my case, it was all there was a while back) - and now
that JXT is available, I would like to refactor or just
move forward with the new (recommended?) approach.
However, it
Le 5 mai 04, à 08:16, Derek Hohls a écrit :
...The concept seems simple enough - but are we actually able
to do it??
Did you look at the new supersonic block already?
It's supposed to give a good overview of Cocoon to beginners (but
requires Cocoon to be installed as many things are dynamic).
I fully agree that the needs of users are seldom the same. So if we're
talking an experienced user I'd say a bunch of examples on all possible
ways is ok.
But this topic, as I understand it, is focussed on starting users. So I
think that it's not so much important how many examples and ways are
Stavros
I also use this approach for read-only queries - but there
a number of people here who throw up their hands in horror
even at the *idea* of XSP - not pure they say - but I
cannot seem to get a handle on what the alternative (better?)
approach should be.
Conversely, if one is allowed to
Bruno
Then the question - if XSP is NOT a preferred generator;
and JXT is a fake generator - what exactlly are we supposed
to be using for simple generation use cases; or are we saying
all users have to be full-on Java programmers and create
custom generators each time they want to do something
Mark Lundquist wrote:
On May 4, 2004, at 10:54 AM, Joel McConaughy wrote:
I'm using hibernate/cforms to build simple CRUD pages.
Have you seen the alternative acronymn?: Create/Read/Amend/Purge :-)
These take the
results from a query and create an ArrayList of beans, display a page
worth of
On Wed, 5 May 2004, Derek Hohls wrote:
Stavros
I also use this approach for read-only queries - but there
a number of people here who throw up their hands in horror
even at the *idea* of XSP - not pure they say - but I
cannot seem to get a handle on what the alternative (better?)
I was hoping it would be in Version 2.1.5, which I was
planning to download next week
Does it also address the issue of documentation?
[EMAIL PROTECTED] 2004/05/05 08:42:45 AM
Le 5 mai 04, à 08:16, Derek Hohls a écrit :
...The concept seems simple enough - but are we actually able
to
On Wed, 5 May 2004, Derek Hohls wrote:
Bruno
Then the question - if XSP is NOT a preferred generator;
and JXT is a fake generator - what exactlly are we supposed
to be using for simple generation use cases; or are we saying
all users have to be full-on Java programmers and create
custom
Bertrand Delacretaz a écrit :
Le 4 mai 04, à 16:33, olivier demah a écrit :
Does someone own some news about Groovy integration in cocoon ?
The ScriptGenerator (BSF block) can run Groovy scripts.
I've given some pointers [1] about how to integrate the GroovySQL
stuff, but haven't heard news
Christina wrote:
As I know a repeater has many rows and each row is made up of the same
set of widgets.
But this method in the repeater class doesn't set a row parameter, only
an id to return a child widget
so which widget does it return?
the getWidget on the repeater wraps around it's
Hi,
I'm ugrading a 2.0.4 Cocoon application to 2.1.4. I read in the
Updating Cocoon paper
(http://cocoon.apache.org/2.1/installing/updating.html) that I have to
add a map:generator type=notifying/ at the begin of each
map:handle-error to have a complete pipeline.
If I do that, I have the
I would like to be able to apply Cocoon flow (and, ideally, forms)
to an existing use case.
I have a reporting tool that allows a user to make a series of
choices about what info to print from a database. Each page
in the series is dependant on previous choices made. Choices
are made from
Stavros
My point here was not so much getting the PHP
people into the SoC approach [XML+XSL=HTML] but
more the confusion that arises when you reply to
a series of questions [over some period of time] -
Oh, you want to read from a database - just learn XSP
Oh, you now want to do updates - go
Le 5 mai 04, à 09:01, Derek Hohls a écrit :
I was hoping it would be in Version 2.1.5, which I was
planning to download next week
The supersonic tour block will be included in the release, as an
unstable block.
Does it also address the issue of documentation?
The supersonic tour is both
Bruno
Yes, I suggest you read the paper first before we continue
the discussion on templates ;-)
In the meantime, perhaps you can expand on why there should
not be logic in generators such as XSP and JXT and, if not there,
where it should, in fact, be (short of writing custom Java code
each
On Wed, 2004-05-05 at 08:48, Derek Hohls wrote:
Bruno
Then the question - if XSP is NOT a preferred generator;
and JXT is a fake generator - what exactlly are we supposed
to be using for simple generation use cases; or are we saying
all users have to be full-on Java programmers and create
Le 5 mai 04, à 09:36, Derek Hohls a écrit :
I would like to be able to apply Cocoon flow (and, ideally, forms)
to an existing use case.
I have a reporting tool that allows a user to make a series of
choices about what info to print from a database. Each page
in the series is dependant on
Le 5 mai 04, à 09:21, olivier demah a écrit :
...on my side ; i have a big project to do and Groovy is essential i
think ; to build a so important project.
what a pity that GroovySQL is not ready to use.
Groovy seems to make cocooner-life easier that i hope someone could
continue the integration
Bruno
Thanks, that is *very* clear now; I think one could make
a very good case for simplifying the naming here to be:
JXGenerator
and
JXTransformer
(and/or, in future, JXTemplate? if we create a stripped
down version, with no logic options...)
Would that not help avoid confusion??
On Wed, 2004-05-05 at 08:56, Derek Hohls wrote:
Bruno
Yes, I suggest you read the paper first before we continue
the discussion on templates ;-)
In the meantime, perhaps you can expand on why there should
not be logic in generators such as XSP and JXT and, if not there,
where it should,
-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Auftrag
von Bruno Dumon
Gesendet: Dienstag, 4. Mai 2004 20:53
An: [EMAIL PROTECTED]
Betreff: Re: JXTemplates - what's in a name?
On Tue, 2004-05-04 at 10:39, Derek Hohls wrote:
Bruno
I apologise
its name currently is KISSTemplateGenerator ;-)
-Ursprungliche Nachricht-
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Auftrag
von Derek Hohls
Gesendet: Dienstag, 4. Mai 2004 08:31
An: [EMAIL PROTECTED]
Betreff: Re: AW: JXTemplates - what's in a name?
This sounds great -
Dear Members,
Is there some one who has experience
with it.
If yes , could you send me a definition
, a template , a flow and perhaps an action sample
Thanks for your help !
Laurent
Perhaps an idea can be to create a value
that is composed from the label and the value then parse it in the binding
action
Laurent
Same problem ?
Any news ? Perhaps check on the CVS
or on the new version
Perhaps also included in the new CocoonForms
Laurent
Mariusz Wojcik [EMAIL PROTECTED]
02/05/2004 15:38
Please respond to users
To:
[EMAIL PROTECTED]
cc:
Subject:
Problems with uploading
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi!
How can I get cocoon to accept the username provided by Apache after a
successfull HTTP authentication?
- --
feri.
Ferenc Kiraly
tel: +386 1 472 8429
gsm: +386 41 252503
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)
Comment:
Hi,
I need to keep track of who changes records in my database (I use postgres).
I would like to make a connection to my database BUT always with a different username / password.
In my config file, this is a fixed thing.
Is there a way to do this ?
Met vriendelijke groeten,
Bien à vous,
Kind
Bruno
Thanks for helping clarify this - maybe all this is obvious
to well-seasoned developers, but perhaps not to everyone.
To continue; assuming that inserting database records,
modifying object models etc does not take place anywhere in
the pipeline; where *does* it take place in your
Yves
Are you not mixing two operations here; its the Cocoon
application that is making the DB connection - the people
who are using the that connection can be tracked and
logged separately (using various of the Cocoon authentication
methods.). One could, of course, set up different *types*
;-) [but lets drop the Generator part - we are not generating
anything here apart from a view!]
[EMAIL PROTECTED] 2004/05/05 10:14:48 AM
its name currently is KISSTemplateGenerator ;-)
-Ursprungliche Nachricht-
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Auftrag
von Derek
Not really mixing things
This is the scenario:
1) user logs in (cocoon authentication used)
2) user enters data in a form (or updates data in a form) and submits
3) data is stored in database table with this structure (example)
LastName varchar(50)
FirstName varchar(50)
...
Actor
Derek Hohls wrote:
To continue; assuming that inserting database records,
modifying object models etc does not take place anywhere in
the pipeline; where *does* it take place in your application as
a whole - in custom written actions? in the flowscript??
In my case, it happens in DAOs [1] called
Dear Members,
Base on your experience what is best
[ ] Jetty
[ ] Tomcat
[ ] Other (if yes what) .
Thx for your vote
Hi,
I have only used Tomcat and Jetty thus far... and I have to say, Jetty wins.
[EMAIL PROTECTED] wrote:
Dear Members,
Base on your experience what is best
[ ] Jetty
[ ] Tomcat
[ ] Other (if yes what) .
Thx for your vote
--
Ivo Limmen
Perhaps mixing was the wrong word - I do understand
what are trying to achieve- all I was trying to say is that you
can use the sitemap to pass information on the currently
logged-in user to the database. You do not have to store
the database login and ID in the Actor field if all you want to
DAO = custom code written in Java?
or is there a module in Cocoon for this?
[EMAIL PROTECTED] 2004/05/05 12:35:33 PM
Derek Hohls wrote:
To continue; assuming that inserting database records,
modifying object models etc does not take place anywhere in
the pipeline; where *does* it take place
The not that different anymore is not altogether
true - rather than go on at length here, please
just take a look at the original article and compare
what is said there vs the functionality of JXT.
[EMAIL PROTECTED] 2004/05/05 10:10:44 AM
-Ursprüngliche Nachricht-
Von: [EMAIL
On Wed, 2004-05-05 at 11:34, Derek Hohls wrote:
Bruno
Thanks for helping clarify this - maybe all this is obvious
to well-seasoned developers, but perhaps not to everyone.
To continue; assuming that inserting database records,
modifying object models etc does not take place anywhere in
to me Generator in the cocoon sense just means
first-component-in-the-pipeline-that-generates-a-SAX-event-stream, so that's
okay with me ;-)
-Ursprungliche Nachricht-
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Auftrag
von Derek Hohls
Gesendet: Mittwoch, 5. Mai 2004 11:38
An:
Hi there,
When using document() the file (in my project usualy XML) gets blocked
sometimes.
Sometimes i can solve it by clicking arround on my website (which uses
document())...sometimes i need to restart the tomcat
Is there a solution ?
Regards,
nils
Hi there,
When using document() the file (in my project usualy XML) gets blocked
sometimes.
Sometimes i can solve it by clicking arround on my website (which uses
document())...sometimes i need to restart the tomcat
Is there a solution ?
Regards,
nils
Derek Hohls wrote:
DAO = custom code written in Java?
or is there a module in Cocoon for this?
DAO = generic data access pattern that can be implemented in Java or in
any other OO language.
http://java.sun.com/blueprints/corej2eepatterns/Patterns/DataAccessObject.html
Ugo
Right - but I assuming its still handwritten code
and not an existing module in Cocoon - is there
a guide to how to integrate these into Cocoon?
(I wont say best practice! ;-)
[EMAIL PROTECTED] 2004/05/05 02:28:13 PM
Derek Hohls wrote:
DAO = custom code written in Java?
or is there a module
Le 5 mai 04, à 14:35, Derek Hohls a écrit :
Right - but I assuming its still handwritten code
and not an existing module in Cocoon - is there
a guide to how to integrate these into Cocoon?
(I wont say best practice! ;-)
You should really get the supersonic block and look at the bean
editor
On 04 May 2004, at 18:08, Tim Larson wrote:
Yes it is alive, but it has it's own developer and cvs-commit-log
mailing lists. There have been a good bit of messages and commits
lately on these lists.
Please see: http://xreporter.cocoondev.org/getting-involved.html
for more info about the lists,
Derek Hohls wrote:
Right - but I assuming its still handwritten code
and not an existing module in Cocoon - is there
a guide to how to integrate these into Cocoon?
(I wont say best practice! ;-)
I don't think there is, it's just a pattern. I'm just starting to
experiment with having my DAOs
Jetty +1
- Original Message -
From: Ivo Limmen [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, May 05, 2004 8:08 PM
Subject: Re: What is best or more performant (voting)
Hi,
I have only used Tomcat and Jetty thus far... and I have to say, Jetty
wins.
[EMAIL PROTECTED]
I have updated the info in the wiki.
BTW is it possible to use Chainsaw instead?
-Mensaje original-
De: Bertrand Delacretaz [mailto:[EMAIL PROTECTED]
Enviado el: lunes, 03 de mayo de 2004 10:22
Para: [EMAIL PROTECTED]
Asunto: Re: LogFactor
Le 3 mai 04, à 09:32, Carmona Perez,
Upayavira wrote:
Timur Izhbulatov wrote:
Hi all!
I use woody binding framework as shown in the corresponding sample
(cocoon 2.1.4) with an XML file and it works just fine. But when I
change the file URL to xmldb one my non-us (UTF-8 encoded) data are
getting corrupted. When I popultate the DB
What are you using: ESQL, SQLTransformer, ...?
For ESQL at least, and I imagine for SQL Transformer, you don't have to use
a pool connection. You can dynamically provide the jdbc connection
parameters. The downside is that you make a new connection on every
request (unlike a traditional
Derek:
Short answer: I'm Hiding from it. heh heh. I have a project now that is
a month overdue because I tried to jump on the woody -- Cforms
bandwagon. I am just not Java literate enough. I came from php... it
is the separation of content and logic that made me move to cocoon
initially.
Well,
I most certainly would be glad if i got my hands on some nice tutorials... I
consider myself an interested and fast learner, but you guys come up with
something newer (and better?) every week. I would come in handy if there
was some drilldown list grouped on similar techniques/purpose or
Derek Hohls wrote:
Stavros
My point here was not so much getting the PHP
people into the SoC approach [XML+XSL=HTML] but
more the confusion that arises when you reply to
a series of questions [over some period of time] -
Oh, you want to read from a database - just learn XSP
It is said that
On 05.05.2004 09:33, zze-e-photo FRAS E ext FTRD/DMI/REN wrote:
Hi,
I'm ugrading a 2.0.4 Cocoon application to 2.1.4. I read in the
Updating Cocoon paper
(http://cocoon.apache.org/2.1/installing/updating.html) that I have to
add a map:generator type=notifying/ at the begin of each
On 05.05.2004 10:19, [EMAIL PROTECTED] wrote:
Dear Members,
Is there some one who has experience with it.
I have it working with Cocoon 2.1.4.
If yes , could you send me a definition , a template , a flow and perhaps
an action sample
There is a working sample in the woody block samples.
On 05.05.2004 14:24, Nils Köster wrote:
Hi there,
When using document() the file (in my project usualy XML) gets blocked
sometimes.
That's a good hint on the cause of the problem. And would explain why I
did not came across files being locked by Cocoon as I don't use
document() for the known
Hello,
Is it possible that the i18n transformer doesnt
reload the catalogue-files when theyre changed while cocoon is running?!
It happens with cocoon 2.13, in 2.14 everything works fine.
Thanks,
Jasper Michalczik
I believe reloading of catalog files was
an enhancement added in 2.1.4.
-Original Message-
From: Jasper Michalczik
[mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 05, 2004
12:10 PM
To: [EMAIL PROTECTED]
Subject: i18n
Hello,
Is it possible that the
i18n transformer doesn't
Hello Mark,
This doesn't seem to work. OnClick doesn't seem to be a method
available within the widget model. Is there a way I can register a js
function to handle form events within in my flowscript. I don't want to
write java form handlers.
Thanks in advance
-Original Message-
From:
On 04.05.2004 13:07, Nils Köster wrote:
I'm trying to send mail via the sendmail action with html-body and
pdf-attachment, my sitemap looks like this:
map:act type=sendmail
map:parameter name=smtphost value=some.smtp.de/
map:parameter name=from value=[EMAIL PROTECTED]/
JD Daniels wrote:
Derek:
Short answer: I'm Hiding from it. heh heh. I have a project now that
is a month overdue because I tried to jump on the woody -- Cforms
bandwagon. I am just not Java literate enough. I came from php... it
is the separation of content and logic that made me move to
On 03.05.2004 09:35, zze-e-photo FRAS E ext FTRD/DMI/REN wrote:
After more investigation, the use case is the following :
To improve performance in Tomcat, it is possible to disable the checking
system for JSP file modification.
I would like to do exactly the same with the JSPGenerator (and
On 05 May 2004, at 13:56, Derek Hohls wrote:
Perhaps mixing was the wrong word - I do understand
what are trying to achieve- all I was trying to say is that you
can use the sitemap to pass information on the currently
logged-in user to the database.
How would I achieve that ?
With database
What are you using: ESQL, SQLTransformer, ...?
ESQL for the moment, but this can change to SQLTransformer ...
I prefer the Transformer, since I have more control over the pipeline
then.
With ESQL I must use XSP, thus as a generator ...
For ESQL at least, and I imagine for SQL Transformer, you
On 04.05.2004 12:58, Derek Hohls wrote:
If we are heading for the next milestone date, then perhaps
that's a good point to take time out and see:
* what docs are currently outdated (deprecated features);
* what docs refer to old practices and ways of doing things
(eg. XSP)
* which features are
On 03.05.2004 10:05, Niels van Kampenhout wrote:
This is how a multivalue field with checkboxes is defined in the form
definition and template. They are generated out of a Schema so each
multivaluefield is defined using the same pattern.
The resulting HTML page with the form only has the
On 01.05.2004 00:46, Bruce Perryman wrote:
Hello,
How would I catch several errors of type processing
exception?
What I want to do is catch when the session
transformer fails, and when the sql transformer fails.
Is there a place in the documentation that describes
the error codes? If so, I think
Ich werde ab 06.05.2004 nicht im Büro sein. Ich kehre zurück am
17.05.2004.
Ich werde Ihre Nachricht nach meiner Rückkehr beantworten.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
71 matches
Mail list logo