Session managment

2007-09-23 Thread tsuresh
Hello, can someone please explain me how Session handling works in wicket 1.3. It would be better if you explain with an example. -- View this message in context: http://www.nabble.com/Session-managment-tf4503470.html#a12843600 Sent from the Wicket - User mailing list archive at Nabble.com.

Re: Formless DropDownChoice selected value is null

2007-09-23 Thread Swaroop Belur
You should use ajaxformcomponentupdatingbehavior instead of AjaxEventBehavior . I think AjaxEventBehavior just triggers the server side call and does not update model -swaroop On 9/23/07, bebetu [EMAIL PROTECTED] wrote: Hi, I have a DropDownChoice in a WizardStep component (Wicket 1.3 beta

Re: StringResourceModel.toString()

2007-09-23 Thread Johan Compagner
toString is for debug (except for the default String/Number classes and so on) The problem is that StirngResourceModel uses internal stuff that doesnt have to be set at that time of the toString() call so debug statements don't work and generate nullpointers. johan On 9/21/07, Jan Kriesten

Re: Button Command Design Pattern

2007-09-23 Thread Igor Vaynberg
i wouldnt say it is an antipattern. -igor On 9/23/07, carloc [EMAIL PROTECTED] wrote: Hi guys I was just wondering if this is an antipattern in wicket. Instead of using anonymous Button classes, I created a Button Command Class which I override. I also created a class which indicates the

Re: Session managment

2007-09-23 Thread Eelco Hillenius
On 9/23/07, tsuresh [EMAIL PROTECTED] wrote: Hello, can someone please explain me how Session handling works in wicket Wicket has it's own abstraction of user sessions: org.apache.wicket.Session, though you'll typically use a derivative like WebSession. *Typically* - depending on the session

Re: Formless DropDownChoice selected value is null

2007-09-23 Thread bebetu
I'm not using a form, it's a simple dropdownChoice in a wizard step. swaroop belur wrote: You should use ajaxformcomponentupdatingbehavior instead of AjaxEventBehavior . I think AjaxEventBehavior just triggers the server side call and does not update model -swaroop On 9/23/07,

Re: Possible to validate file size prior to sending?

2007-09-23 Thread Frank Bille
Hi I can see your problem, but AFAIK it's not possible to that kind of check using javascript (perhaps in IE, some versions). Perhaps use a client side solution instead, like java applet or flash? Frank On 9/21/07, spencer.c [EMAIL PROTECTED] wrote: I have a form with a FileUploadField,

Re: Possible to validate file size prior to sending?

2007-09-23 Thread Johan Compagner
wow, uploading 200+mb files! and you still go over that?
i don't think we get the size somehow in advance On 9/21/07, spencer.c [EMAIL PROTECTED] wrote: I have a form with a FileUploadField, where the maximum file size is fairly large (100-200MB). I set the maximum size using the form's:

Re: [RFE] getMarkupId()

2007-09-23 Thread Maris Orbidans
is it a joke ? In that case web design templates would need a unique class attribute for each element that is going to be used via Ajax. And in some cases it's not possible at all. For example, odd rows in a table might have a different color than even rows. Typically one kind of rows have

Re: [RFE] getMarkupId()

2007-09-23 Thread Maris Orbidans
I use ajax as well, but I don't understand what's the problem with setOutputMarkupId ? In any case I am sure that forcing unique class attributes will create much bigger problem. Almost any non trivial web design uses identical class values in many places. Sometimes CSS class is used just

Re: [RFE] getMarkupId()

2007-09-23 Thread Eelco Hillenius
is it a joke ? In that case web design templates would need a unique class attribute for each element that is going to be used via Ajax. And in some cases it's not possible at all. For example, odd rows in a table might have a different color than even rows. Typically one kind of rows have

Session Time out after Adding RadioGroup column to DataTable

2007-09-23 Thread Kevin Liu
After I succeed in adding RadioGroup column to DataTable, something causes session time out. But it haven't happend when I used CheckBox instead of Radio. Thank you for your help. wicket:panel span wicket:id=radioGroup table class=dataview cellspacing=0