Hi Sirisha,
LS Api is located at (I'm providing a common path for LS installation): C:\Program Files\RedDot\LiveServer\tomcat\webapps\ROOT\WEB-INF\lib The package you need is rdls-rde-9.0.0.10.jar (Or the your LS version), this package includes the necessary LS classes like CoaSession. I have developed IoLets for LS and you can use hot deployment or manual deployment. For hot deployment you need to drop your class (e.g jar file) in a LS folder and using LS administrative settings load the class and methods. LS API documentation should be included in the LS installation, for example in my case is located at: http://server/LS40_HtmlDocs/docu/en/openapi/ Hope this helps! Cesar [email protected] Oshyn - OpenText Web Content Management Experts - www.oshyn.com <http://www.oshyn.com/> From: [email protected] [mailto:[email protected]] On Behalf Of sirisha reddy Sent: Thursday, May 14, 2009 7:03 AM To: Cesar Intriago Subject: [reddot] RDLS Open API Hi, Any help please.slightly desperate. Thnx in advance, Sirisha. _____ From: sirisha <[email protected]> To: RedDot CMS Users <[email protected]> Sent: Thursday, May 14, 2009 1:37:29 AM Subject: RDLS Open API Hi, I am a newbie to RDLS API programming and just need some help. I think its frustrating to answer to basic stuff but any help would be very thankful. Is there any document where i can find how to write a sample weblet and add it to live server and then call it. I am assuming that we create a class file and then add it to liveserver using the hot deployment configuration and then call it from the URL. please correct me if i am wrong. But what i am not able to figure out is how to create class files. i got this sample code from the help and i saved it as .java and tried to create the java class. But i think i have to add certain packages to create the class files but i cant find the packages in LiveServer installation. Can you guys please guide me where i can find the packages. Please do correct me if this is the wrong method to create the class file also. public final class MyWeblet extends WebletAdapter { public final void handleRequest( CoaSession session, WebletRequest request, WebletResponse response ) throws Exception { StringBuffer html = new StringBuffer(); html.append("<HTML><BODY>\n"); html.append("Hello World!\n"); html.append("</BODY></HTML>\n"); response.getHttpServletResponse().setStatus(200); response.printString( html.toString(), false, "text/html" ); } } If possible can you share a complete basic sample code that could help me understand how they work. thanks, Sirisha. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "RedDot CMS Users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/RedDot-CMS-Users?hl=en -~----------~----~----~----~------~----~------~--~---
