Hi 2008/5/11 <[EMAIL PROTECTED]>: > > i am new to pylons and found the webhelpers are quite handy. i need to > program on other javascript lib(dhtml calendar) which is not include > in webhelpers. if i want to make something reusable other than > hardcode the js everytime, i can think of marco of the template > system or extend the webhelpers myself. > > can anyone please show me some lights? any example or sample > available?
The problem is enterely in presentation layer. Why not resolve it in this layer. http://www.makotemplates.org/docs/defs.html#defs_remotedefs You can write your custom mako library for write your things (form elements whith tooltips, microformats, ...). But maybe a better option make your own jquery plugin. It's a great thing to reuse js code ;-) Excuse my poor english Reggards Javi --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pylons-discuss" 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/pylons-discuss?hl=en -~----------~----~----~----~------~----~------~--~---
