Re: Radio group selection not being saved if page submit fails due to validation errors...

2009-06-12 Thread Nicolas Melendez
Here is the URL of the ListView:
http://wicket.apache.org/docs/wicket-1.3.2/wicket/apidocs/org/apache/wicket/markup/html/list/ListView.html

- NM

On Thu, Jun 11, 2009 at 10:11 PM, Jen Van Orman jvanor...@gmail.com wrote:

 Igor,

 Thank you; this makes sense now, it was a matter of getting straightened
 out
 on the real problem (the list view) instead of focusing on the radio group
 as the problem.

 I appreciate your help very much!

 Jen

 P.S.  And it always helps to look at the most recent version of the javadoc
 ;)

 On Thu, Jun 11, 2009 at 2:06 PM, Igor Vaynberg igor.vaynb...@gmail.com
 wrote:

  the problem is not the radiogroup, it is the listview. listview has a
  section in its javadoc that talks about this - have a look there first
  and feel free to come back here with any further questions.
 
  -igor
 
  On Thu, Jun 11, 2009 at 12:47 PM, Jen Van Ormanjvanor...@gmail.com
  wrote:
   Thank you!  setReuseItems(true) was the ticket!
  
   Can you please explain the wicket concept behind this feature?  It
 seems
   that most other input types automatically retain information if the
 page
  is
   rerendered; How is the radio button different?  Just trying to
 understand
   for future reference!
  
   Thanks,
  
   Jen
  
   On Thu, Jun 11, 2009 at 12:49 PM, Jen Van Orman jvanor...@gmail.com
  wrote:
  
   Radios are in a listview, and I will try setreuseitems(true).
  
   Thank you!
  
   Jen
  
 On Thu, Jun 11, 2009 at 12:47 PM, Igor Vaynberg 
  igor.vaynb...@gmail.com
wrote:
  
   are radios in a listview? did you call setreuseitems(true)?
  
   -igor
  
   On Thu, Jun 11, 2009 at 11:42 AM, Jen Van Ormanjvanor...@gmail.com
   wrote:
Hello everyone,
   
I have a radio group and if the form validation fails on submit,
 the
selection is lost.  When the page re-renders, the bound value is
  null.
   
How can I insure that the selected value is retained if form
  validation
fails?
   
Thanks much for your help,
   
Jen Van Orman
   
--
Quis custodiet ipsos custodes?
   
  
   -
   To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
   For additional commands, e-mail: users-h...@wicket.apache.org
  
  
  
  
   --
   Quis custodiet ipsos custodes?
  
  
  
  
   --
   Quis custodiet ipsos custodes?
  
 
  -
  To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
  For additional commands, e-mail: users-h...@wicket.apache.org
 
 


 --
 Quis custodiet ipsos custodes?



Re: Radio group selection not being saved if page submit fails due to validation errors...

2009-06-11 Thread Jen Van Orman
Radios are in a listview, and I will try setreuseitems(true).

Thank you!

Jen

On Thu, Jun 11, 2009 at 12:47 PM, Igor Vaynberg igor.vaynb...@gmail.comwrote:

 are radios in a listview? did you call setreuseitems(true)?

 -igor

 On Thu, Jun 11, 2009 at 11:42 AM, Jen Van Ormanjvanor...@gmail.com
 wrote:
  Hello everyone,
 
  I have a radio group and if the form validation fails on submit, the
  selection is lost.  When the page re-renders, the bound value is null.
 
  How can I insure that the selected value is retained if form validation
  fails?
 
  Thanks much for your help,
 
  Jen Van Orman
 
  --
  Quis custodiet ipsos custodes?
 

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




-- 
Quis custodiet ipsos custodes?


Re: Radio group selection not being saved if page submit fails due to validation errors...

2009-06-11 Thread Igor Vaynberg
are radios in a listview? did you call setreuseitems(true)?

-igor

On Thu, Jun 11, 2009 at 11:42 AM, Jen Van Ormanjvanor...@gmail.com wrote:
 Hello everyone,

 I have a radio group and if the form validation fails on submit, the
 selection is lost.  When the page re-renders, the bound value is null.

 How can I insure that the selected value is retained if form validation
 fails?

 Thanks much for your help,

 Jen Van Orman

 --
 Quis custodiet ipsos custodes?


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Radio group selection not being saved if page submit fails due to validation errors...

2009-06-11 Thread Jen Van Orman
Thank you!  setReuseItems(true) was the ticket!

Can you please explain the wicket concept behind this feature?  It seems
that most other input types automatically retain information if the page is
rerendered; How is the radio button different?  Just trying to understand
for future reference!

Thanks,

Jen

On Thu, Jun 11, 2009 at 12:49 PM, Jen Van Orman jvanor...@gmail.com wrote:

 Radios are in a listview, and I will try setreuseitems(true).

 Thank you!

 Jen

   On Thu, Jun 11, 2009 at 12:47 PM, Igor Vaynberg igor.vaynb...@gmail.com
  wrote:

 are radios in a listview? did you call setreuseitems(true)?

 -igor

 On Thu, Jun 11, 2009 at 11:42 AM, Jen Van Ormanjvanor...@gmail.com
 wrote:
  Hello everyone,
 
  I have a radio group and if the form validation fails on submit, the
  selection is lost.  When the page re-renders, the bound value is null.
 
  How can I insure that the selected value is retained if form validation
  fails?
 
  Thanks much for your help,
 
  Jen Van Orman
 
  --
  Quis custodiet ipsos custodes?
 

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




 --
 Quis custodiet ipsos custodes?




-- 
Quis custodiet ipsos custodes?


Re: Radio group selection not being saved if page submit fails due to validation errors...

2009-06-11 Thread Igor Vaynberg
the problem is not the radiogroup, it is the listview. listview has a
section in its javadoc that talks about this - have a look there first
and feel free to come back here with any further questions.

-igor

On Thu, Jun 11, 2009 at 12:47 PM, Jen Van Ormanjvanor...@gmail.com wrote:
 Thank you!  setReuseItems(true) was the ticket!

 Can you please explain the wicket concept behind this feature?  It seems
 that most other input types automatically retain information if the page is
 rerendered; How is the radio button different?  Just trying to understand
 for future reference!

 Thanks,

 Jen

 On Thu, Jun 11, 2009 at 12:49 PM, Jen Van Orman jvanor...@gmail.com wrote:

 Radios are in a listview, and I will try setreuseitems(true).

 Thank you!

 Jen

   On Thu, Jun 11, 2009 at 12:47 PM, Igor Vaynberg igor.vaynb...@gmail.com
  wrote:

 are radios in a listview? did you call setreuseitems(true)?

 -igor

 On Thu, Jun 11, 2009 at 11:42 AM, Jen Van Ormanjvanor...@gmail.com
 wrote:
  Hello everyone,
 
  I have a radio group and if the form validation fails on submit, the
  selection is lost.  When the page re-renders, the bound value is null.
 
  How can I insure that the selected value is retained if form validation
  fails?
 
  Thanks much for your help,
 
  Jen Van Orman
 
  --
  Quis custodiet ipsos custodes?
 

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




 --
 Quis custodiet ipsos custodes?




 --
 Quis custodiet ipsos custodes?


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Radio group selection not being saved if page submit fails due to validation errors...

2009-06-11 Thread Jen Van Orman
Igor,

Thank you; this makes sense now, it was a matter of getting straightened out
on the real problem (the list view) instead of focusing on the radio group
as the problem.

I appreciate your help very much!

Jen

P.S.  And it always helps to look at the most recent version of the javadoc
;)

On Thu, Jun 11, 2009 at 2:06 PM, Igor Vaynberg igor.vaynb...@gmail.comwrote:

 the problem is not the radiogroup, it is the listview. listview has a
 section in its javadoc that talks about this - have a look there first
 and feel free to come back here with any further questions.

 -igor

 On Thu, Jun 11, 2009 at 12:47 PM, Jen Van Ormanjvanor...@gmail.com
 wrote:
  Thank you!  setReuseItems(true) was the ticket!
 
  Can you please explain the wicket concept behind this feature?  It seems
  that most other input types automatically retain information if the page
 is
  rerendered; How is the radio button different?  Just trying to understand
  for future reference!
 
  Thanks,
 
  Jen
 
  On Thu, Jun 11, 2009 at 12:49 PM, Jen Van Orman jvanor...@gmail.com
 wrote:
 
  Radios are in a listview, and I will try setreuseitems(true).
 
  Thank you!
 
  Jen
 
On Thu, Jun 11, 2009 at 12:47 PM, Igor Vaynberg 
 igor.vaynb...@gmail.com
   wrote:
 
  are radios in a listview? did you call setreuseitems(true)?
 
  -igor
 
  On Thu, Jun 11, 2009 at 11:42 AM, Jen Van Ormanjvanor...@gmail.com
  wrote:
   Hello everyone,
  
   I have a radio group and if the form validation fails on submit, the
   selection is lost.  When the page re-renders, the bound value is
 null.
  
   How can I insure that the selected value is retained if form
 validation
   fails?
  
   Thanks much for your help,
  
   Jen Van Orman
  
   --
   Quis custodiet ipsos custodes?
  
 
  -
  To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
  For additional commands, e-mail: users-h...@wicket.apache.org
 
 
 
 
  --
  Quis custodiet ipsos custodes?
 
 
 
 
  --
  Quis custodiet ipsos custodes?
 

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




-- 
Quis custodiet ipsos custodes?