myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rick Reumann <>
Subject Re: Concerning DataModel usage plus overhead?
Date Mon, 29 Aug 2005 21:01:40 GMT
Actually, the MyFaces master/detail example source code is shedding
some light on some things. Rather than me waste more of your valuable
time, let me fart around with that code and see if I can tweak mine to
use a similar concept. Thanks for your help and patience so far.

On 8/29/05, CONNER, BRENDAN (SBCSI) <> wrote:
> Can you send a snippet of your faces-config.xml showing your managed
> bean definitions and your navigations, just to make sure I have the
> picture right?
> - Brendan
> -----Original Message-----
> From: Rick Reumann []
> Sent: Monday, August 29, 2005 3:24 PM
> To: MyFaces Discussion
> Subject: Re: Concerning DataModel usage plus overhead?
> On 8/29/05, CONNER, BRENDAN (SBCSI) <> wrote:
> >
> > I probably just got confused by your naming convention.  Can you
> repeat your
> > question with clearer names?
> Sure. Let me change the names and concepts..
> First page you come to is a list of cars on "cars.jsp". Cars is
> populated as DataModel from ""  There is a managed
> bean reference for the name "cars" to "
> CarsListAction has a method "getCars" which returns this DataModel. On
> cars.jsp you have...
> <h:dataTable var="car" value="#{}" >
> Another managed bean: has CRUD methods. In this case
> "getCar" which is supposed to get a "Car" back from the backend based
> on 'carID".
> I want to be able to click on car from the list on cars.jsp and hit
> the "getCar' method in my "" bean and forward to a
> carForm.jsp that lets me edit the car. If I use a DataModel with this
> I'm assuming I'll need to get a handle to the DataModel from my
> but the DataModel was set up in CarsListAction.


View raw message