Copy link to clipboard
Copied
I thought it would be eas to find a thread about the subject but just can't seem to find it ....
I am trying to have a Page displaying Master and detail results on on same page .... anyone could help please? Many thanks
Copy link to clipboard
Copied
You could probably using a frameset.
Copy link to clipboard
Copied
That's a pretty vague reply ....
Copy link to clipboard
Copied
It shows like the same page but it isnot.
If you are not familiar with framesets have alook at www.w3schools.com.
It is not very difficult.
At the time of DW CS3 DW was not good in framesets.
I recommend coding it by hand unless DW 5 does a better job on it then at the time of DW CS3.
Copy link to clipboard
Copied
I'm not really looking for html or layout advice ... but some prcise infor about how to handle datasets, repeat regions etc ...
Copy link to clipboard
Copied
Hi valf, I would not recommend using a frameset - it just complicates things and doesn't really help.
I don't think that DW server behaviors supports Master/Detail on the same page - have you tried it? In any case, you could code this by hand. Have the page evaluate the querystring and if the record ID is passed to it, display the details in the detail region. Otherwise, either display a default record or none at all.
You can do this by having the form submit to itself (don't include an action attribute) , or you could get fancy and try doing it with AJAX.
Copy link to clipboard
Copied
I tried a couple of things but nothng worked ... haven't tried the form without action though ...will do ... now I could do do with some sample code ... that would be helpful as I know there are a few options I just don't really know how to implement them 🙂
Copy link to clipboard
Copied
>I tried a couple of things but nothng worked .
Please show us what you have already tried and what exactly is not working.
>haven't tried the form without action though .
There's nothing magical about that...it will produce the same results as having the current page as the action value; the form self posts.