cancel
Showing results for 
Search instead for 
Did you mean: 

selectableLinkBar : firstVisibleItem

daniel_humberg
Contributor
0 Kudos

I found aproblem with the phtmlb:selectableLinkBar.


<%
   DATA lv_sel TYPE string. 
   lv_sel = '1'.  "play around and set it to "2" in the debugger...."
%>
  <phtmlb:selectableLinkBar id                = "slbr"
                            design            = "TEXTONLY"
                            keepUserSelection = "FALSE"
                            onItemSelected    = "doSelectItem"
                            firstVisibleItem  = "1"
                            selectedItem      = "<%= lv_sel %>">
   <phtmlb:selectableLinkBarItem itemText = "11111" />
   <phtmlb:selectableLinkBarItem itemText = "22222" />
   <phtmlb:selectableLinkBarItem itemText = "33333" />
  </phtmlb:selectableLinkBar>  

If you set the current selection "lv_sel" to "2", the the second link is selected (which is correct), but none of the links is visible anymore. Instead, you have to use those little arrow-buttons on the right to display the correct link. Also, from then on, only 2 links are displayed at one (before: 3).

Is this a bug or did I miss something?

(btw: I use 620 SP 58)

Accepted Solutions (0)

Answers (1)

Answers (1)

athavanraja
Active Contributor
0 Kudos

i dont have 6.20 to test but tested on a WAS6.40 system where i dont face the problem you are explaining.

can you test it using the standard application.

SBSPEXT_PHTMLB/selectableLinkBarSample.htm and whether the pattern is same .

Regards

Raja

daniel_humberg
Contributor
0 Kudos

Oh, I investigated more and it seems as if the problem only occurs if you place the selectableLinkbar inside a subcontroller!

I will investigate more...

daniel_humberg
Contributor
0 Kudos

No no no,

I found the solution.

The reason was (as always):

Delta Handling.

I will switch it off in my application now!