2

I have a rich text class present in OL 3.3 which i am converting to OL5.0 i used the incubator code present in 5.0 but when i am compiling it . I am getting this error. Any idea why this error is coming?

[exec] org.openlaszlo.sc.CompilerError: extensions/views/richinputtext.lzx: 113: Error: Overriding a function that is not marked for override, in line: function updateData () {

[exec] extensions/views/richinputtext.lzx: 182: Error: Overriding a function that is not marked for override, in line: function getText () {

Community
  • 1
  • 1
karthick
  • 11,998
  • 6
  • 56
  • 88

1 Answers1

2

The <richinputtext> component only works in the SWF8 runtime. The component was created for the old LaszloMail application. It does not work in either DHTML or ActionScript based runtimes like SWF10 or SWF11. For Webtop and the email client, Laszlo uses a rich text editor, which is based on a Dojo framework component.

raju-bitter
  • 8,906
  • 4
  • 42
  • 53
  • Which runtime are you targetting? For the SWF runtime, you could create your own rich text component, or even re-use an existing one based on the [Adobe Text Layout Framework (TLF)](http://www.adobe.com/devnet/tlf.html). The TLF will be contributed to Apache Flex as well. – raju-bitter Aug 23 '12 at 10:58
  • I am targetting swf 10 and DHTML – karthick Aug 23 '12 at 11:17
  • Then the only OpenLaszlo way of doing it is to embed the RTE editor in an iFrame. I don't know any open source implementation of a dual runtime RTE for OpenLaszlo 4.x. – raju-bitter Aug 23 '12 at 11:33
  • I want to use one common rich text area for both DHTML and SWF. The Dojo Editor looks ok. Can i customize that ? – karthick Aug 23 '12 at 11:44
  • Ok.. I'll try like this itself. – karthick Aug 23 '12 at 11:45