Skip to main content
September 13, 2007
Answered

Master Detail Pages

  • September 13, 2007
  • 14 replies
  • 1406 views
mySQL, php, Dreamweaver, ADDT

I'm studing different possibilities for a Master Detail Page Approach:

How can we have a Master Detail page in the SAME page?

IF and only if, the last solution cannot be done, we can have the Detail Page in a popup. But when we close the popup without (after editing the details) how can we refresh the parent window, so the new data can be updated?

Is there a way to make a Master Detail in the same page using show/hide properties, so when the user clicks on show more details the details will appear. (using spry maybe?)


Thanks in advance
This topic has been closed for replies.
Correct answer Newsgroup_User

"oicram" <webforumsuser@macromedia.com> wrote in message
news:fcbdnq$ld2$1@forums.macromedia.com...
> >Using 2 recordsets, one for the master (all records), one for the detail
> >(1
> record)
>
> Can you explain a little more please, what happens next?

You apply a Go to Detail Page serverbehavior to the content from the Master
(list) recordset, then you filter the second recordset with the parameter
from the Go to Detail Page serverbehavior, and apply a "Show if recordset
not empty" to the Detail content

> >Sure, look at this document:
> >Spry basic master and detail region overview and structure
>
> But that does not imply that I should leave my Recorset and move to a Spry
> Data set?

No it doesn't, but you can do master/Detail with Spry

>And that not implys also that I need to have a filter / search also > using
>Spry components?

You could, but again you don't have to,

> Cas I have a traditional recorset but I only want to apply a show/hide
> with
> some possible effects from Spry...

Sure you can, sorry I missed the part "IF and only if, the last solution
cannot be done" and answered anyway.

Joris

14 replies

September 13, 2007
Thanks.
You are giving me hope. :)

But the link that you have give me talks only in Datasets. I don't have any.

Where can I found similar information regarding Recordsets? And the work between them?

I have know an extension that translates a Recorset into XML, and HAND ways to do this. But I don't want to translate to XML. I only want to use spry effects (like show hide) to "play" with my dynamic information bring by the recorset.

I.E. Spry Effects inside a repeat region. Problem: I get only the first record of the repeat region to work.

So I think, for now, that they are not friends. And I have no idea if I can make them friends.

Thanks for your time once again, hope you can clarify something here.
Newsgroup_UserCorrect answer
Inspiring
September 13, 2007

"oicram" <webforumsuser@macromedia.com> wrote in message
news:fcbdnq$ld2$1@forums.macromedia.com...
> >Using 2 recordsets, one for the master (all records), one for the detail
> >(1
> record)
>
> Can you explain a little more please, what happens next?

You apply a Go to Detail Page serverbehavior to the content from the Master
(list) recordset, then you filter the second recordset with the parameter
from the Go to Detail Page serverbehavior, and apply a "Show if recordset
not empty" to the Detail content

> >Sure, look at this document:
> >Spry basic master and detail region overview and structure
>
> But that does not imply that I should leave my Recorset and move to a Spry
> Data set?

No it doesn't, but you can do master/Detail with Spry

>And that not implys also that I need to have a filter / search also > using
>Spry components?

You could, but again you don't have to,

> Cas I have a traditional recorset but I only want to apply a show/hide
> with
> some possible effects from Spry...

Sure you can, sorry I missed the part "IF and only if, the last solution
cannot be done" and answered anyway.

Joris

September 13, 2007
>Using 2 recordsets, one for the master (all records), one for the detail (1
record)

Can you explain a little more please, what happens next?

>Sure, look at this document:
>Spry basic master and detail region overview and structure

But that does not imply that I should leave my Recorset and move to a Spry Data set? And that not implys also that I need to have a filter / search also using Spry components?
Cas I have a traditional recorset but I only want to apply a show/hide with some possible effects from Spry...

Thanks in advance again, ;)

Inspiring
September 13, 2007
"oicram" <webforumsuser@macromedia.com> wrote in message
news:fcb531$c7g$1@forums.macromedia.com...
> mySQL, php, Dreamweaver, ADDT
>
> I'm studing different possibilities for a Master Detail Page Approach:
>
> How can we have a Master Detail page in the SAME page?

Using 2 recordsets, one for the master (all records), one for the detail (1
record)

> IF and only if, the last solution cannot be done, we can have the Detail
> Page
> in a popup. But when we close the popup without (after editing the
> details) how
> can we refresh the parent window, so the new data can be updated?

Haven't used that method for years (hate popups), not sure if it still works
in current browsers;
with javascript you can access the "opener" of the window

window.opener.location.reload(true);

> Is there a way to make a Master Detail in the same page using show/hide
> properties, so when the user clicks on show more details the details will
> appear. (using spry maybe?)

Sure, look at this document:
Spry basic master and detail region overview and structure
http://livedocs.adobe.com/en_US/Spry/1.4/WS9F9E1959-1FDF-4fa3-A9AC-20E928E07ED1.html

> Thanks in advance

You're welcome

Joris