I don't use Model too much, my view is, if you keep it in session scope, you can use it, if not, use parameter instead of it. I bumped some issue for data in request scope, sometime, it is different result when you use action and actionLisener, also for popup window, you will head on troubles. If JSF can do better, we can get rid of parameter passing, but now I am afraid not.



On 9/1/05, Rick Reumann <[EMAIL PROTECTED]> wrote:
On 9/1/05, Zhong Li <[EMAIL PROTECTED]> wrote:

>  Back to  the topic, the key thing is  if you want use JSF, you have to keep
> database operation far from JSF beans.

I agree totally, but this doesn't help much with this question too much.

I'm using a ListDataModel just to display the stuff in the the table
since everyone seemed to agree that using DataModel and getting out
the selected row is better than my initial plan to simply pass the
"id/primary key" from a commandLink on the row you want to click on.

Zhong,

I'm confused what you are stating, do you not use the DataModel
approach? How do you get from your master list of items to the edit
detail page?

Reply via email to