Getting started

2007-11-22 Thread Gervais
Hy all, I'm new in the famous wicket world ! I need to start learning Wicket but i can't found docs that explain more than just doing a HelloWrold or a GuestBook. In fact i need to use Wicket with Spring but for that i first need to understand and play with wicket. So i have many questions.

Re: Getting started

2007-11-22 Thread Gervais
inheritance http://cwiki.apache.org/WICKET/markup-inheritance.html regards dipu On Nov 22, 2007 2:48 PM, Gervais [EMAIL PROTECTED] wrote: Hy all, I'm new in the famous wicket world ! I need to start learning Wicket but i can't found docs that explain more than just doing a HelloWrold or a GuestBook

Re: Getting started

2007-11-22 Thread Gervais
())); } Hope you get the Idea regards dipu On Nov 22, 2007 3:23 PM, Gervais [EMAIL PROTECTED] wrote: Ok thanks. But y have another question. (i try to translate it corretcly). For beginning i have created an application named Startup with one page named StartupPage. Below is my StartupPage code

Form with CompounPropertyModel never call onSubmit()

2007-11-26 Thread Gervais
Hi all, I have this form component : public class RegistrationForm extends Form { private final static long serialVersionUID = 1l; public RegistrationForm(String id, StudentFolder studentFolder) { super(id, new CompoundPropertyModel(studentFolder));

How to validate a date in a defined format

2007-11-26 Thread Gervais
Hi All In my form i have added a required text filed for hold a date. My model object have a setter.. -- add(new RequiredTextField(dateOfBirth, java.util.Date.class)); -- public void setDateOfBirth(Date date) { this.date = date; } public Date getDateOfBirth() {

Re: Display enum in a RadioChoice

2007-11-27 Thread Gervais
Ok, thanks. But if i need to set a class name for each items how can i do that ? I need to get and output like that : input type=radio class=genre male ... / And maybe can i also remove the 'br /' between each radio ? Jonas a écrit : Hi, some constructors of RadioChoice take a

Re: Display enum in a RadioChoice

2007-11-27 Thread Gervais
#setSuffix and RadioChoice#setPrefix). AFAIK there's no way to set a class attribute using RadioChoice. Have you considered using RadioGroup and Radio? They're much more flexible than RadioChoice. On Nov 27, 2007 2:56 PM, Gervais [EMAIL PROTECTED] wrote: Ok, thanks. But if i need to set a class

I don't like Data Transfert Objects

2007-11-28 Thread Gervais
Hi wicketers, I use Wicket since 2 weeks. Before wicket i have worked on many projects (Swing or Web apps) and try to find the best architecture. Now i'm learning Wicket and i have a big problem. I dont'like Data Transferts Objects. Many forms use more than one Bean, so i have asked you in a

Re: I don't like Data Transfert Objects

2007-11-28 Thread Gervais
Transfert Objects and i know why it is good to use it. Thank you. [1] : http://java.sun.com/blueprints/corej2eepatterns/Patterns/TransferObject.html Nino Saturnino Martinez Vazquez Wael a écrit : Hi Gervais Im not sure if you have understood the idea of the CompoundPropertyModel(CPM). You pass

RequiredDateField

2007-11-28 Thread Gervais
Hi all Is there an existing component that is designed to receive date and is required, (A RequiredDateField) ? Thanks

Re: RequiredDateField

2007-11-28 Thread Gervais
No but you can use setRequired(boolean b) Gervais a écrit : Hi all Is there an existing component that is designed to receive date and is required, (A RequiredDateField) ? Thanks __ NOD32 2691 (20071128) Information __ This message was checked by NOD32 antivirus system

Re: I don't like Data Transfert Objects

2007-11-29 Thread Gervais
or Swing with remoting) Timo Rantalaiho a écrit : On Wed, 28 Nov 2007, Gervais wrote: A have already understand the idea of the CPM. But i think it is boring to write another class just for handling some properties or beans. But now i have read Core J2EE Patterns - Transfer Object[1

DatePicker how to set personnal style ?

2007-11-29 Thread Gervais
Hi all, All is in the title. I have a DatePicker that works but i need to give it a personnal style. How can i do that ? Thanks