This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal



Jan 5, 2012, 6:07 PM
37 Posts

Use extlib class into SSJS

  • Category: APIs
  • Platform: All
  • Release: 8.5.3
  • Role:
  • Tags: APPI,SSJS,xpages
  • Replies: 4
Is it possible to use this class of Extension API into SSJS coding?
 
For example :
http://www.timtripcony.com/xpages_ext_api_javadoc/com/ibm/xsp/model/domino/wrapped/DominoRichTextItem.html
http://www.timtripcony.com/xpages_ext_api_javadoc/com/ibm/xsp/model/domino/wrapped/DominoDocument.html  
Jan 5, 2012, 7:08 PM
272 Posts
Re: Use extlib class into SSJS
Hi,
 
these are standard classes and you don't need to install extlib to use them.
 
var dRTItem = new  com.ibm.xsp.model.domino.wrapped.DominoRichTextItem( doc, rtItem );
 
then you can use it like you want, f.e.
 
dRTItem.getContentLength()
 
Hope this helps
Sven
 
Jan 5, 2012, 8:40 PM
37 Posts
Re: Use extlib class into SSJS
Tnx you...
 
but If I have document1 that rappresent my document object in Xpages for the DataSource
 
How Can I use this function:
 
http://www.timtripcony.com/xpages_ext_api_javadoc/com/ibm/xsp/model/domino/wrapped/DominoDocument.html
 
 
for example I need to use document1.getRichTextItem("Body")
but don't work....this generate an error....
 
 
Jan 6, 2012, 9:17 AM
272 Posts
Re: Use extlib class into SSJS
Could you please provide some information what you are trying to do?
What are the errors you receive? Can you post the stack trace?
 
Sven
 
Jan 7, 2012, 2:26 PM
37 Posts
Re: Use extlib class into SSJS
I am into BeforePageLoad...and I would set the content of RichTextItem of my Xpages  upon document1 (NotesXspDocument class) for create
 
the response with history....
 
This is my original post :
http://www-10.lotus.com/ldd/xpagesforum.nsf/topicThread.xsp?action=openDocument&documentId=67F716CEF3121F3D8525797C006061B1 
 

This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal