Okay, I [finally] have a simple form working-- there's an editContact
action, the target of the form is /saveContact and if all goes well you end
up on confirmContact.jsp.  The DAO layer is working nicely.

*BUT* (of course...) the form needs to be much more complex, and I need help
figuring out how to do this.

First, one of the fields on the form needs a database lookup.  When you
first see the form, it's a text area.  If you put in a name and click the
button to the right, it should go off and present a list of matching names.
You pick one, and then you're back at the original form.  Only now there's
no text area, but instead you see the full name of the person you chose, and
a 'delete' button out to the right.  And it has to remember all of the other
choices, of course.

So I think I might need the logic tags, and either show the text area *or*
the read-only information, depending on whether there is a value or not.

I think I can get it to go off to the resolution screen... can the
<forward name="nameResolution"         path="??????"/>
tag have another action instead of a .jsp file?  How do I get *back* where I
came from?  Here's where I get totally lost.

About those "buttons" out to the right of the text area:  I'm planning on
having multiple submit buttons, but stop me if that's going to be a problem

Thanks in advance for any guidance you can offer.  I have this working in a
procedural language, but I'm having trouble converting it over to Java and
Struts.

-- 
Wendy Smoak
Applications Systems Analyst, Sr.
Arizona State University PA Information Resources Management

Reply via email to