Re: ToscaWidgets Tabber

2007-10-20 Thread Alberto Valverde

Philip Cooper wrote:
 I've started using some Toscawidgets and everything looks fine so far.
 
OT: I've used them in TG and think that pylons should have some form 
 of the widgetbroser.

I have a prototype lying around somewhere which haven't released. This
is something in my TODO list...
 
 I even easy_installed twTinyMCE and it ran fine (haven't found docs or 
 examples on attributes or options thought).
 
 Has anyone used twTabber?  It looks like an MIA widget.

MIA?

 I found the 
 project on the turbogears trac but was wondering if there is a reason 
 it's not released like twForms twTinyMCE twMochikit et. al.

No good reason really... I just haven't taken the time to do it.
 
 On a related issue, I use Mochikit for some asnyc stuff.  Mochikit is 
 built on Prototype and ${h.javascript_include_tag(builtins=True)} brings 
 in both prototype and scritaculous.  Anyone have practical experience on 
 how to limit all the reduddant js that starts flying around?

TW takes care of making sure js is not duplicated as long as all js is
wrapped in JSLinks. If you manually include script tags it can't
detect it yet. An experimental way I'm trying out using lxml to inject
script and style tags (as described in Ian's blog) could easily
check for dupes. However, it's not implemented yet.

Alberto

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
pylons-discuss group.
To post to this group, send email to pylons-discuss@googlegroups.com
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
-~--~~~~--~~--~--~---



Re: FormEncode form validators

2007-10-20 Thread Ian Bicking

iain duncan wrote:
 On Wed, 2007-17-10 at 13:20 -0500, Ian Bicking wrote:
 FormEncode is overdue for a release, but before that a request: there 
 has been some mention that FormEncode should ship more useful form 
 validators.  For instance, FieldsMatch is an example of something 
 currently shipped, but about the only example.  Other examples would be 
 helpful.  Probably also something generic to do easy whole-dict 
 validation would be quite helpful.

 Do people have classes or recipes they've written that are general 
 enough to include directly in FormEncode?  If so, please contribute! 
 Realistic examples in the docstrings will be very helpful.
 
 I made one that uses Tidy and (optionally) beautiful soupt for user
 submitted html. I think it's not really anything others haven't done
 before, but perhaps it would be useful. Would you be interested in
 getting that if it's ok to have a validator depend on tidy lib?

Sure, maybe I'd just put it in a separate module, and the dependency 
would be optional.


-- 
Ian Bicking : [EMAIL PROTECTED] : http://blog.ianbicking.org
 : Write code, do good : http://topp.openplans.org/careers

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
pylons-discuss group.
To post to this group, send email to pylons-discuss@googlegroups.com
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
-~--~~~~--~~--~--~---



Re: temporary file deletion

2007-10-20 Thread David Geller

I just noticed a very good description of generating graphics to the 
browser *without* files by James Phillips, which is another (perhaps 
better) solution to the exact problem I was trying to solve:

http://wiki.pylonshq.com/display/pylonscommunity/Adding+graphical+output



--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
pylons-discuss group.
To post to this group, send email to pylons-discuss@googlegroups.com
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
-~--~~~~--~~--~--~---