Dear OpenMeetings Developers,
We would like to upload a static PDF file from a Menu item. This file
will serve as the background on whiteboard.
Current file upload occurs via the LZX class 'uploadWindowExplorer',
which in turn calls "servletName:'file.upload'".
Is this used to create an HTTPServletRequest, which is handled in the
method 'handleFileUpload' of Java class 'UploadController'. Is that
correct?
We are seeking a pointer to help us understand how or where the
Whiteboard is referenced or accessed for the file upload directly. We
would like to use that code snippet to:
a. bypass the popup dialog
b. without any user/moderator interaction
c. from the Menu button 'onclick' handler, directly load a server-local
file from known server path, to the whiteboard.
d. No conversion needed, as it is already PDF.
Is there a specific method and directory we need to use?
---
Context code:
<class name="conferenceMenubar" .... >
<view name="itemlist" . . . >
// In Itemlist of conferenceMenubar.lzx
<graphPdfUpload name="_graphPdfbtn"
. . . . />
. . .
</view>
</class>
<class name="graphPdfUpload" extends="view" height="34"
width=. . . visible= ". . . "
>
. . . .
<handler name="onclick" >
// Call the File Upload servlet code with parameters or
//configured values for:
// a. fixed static filepath and filename of PDF Graph paper
// b. path or handle for whiteboard display
// c. (Perhaps) servletName:'file.upload'
</handler>
. . .
<labelTooltip name="_textToolTip" labelid="1684" multiline="false" />
</class>
--
Sincerely,
Susheel Jalali
Coscend Communications Solutions
www.Coscend.com
------------------------------------------------------------------
CONFIDENTIALITY NOTICE: See 'Confidentiality Notice Regarding E-mail
Messages from Coscend Communications Solutions' posted at:
http://www.Coscend.com/Terms_and_Conditions.html