Is there a way to change form variables from within a Perform method for a different type of form? I have a couple of different scenarios where I need to use this: 1) After doing a search on the database, one OR many rows of results can be returned. If one row is returned then it would be desirable to not in fact return the search results form (with only one result), but instead just go straight to the details for that one record. The search criteria and lists of results are stored in one form bean, and due to its complexity the 'details' on another. Within the Perform action for the search I can identify how many rows are being returned, but I cannot work out how to mutate the original search criteria/results form into a details form. 2) On the 'details' form there is a text field where the user can enter a date for the data which they are viewing. If this date is not populated the Action which populates the form puts the current date into the field. If an update is performed on the 'details' jsp page it is done with a different form, but I still need to reset the date on the 'details' form to be blank - but I am in the Perform method working with a different form and hence don't have access to the field! Any Ideas? Thanks ____________________________ Ash Beeson - IT Consultant
This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.