[Seaside] javascript function with seaside callback [Fwd:
generating a script containing html]
SainTiss
saintiss at gmx.net
Wed Jul 23 07:29:55 UTC 2008
Alternatively, I think the problem would be solved if the following is
possible:
can I generate a javascript function, the body of which invokes a seaside
callback?
Thanks,
Hans
---------- Forwarded Message ----------
Subject: generating a script containing html
Date: Tuesday 22 July 2008
From: SainTiss <saintiss at gmx.net>
To: "Seaside - general discussion" <seaside at lists.squeakfoundation.org>
Hi,
I'd like to generate the following:
<script>
var homeMenu=new Array()
homeMenu[0]='***myLink***'
</script>
where basically ***myLink*** should be generated by means of
html anchor with:
The problem is that the following doesn't work:
html script with: 'var homeMenu=new Array()\nhomeMenu[0]=''' , (html anchor
with: 'myLink')'.
Because that just generates the string representation of an anchorBrush.
What's the proper way to do this?
Thanks,
Hans
--
If we cannot live so as to be happy, let us at least live so as to deserve it
-- Immanuel Hermann Fichte
A liberal is a person whose interests aren't at stake at the moment
-- Willis Player
Ark Linux - Linux for the Masses (http://arklinux.org)
Hans Schippers
Aspirant FWO - Vlaanderen
Formal Techniques in Software Engineering (FoTS)
University of Antwerp
Middelheimlaan 1
2020 Antwerpen - Belgium
Phone: +32 3 265 38 71
Fax: +32 3 265 37 77
-------------------------------------------------------
--
A liberal is a person whose interests aren't at stake at the moment
-- Willis Player
Hans Schippers
Research Assistant of the Research Foundation - Flanders (FWO - Vlaanderen)
http://www.win.ua.ac.be/~hschipp/
Formal Techniques in Software Engineering (FoTS)
University of Antwerp
Middelheimlaan 1
2020 Antwerpen - Belgium
Phone: +32 3 265 37 88
Fax: +32 3 265 37 77
More information about the seaside
mailing list