getRowData() will work too. But if the data changes between the requests it could be possible that getRowData() returns the wrong object. Using a parameter with a commandlink which identifies the selected object would be safer.

Regards,

Mathias

Enrique Medina schrieb:
Just a question...

Why do you need a parameter to the commandlink? Wouldn't it be sufficient to have the datatable in your backing bean and simply call getRowData()?

2005/8/31, Jesse Alexander (KBSA 21) <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>:

    -----Original Message-----
    I'm a JSF total newbbie so.. I'm sorry if I'm asking something trivial.

    I read a lot of tutorials on page navigation and event handling... but
    I still can't figure out how to implement a simple master/detail
    pages. I make a page with dataTable reading values from a managed bean
    but I can implement the passage to the detailed page?
    -----/Original Message-----

    Have you checked the tutorials at: < http://www.jsftutorials.net/>?

    Basically you add a command-link as a child to a column and pass it some
    identifying attribute of the current row-object as a parameter.

    hth
    Alexander

    Else join us on the IRC-channel (search the mailing-list archives for
    the coordinates)...


Reply via email to