hmm that's weird, .. did you try the generated JSP too ? perhaps something
has changed in your model that affects the JSP .. you might try it with
the page generated by the cartridge.

anyway, I would think it would work (although I think it's strange that
your page-variable starts with a capital)

you might try to use ${form.personenListe} in the display:table tag

maybe something is wrong with the CSS you are using ?

setting the PersonenListe in the controller is the only thing you are
expected to do, I'm doing it all the time and it always works .. so I'm
very puzzled by your problem

-- Wouter

ps: the online-store is better suited for bpm4struts stuff compared to the
car-rental, it has been modeled exactly to show all features

-- Wouter


> Hi there,
>
> somehow, I don't get my search results displayed on the table
> of a generated JSP.
> Maybee I'm palcing the results into the wrong attribute/context?
>
> I allready debugged, and tried to possible solutions, but to no avail.
> The generated and (slightly modified page currently has the following
> fragment:
>
>
>         PersonenListe ${PersonenListe}
>
>         Form ${form}
>
>         <div id="PersonenListe" class="table">
>             <html:form
> action="/MitarbeiterVerwalten/PersonListViewReadPerson">
>                 <display:table name="${PersonenListe}" id="row"
>                            requestURI="${pageContext.request.requestURI}"
>                            export="true" pagesize="15" sort="list">
>                     <display:column media="xml csv excel"
>                         property="id" title="Id"
>                         sortable="true" autolink="true" nulls="false"
>                         paramId="id" />
>                     <display:column media="html"
>                         headerClass="id"
>                         title="Id"
>
> The two first lines are for debug, and show that:
> - PersonenListe is a collection, having 8 entries of PersonData instances.
> - Form is a (generated) *Form bean with an getter getPeronenListe(),
>   returning exactly the same collection
>
> However, on the page it states: 'One item found', but doesn't show any
> line except
> the headers.
>
>  From the example given in the car-rental, the lines
>
>     public final void searchForReservationsOfCustomer(ActionMapping
> mapping,
> org.andromda.samples.carrental.contracts.web.reserveCar.SearchForReservationsOfCustomerForm
> form, HttpServletRequest request, HttpServletResponse response) throws
> Exception
>     {
>         // all properties receive a default value, just to have the
> application running properly
>         form.setReservations(reservationsDummyList);
> ...
>
> I took, that it should have been sufficient, to have the ${form}
> variable properly set.
>
> Can somebody enlighten me?
>
> Thomas
>
>
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> _______________________________________________
> Andromda-user mailing list
> Andromda-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/andromda-user
>




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
_______________________________________________
Andromda-user mailing list
Andromda-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to