--- Aubin Paul <[EMAIL PROTECTED]> escreveu: 
> On Mon, Feb 23, 2004 at 05:16:46AM -0300, Gustavo Sverzut Barbieri
> wrote:
> > Maybe more wrapper functions in web_types.py? Like:
> > 
> > 
> > def printMessage( self, level, message ):
> >    self.res += '<p>'
> >    if level != 'NORMAL':
> >       self.res += '<b>' + _( level ) + '</b>: '
> >    self.res += message
> > 
> > so fv.printMessage( 'ERROR', 
> >                     _('no program found on %s at %s') % 
> (chan,start) )
> > 
> > should work
> 
> 
> Well, printMessage() should probably return things so we could just
> do:
> 
> fv.res += printMessage('thing',...)
> 

Okay too.

Also, notice 2 new web_types.py methods, they should be used to print a
list of messages. The -Finish() version also prints the page-end.

BTW, why don't we have an unique page end? There's foot, links,
searchform, ...

Gustavo

______________________________________________________________________

Yahoo! Mail - O melhor e-mail do Brasil! Abra sua conta agora:
http://br.yahoo.com/info/mail.html


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to