Re: Widget Rendering Issue

2008-02-15 Thread Zack
Well, as usual, I'm a doofus. I was inheriting from a widgets.Textarea and my render method above was missing the "value" field. Now some may ask, why exactly I was inheriting from the Textarea widget, and that would be an excellent question to which I have no good answer. Anyhow. Hopefully I'll g

Re: Widget Rendering Issue

2008-02-15 Thread Zack
That was an amazingly quick and helpful reply. Thanks Malcolm. I'd be happy to write it up as soon as I have a solid idea of what's happening. On Feb 16, 1:21 am, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > On Fri, 2008-02-15 at 22:13 -0800, Zack wrote: > > So, > > > I'd like to make a custom

Re: Widget Rendering Issue

2008-02-15 Thread Malcolm Tredinnick
On Fri, 2008-02-15 at 22:13 -0800, Zack wrote: > So, > > I'd like to make a custom widget based on starbox (http:// > www.nickstakenburg.com/projects/starbox/). Basing this on the TinyMCE > example, but I am having some major difficulties rendering it. Namely > getting my TEMPLATE_STRING_IF_INVA

Re: Widget Rendering Issue

2008-02-15 Thread Zack
Also forgot to mention that from the shell, I can easily go: sw = StarboxWidget() sw.render(name='test') and it outputs a html string like I'd expect. On Feb 16, 1:13 am, Zack <[EMAIL PROTECTED]> wrote: > So, > > I'd like to make a custom widget based on starbox > (http://www.nickstakenburg.co

Widget Rendering Issue

2008-02-15 Thread Zack
So, I'd like to make a custom widget based on starbox (http:// www.nickstakenburg.com/projects/starbox/). Basing this on the TinyMCE example, but I am having some major difficulties rendering it. Namely getting my TEMPLATE_STRING_IF_INVALID on the form when trying to render it. 1) Is there a goo