-
1. Re: <rich:editor> within <rich:popupPanel> broken in Chrome browser [RF 4.3.1.Final]
michpetrov Apr 16, 2013 5:38 AM (in response to gmlussi)There might be a problem with JavaScript trying to work with the "invisible" editor, but that's just a guess.
Anyway, this works:
<a4j:commandButton onclick="#{rich:component('popup')}.show()" value="Show Popup" render="editor"/> <rich:popupPanel id="popup" autosized="true"> <rich:editor id="editor" /> </rich:popupPanel>
-
2. Re: <rich:editor> within <rich:popupPanel> broken in Chrome browser [RF 4.3.1.Final]
gmlussi Apr 17, 2013 10:39 AM (in response to michpetrov)Thanks for the reply, but no luck here with that suggestion!
I take it that before you tried the above change it failed to work in Chrome, but after you changed it to render "editor" it now works? I ask because I tried what you suggested, but I'm still seeing exactly the same (broken) behaviour in Chome, unfortunately...
-
3. Re: <rich:editor> within <rich:popupPanel> broken in Chrome browser [RF 4.3.1.Final]
michpetrov Apr 17, 2013 10:50 AM (in response to gmlussi)1 of 1 people found this helpfulI also made the show() happen on click rather than on complete. Oncomplete happens after the render whereas onclick happens before. Does it not work for you with onclick?
-
4. Re: <rich:editor> within <rich:popupPanel> broken in Chrome browser [RF 4.3.1.Final]
gmlussi Apr 17, 2013 11:26 AM (in response to michpetrov)Ah, I'm completely blind... changing it to onclick did in fact fix the problem for me, too. And in production code, after fiddling with the render list, I can get the same effect using that work around.
Thanks again!