[syKim]
>Hello..
>
>I'm trying html editing tool..
>
>it's nessary handling view handling.
>
>show that code :
>-----------------------------------------------------------------
>class TestEditorKit(HTMLEditorKit):
> def getViewFactory(self):
> return self.TestFactory()
>
> class TestFactory(HTMLEditorKit.HTMLFactory):
> def create(self,e):
> o = e.getAttributes().getAttribute(StyleConstants.NameAttribute)
> if o == HTML.Tag.INPUT:
> return TestFormView(e)
> return HTMLEditorKit.HTMLFactory.create(self,e)
That is a bug in jythonc where the base class is not recognized as a
java class. I just checked in a workaround.
regards,
finn
P.S.
Your mails happens to look like this in my mailprogram:
>DQoNCj5IYXZlbid0IGNvZGVkIHRoaXMsIGJ1dCB5b3UgcHJvYmFibHkgd2FudCB0byBqdXN0IHB1
>dCBUZXN0RmFjdG9yeSBhdCB0aGUgdG9wLWxldmVsIChyZW1vdmUgdGhlIG5lc3RpbmcpLg0KDQo+
>...
Is there anything you can do to avoid that?
|