I'm refactoring an existing application and in a certain page I want
to use a different header and footer but I can't make it work... :S
I have created a new page just to test:
==BOF==
<!--#include file="ajaxed/ajaxed.asp"-->
<%
set page = new AjaxedPage
with page
.title = "Test"
.headerFooter = array("pageHeader", "pageFooter")
.draw()
end with
%>
<% sub pageHeader() %>
<html>
<head>
<title>Oh yeah!</title>
<% ajaxedHeader(array()) %>
</head>
<% end sub %>
<% sub main() %>
<body>
<h1>Yeah babe I'm a classic asp app using a custom header and
footer! And some say I'm obsolete! </h1>
</body>
<% end sub %>
<% sub pageFooter() %>
</html>
<% end sub %>
==EOF==
This code returns a boring "type mismatch: 'ajaxedHeader'"
--
You received this message because you are subscribed to the Google Groups "asp-ajaxed" group.
To post to this group, send email to asp-a...@googlegroups.com.
To unsubscribe from this group, send email to asp-ajaxed+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/asp-ajaxed?hl=en.
You're absolutely right. I didn't notice that. That's what happens
when you get addicted to the "include functions/subs" thing and forget
the benefits of classes!
Tenorio.
> > asp-ajaxed+...@googlegroups.com<asp-ajaxed%2Bunsubscribe@googlegrou ps.com>