Re: About StrutsTypeConverter

2011-07-07 Thread Dale Newfield
On Wed, Jul 6, 2011 at 5:47 PM, Jeff Black wrote: >> Whereas I am confused why the signature is not public T >>convertFromString(Map context, String[] values, Class toClass).  Is this in >>scope of the effort someone described recently to Java5-ify the code base? > > What is the best way to organ

Re: About StrutsTypeConverter

2011-07-06 Thread Jeff Black
fort? jb / From: Dale Newfield To: Struts Users Mailing List Sent: Wed, July 6, 2011 10:59:27 AM Subject: Re: About StrutsTypeConverter On Jul 4, 2011, at 12:27 AM, Vincent Lin wrote: > I am confused that why the signature of convertFromString is public Object >convertFromStr

Re: About StrutsTypeConverter

2011-07-06 Thread Dale Newfield
On Jul 4, 2011, at 12:27 AM, Vincent Lin wrote: > I am confused that why the signature of convertFromString is public Object > convertFromString(Map context, String[] values, Class toClass) instead of > public Object convertFromString(Map context, String value, Class toClass). Whereas I am conf

Re: About StrutsTypeConverter

2011-07-06 Thread Jeff Black
11 11:27:32 PM Subject: Re: About StrutsTypeConverter I am confused that why the signature of convertFromString is public Object convertFromString(Map context, String[] values, Class toClass) instead of public Object convertFromString(Map context, String value, Class toClass). What's the point to

RE: About StrutsTypeConverter

2011-07-04 Thread Martin Gainty
sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. > Date: Mon, 4 Jul 2011 12:27:32 +0800 > Subject: Re: About StrutsTypeConverter > From: vincent.lin...@gmail.com > To: user@struts.apache.org > > I am confused that why the signature o

Re: About StrutsTypeConverter

2011-07-04 Thread jlmagc
iling List" Subject: Re: About StrutsTypeConverter I am confused that why the signature of convertFromString is public Object convertFromString(Map context, String[] values, Class toClass) instead of public Object convertFromString(Map context, String value, Class toClass). What's the

Re: About StrutsTypeConverter

2011-07-03 Thread Vincent Lin
into this method? Best Regards, Vincent Lin 2011/7/3 Łukasz Lenart : > Take a look on EnumTypeConverter > > > Regards > -- > Łukasz > + 48 606 323 122 http://www.lenart.org.pl/ > Warszawa JUG conference - Confitura http://confitura.pl/ > > > 2011/7/2 Vincent Lin :

Re: About StrutsTypeConverter

2011-07-03 Thread Łukasz Lenart
Take a look on EnumTypeConverter Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ Warszawa JUG conference - Confitura http://confitura.pl/ 2011/7/2 Vincent Lin : > Hi! > > I have a questsion about StrutsTypeConverter. > It has 2 methods to be implemented: >

About StrutsTypeConverter

2011-07-02 Thread Vincent Lin
Hi! I have a questsion about StrutsTypeConverter. It has 2 methods to be implemented: public Object convertFromString(Map context, String[] values, Class toClass) and public String convertToString(Map context, Object o) . Why the second parameter in convertFromString String[] instead of String