close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Nested repeat regions

Thread began 5/26/2009 3:03 pm by xag | Last modified 5/26/2009 4:14 pm by Ray Borduin | 2069 views | 7 replies |

xag

Nested repeat regions

Hello folks. I was wondering if there was anything in DataAssist for doing nested repeat regions of in any product to help do this. I currently have a record set that has all of my tables joined just the way I like it. The thing I am doing to do is to dump the data out in a region that is specified by the recordset. Ex.

I have two regions Left and Main

I want all data that has the property of Left regions to be in the left region and all data with property of Main region to be in the main regions.

Any help or direction in the right direction would be helpful.

Thanks

Sign in to reply to this post

Ray BorduinWebAssist

Yes, DataAssist includes a repeat selection that can be nested inside itself, or nested inside a DW repeat region.

Sign in to reply to this post

xag

Is there any way to tell the Level 2 to stop and move to the next record and start populating that region with the remaing data? I'm starting to think this is a SQL thing.

Sign in to reply to this post

Ray BorduinWebAssist

It will automatically move to the next record if you specify the recordset to repeat on. I'm not sure but I think that is your question. What is it you are trying to do?

Sign in to reply to this post

xag

I'm trying to dynamically populate different Div tags across my page. I have my
<div id="<%=(rsDIVREGIONS.Fields.Item("PF_DIV_REGION").Value)%>"> where DIVREGIONS(PF_DIV_REGION) holds #LEFT and #MIDDLE which are my two div's on the page. then I have <%=(rsDIVREGIONS.Fields.Item("FACT_CONTENT").Value)%> where FACT_CONTENT just hold LEFT HEADER and MIDDLE HEADER. All I'm trying to figure out is how to do a loop where if PF_DIV_REGION = LEFT and FACT_CONTENT=LEFT to display LEFT HEADER and vice versal for MIDDLE. I did the joins in SQL and they come out fine there but DWCS3 is telling me nested loops are not supported so i'm trying to do it with dataassist.

Sign in to reply to this post

Ray BorduinWebAssist

Seems similar to:

showthread.php?t=1222

Sign in to reply to this post

xag

yup pretty much Ray. Any examples of this in ASP? Not that well versed in PHP, still learning. Also for the subcontent how would he repeat that accorind to what DIV he set it to if all the subcontent was all different.

Thanks Ray

Sign in to reply to this post

Ray BorduinWebAssist

The iteration code is on any admin results page created by DataAssist, so you can take it from that page.

Maybe apply dataassist wizard a second time with a forward facing page that has a 3 x 3 grid of results.

It is really the same in asp and php.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...