On 8/29/05, CONNER, BRENDAN (SBCSI) <[EMAIL PROTECTED]> 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 "CarsListAction.java"  There is a managed
bean reference for the name "cars" to "CarsListAction.java.
CarsListAction has a method "getCars" which returns this DataModel. On
cars.jsp you have...

<h:dataTable var="car" value="#{carsListAction.cars}" >

Another managed bean: CarAction.java 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 "CarAction.java" 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
CarAction.java... but the DataModel was set up in CarsListAction.

Reply via email to