[Bese-devel] Re: javascript suppression?
Attila Lendvai
attila.lendvai at gmail.com
Fri Jul 14 10:46:28 UTC 2006
On 7/14/06, Marco Baringer <mb at bese.it> wrote:
>
> hbabcockos1 at mac.com writes:
>
> > Hello,
> >
> > If I define a component as:
> >
> > (defcomponent flashcard (simple-window-component)
> > ((content :accessor content
> > :initform nil))
> > (:default-initargs
> > :title "Test"
> > :content-type "text/html; charset=utf-8;"
> > :javascript nil))
> >
> > When I look at the generated html I see that it adds both "dojo.js"
> > and "per-application.js". I thought that setting ":javascript nil"
> > might suppress javascript, but apparently it does not. Is there a way
> > to specify that you want a "pure" HTML app? I'm using "<ucw:simple-
> > form" for my forms so I don't think I need javascript.
or you may look around in an ajax branch near you... :)
i had some pending changes that i committed. now you can have your own
window like this:
(defcomponent my-window (basic-window-features-mixin window-component)
())
and it'll know everythng that simple-window knows except it doesn't add the
default js includes.
--
- attila
"- The truth is that I've been too considerate, and so became
unintentionally cruel...
- I understand.
- No, you don't understand! We don't speak the same language!"
Ingmar Bergman - Smultronstället (Wild Strawberries)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/bese-devel/attachments/20060714/82965453/attachment.html>
More information about the bese-devel
mailing list