Do someone use OneToManyTypeConvertor  on a form which forward back to the 
input JSP after submit ?
If yes, how does it populate the field ?

It seems it just does a toString on the collection.
I post "1 , 2 , 3" in a text input mapped on a Liwt<Integer>, and only see "1" 
inside the input after post.
If I log the real value form the getter , it shows "[1, 2, 3]".

Is it possible to do what I want without repopulating the rigth value using 
javascript ?

Thanks,
Lionel

"Ross Sargant" <[email protected]> a écrit dans le message de news: 
[email protected]...
  Hi,
    I'm using a OneToManyTypeConvertor to split a single input value containing 
multiple MAC addresses separated by a comma separator into a list of strings.

  I'd like to specify further validation rules on the format of each MAC 
address. Is there a simple way to do this with the OneToManyTypeConvertor? Can 
I specify an additional mask that applies to each element? 

  I know I can create a MAC address type and then create a type convertor but I 
am wondering if there is a simpler way of doing this.

  Another example would be where the user enters a list of numbers and you want 
to range check each number entered.









  -- 
  Ross Sargant
  Software Engineer
  p: 954-623-6018 x2108
  email: [email protected]

  TVR Communications LLC
  541 S. State Road 7,Suite 5,Margate, Florida,33068

  http://www.tvrc.com




------------------------------------------------------------------------------


  ------------------------------------------------------------------------------
  Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
  trial. Simplify your report design, integration and deployment - and focus on 
  what you do best, core application coding. Discover what's new with 
  Crystal Reports now.  http://p.sf.net/sfu/bobj-july


------------------------------------------------------------------------------


  _______________________________________________
  Stripes-users mailing list
  [email protected]
  https://lists.sourceforge.net/lists/listinfo/stripes-users
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to