ListFindSurvey no list

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

ListFindSurvey no list

Fred Forester-2

Hi All,

ListFindSurvey is not returning a list. I did some debugging and
performFind does indeed have values in the EntityListIterator but listIt
is being put into the result map and ModelForm.java is looking for it
in context. if I add a line of code at the end of performFind to put the
list in context I get results back but I assume there is a correct way
to do this in the form. it's possible this is also a bug that was fixed
since my ofbiz is about 4 weeks old. any tips would be appreciated.

Thanx
Fred

Reply | Threaded
Open this post in threaded view
|

Re: ListFindSurvey no list

Fred Forester-2


Duh, the form is missing list-name="listIt".


Fred Forester wrote:

>
> Hi All,
>
> ListFindSurvey is not returning a list. I did some debugging and
> performFind does indeed have values in the EntityListIterator but listIt
> is being put into the result map and ModelForm.java is looking for it
> in context. if I add a line of code at the end of performFind to put the
> list in context I get results back but I assume there is a correct way
> to do this in the form. it's possible this is also a bug that was fixed
> since my ofbiz is about 4 weeks old. any tips would be appreciated.
>
> Thanx
> Fred
>
>
>