Skip to main content
This forum is closed to new posts and responses. New discussions are now taking place in the IBM Developer Answers forum.
 
developerWorks
AIX and UNIX
Information Mgmt
Lotus
New to Lotus
Products
How to buy
Downloads
Live demos
Technical library
Training
Support
Forums & community
Events
Rational
Tivoli
WebSphere
Java™ technology
Linux
Open source
SOA and Web services
Web development
XML
My developerWorks
About dW
Submit content
Feedback



developerWorks  >  Lotus  >  Forums & community  >  IBM Sametime Forum

IBM Sametime Forum

developerWorks

  

PreviousPrevious NextNext


Ivo S Rahov 19.Apr.11 07:27 AM a Web browser
Applications development 8.5.1 All Platforms


I'm developing a custom chat client for Sametime, using only the JS stproxy library (not the UI).
I want to send a plain text chat message to the other party which may be using any ST client (standalone, web, or even my own one). But the problem is that I see no option for specifying that the message sent is in plain text.
I see 'isRichText' property in the ChatModel and also in the parameters of the "stproxy.chat.onChatData" but in all these cases it seems to be a getter only. Even if I use 2 client instances developed by me the stproxy server always sends 'isRichText' == true.
I can work around by using at the sender only richtext and escaping the special symbols (needed in the case when the users are sending HTML source code) but it is not a good design approach also it will waste resources for always parsing the text in order to HTML escape it. (while using text area and simply specifying that it is plain text is the right thing to do)

Is this a bug in the stproxy library, or there is some way to set it to false?






Cannot set 'isRichText' to be 'fals... (Ivo S Rahov 19.Apr.11)
. . Cannot set 'isRichText' to be 'fals... (Carl Tyler 19.Apr.11)
. . . . RE: Cannot set 'isRichText' to be '... (Ivo S Rahov 20.Apr.11)
. . . . . . RE: Cannot set 'isRichText' to be '... (Carl Tyler 20.Apr.11)
. . . . . . . . RE: Cannot set 'isRichText' to be '... (Ivo S Rahov 21.Apr.11)
. . . . . . . . . . RE: Cannot set 'isRichText' to be '... (Carl Tyler 21.Apr.11)
. . . . . . . . . . . . RE: Cannot set 'isRichText' to be '... (Ivo Rahov 26.Apr.11)





  Document options
Print this pagePrint this page

 Search this forum

  Forum views and search
Date (threaded)
Date (flat)
With excerpt
Author
Category
Platform
Release
Advanced search

 RSS feedsRSS
All forum posts RSS
All main topics RSS
More Lotus RSS feeds

Resources

 Resources
Forum use and etiquette
Native Notes Access
Web site Feedback

Lotus Support

 Lotus Support
IBM Support Portal - Lotus software
Lotus Support documents
Lotus support by product
Lotus support downloads
Lotus support RSS feeds

Wikis

 Wikis
IBM Composite Applications
IBM Mashup Center
IBM Connections
IBM Connections Cloud Developers
IBM Docs
IBM Forms
IBM Mobile Connect
IBM Sametime
IBM SmartCloud for Social Business
IBM Web Experience Factory
Lotus Domino
Lotus Domino Designer
Lotus Expeditor
Lotus Foundations
Lotus iNotes
Lotus Instructor Community Courseware
Lotus Notes
Lotus Notes & Domino Application Development
Lotus Notes Traveler
Lotus Protector
Lotus Quickr
Lotus Symphony
IBM Web Content Manager
WebSphere Portal

Lotus Forums


 Lotus Forums
Notes/Domino 9.0
Notes/Domino 8.5 + Traveler
Notes/Domino XPages development forum
Notes/Domino 8
Notes/Domino 6 and 7
IBM Connections
IBM Mobile Connect
IBM Sametime
IBM SmartCloud Notes
Lotus Enterprise Integration
Lotus Protector
Lotus Quickr
Lotus SmartSuite