RE: Question about Wicket and generics

2010-08-27 Thread Mike Dee
in context: http://apache-wicket.1842946.n4.nabble.com/Question-about-Wicket-and-generics-tp2341004p2341500.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr

RE: Question about Wicket and generics

2010-08-27 Thread Stefan Lindner
Betreff: Re: Question about Wicket and generics On Fri, Aug 27, 2010 at 11:34 AM, Igor Vaynberg wrote: > i have written plenty forms and about 99% of them have Form. > models on the form are just not that useful, its the fields  that > care. That doesn't mean that's the way *

Re: Question about Wicket and generics

2010-08-27 Thread Mike Dee
model? How are others doing this? Mike -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Question-about-Wicket-and-generics-tp2341004p2341288.html Sent from the Wicket - User mailing list archive at Nabble.com

Re: Question about Wicket and generics

2010-08-27 Thread James Carman
On Fri, Aug 27, 2010 at 11:34 AM, Igor Vaynberg wrote: > i have written plenty forms and about 99% of them have Form. > models on the form are just not that useful, its the fields  that > care. That doesn't mean that's the way *everyone* uses them. Then again, my way isn't necessarily the way ev

Re: Question about Wicket and generics

2010-08-27 Thread Igor Vaynberg
just offering the other side of the coin...i didnt say we were going to yank the generics from the Form, chill :) -igor On Fri, Aug 27, 2010 at 8:38 AM, James Carman wrote: > On Fri, Aug 27, 2010 at 11:34 AM, Igor Vaynberg > wrote: >> i have written plenty forms and about 99% of them have Form

Re: Question about Wicket and generics

2010-08-27 Thread Igor Vaynberg
i have written plenty forms and about 99% of them have Form. models on the form are just not that useful, its the fields that care. -igor On Fri, Aug 27, 2010 at 5:45 AM, James Carman wrote: > On Fri, Aug 27, 2010 at 8:40 AM, Mike Dee wrote: >> >> Also noticed in prior messages with similar to

Re: Question about Wicket and generics

2010-08-27 Thread James Carman
On Fri, Aug 27, 2010 at 11:41 AM, Mike Dee wrote: > > In my experience, there are lots of other situations too.  For example, we > have lots of forms for doing searches.  The form gathers the search > criteria.  Maybe it would make sense to have a SearchFormCriteria class, > which would be the mod

Re: Question about Wicket and generics

2010-08-27 Thread Mike Dee
Great, didn't know there was a built in LoginForm. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Question-about-Wicket-and-generics-tp2341004p2341060.html Sent from the Wicket - User mailing list archive at Nabbl

Re: Question about Wicket and generics

2010-08-27 Thread James Carman
e a login screen that > simply capture username and password strings. > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/Question-about-Wicket-and-generics-tp2341004p2341026.html > Sent from the Wicket - User mailing li

Re: Question about Wicket and generics

2010-08-27 Thread Mike Dee
-Wicket-and-generics-tp2341004p2341026.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Re: Question about Wicket and generics

2010-08-27 Thread James Carman
On Fri, Aug 27, 2010 at 8:40 AM, Mike Dee wrote: > > Also noticed in prior messages with similar topic that someone suggested > using "Void" (Form).  Never knew there was a Void keyword (capital V). > Is this a recommended technique for  Form (ie. Form)? It's certainly possible. Remember that th

Re: Question about Wicket and generics

2010-08-27 Thread James Carman
On Fri, Aug 27, 2010 at 8:37 AM, Mike Dee wrote: > > I'd like to try and understand this.  What could possibly be? > It would be whatever your form is "editing." > But isn't "TextField" implying text (or a string).  Would TextField > make sense (haven't tried it yet)?  If it makes sense, then m

Re: Question about Wicket and generics

2010-08-27 Thread Mike Dee
tion-about-Wicket-and-generics-tp2341004p2341007.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Question about Wicket and generics

2010-08-27 Thread Mike Dee
hot either. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Question-about-Wicket-and-generics-tp2341004p2341004.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe