Re: ListView in Forms

2008-08-11 Thread Markus Haspl
bject(); > > in > > the onSubmit() method. Because there may be hundrets of propertiesName in > > the ListView/Form. > > > > Would it be better to make a Forms in a ListView? But then i need for > > every > > Form a submit-button. that wouldn't

Re: ListView in Forms

2008-08-08 Thread brian.diekelman
gt; Form a submit-button. that wouldn't be so nice... > > thanks > > > -- View this message in context: http://www.nabble.com/ListView-in-Forms-tp18852263p18900382.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: ListView in Forms

2008-08-07 Thread Igor Vaynberg
On Thu, Aug 7, 2008 at 1:36 AM, Markus Haspl <[EMAIL PROTECTED]> wrote: > no, there aren't any errors. > > but i don't understand why i have to use propertiesName.getModelObject(); in > the onSubmit() method. Because there may be hundrets of propertiesName in > the ListView/Form. well, it is the w

Re: ListView in Forms

2008-08-07 Thread Markus Haspl
no, there aren't any errors. but i don't understand why i have to use propertiesName.getModelObject(); in the onSubmit() method. Because there may be hundrets of propertiesName in the ListView/Form. Would it be better to make a Forms in a ListView? But then i need for every Form a submit-button.

RE: ListView in Forms

2008-08-06 Thread Hoover, William
That is an issue in itself ;o) -Original Message- From: Igor Vaynberg [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 06, 2008 1:00 PM To: users@wicket.apache.org Subject: Re: ListView in Forms listviews dont use item reuse strategies... -igor On Wed, Aug 6, 2008 at 9:25 AM, Hoover

Re: ListView in Forms

2008-08-06 Thread Igor Vaynberg
if there are no errors then you are not using your models properly TextField propertiesName = new TextField("name",new Model(pluginProperties.getName())); to get a value back with a model like that you would have to call propertiesName.getModelObject() -igor On Wed, Aug 6, 2008 at 8:27 AM, Mar

Re: ListView in Forms

2008-08-06 Thread Igor Vaynberg
> thresholdLevel; >break; >case LT: > isValid = activeMessage.getLevel() < > thresholdLevel; >break; >case GT: >

RE: ListView in Forms

2008-08-06 Thread Hoover, William
n isValid; } } } -Original Message- From: Igor Vaynberg [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 06, 2008 11:04 AM To: users@wicket.apache.org Subject: Re: ListView in Forms add a feedbackpanel and see if there are any validation errors -igor On Wed, Aug 6

Re: ListView in Forms

2008-08-06 Thread Markus Haspl
Wednesday, August 06, 2008 10:20 AM > To: users@wicket.apache.org > Subject: ListView in Forms > > hi, > > first, i'm a very newbie to wicket... I want to add a ListView in a > Form. > The ListView has two Texfields and one Checkbox each row. When i submit > the form

Re: ListView in Forms

2008-08-06 Thread Markus Haspl
there are no valiation errors. with info() i get the old values. info(""+property.getName()+": "+property.getValue()+" == "+property.isDefaultProperty()); On Wed, Aug 6, 2008 at 5:03 PM, Igor Vaynberg <[EMAIL PROTECTED]>wrote: > add a feedbackpanel and see if there are any validation errors > >

Re: ListView in Forms

2008-08-06 Thread Igor Vaynberg
add a feedbackpanel and see if there are any validation errors -igor On Wed, Aug 6, 2008 at 7:19 AM, Markus Haspl <[EMAIL PROTECTED]> wrote: > hi, > > first, i'm a very newbie to wicket... I want to add a ListView in a Form. > The ListView has two Texfields and one Checkbox each row. When i submi

RE: ListView in Forms

2008-08-06 Thread Hoover, William
Why do you use propertiesList.setReuseItems(true)? -Original Message- From: Markus Haspl [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 06, 2008 10:20 AM To: users@wicket.apache.org Subject: ListView in Forms hi, first, i'm a very newbie to wicket... I want to add a ListView

ListView in Forms

2008-08-06 Thread Markus Haspl
hi, first, i'm a very newbie to wicket... I want to add a ListView in a Form. The ListView has two Texfields and one Checkbox each row. When i submit the form the values are still the old ones. here the code: private class InputForm extends Form { IModel pluginPropertiesModel; public Input