[Wicket-user] Back Button DropDownChoice

2006-12-27 Thread Andrew Strickland
I have a class that extends DropDownChoice, called TCOChooser. It is for some very minor things (overriding wantOnSelectionChanged, the choice renderer, etc ). I have a page that uses TCOChooser to allow the user to select a TCO that changes the data displayed in a table lower on the page.

[Wicket-user] RE: combo box displaying choose one

2006-05-31 Thread Andrew Strickland
If you call setNullValid(true) the default "null" value will be an empty string instead of "Choose One" Andy "When I reach with the selection in a combo box, to the first item in the list, wicket places a "Choose one" option as the first item in the combo. Am I doing something wrong or ...

[Wicket-user] RE: Resetting a Form

2006-04-27 Thread Andrew Strickland
At wit's end here so I'm going to post my code. Can't for the life of me figure out why the form won't reset, even when I re-initialize the underlying model object. Code follows: AccountPage.java public class AccountPage extends DefaultPage{ /* The user to edit, or null (for a new user) */

[Wicket-user] RE: Resetting a Form

2006-04-27 Thread Andrew Strickland
That PropertyModel is used inside some custom FormComponents that I have that do their own logic on whether to add the RequiredValidator or not depending on the Boolean object returned from the binding RequiredFieldContainer.CLASSIFIED_ACCOUNT_TYPE which is the isClassifiedAccountType method

[Wicket-user] RE: Resetting a Form

2006-04-26 Thread Andrew Strickland
Title: Wicket-user digest, Vol 1 #2423 - 3 msgs How would I go about resetting a form to a blank state after it validates it's data and stores it to a database? Subsequent visits to the Page the form is on still contains the data from the last submission. I tried re-initializing the object

[Wicket-user] RE: Resetting a Form

2006-04-26 Thread Andrew Strickland
Would that answer be relevant for 1.2 or is this something that should be working in 1.1.1? I can't seem to get that to work. AndyBean bean=3Dnew Bean();Form.setModelObject(bean);where bean is the bean backing the form, and form has the compound model,-IgorOn 4/26/06, Andrew Strickland [EMAIL

[Wicket-user] RE: Removing a Validator

2006-04-25 Thread Andrew Strickland
My apologies for leaving all that reply text in my last response. Hopefully it doesn't confuse anyone too much. Andy winmail.dat

[Wicket-user] RE: Removing a Validator

2006-04-25 Thread Andrew Strickland
would you remove the validator? Would you do it by index or by instance?Its not very clean either way. Check out IFormValidator, I think it fitsyour usecase better then an IValidator.-IgorOn 4/25/06, Andrew Strickland [EMAIL PROTECTED] wrote: Was the capability added in 1.2 to remove Validators from