--> Wednesday, September 17, 2003, 4:22:55 PM, uzoechi@... wrote:
> I have my pages my "SitePage" class which inherited the Page class. in
> SitePage I declared my own writeStyleSheet(), this function gets called
> whenever any page is loaded, I know this cuz of a simple print statement
> in there, yet my pages don't actually have the string returned anywhere in
> it. The crazy thing was it's been working great, and after getting some
> sleep, I come back and this annoying situation happens. Anyone ever
> experienced this? It is currently driving me crazy as my site looks like a
> complete piece of turd! please help.
Does it look like this?
def writeStyleSheet(self):
self.writeln('\t<link rel=stylesheet href=/style.css type=text/css>')
It probably should. ( I added \t for nice source formatting. )
Does the stylesheet you've specified exist?
Did you override a method which leads to writeStyleSheet?
writeHTML, writeHead, etc...
Look at Page.py and learn how it works.
-Kai

Hi, all.
I've been using dAlchemy's FormKit, and until now, all
has been well.
Today, I was writing a servlet to display multiple forms,
and I start getting some weird behavior.
I need to create a number of forms that depend on how
many objects there are to modify. If there are 3, there
need to be 3 forms, one of which will be used.
At first, my servlets were creating extra forms for
each form I create in awake() on every refresh of the
page. This suggests that the forms themselves were
persisting through sleep(), so I added a statement to
delete self._forms, but now the form never seems to be
successful.
Is there a right way to handle variable numbers of
anonymous forms with FormKit, or should I try to
shove all possible objects into one form?
--
Randall Randall <randall@...>
"When you advocate any government action, you must first
believe that violence is the best answer to the question
at hand." -- Allen Thornton

I have my pages my "SitePage" class which inherited
the Page class. in SitePage I declared my own
writeStyleSheet(), this function gets called whenever
any page is loaded, I know this cuz of a simple print
statement in there, yet my pages don't actually have
the string returned anywhere in it. The crazy thing
was it's been working great, and after getting some
sleep, I come back and this annoying situation
happens. Anyone ever experienced this? It is
currently driving me crazy as my site looks like a
complete piece of turd! please help.
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

Community

Help

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

I agree to receive quotes, newsletters and other information from sourceforge.net and its partners regarding IT services and products. I understand that I can withdraw my consent at any time. Please refer to our Privacy Policy or Contact Us for more details