I am having a hard time with this. I have a dataTable which displays a detailed view of Issues. I want the Issue Number to be a link that takes to an even more detailed view of that specific Issue. But I am having a really hard time figuring out how to get the selected row when I click on the link. Right now I am doing this, paraphrased...
In my backing bean I have the following:
Now, when I click on the issue link the viewIssue method should be called. For some reason it is not. I click on the link in my page and the page is refreshed, but missing all the data. Not so concerned about the missing data right now as I am about the viewIssue method not even being called.
Does anyone have any good reference/examples on how to do what I am trying to do. It seems like it should be easy, but appearntly they didn't make it that way unless I am overlooking something.
Originally posted by Varun Khanna: Is your backing bean in request scope? If yes, try putting it into session scope and see if the method is being called then.
Well, my first attempt was I changed the h:dataTable to x:dataTable (using MyFaces) and it worked. I will try putting it in the session and seeing what happens with h:dataTable. Although I don't want it in the session.
I was under the impression it was fixed in JSF 1.1 though. Oh well. It's not detremental that this page be in the session. The only way to get to it is through another form, so it will always get updated info when it's called. Thanks for the tips.