This is a general 'how do you do it if you do it' question about web
application design.
Here is the scenario.
Web Form:
-
ORDER HEADER
Order No: 0010
Order Date: 15/08/2004
Customer: __
Customer Name: ?
-
You can have a variable called action in your action
form. You can set that variable as view or edit. Now
for the first time, the action can be view. You lookup
for the customer. If you find, you display. If you
dont find, (check this with some tag ) you
display a text field and a ADD CUSTOMER but
Thanks for your answer. However this is fine as a technique to enable me
to fire an 'action' to lookup the customer but I was hoping that the
customer browser would be a nice action/jsp combo to itself which could
be told to 'return' back to the originating calling action.
I might want to include
Can you not have those fields defined in some super
action form and also the lookup methods defined in
some super action class that extends from
lookupdispatchaction class.
--- Stuart Guthrie <[EMAIL PROTECTED]> wrote:
> Thanks for your answer. However this is fine as a
> technique to enable me
> -Original Message-
> From: Stuart Guthrie [mailto:[EMAIL PROTECTED]
> Sent: Thursday, August 19, 2004 11:14 PM
> To: Struts Users Mailing List
> Subject: Re: Complex web 'stacks' in Struts
>
>
> Thanks for your answer. However this is fine as a tech
5 matches
Mail list logo