Hello.
I am wokring on a
Struts (version 1.3) page on which I am having trouble controlling the components on the page.
My situation is along the lines of the following simplified example:
- A User can define a new Order.
- They do not have to submit the order immediatly so the save it first.
- The User can make amendments to the Order when is has been saved, or submit it.
All this is provided by a single
JSP page which hides the 'submit' button until the order has been saved.
Unfortunatly the database, bases the Order number (our DB Primary Key) on one of the fields in the Order, the user's location. (I have no input into the databse desing :mad :) .
This presents a problem when the user comes back to edit their order, if I allow them to update their location, the order number cannot be used to work out the location for the order.
To present an appropriate interface for this I need to disable the html:select component from which the user selects their location. I have tried some of the following with no success:
So can anyone tell me how I can bind the disable attribute of a componennt to a form bean property.
Thanks you
rich
[ December 03, 2008: Message edited by: Rich Peate ]