in my controller i have this
   @expose()
    def registro(self,**kw):
        Chat_(**kw)
        nuck_= kw['nick']
        b = Chat_.selectBy(nick=nuck_)
        lung = b.count()
        utile = b[lung-1]
        id_ = int(utile.id)
        c = Chat_.select()
        testo_ = ''
        for a in range((id_-20),(id_)):
            riga = c[a]
            nick__= riga.nick
            mess = riga.messaggio
            id__ = str(id_)
            testo_ = testo_ + nick__ + ' Scrive : \n' + mess + '\n'
        return ((""" %s""" % testo_))

i need to pass also a jss how i can pass with the return to the form?

tha...@expose()
    def registro(self,**kw):
        Chat_(**kw)
        nuck_= kw['nick']
        b = Chat_.selectBy(nick=nuck_)
        lung = b.count()
        utile = b[lung-1]
        id_ = int(utile.id)
        c = Chat_.select()
        testo_ = ''
        for a in range((id_-20),(id_)):
            riga = c[a]
            nick__= riga.nick
            mess = riga.messaggio
            id__ = str(id_)
            testo_ = testo_ + nick__ + ' Scrive : \n' + mess + '\n'
        return ((""" %s""" % testo_))

Luca

Regards

Luca
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to