Opening new tab causes model to be null

2012-11-02 Thread Gytis
Hello, I have noticed one problem and cannot say how is that happening. I have a page, which contains form with two DropDowns with AJAX behaviours on them. When I select something from first dropdown, AJAX sets some values on other dropdown. To get a value from dropDown I use

42lines wicket full calendar

2012-09-13 Thread Gytis
Hello, Recently I started to use wicket-fullcalendar of 42lines. I`d like to ask is there any possibility to change week starting day (by default it is Sunday, but I need it to be Monday)? -- View this message in context:

Re: AjaxFormComponentUpdatingBehavior after validation problem

2012-04-27 Thread Gytis
Hello, here I renew this thread, because this problem is still cannot be resolved. So problem is that when you have AjaxFormComponentUpdatingBehaviour it works fine, until that moment, when you try to submit your form. So when you get error, that some kind of value is not as it is not supposed to

Re: Dynamic Select and SelectOptions

2012-03-27 Thread Gytis
Hi, I just had the problem alike, where if my list of selectoptions was empty, optgroup header was shown without any elements below, needed to hide this optgroup tag: Instead of developing OptGroup class, I used WebMarkupContainer and SelectOptions components, together they worked fine for me,

AjaxFormComponentUpdatingBehavior after validation problem

2012-03-16 Thread Gytis
Hello, I have such a problem with AjaxFormComponentUpdatingBehavior. I have some DropDownChoice and a CheckBox on a Form. I need to make a change to DropDown, when I click on CheckBox. But as I try to submit a Form, got some error, and then click CheckBox DropDown doesn`t change. The code looks

RE: AjaxFormComponentUpdatingBehavior after validation problem

2012-03-16 Thread Gytis
Hi, Michal, I`ve tried AjaxCheckBox component, but problem is the same. I even made Sytem.out.println() of what object is set in DropDown, it shows that Object is SECONDVALUE, but still shows me FIRSTVALUE. Both dropDownz and CheckBox OutputMarkupId set to true. -- View this message in context:

Re: Wizard step with three textfields and one is required

2012-03-09 Thread Gytis
You can add a Form to your Step, then add TextFields and then make Form#onValidate() -- View this message in context: Sent from the Users forum mailing list archive at

Re: wicket wizard init

2012-03-08 Thread Gytis
So I created a method like: private Component text(String pId){ Label text = new Label(pId){ @Override protected void onConfigure() { // TODO Auto-generated method stub super.onConfigure();

wicket wizard init

2012-03-05 Thread Gytis
hello, I have such a problem I develop wizard in which user enters some values in first step fields, then I need to use those values in a second step in a text. looks like this: userModel = new CompoundPropertyModelWizardPage(this); setDefaultModel(userModel); WizardModel model = new

Re: wicket wizard init

2012-03-05 Thread Gytis
Andrea Del Bene-3 wrote Hi, which line of your code throws NullPointerException? can you elaborate a little more on the purpose of function getAgreementText() ? private String getTextFromDataBase() { agreementText = AGREEMENT +