June 5, 2003
9:53 a.m.
On Thu, Jun 05, 2003 at 11:28:06AM +0200, Philippe Lafoucri?re wrote: [...]
I think I can put : **** if data > 10: newNode = widget.getPattern("large") else: newNode = widget.getPattern("small") newNode.appendChild(request.d.createTextNode(str(data))) widget.appendChild(newNode) **** in the wvfactory_foo !?
But wvfactory_foo's third argument is a DOM node, not a generic Widget. There is no 'widget' in a wvfactory_. -Andrew.