Hi all,
Just wondering if there is a better way to do this:
Currently I have one form and whether an id is passed or not it either
reflects a record in the database or a brand new record. There are also two
possible button presses doUpdate and doInsert - only one shows depending on
the id value.
What currently happens is that I grab the group from the intake tool via:
get("Project", IntakeTool.DEFAULT_KEY, false) for the insert action, and
get("Project", queryKey, false) for the update action
Now queryKey I have to pull manually from the data submitted from the form
via
String queryKey = data.getParameters().get("proj"); - where proj is the
Intake value that is pre-defined on ViewProject.vm page.
So, is there a better way to do this?
Thanks in advance. Hopefully this will all lead to some document changes
once I get some stuff clear in my head and I have a chance to write down the
new stuff to make it clearer for newbies =).
-warner
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]