hey all,

I am attempting to do some form processing for a filter that i am building.
I user 4 dropDownChoice in a form with a submit button. I want to overide
the onSubmit method, which i did. however when i try to get the values
selected from the drop down in the method for prodessing, they come back
empty. I am using pro wicket as a reference. i wrote simple helper methods
as illustrated in the book but they don't seem to work:


...
desc = new FilterChoice("description",ldp,processTypeDropDownList,logs);
...
 
protected String getDescriptionSelection(){
    return desc.getModelObjectAsString();
  }

...
@overide
onSubmit(){
if(MyClass.this.getDescriptionSelection() .equals(something)){
   do something...
}
}

thing is...I insert some log.debugs in there to see what was being returned
and nothing came back. How can i get the selection back to my onSubmit
method i guess is my question. Thank you

-B
 
-- 
View this message in context: 
http://www.nabble.com/form-processing---getting-dropdown-selection-back-to-onSubmit-method.-tf3409455.html#a9498483
Sent from the Wicket - User mailing list archive at Nabble.com.


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to