HTML Toolbar in Email Compose with Java WebDynPro

Hi Friends,
We are working on a email functionality requirement and we are having a requirement to add a toolbar in the Email Compose Box. For ex. that toolbar contains Bold, Italic, Underline, and other HTML stuff. i.e. to decorate the text in compose box with HTML features.
but we dont have any standard UI element in Java webdynpro to use.
Can anyone suggest me the solution or if any one come across with such scenarios.
Thank you very much in advance.

Hello Srikanth
Please refer to this featured <a href="/people/anilkumar.vippagunta2/blog/2007/02/01/office-control-in-webdynpro--i. Though this is not the direct solution to your problem, but I think you can take the hint to develop your compose box with toolbar containing different menus. Please have a look at the final application showcased in the weblog which u can embed in your compose- box. I hope you are getting me.
Regards
Kapil

Similar Messages

  • Image not showing in Abobe integrated with Java WebDynPro

    Hi All,
    Image is not showing in Abobe integrated with Java WebDynPro.
    I did the following:
    Added the image field in adobe form. in URL value set the value of context node binding. Binding set to none and size set to Use Original Size.
    Then in script editor i wrote
    this.value.image.href = xfa.resolveNode(this.value.image.href).value;
    at innitialize , javascript and client.
    I can see the image from the same url context value if image field is created directly in WebDynPro View.
    Can anyone suggest what is missing?
    Thanks and Regards,
    Nuzhat

    Try changing your line of code for this one
    this.value.image.href = xfa.record.Images.URL;
    Check that the url passed by scripting is correct with a messageBox for example.
    You can also try assigning a hardcoded url at scripting level to check if its works.
    Best regards, Aldo.

  • Need special encoded characters in an Email subject with java 1.3.1_02

    I need to find a way to construct an Email through java with Subject lines built using characters from various Asian encodings. Such as Shift-JIS, Chinese Big5, etc.
    These encodings cannot be in UTF-8 format and must remain in the native character set.
    For testing I have an HTML file constructed using a single line of text with Shift-JIS characters. This file shows properly in web browsers under the Shift-JIS encoding view, and when used to create the body of an email it works perfectly through the DataHandler. However, I cannot get any java Reader to pull the same stream of characters into the Subject of the email. The Subject is always garbage no matter what I do.
    Here is a small code sample with the relevant lines:
    Session session = Session.getDefaultInstance(System.getProperties(), null);
    MimeMessage reSend = new MimeMessage(session);
    Transport ship = session.getTransport();
    BufferedReader s = new BufferedReader(new InputStreamReader(new FileInputStream("C:\\JavaPrograms\\Converted\\JISConv.html"), "SJIS"));
    String resub = s.readLine();
    s.close();
    reSend.setSubject(resub);
    DataHandler collect = new DataHandler(new FileDataSource("C:\\JavaPrograms\\Converted\\JISConv.html"));
    reSend.setDataHandler(collect);
    ship.send(reSend);If I use the "SJIS" encoding in the InputStreamReader above, all characters are shown as "?". If I delete it entirely and use the system default, I get half of the characters and the rest are garbage. I can generate either of those results using various other Japanese and Western encoding definitions.
    I have tried using the above code, also DataHandlers for the Subject, FileReader directly to a String, ByteArrayInputStreams, and StringBuffers. So far everything I try ends up at the same result.
    Can anyone help me out? I really need this to work. If I can get this one encoding to work, then I should be able to program case switches for the other encodings.
    Thanks kindly!
    Kurt Jackson

    First this is an issue with javamail and not with java.
    What makes you think that the mime standard allows what you want to do?
    Both of your 'tests' have been done using alternatives which do support alternative encodings.
    These encodings cannot be in UTF-8 format and must remain in the native character set.That seems rather unlikely to me. Email is transported using one encoding. Certainly SMTP uses only ascii. So what ever you put in there is going to be ASCII no matter what you do to it. I suppose something at the end might try to read it using an alternative encoding but then what happens when someone really wants to send those ASCII characters?
    Mime, I believe, is built on SMTP. And the subject line is still SMTP and thus ASCII.
    Here is one link that covers mime (you might want to check the backing references though.)
    http://www.mindspring.com/~mgrand/mime.html
    I believe there is some sort of official or unofficial standard for doing what you want. I would suggest that you start by getting that first. I would suspect JavaMail doesn't support it.
    Once you have a standard to follow you have the following choices..
    - Modify JavaMail directly to support this (this then becomes a non-distributable solution.)
    - Extend JavaMail do support this. This might or might not be possible.
    - Write your own implementation (don't use JavaMail.)
    - Find another solution from another source that already implements this.

  • HTML tags  in emails sent through java

    Hi all,
    I am trying to send an email through my java code. I have set the content type of email to html. It is working fine for the html tags like <tm>,<head>,<table>,<td> etc but it is not working for the tabs whic set color ,border etc. <font color=#fffd"dd> ,<table border ="10"> etc
    How to enable this tags in java. What kind of API's i need to use for it.
    Hope my question is clear to all of you.
    Any pointers in this regard will be very helpful.
    Thanks,
    Abhishek chowdhury

    I am trying to send an email through my java code.No problem. As long as you construct the message correctly it should work.
    I have set the content type of email to html. It is working fine for the html tags like <tm>,<head>,<table>,<td> etc but it is not working for the tabs whic set color ,border etc. <font color=#fffd"dd> ,<table border ="10"> etcSo you haven't constructed them correctly.
    How to enable this tags in java.Java neither knows nor cares what is in a message body that it is sending. It is up to you.
    What kind of API's i need to use for it.I doubt that you need any APIs. Just construct the HTML correctly.
    Hope my question is clear to all of you.It's not, because the problem has nothing to do with Java and everything to do with your programming.

  • Adobe Flex with Java webdynpro

    Hello,
    I like to use Adobe flex applications for my webdynpro java projects which then later I can use in portals. I need some learning materials for that. I was looking from google but I haven't found many sources. if you guys can help me out then It would be great.
    Regards,
    NK

    Hi Bala,
    Adobe Flex is not similar to Java Webdynpro. You can get more information from the Adobe Webpage and also a trial version. Adobe Flex is part of Visual Composer Compiler capabilities. At SAP TechEd in Munich was an interessting demo of rendering webdynpro with Flex during the Demo Jam. For more information you can download the Demo Jam Video <a href="http://www.sapteched.com/emea/activities/videos/DemoJam.wmv">here.</a>
    Best Regards,
    Marcel

  • BPM Integration with Java webdynpro

    Hi All,
       I am new in BPM forum . I want to integrate one JWD DC to anather JWD (Java webdynpro) so i need to pass one value to anather Dc using BPM .
    My Scenario is..
      I want to pass one unique value from one component (person who is created the  unique value l) to anther component (to fetch that value from second level in portal ) and showing in Portal work flow  task as LEAVE Request or approval scenario .
    Thanks
    Sudhir

    Hi Sudhir,
    from your explanations it is not completely clear which of the following scenarios applies to you:
    1) Both WebDynpro Components are connected to each other via WebDynpro Component dependencies. This would mean that a user is able to directly navigate from one to the other. A BPM process is not involved at all. In this case, you might consider to use WebDynpro context mapping or passing an URL parameter.
    2) Each WebDynpro Component is assigned to a dedicated BPM Task which again is integrated into a BPM process. Users would open the WebDynpro Components as Tasks from the UWL without a direct navigation between the components. In this case, you have to use a process context and context mapping in BPM to transfer the value between the WebDynpro components.
    Best regards,
    Stefan

  • RoboHelp 8 HTML - Toolbar Button: Email with Link to Topic

    Realized this would be better on this forum than the WebHelp forum:
    Within a skin, I'd like to create a custom email button on my toolbar that would allow a user to email a direct link to a specific file in my RoboHelp project (a Share this Topic feature).
    I thought it might be something like this:
    window.location=('mailto:[email protected]?Subject=Useful Step-by-Step&body=This Step-by-Step may be helpful for you: ' + window.location)
    but that just calls the toolbar, not the topic; the focus isn't on the correct window.
    I have the following code that I could imbed on each topic page, but for consistency, I'd like to have this functionality on the toolbar instead. Has anyone done this or come across this before?
    <p><script type="text/javascript">
    var mailSubject = 'Useful Information';
    var mailBody = 'This page might help: ' + location.href;
    var mailDisplay = 'Click here for a demo.';
    document.write(
    '<a href="mailto:[email protected]'
    + '?subject=' + escape(mailSubject)
    + '&body=' + escape(mailBody)
    + '">' + mailDisplay + '</a>'
    );</script></p>

    For a number of reasons we have decided to take a different approach.
    I was trying to include a button in the toolbar for launching the email program to send feedback and comments home in a prepopulated mail subject and body.
    I think instead, we can add this as a link in the master page using a modification of Peter's snippet 38 "Email this topic". This rsolves all the problems i was having (i am a novice tweaker not a scripter or coder) and we are able to get our first skin ready in the new Help in time for the forthcoming release candidate.
    However, my colleague also wants to add another link using this snippet as origianlly intended, but the body includes a link to the topic file, which in our case is stored locally. We are using webhelp in local product installations rather than via a file server. Obviously the link doesn't help anyone operaitng on another machine.
    How can the Javascript be modified to actually send the topic file itself?
    TIA
    Rob

  • Issue with Java WebDynpro iView Cannot find JSP file: WDC_ControlJRE.jsp

    Running NW 7.0 SP16...
    We have a WD Java app which runs fine on its own.
    But I created an iVIew using the SAP WD App iview template.
    The iview throws an error when attempting to run/preview.
    The default trace file says:
    [EXCEPTION]
    com.sapportals.portal.prt.component.PortalComponentException: Cannot find JSP file: WDC_ControlJRE.jsp
    at com.sapportals.portal.prt.core.broker.JSPComponentItem.getComponentInstance(JSPComponentItem.java:139)
    at com.sapportals.portal.prt.core.broker.PortalComponentItemFacade.service(PortalComponentItemFacade.java:355)
    at com.sapportals.portal.prt.core.broker.PortalComponentItem.service(PortalComponentItem.java:934)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:435)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:527)
    at com.sapportals.portal.prt.component.AbstractComponentResponse.include(AbstractComponentResponse.java:89)
    at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:232)
    at com.sapportals.portal.appintegrator.Utils.includeJSP(Utils.java:220)
    at com.sapportals.portal.sapapplication.webdynpro.wdclient.JavaRenderLayer.render(JavaRenderLayer.java:34)
    at com.sapportals.portal.appintegrator.LayerProcessor.processContentPass(LayerProcessor.java:219)
    at com.sapportals.portal.appintegrator.AbstractIntegratorComponent.doContentPass(AbstractIntegratorComponent.java:117)
    at com.sapportals.portal.appintegrator.AbstractIntegratorComponent.doContent(AbstractIntegratorComponent.java:98)
    at com.sapportals.portal.prt.component.AbstractPortalComponent.doPreview(AbstractPortalComponent.java:240)
    at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:168)
    at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
    at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
    at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
    at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:645)
    at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
    at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)
    at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
    at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:524)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:407)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
    at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
    at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
    at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
    at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
    Any ideas?
    Regards

    Killing due to no answers.

  • How to Get and Set personalization data from Iview with Java Webdynpro ?

    Hi All,
    I'm trying to get Iview properties from an Iview in the portal, did anyone knows how to do this?
    sample caode?
    Thanks,
    AmitY

    You can use PCD API to access iView properties
    Check this link
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/314ae7a5-0c01-0010-c198-9c7c5e8cee46
    /people/daniel.wroblewski/blog/2006/08/15/pcd-ii-creating-portal-objects

  • Java Webdynpro

    Hi,
    I am developing java Webdynpro and whould like to know what do I need to run at a customer who does not have SAP. I would like to develep With java Webdynpro, and with webservices.
    Also what will the cost be for such a instalation

    Your question is not concerned with SAP Business One. This is a forum for SAP Business One.
    Please mark your thread as Closed and post it to the appropriate forums for reply.

  • Java webdynpro is compatible with VC?

    Hi Experts
    Whether Java webdynpro is compatible with VC?
    What I mean is whether Webdynpro projects can be imported into VC and further modified.Please respond me as soon as possible
    regards,
    Noel

    Hi,
    no this is not possible.
    VC is pure modelling; you can run a web dynpro from VC (and even within) by making use of HTML forms, but that's it !
    In the next release (7.1) it will be possible to integrate web dynpro components, but it is not clear yet how this will be done.
    Rgds,
    Karim

  • Send email through Yahoo mail or Gmail with Java

    I have a java email program that can take a mail host name , port number and then send an email, but I don't want to use the mail host at work, I wonder if I can send email through my Yahoo Mail or Gmail account with Java, do they have any Java API that my program can log me in and send emails ? Any sample code available ? Thanks.
    Frank

    Thanks for reminding me, I did some search on "Yahoo" and "Gmail". For Yahoo someone posted some code that didn't work, for gmail, there seems to be a solution for sending email from command line. I wonder if I can send full fledged email : with CC, BCC, Attachment, Html email with images inside ...
    I've done it with a local mail host, but how to do it with Yahoo or Gmail ?
    Frank
    Have you read the JavaMail FAQ? Search for "Yahoo" and "Gmail".

  • How to create dom treeof html page with java

    hi, all
    i met with a problem how to create dom tree of html page wih jave, that is, given a html page, how to create a dom tree of this page with java?
    thanks in advance.
    regards
    richard

    but i m using this code to create node in html file
    HTMLLIElement li = (HTMLLIElement)appHTML.createElement("LI");
    Text txt = appHTML.createTextNode(name);
    li.appendChild(txt);
    appHTML.getElementById("name").appendChild(li);
    this will display all name value which is coming from database,
    and i want to assign a hyperlink to it,
    I have id with name also so I thought that using id i will
    create javascript like
    function popup(id)
         if(id==1)
              var n1 = window.open("../list/name1.html");
         if(id==2)
              var n1 = window.open("../list/name2.html");
    this way i want to popup particular file if i can pass id value in this function
    so want hyperlink like
    name

  • Sending Emails With Java

    I'm trying to find out how to send emails with java - without using the java mail api - i've been told there is a way to do it but i cant seem to find it - any help on this would be gratefully recieved as i'm totally stuck! :(

    Ok, I expanded on it a little bit. Still probably isnt totally correct.
    String localhost="yourdomain.com";
    String sendMailHost=�mail.domain.com�;
    int portNo=25;
    String from="[email protected]";
    String to="[email protected]";
    String message=�Message Body.�;
    Socket s = new Socket(SendMailHost,portNo);
    DataInputStream in = new DataInputStream(s.getInputStream() ) ;
    PrintStream out = new PrintStream(s.getOutputStream() ) ;
    out.println("HELO " + locahost);
    out.flush() ;
    in.readLine(); //ignore response
    out.println("MAIL FROM:  " + from);
    out.flush() ;
    in.readLine(); //ignore response
    out.println("RCPT TO:  " + to);
    out.flush() ;
    in.readLine(); //ignore response
    out.println("DATA");
    out.println(message);
    out.println(�.�);
    s.close();

  • BI Publisher Email Bursting with HTML code

    Hi ,
    Possible to use the following HTML hyper link code in the email deliver
    *<a herf="www.google.com">google</a> parameter5*
    tried but no luck Please tell me the solutions.
    Thx
    Edited by: 924603 on Nov 9, 2012 10:51 AM
    Edited by: 924603 on Nov 9, 2012 10:52 AM

    I am facing a strange problem in EMAIL Bursting using Java API. If I am sending 10 PDF files as attachment to 10 recipient, status is showing as successful. But not all recipients are getting EMAIL attachment. only 8 people are getting attachments. Can any one help me out in removing this problem. How to send attachments to all recipient?

Maybe you are looking for

  • Use as a storage device

    How to use time capsule as a storage device for retrivel of information.

  • Poor Quality Export. PLEASE HELP!

    In FCP X, I am trying to export my project in full quality. I went to quicktime export like I did in FCP7 to create a reference file for burning to DVD but the file was very pixilated and poor quality. what should I do to create a full quality export

  • How do I import my IE6 favorite list to Fire Fox bookmark list???

    I just downloaded the newest version of Fire Fox to my desk top. It did not recognize my list of favorite from IE 6. Do I have to manually reinstall all of these or is there a way to import them in mass. The Fire Fox browser is much faster than my ol

  • HeLp - MAc versitility with importing DVD files?!

    I bought a DVD player with a harddrive and recording facilities - DVD-RAM and DVD-R - a Panasonic SCHT1500. I recorded some old home videos from VHS onto the harddrive - and then burned some DVDs. The DVD-R does not play on my G4 Powerbook and is not

  • Video quality strangely lacking

    I've used idvd 5 a couple times burning videos and menus and was satisfied with the result. I've just burned about 18 minutes worth of media on Best Quality setting and, thought the preview looked fine, I wasn't happy with the burned result. The vide