Function to know which lay out cell selected

Is there any function to know which lay out cell selected?? plz help. Thanks in advance.

***Updated by Moderator: Marissa to close post***
This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.


Keep up to date on this post and subscribe to comments

January 16, 2009 - 4:42am

Sorry I forgot to mention one thing. I used Page list property in cells.Each cell has Index of Page list. I want to get that index. for that i want to know is there any function to get index of particular cell.

January 16, 2009 - 10:34pm


To access the current index of the pagelist property follow the below procedure

Suggested Approach

To get the index of an iteration in a ForEach directive, use the following Java call in a scriptlet:


For example, to display the index of a page that belongs to a list of result pages, include the following:

{ForEach .pxResults}
Current index is: {%tools.getActive().indexOf()%}

The above specified content is from the pdn.
You can directly make use of param.forEachCount directly in activities,try make use of property-set and capture the index value.


January 18, 2009 - 11:28pm

Thanks for u r reply. I implemented Calendar using PageList property.In harness every lay out cell is represented with index of page list. that calendar is working fine. what my problem is when i click on particular date i should capture that date. for capturing corresponding cell which ever i selected is there any function?? plz help me. that will be very help ful to my project.