Fórum

ChatPortlet - Problems with the ChatBox

thumbnail
Hannes Restel, modificado 16 Anos atrás.

ChatPortlet - Problems with the ChatBox

New Member Postagens: 16 Data de Entrada: 10/09/07 Postagens Recentes
Hi everyone!

I'm using the ChatPortlet! This is really nice.

I already installed Openfire (the chat server) and the portlet is working great..

Now I want to change it. With the 'view.jsp' there is no problem, but the popup-box that appears during a chat cannot be changed (i.e. the source code cannot be modified)..
The problem is that the code for this popup window is 'hard coded' in a java script file ('/ROOT/html/js/liferay/messaging.js') and that the 'messaging.js' is not using the code and the HTML elements from 'chatbox.jsp' although it should...
(The chatbox.jsp was changed on November 30th on the SVN).

How can I use the 'chatbox.jsp' for displaying the popup chat box instead of the hard coded javascript code?

Thanks!


----
My dear developers: please please please please do comment all your code!
An API without any JavaDoc is completely worthless!