Re: Complex web 'stacks' in Struts

2004-08-20 Thread Stuart Guthrie
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

Re: Complex web 'stacks' in Struts

2004-08-20 Thread struts lover
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 to

RE: Complex web 'stacks' in Struts

2004-08-20 Thread Jim Barrows
-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 technique to enable me to fire an 'action

Complex web 'stacks' in Struts

2004-08-19 Thread Stuart Guthrie
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: __ LOOKUP CUSTOMER Customer Name: ?

Re: Complex web 'stacks' in Struts

2004-08-19 Thread struts lover
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 c:if tag ) you display a text field and a ADD