Thanks for your reply Francois, much appreciated. Even when I adjust my code
and remove the login object from the source code and from the html tag like
the code below I still get the same error I was encountering. I definitely
will try version 9 in the near future  as soon as I can solve the current
problem the framework is showing.

Java Source below
>
>
>
> public class PrescientHome extends PrescientTemplateOriginalPage {
>
> private Model<ZipManagedBean> zipManager;
> private Form occForm;
>
> private WebMarkupContainer tagFrame;
> private Login login;
> private Model<String> occupationListModel;
> private List <String> occupationList;
> private DropDownChoice<String> occupationChoices;
> public PrescientHome()
>
> { super(); }
> @Override
> protected void onInitialize() {
> super.onInitialize();
> zipManager=Model.of(new ZipManagedBean());
>
>
> occupationListModel= new Model<>();
> occupationList=zipManager.getObject().getOccCode();
> occupationChoices=new
> DropDownChoice<>("occupationModel",occupationListModel, occupationList );
>
> occForm=new Form("occupationForm"){
> @Override
> protected void onSubmit()
>
> { super.onSubmit();  }
> };
> occForm.add(occupationChoices);
> add(occForm);

>
> }
>
>
>
>
>
>
>
> }
>
>
> HTML Source below
>
> <!DOCTYPE html>
>
> <html>
> <head>
> <title>TODO supply a title</title>
> <meta charset="UTF-8">
> <meta name="viewport" content="width=device-width, initial-scale=1.0">
> </head>
> <body>
> <wicket:extend>
>
> <div>
> <form id="occupationForm">
>
> Doctors :
> <select name="occModel" wicket:id=":occupationModel">
> <option selected="selected">Choose one</option>
> <option value="0">Physician</option>
> <option value="1">Dentist</option>
> <option value="2">Optometrist</option>
> </select>
> <input type="submit" value="Submit" />.
> </form>
> </div>
> </wicket:extend>
> </body>
> </html>

--
Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum-f1842947.html

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to