CodeCharge Studio
search Register Login  

Web Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> General/Other

 Dynamic META REFRESH tag in (linked) header page

Print topic Send  topic

Author Message
beckie

Posts: 16
Posted: 01/25/2005, 5:29 AM

I'm using the same header page in all my other pages. And I want to use this header page to apply dynamic objects to all of these pages, where a META REFRESH tag is one of them.

But since this header page is a linked page, it puts the META REFRESH tag outside the <HTML> and <HEAD> boundaries, but I want it within the <HEAD> boundaries.

Any clue?
View profile  Send private message
Nicole

Posts: 586
Posted: 01/25/2005, 6:00 AM

Bekie,
Create includable page with necessary META tags. To include it inside <head> section switch to HTML tab of normal page, locate a cursor inside <head> and add Includable control assigned to your header page. Includable page is not visible in Design mode, but it works fine on a live page.

_________________
Regards,
Nicole
View profile  Send private message
beckie

Posts: 16
Posted: 01/25/2005, 6:02 AM

Does this mean I have to include the META-page in all of my normal pages? Isn't there a way to put all dynamic stuff in one includable page and use that in every other page?
View profile  Send private message
beckie

Posts: 16
Posted: 01/25/2005, 7:40 AM

One more thing that surprises me...

When I do a browser-reload of the page that contains the META REFRESH tag, the META REFRESH doesn't seem to work anymore.'E.g. it doesn't refresh the page automatically after the timeout.

Any clue?
View profile  Send private message
matheus

Posts: 386
Posted: 01/25/2005, 8:56 AM

The clue in the last topic is:

It must change something in the address or the browser use the cache.

In a servlet I use meta refresh and always pass a parameter with timestamp.

I think it's cache problem.
_________________
Matheus Trevizan

Dynamix Software Ltda.
Blumenau SC Brasil
www.dynamix.com.br
View profile  Send private message
peterr


Posts: 5971
Posted: 01/25/2005, 11:54 AM

beckie,

What Nicole described seems exactly what you asked about.
So the answer to your question "Does this mean I have to include the META-page in all of my normal pages?" is No. And the answer to your question "Isn't there a way to put all dynamic stuff in one includable page and use that in every other page?" is Yes, this is that method.

I'm not sure if this works correctly, but you could try.

Peter
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com
View profile  Send private message
beckie

Posts: 16
Posted: 01/25/2005, 12:53 PM

How can code in a linked page affect the header section of the calling (static) page? And on what kind of event in the linked page should the code be related?
View profile  Send private message
peterr


Posts: 5971
Posted: 01/25/2005, 1:05 PM

I guess if you replace the header section with a linked page then the header section will only be controlled by the includable/linked page since it won't exist in the calling page. At least in theory, because I haven't confirmed that the above solution works at all.
Sorry, I didn't understand your question about event. If you want to change the header section dynamically then you could probably use Before Show event of the included page.
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.