[aida] TimyMCE integration and RSS generator

nicolas petton petton.nicolas at gmail.com
Thu Oct 25 20:04:40 CEST 2007


Le jeudi 25 octobre 2007 à 19:02 +0200, nicolas petton a écrit :
> Le jeudi 25 octobre 2007 à 18:52 +0200, Nicholas Moore a écrit :
> > Nicolas,
> > 
> > You need to tell WebRichEditor where to find your javascript. I have
> > a /jscripts/ directory at the same level as my /vw/ directory. My
> > method looks like this:
> > 
> > WebRichEditor >> ensureJavascriptForEditorInHeader
> >     | page url headerValue |
> >     page := self app.
> >     url := '/jscripts/tiny_mce/tiny_mce.js'.
> >     headerValue := ' src="', url, '" language="JavaScript"
> > type="text/javascript"'.
> >     (page headers contains: [:each | each key = 'script' and: [each
> > value = headerValue] ]) ifFalse: 
> >         [page addHeader: 'script' value: headerValue.
> >         page addJavascript: self richEditorInitScript].
> > 
> > and then is called in my viewMain like this:
> > 
> >     element cell add: (self smallText: 'Text: ' attributes: #bold).
> >     element cell 
> >         addRichEditorAspect: #body
> >         for: self newTopic
> >         size: 50 @ 20.
> > 
> > (See my post of 12/9/07 where I submitted a zip file with code for a
> > WebForum I have developed).
> 
> Thank you Nicholas :)
> Where is your blog ?
sorry, I didn't notice it was on the mailing-list...

Nicolas
> 
> Nicolas
> > I do not know about RSS and AIDA.
> > 
> > Nicholas
> > 
> > nicolas petton wrote: 
> > > Hi,
> > > 
> > > "e addRichEditorAspect: #contents for: document."
> > > Does not work. I still have a texterea. 
> > > 
> > > What am I missing ? Where is the code of TinyMCE in AIDA ?
> > > 
> > > BTW, is there a RSS generator for Aida ? If not, how can I generate
> > > RSS ?
> > > 
> > > Cheers,
> > > 
> > > Nicolas
> > >   
> > > 
> > > ____________________________________________________________________
> > > 
> > > _______________________________________________
> > > Aida mailing list
> > > Aida at aidaweb.si
> > > http://lists.aidaweb.si/mailman/listinfo/aida
> > >   
> > 
> > -- 
> > 
> > 
> > Nicholas J Moore
> > +44 845 632 1966
> > +33 555 092 140
> > +33 682 904 357
> > TSR International
> > Thought Leaders in Communication & Complexity
> > www.TSR-i.com
> > 
> > 
> > 
> > 
> > _______________________________________________
> > Aida mailing list
> > Aida at aidaweb.si
> > http://lists.aidaweb.si/mailman/listinfo/aida
-- 
Nicolas Petton
http://nico.bioskop.fr
             ___
           ooooooo
          OOOOOOOOO
         |Smalltalk|
          OOOOOOOOO
           ooooooo
            \   /
             [|]
--------------------------------
Ma clé GPG est disponible ici :
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xE788C34D

-------------- section suivante --------------
Une pi�ce jointe non texte a �t� nettoy�e...
Nom: non disponible
Type: application/pgp-signature
Taille: 189 octets
Desc: Ceci est une partie de message
	=?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=
Url: http://lists.aidaweb.si/pipermail/aida/attachments/20071025/b83966d6/attachment.sig 


More information about the Aida mailing list