Hey witty folks,
after updating to your recent changes after releasing Wt-3.2.2p1,
the problem stated below seems to be solved. I did not manage to
produce the error again.
Sorry if I wasted anybody's time on that one.
Yet another question:
Do you intend to make TinyMCE 3.5.6 work under Wt as well?
I updated to that version, but when I open the dialog my WTextEdit
is in, another script error occurs. This time, it fails inside
tiny_mce.js, but I cannot really tell why that is. It seems that
TinyMCE is trying to set the onpageload function for an object which
is set to 'undefined'.
If you can come up with a hint on how this could work as well, that
will be just great.
Regards
Marc
> Hi,
>
> I've come across a problem which can be seen when putting a WTextEdit
> into a WDialog in Wt 3.2.2-p1 (using TinyMCE 3.5.0.1).
>
> To begin with, the following code will stumble upon the problem:
>
> auto dlg = new WDialog("Editor");
> dlg->setMinimumSize(640, 480);
> dlg->resize(640, 480);
>
> new WTextEdit("testing", dlg->contents());
>
> dlg->show();
>
> When I run this, the dialog is not shown (while the blocking layer
> for the site content below the dialog is shown).
> I also tried without resize() and setMinimumSize(), this doesn't
> seem to change anything. Putting WTextEdit into a WVBoxLayout was
> not successful either.
>
> Debugging the scripts in IE >= 8 tells me there is an error in the
> WTextEdit::updateDom() javascript starting at line 209 when
> "obj.render(...);" is called. The error text is "'undefined' is null
> or not an object", pointing at "obj".
>
> Am I doing something wrong here, and how can I fix this?
>
> Kind regards,
> Marc
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest