[Wicket-user] RadioGroup getModelObject() null ?

2006-08-03 Thread Alex Parvulescu
Hi everybody,Great job with wicket!i have a small problem with a radio group.i need to get the model value when the page is rendered (in my panel's Constructor),but myRadioGroup.getModelObject() is always null. The corresponding radio option is checked,on form submit,the pojo is updated,but if i re

Re: [Wicket-user] RadioGroup getModelObject() null ?

2006-08-04 Thread Alex Parvulescu
hello,the code is like this ://final RadioGroup radioGroup = new RadioGroup("myValue");System.out.println("nat model: " + radioGroup.getModelObject());        //this //outputs null everytime - that's my problemfinal List optLabelList = Ar

[Wicket-user] session timeout listener,part 2

2006-11-01 Thread Alex Parvulescu
Hello,i am having some troubles with the Wicket Session.I need to know before the session expires,so i can log the 'inactive' username.so,reading through this list i got 3 options:1. an implementation of the http session listener   - no good ,because i really need the wicket session,so i can grab t

[Wicket-user] popups

2006-11-01 Thread Alex Parvulescu
Hello,I have a popup with a form.A simple ok/cancel thing.what i need to do is,if the user clicks ok - i need to redirect to a different page,else - on cancel - just close the popup.i have been doing some _javascript_ tricks,but the redirect is giving me some headaches. (this is for closing the cur

Re: [Wicket-user] popups

2006-11-02 Thread Alex Parvulescu
again.AlexOn 11/1/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote: On 11/1/06, Alex Parvulescu < [EMAIL PROTECTED]> wrote: Hello,I have a popup with a form.A simple ok/cancel thing.are you using popupsettings? make sure you are doing new PopupSetings(PageMap.forName("mypopuppagemap&quo

Re: [Wicket-user] session timeout listener,part 2

2006-11-02 Thread Alex Parvulescu
Hello,I decided to take Eelco's advice,and i added the Map.It works fine now,my only concern is with the number of users increasing the size of this Map.But I think its a small price to payfor this feature. One thing though: I made a minor change to this idea: i actually added the session in the ma

[Wicket-user] file upload in a popup - page expired

2007-06-27 Thread Alex Parvulescu
Hello, i have the following situation : a file upload, in a popup.after the submit,the upload is done and the paretn page is refreshed. i set multipart true on the form,set the page map name PageMap.forName("someName") in my popup settings,and after i submit the form,the upload goes fine,but is