Nested Repeat Region using data shaping
Hi,
On the home page i have 5 main buttons. On clicking any of those buttons i go to the inner page, now using tom's data shaping tutorial im able to get the list of sub buttons to show up under the main button, but what it also does is, it puts the sub buttons of the other main buttons as well.
Home Page Eg.
Link1
Link2
Link3
Link4
Link5
On Clicking Link1: Inner Page Eg. (How it shows now)
Link1
SubLink1
SubLink2
SubLink3
Link2
SubLink1
SubLink2
Link3
SubLink1
SubLink2
SubLink3
Link4
SubLink1
Link5
On Clicking Link1: Inner Page Eg. (How I want it to show)
Link1
SubLink1
SubLink2
SubLink3
Link2
Link3
Link4
Link5
How do i make it show only the sub buttons of the clicked button.
Help Me!
Thanks in advance.
Comments
Ok ...
To get around this problem you are going to have to limit the dataset returned to onlu the button links you need. Without knowing you data structure I am going to assume you have some kind of id for each of the main buttons. So when someone clicks on Button One you are going to have to pass through the ID of button One through to the next page in order to add this to you sql string to only return the links to go unde button one.
If you need more help on the code please post so I can assist
code is here
You must me logged in to write a comment.