FORUM PLAN UPDATE
Date revision: This forum will remain open to new posts and responses until December 1, 2018. (After that date, you will still be able to view and search the forum.) Also, we're taking a second look at the best place to host future conversation. For now, keep using this forum, and stay tuned for more news.



Oct 27, 2011, 2:21 PM
150 Posts

How to get the value of the clicked row in Mobile controls, Extlib - another try

  • Category: Other
  • Platform: All
  • Release: 8.5.3
  • Role: Developer
  • Tags:
  • Replies: 0
Take a look at the following code, it generates two mobile pages from one xpages (using the mobile controls in the latest extlib (8.5.3)
The first mobile page display 10 rows from a repeat control, each line display a number 1-10
 
The second mobile page displays only the label "item"
 
I now need to get hold of the row clicked in the first mobile page and display that in the row in the second mobile page.
so If I click on the the row 5 in the first mobile page I want it to say 5 in the second mobile page.
 
I have tried different things and tried to get answer at the extlib forum
http://www.openntf.org/internal/home.nsf/discussion.xsp?action=openDocument&documentId=5E199E9E55C65D3B86257932003231B5
 
- I tried to use parameters in the url
- I tried to get hold of the repeat using getComponent, but it does not bring me the clicked index
- I tried to  use a hidden field, but get no value.
 
any ideas?
 
 
 
 
 
 
 



FORUM PLAN UPDATE
Date revision: This forum will remain open to new posts and responses until December 1, 2018. (After that date, you will still be able to view and search the forum.) Also, we're taking a second look at the best place to host future conversation. For now, keep using this forum, and stay tuned for more news.