problem with

2014-12-21 Thread Yaragalla Muralidhar
hi i have a employee dto with 10 fields. In  how can i map empid
as value and emp name as display string?

I know how to do it with hashmap but without creating that additional
hashmaps and lists can we directly map the List of employee dto's to
 tag?


*Thanks and Regards,*
Muralidhar Yaragalla.

*http://yaragalla.blogspot.in/ *


Re: problem with

2014-12-21 Thread Johannes Geppert
Please take a look at the documentation for the select tag. [1]
There are some examples how to use it.





[1] https://cwiki.apache.org/confluence/display/WW/select

Best Regards

Johannes

#
web: http://www.jgeppert.com
twitter: http://twitter.com/jogep


2014-12-21 14:16 GMT+01:00 Yaragalla Muralidhar :
>
> hi i have a employee dto with 10 fields. In  how can i map empid
> as value and emp name as display string?
>
> I know how to do it with hashmap but without creating that additional
> hashmaps and lists can we directly map the List of employee dto's to
>  tag?
>
>
> *Thanks and Regards,*
> Muralidhar Yaragalla.
>
> *http://yaragalla.blogspot.in/ *
>


Re: problem with

2014-12-21 Thread Yaragalla Muralidhar
Thank u so much. it worked.

*Thanks and Regards,*
Muralidhar Yaragalla.

*http://yaragalla.blogspot.in/ *

On Sun, Dec 21, 2014 at 7:36 PM, Johannes Geppert  wrote:

> Please take a look at the documentation for the select tag. [1]
> There are some examples how to use it.
>
>  name="employee"
> list="employeeList"
> listKey="empId"
> listValue="empName"/>
>
>
>
> [1] https://cwiki.apache.org/confluence/display/WW/select
>
> Best Regards
>
> Johannes
>
> #
> web: http://www.jgeppert.com
> twitter: http://twitter.com/jogep
>
>
> 2014-12-21 14:16 GMT+01:00 Yaragalla Muralidhar  >:
> >
> > hi i have a employee dto with 10 fields. In  how can i map
> empid
> > as value and emp name as display string?
> >
> > I know how to do it with hashmap but without creating that additional
> > hashmaps and lists can we directly map the List of employee dto's to
> >  tag?
> >
> >
> > *Thanks and Regards,*
> > Muralidhar Yaragalla.
> >
> > *http://yaragalla.blogspot.in/ *
> >
>