2012/11/14 Mika M Lehtonen
Hi,
I am using ye old modular database actions which in my opinion is
extremely handy tool.
I was just wondering, how would I get some sort of a callback from
e.g. insert/update action in order to tell the user that his/her data
is saved?
cheers,
- mika -
P.S
am using ye old modular database actions which in my opinion is
extremely handy tool.
I was just wondering, how would I get some sort of a callback from
e.g. insert/update action in order to tell the user that his/her
data is saved?
cheers,
- mika -
P.S. My two cents
Hi,
I am using ye old modular database actions which in my opinion is
extremely handy tool.
I was just wondering, how would I get some sort of a callback from e.g.
insert/update action in order to tell the user that his/her data is saved?
cheers,
- mika -
P.S. My two cents
Am 14.11.2012 21:21, schrieb Mika M Lehtonen:
Hi,
I am using ye old modular database actions which in my opinion is
extremely handy tool.
I was just wondering, how would I get some sort of a callback from e.g.
insert/update action in order to tell the user that his/her data is saved?
Gee
to consider very
carefully your persistence logic.
IMHO, we ought to have the option to use only those parts of API that we
actually need.
Greetings,
Greg
2012/11/14 Mika M Lehtonen m...@digikartta.net
Hi,
I am using ye old modular database actions which in my opinion is
extremely handy tool
look for element autoincrement-modules in cocoon.xconf
=Syntax error or access violation, message from server: You have an
error in your SQL syntax. Check the manual that corresponds to your
MySQL server version for the right syntax to use near 'CALL IDENTITY()'
at line 1
Now, given
Let me put it another way.
I changed this...
create table user (
uid integer identity primary key,
name varchar(50),
firstname varchar(50),
uname varchar(20),
unique (uname)
);
create table groups (
gid integer identity primary key,
gname
to
anything but your own DAOs.
How does one does this in a reusable way while using modular database
actions or the SQL transformer? The answer is that you can't. And that
makes it a bad idea.
Take someone who has a small database of products, and just wants to put
that online
this in a reusable way while using modular database
actions or the SQL transformer? The answer is that you can't. And that
makes it a bad idea.
I never argued Hibernate/OJB wrong or bad practive, I just outlined an
alternative method to get a simple db-driven app up and running using a
stock Cocoon
Thanks for this Askild.
[EMAIL PROTECTED] 2005/06/14 10:22:35 PM
Bertrand Delacretaz wrote:
Le 14 juin 05, à 16:45, Askild Aaberg Olsen a écrit :
...I'll see if I can make a demo of this concept tonight. A stock
Cocoon-installation comes with a working database, so it should be
easy to
Le 14 juin 05, à 22:22, Askild Aaberg Olsen a écrit :
...I commited the sample in bugzilla as bug 35364. Have a look at it.
Thanks, I have applied your patch to both the 2.1 branch and the 2.2
trunk, with slight modifications (additional comments and minor
refactoring), see
.
How does one does this in a reusable way while using modular database
actions or the SQL transformer? The answer is that you can't. And that
makes it a bad idea.
Take someone who has a small database of products, and just wants to put
that online. No ecommerce, just a simple publication
Le 15 juin 05, à 13:58, Upayavira a écrit :
...The point is, there are different people using Cocoon for different
things. We need a lightweight way to integrate SQL and Cocoon forms.
And
on the documentation about it it should say this is only suitable for
_very_ small sites, and will become
implementation details
behind DAOs. This way, you're not coupling your application logic to
anything but your own DAOs.
How does one does this in a reusable way while using modular database
actions or the SQL transformer? The answer is that you can't. And that
makes it a bad idea.
Take
those two particular solutions come with baggage.
What I would recommend is wrapping all of those implementation details
behind DAOs. This way, you're not coupling your application logic to
anything but your own DAOs.
How does one does this in a reusable way while using modular database
actions
Hmm. Easy to say. But moving to Hibernate is a quite a major
jump... a whole 'nother technology to digest.
I assume that the deprecation status shows up in the code -
it is not clearly indicated on the documentation website - see:
Title: AW: CForms and Modular Database Actions
From my personal experience I would not consider moving to Hibernate as very difficult.
Following the wiki tutorial at http://wiki.apache.org/cocoon/CocoonAndHibernateTutorial it took me a day to create a search form with result list
-Ursprüngliche Nachricht-
Von: Derek Hohls [mailto:[EMAIL PROTECTED]
Gesendet: Dienstag, 14. Juni 2005 09:39
An: [EMAIL PROTECTED]; users@cocoon.apache.org
Betreff: Re: CForms and Modular Database Actions
Hmm. Easy to say. But moving to Hibernate is a quite a major
jump... a whole 'nother
Derek Hohls wrote:
Tom
Ok; that is one viewpoint. But I think these quotes from the Wiki:
http://wiki.apache.org/cocoon/GettingStartedWithCocoonAndHibernate
are also pertinent:
Be aware that you will not be ready to write Hibernate-based applications
in 5 minutes. You are about to venture
Askild
My skills are similar to yours... but, I have not seen any
documents or examples that deal with the creation of a
full-fledged DB app that only uses XSLT, XML, SQL-transformer
and Flow/CForms. I'd be very happy if you can point me in the
right direction.
Thanks.
P.S. XSP is *not*
Yes, Derek, I have followed the discussion with great interest, but not
participated myself. It seams like reason has won, and someone even
tries to enhance the current XSP-block! 0:-)
As a side note here, look at ?a=9396748682r=1w=2
Askild
Thanks for the tips... for me (and maybe others) I am sure
a simple working demo [uh, the kind where you do not have
to rebuild Cocoon and add/remove blocks etc etc!] would be
very useful... even a series of code snippets. If it works,
I would be happy to dress it up and add to the wiki.
Hi!
seems like I started one thread pointed here for modular db actions and
forms.. I went OJB + Forms way to solve problems and I've been happy
since =)
I did small tutorial stuff on my homepage (and cp that once in to
wiki, but it turned out to be mess.. didn't know how to fix it)..
Derek Hohls wrote:
Askild
Thanks for the tips... for me (and maybe others) I am sure
a simple working demo [uh, the kind where you do not have
to rebuild Cocoon and add/remove blocks etc etc!] would be
very useful... even a series of code snippets. If it works,
I would be happy to dress it
Le 14 juin 05, à 16:45, Askild Aaberg Olsen a écrit :
...I'll see if I can make a demo of this concept tonight. A stock
Cocoon-installation comes with a working database, so it should be
easy to install and not too much work.
I don't mean that using Cocoon as a Java-framework is wrong, I
Bertrand Delacretaz wrote:
Le 14 juin 05, à 16:45, Askild Aaberg Olsen a écrit :
...I'll see if I can make a demo of this concept tonight. A stock
Cocoon-installation comes with a working database, so it should be
easy to install and not too much work.
I don't mean that using Cocoon as a
Askild Aaberg Olsen wrote:
I'll see if I can make a demo of this concept tonight. A stock
Cocoon-installation comes with a working database, so it should be easy
to install and not too much work.
I don't mean that using Cocoon as a Java-framework is wrong, I just want
to address that
WHIRLYCOTT wrote:
Askild Aaberg Olsen wrote:
I'll see if I can make a demo of this concept tonight. A stock
Cocoon-installation comes with a working database, so it should be
easy to install and not too much work.
I don't mean that using Cocoon as a Java-framework is wrong, I just
want to
It seems highly unlikely to me that someone who cannot master the
important parts of a modern java application will be able to develop
applications that will scale in complexity as the application
requirements increase.
If you think that java is overly complex, building a layer on top of it
Harse, patronizing and true words.
But application complexity was not the issue here...
Askild
WHIRLYCOTT wrote:
It seems highly unlikely to me that someone who cannot master the
important parts of a modern java application will be able to develop
applications that will scale in complexity
this in a reusable way while using modular database
actions or the SQL transformer? The answer is that you can't. And that
makes it a bad idea.
I never argued Hibernate/OJB wrong or bad practive, I just outlined an
alternative method to get a simple db-driven app up and running using a
stock
From this post:
http://marc.theaimsgroup.com/?l=xml-cocoon-usersm=109022027505726w=2
is woody (cforms) implemented so, that it can be easily combined with
modular database actions? I didn't find any example or writing how to do
this. If form is created then it would be nice to be also
Derek Hohls wrote:
It just seems strange that these both these technologies are developed
inside of Cocoon without any simple way to link them... or what did I
miss?
stay away from modular db actions if you can. they are deprecated (which
is why you won't find samples for it) and vastly
Derek Hohls wrote:
I am struggling to get a simple database add performed
when using the Modular Database Action (and, no, I do
not want to do this in flow or some other way ;-). The log
files do not show any errors - the database connection works
OK for retrieving data (and I have checked the
Hallo Christian,
To explicitly ask for number you would do
value name=number type=int
mode type=all name=request-param
parameternumber/parameter
/mode
/value
Vielen Dank! Jetzt funktioniert es.
Viele Gru?e,
Garvin
Sorry!!! I forgot to change the email adress...
To explicitly ask for number you would do
value name=number type=int
mode type=all name=request-param
parameternumber/parameter
/mode
/value
Vielen Dank! Jetzt funktioniert es.
regards,
Garvin Riensche wrote:
hi there,
i tried to create a simple example with modular database actions. the only
thing i want cocoon to do is to store a number from a form field into my
database. but it seems like cocoon doesn't propagate the input number from
the form to the action as i always get
At 18:03 29/11/2003 +0100, Christian Haul wrote:
Thomas Nichols wrote:
BTW I've been reading docs on SOFIA recently
From salmonllc.com? Looks interesting on paper - RAD for J2EE...
Yep. Although I believe Cocoon is well up to the job ;-)
So I am finding.
and am wondering if we
should provide
Chris,
At 22:31 28/11/2003 +0100, Christian Haul wrote:
Steve Schwarz wrote:
ModularDb is quite stable and Christian has been very helpful in
answering any questions. I can't quite put a finger on what is wrong
:-D this saves me writing go ahead, just ask :-)
Thanks! Hope to get some time on
Thomas Nichols wrote:
BTW I've been reading docs on SOFIA recently
From salmonllc.com? Looks interesting on paper - RAD for J2EE...
Yep. Although I believe Cocoon is well up to the job ;-)
and am wondering if we
should provide a _second_, less powerful but simpler interface to esql:
ol
Hi Thomas,
I'm building a simple CrUD (Create/Update/Delete) db app, similar to the
users/groups and users/depts examples, and I'd like to use
- XSP/ESQL for queries (some of which could get quite complex)
- modular DB actions for insert / update / delete.
This is from experimentation
Hi Steve,
At 16:33 28/11/2003 +, Steve Schwarz wrote:
Hi Thomas,
I'm building a simple CrUD (Create/Update/Delete) db app, similar to the
users/groups and users/depts examples, and I'd like to use
- XSP/ESQL for queries (some of which could get quite complex)
- modular DB actions
Steve Schwarz wrote:
ModularDb is quite stable and Christian has been very helpful in
answering any questions. I can't quite put a finger on what is wrong
:-D this saves me writing go ahead, just ask :-)
BTW I've been reading docs on SOFIA recently and am wondering if we
should provide a
On 13.Oct.2003 -- 11:05 AM, Joose Vettenranta wrote:
Hi,
I didn't find info on the subject, to how to pass information to
AddAction from sitemap.
I have created resource, which I call with certain parameters. These
parameters I would like to add to database.. little like this:
AFAIK
* Christian Haul [EMAIL PROTECTED] [2003-10-13 09:02]:
On 13.Oct.2003 -- 11:05 AM, Joose Vettenranta wrote:
I didn't find info on the subject, to how to pass information to
AddAction from sitemap.
I have created resource, which I call with certain parameters. These
parameters I would
rows - items not
available
addition of some ORDER_LINE rows - items newly
required
update to some existing ORDER_LINE rows
- new prices
Looking at the functionality available in Modular
Database Actions I notice that the add, update and delete must becalled
separately and thus cannot be done
46 matches
Mail list logo