I have a tab panel that shows a list view of some contact records, each row has a button on it that will show the detail view for the record selected by the user.
There are two contact records in the list. The first record is by default the current record. When I click on the button, I go directly to the detail view for that record.
However, if I click the button for the second row in the list view, that row is first selected (the other record is dropped from the found set) and the button event does not fire. I have to click the button a second time before I go to the detail view.
This works very differently when I am on the list view for the two records. I can click either row and I go directly to the detail view for the corresponding record.
What is going on? In a tab panel, does the record selection event fire first to select the record, and hence my button event does not fire? Is there a work around for this?
On a separate issue, I don’t understand why my buttons on the rows in the list view do not show the rollover cursor “hand” which I have set. Is this not supported in the body of the list view (works fine in the header of the list view)?
I have also complaints about having to hit buttons twice… Your research sounds like my problem.
Just a version 3.5 bug, or is this how tab panels have always behaved with list view forms?
I have these complaints also in 3.1.
I have jettisoned the use of tab panels for showing list views of data (previously I did the same for portals). I have forced myself to build everything around the form showing the list view of the data. This allows me to select the correct record and have the button event fire with a single click.
I do the same. But that is a workaround, really, to avoid these issues…
Totally agree. But, since you said this is an old issue, I assume it has been reported as a bug (which it is) and that it will be a while before it will be resolved.
Okay, I figured out what was happening to me.
I was using a field, that had a method assigned to the onAction event. This field was on each row in the table view being shown in the tab panel. If you click on this field, then the record is selected only on the first click, and you have to click a second time to fire the button action event.
However, using a label, or an image, and attaching the same method to the onAction event, instead of using the field, fires right away. You only have to click once on the button in the row and the event will fire.
Have you created a case for this in the Support System (or updated an existing case with this new info)?
Paul
I will update the support case with this info also.