HTML5 Data Bindings Support Product Page

Answered

Nested Repeat with page navigation

Asked 11 Oct 2013 16:07:56
1
has this question
11 Oct 2013 16:07:56 Andre Bender posted:
I want to create a parent region with a page navigation (next, previous, etc.) with a containing nested repeat region. The data comes from a database table. How do I realize this?

I can create a repeating parent region containing a nested repeat. The page navigation works also (next, previous, etc.). I achieve this by limit the recordset to 1 record. Unfortunatly this also limits the records for the nested repeat to 1.

Any ideas how to solve this problem?

Replies

Replied 24 Oct 2013 14:38:56
24 Oct 2013 14:38:56 Andre Bender replied:
Any ideas?
Replied 29 Oct 2013 20:41:01
29 Oct 2013 20:41:01 Andre Bender replied:
Is this possible or not?
Replied 30 Oct 2013 17:50:47
30 Oct 2013 17:50:47 Teodor Kuduschiev replied:
Please be a little more detailed, also please provide a link to this page.
Replied 30 Oct 2013 19:28:06
30 Oct 2013 19:28:06 Andre Bender replied:
Hi Teodor. I've created a test page:

testserver.swf.ch/swf2013/test3.php

You see 7 containers. I'd like to show up only one and navigate to the others by clicking on the buttons.
Replied 30 Oct 2013 21:05:54
30 Oct 2013 21:05:54 George Petrov replied:
Hi Andre,

Could you try the just release new version of the HTML5 Data Bindings 1.3.0?

We have implemented a lot of improvements in there.

Greetings,
George
Replied 30 Oct 2013 21:36:57
30 Oct 2013 21:36:57 Andre Bender replied:
I tried it with the older version but just installed the new one.

But I can't find a way to solve this problem with the new version too. Also the documentation doesn't seem to be updated.
Replied 31 Oct 2013 10:02:39
31 Oct 2013 10:02:39 Teodor Kuduschiev replied:
Thank you for the link,
What you are trying to achieve now - To have one main repeat region with a nested repeat inside, and have a pagination for the main repeat region is not possible.
The GroupBy filter is client-side and pagination is server-side. The best way is to set the feed results to a high number and not to mix the client-side group by and the server-side paging.
We will discuss this with our developers and will provide a solution in the next updates.
Replied 31 Oct 2013 10:52:45
31 Oct 2013 10:52:45 Andre Bender replied:
Thanks for your reply Teodor.

I do not understand this sentence "The best way is to set the feed results to a high number and not to mi the client-side group by and the server-side paging. "

I guess it's also not possible to have two nested repeats within a main repeat (even without paging) using a database connection?
Replied 31 Oct 2013 11:03:42
31 Oct 2013 11:03:42 Teodor Kuduschiev replied:
Hello,

Just set the number of the returned by feed results to a high number, that will return all of your results ( main and nested). Also - do not use the paging in this situation as it is not possible to achieve what you need using it.
Replied 31 Oct 2013 12:14:20
31 Oct 2013 12:14:20 Andre Bender replied:
Actualli paging works when I set the number of returned results to 1, but then the nested records are also 1.

I guess it would be easier if I could define the main repeat region with one recordset/dataset and combine this with another recordset/dataset with the grouping for the nested repeat. This would provide the possibility to created as many nested repeats as needed and development form "my" side would be easier.

Reply to this topic