You need an identifier to update an object, which usually corresponds to
a PK in your database. When the identifier is not present or does not
correspond to a persisted entry, you probably want to create.
hth,
Manos
Andrew Tomaka wrote:
Hey all,
The following is pretty hard to understan
I agree fully, but, unfortunately, I can't do a whole lot about it.
The databases were set up before I started on the project and I guess
the DBA was pretty hard nosed about changing from how he wanted it.
Oh well.
~ Andrew Tomaka
On 7/27/05, Michael Jouravlev <[EMAIL PROTECTED]> wrote:
> On
On 7/27/05, Andrew Tomaka <[EMAIL PROTECTED]> wrote:
> I realized the
> problem was actually a bit more complex than I was making it. The
> database table I am editing requires two primary keys to make an entry
> unique (I'm a firm believer in a single PRImary key, but it wasn't my
> choice).
A
I really like your Javascript solution, Kevin. However, I realized the
problem was actually a bit more complex than I was making it. The
database table I am editing requires two primary keys to make an entry
unique (I'm a firm believer in a single PRImary key, but it wasn't my
choice). One of the
rows by javascript you can add a hidden field which can have a
> value (eg 0 for update 1 for creation)
>
> Regards,
> Kevin
> - Original Message -
> From: "Andrew Tomaka" <[EMAIL PROTECTED]>
> To: "Struts Users Mailing List"
> Sent: Wed
nesday, July 27, 2005 9:47 PM
Subject: [OT] Create/Edit Form
Hey all,
The following is pretty hard to understand. I'm no good at describing
my problems and wasn't sure how to explain it. Hopefully, someone
will get what I'm attempting to say
I'm working on a screen
Hey all,
The following is pretty hard to understand. I'm no good at describing
my problems and wasn't sure how to explain it. Hopefully, someone
will get what I'm attempting to say
I'm working on a screen that allows a user to dynamically add rows via
Javascript. I then have have a form that co
7 matches
Mail list logo