Re: [RFE] getMarkupId()

2007-09-23 Thread Matthijs Wensveen
Eelco Hillenius wrote: 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

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. [table] public class RadioChoiceTablePanel extends Panel { private static final long s

Label associated with an open/close tag

2007-09-23 Thread Kent Tong
Hi, I think this is one of the most common gotcha's in Wicket: a Label associated with an open/close tag like will silently output nothing. As I really can't think of a use case when this behavior is the desired behavior (wanting the Label to output nothing?), I'd suggest that either it change

Re: [RFE] getMarkupId()

2007-09-23 Thread Matej Knopp
On 9/24/07, Maris Orbidans <[EMAIL PROTECTED]> wrote: > > 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 differe

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 ha

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: Formless DropDownChoice selected value is null

2007-09-23 Thread Johan Compagner
that still doesnt matter, what you use now is just the on change event, no data will be pushed,for that you need to use the formcomponentupdatebehavior On 9/23/07, bebetu <[EMAIL PROTECTED]> wrote: > > I'm not using a form, it's a simple dropdownChoice in a wizard step. > > > swaroop belur wrote:

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 t

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'

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: 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/

Re: Button Command Design Pattern

2007-09-23 Thread carloc
great, i'm able to catch most exceptions in one place. thanks igor.vaynberg wrote: > > 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 B

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: 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 indic

Button Command Design Pattern

2007-09-23 Thread carloc
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 button that I need. I did this so I can be sure that I will be able to catch all the default ex

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 <[EM

users@wicket.apache.org

2007-09-23 Thread jweekend
1 - Members of this mailing-list will get an extra 25% discount for the next " http://jweekend.co.uk/dev/JW703 Apache Wicket 1.3 " course (developed and delivered by Al Maw) in London, next weekend (September 29-30). This discount is only applicable to bookings made between 15:30 (BST) September 2

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

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.