[opencms-dev] using A_CmsListDialog, where is all the JavaScript?

Michael Moossen m.moossen at alkacon.com
Wed Aug 10 09:38:10 CEST 2005


Hi, Alexander!

  i am glad to hear somebody is using it :)
  please do not hesitate to send feedback: comments, suggestions, requirements! 

  if you use the A_CmsListDialog class for writing your own dialog, for instance
MyListDialog, your JSP page should look just like:
<%@ page import="my.package.MyListDialog" %>
<%
MyListDialog wp = new MyListDialog(pageContext, request, response);
wp.displayDialog();
%>
this will call the CmsHtmlList.getJs(Locale) method, which includes the needed
js code, for the list.
but there is also aditional js code from the admin framework, for instance for
handling helptext which is included by the CmsToolDialog.pageHtmlStyle(int,
String, String) method.

hth
-- 
Regards
Michael Moossen
Alkacon SOftware GmbH - The OpenCms Experts

http://www.alkacon.com



Quoting Alexander Wallace <aw at avatartechnology.com>:

> Hi there... I'm starting to use the widget classes to write my own UI inside
> 
> of opencms workspace... I have a list being built and filled up succesfully,
> 
> but it dependes on several javascript functions a for mouse over and list 
> actions... Can someone give me a hint as to how to make my UI classes include
> 
> or cause those to be included, or any other way to get those functions?
> 
> Thanks!
> 
> 
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://mail.opencms.org/mailman/listinfo/opencms-dev
> 


----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.




More information about the opencms-dev mailing list