Re-Selecting a combo box entry???

2002-03-26 Thread jeffhaenn
What Im doing: Validating a form with a combobox. Problem: If there was an error, I need to re-select the values that the user selected, when I display the page again. Question: What is the syntax for this? I looked through the source code for the SelectTag and they have a method called

Automatic form validation

2002-03-26 Thread jeffhaenn
During automatic form validation, when errors occur, does the framework pass an instance of the formbean to the target of the input attribute? None of the fields are being repopulated when it goes back to the form. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional

FormBeans and GET

2002-03-19 Thread jeffhaenn
A couple questions: 1. On the initial GET of a page do you need to explicitly add a FormBean to session with all fields set to so it doesn't complain on null values? 2. When using the html:select taglib, does the accessor method have to return a collection to create the html:options

Properties

2002-03-19 Thread jeffhaenn
I have noticed that the example app uses the props file to access strings such as page text and page titles. Are these props cached? If so, when are they reloaded? If they aren't reloaded, what is the point since you need to restart the container to re-cache them? You may as well just

Re: FormBeans and GET

2002-03-19 Thread jeffhaenn
Rob, Thanks for the response. You cleared up a lot of questions I had. Jeff - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, March 20, 2002 2:55 AM Subject: FormBeans and GET A couple questions: 1. On the initial GET of a page do you