[Bese-devel] Re: Two patches for the window component

Aleksandar Bakic a_bakic at yahoo.com
Fri Feb 17 15:29:32 UTC 2006


> > so now we have inline-javascript, javascript and
> > first-inline-javascript, isn't this a bit much? 
> yes, it's ugly.

FWIW, I call these in render methods:

(defun require-css (str)
  (pushnew
   str (stylesheet (context.window-component *context*)) :test #'equal))

(defun require-js (str)
  (pushnew
   str (javascript (context.window-component *context*)) :test #'equal))

(defun require-ijs (str)
  (pushnew
   str (inline-javascript (context.window-component *context*)) :test #'equal))

Alex

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



More information about the bese-devel mailing list