How to responce back HTML format to MVC using asembler API

Hi,
Now we are trying to build integration between MVC Web Application on Seesar2 framework(http://www.seasar.org/en/) and endeca commerce 3.1.1.
In order to responce back the HTML page from endeca based on the query executed by MVC side, assembler API should return the format of HTML, however, it seems that Assembler API actually returns the contentItem data with which cartridge should be used, so assembler API responce as is cannot be used as HTML page output.
Is there any way to generate the HTML page format using assembler API ?
Also I've found following forum saying that Assembler API can be called by Spring MVC, but is it also applicable for other framework than spring ?
https://qa.endecacommunity.com/questions/149/creating-endeca-dispatcher-using-spring-mvc-instead-of-assemblerjsp-in-endeca-310
Re: How to use Spring MVC instead of assembler.jsp in endeca 3.1.0
Thanks,
Yuki

Instead of writing HTML directly why not write an XML representation of your data and then use XSLT to create an HTML view and a PDF view. PDF can be generated from XML using FOP (http://xml.apache.org/fop/index.html).

Similar Messages

  • How do I  Send HTML formatted email  using  class in  javax.mail pkg

    How do I Send HTML formatted email using javax.mail pkg class ?i mean is thr any class available in this package to do this ?

    Please see
    http://javaalmanac.com/egs/javax.mail/SendApp.html
    for Quintessential Program to Send E-Mail.
    Then substitute line
    msg.setText(content);
    /with this one
    msg.setContent( content , "text/html");
    it should do in simplest form.

  • How i can deal with oracle file by using php api

    how I can deal with oracle file by using php api ?

    What has this to do with Reflections and Reference Objects?

  • How to create snapshot portlet and snapshot query using server API

    How to create snapshot portlet and snapshot query using server API
    Regards
    Dheeraj

    Hi Sebastian,
    I have used the query and it is working fine. but, How could i include the headers of the query also in to the Excel Sheet.
    RehaanKhan. M
    see the method discussed here
    http://sqlblogcasts.com/blogs/madhivanan/archive/2008/10/10/export-to-excel-with-column-names.aspx
    Please Mark This As Answer if it solved your issue
    Please Vote This As Helpful if it helps to solve your issue
    Visakh
    My Wiki User Page
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • How Do I Display HTML Formatted Text From A Data Table In Crystal Reports?

    I'm creating reports in Crystal XI.  The information being displayed in the reports comes from data tables where the text is formatted in HTML.
    I've worked with Crystal Reports enough to know that HTML text pulled from a data table doesn't appear in Crystal the same way it does in a web browser.  Crystal Reports ignores all the tags (...unless I'm missing something...) and just displays the text.
    Someone far more Crystal savy than I (...who I don't have access to...) came up with a Formula Field workaround that tricks Crystal Reports into displaying some basic HTML tags.  Here's that workaround:
    <!--
    stringVar TableName := ;
    TableName := Replace (TableName, "<ul>","<br> <br>");
    TableName := Replace (TableName, "<li>", "<br>   &bull; ");
    TableName := Replace (TableName, "</li>", "");
    TableName := Replace (TableName, "</ul>","<br> <br>");
    TableName := Replace (TableName, "<a", "<u><font color='blue'");
    TableName := Replace (TableName, "</a>", "</font></u>");
    TableName
    -->
    QUESTION - Does any similar workaround exist so I can display an HTML Table in Crystal Reports?  If not, is there any way to display HTML formatted text from a data table in Crystal Reports as it would appear in a web browser?

    Hi Steven,
    To display html text in Crystal Reports follows these steps.
    1. Right click on the field and select Paragraph tab.
    2. Under 'Text Interpretation' select 'HTML Text' and click OK.
    I have tried using the way,but it never works.So reply me if there is any way to solve the issue

  • How to go back to parents taskflow without using taskflow return activity

    Hi all,
    How can i go back to parents taskflow without using taskflow return activity?
    With Regards,
    Wai Phyo

    Hi,
    when you enter a sub flow, the parent flow is put on a stack for later resume. You ecit a bounded task flow that you called using task flow call activity by exiting the task flow (return activity). There is no other option to return to the parent flow. If the bounded task flow executes as a region, then you use a parent activity to navigate the enclosing flow, or the root flow. However, regions seldom use return activities anyway.
    Hope this answers your question
    Frank

  • How do you start HTML DB? Just used the installer from the companion disc

    Companion disc dated 09/08/2005 - it run fine. HTTP server is also running. It runs in Oracle_home. Instead of the home of my database Oracle_home1. How do I start HTML DB, I don't see any icon for it?
    http://yourhostname:7777/pls/htmldb , browsing to this url doesn't work.
    Cheers
    Message was edited by:
    10G-Newbie

    10G-Newbie,
    Make sure that you can tnsping your Oracle DB. I have installed HTMLDB recently and also couldn't connect to my HTMLDB, only to Oracle HTTP server. However, as soon I got my Oracle networking done correctly, and tnsping to my DB, I also could connect to HTMLDB.
    Thank you,
    DanielD

  • How do I generate HTML from XML & XSL using XSL Processor ?

    I want to generate a HTML from XML & XSL using XDK for C on
    linux-8i.
    I run the XSLSample well.
    But it only generate a XML from a XML & a XSL.
    Can any one give me some advise or sample code?

    Just use HTML tags instead of xml tags in your stylesheet, and
    you'll generate HTML instead.
    <xsl:stylesheet version="1.0"
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <xsl:template match="/">
        <html>
          <body>
            <xsl:for-each select="ROWSET">
              <table border="1" cellspacing="0">
                <xsl:for-each select="ROW">
                  <tr>
                    <td><xsl:value-of select="EMPNO"/></td>
                    <td><xsl:value-of select="ENAME"/></td>
                  </tr>
                </xsl:for-each>
              </table>
            </xsl:for-each>
          </body>
        </html>
      </xsl:template>
    </xsl:stylesheet>

  • How to post a document in the future using DI API?

    Hello friends
    Please can someone help me find a clever way around this....
    I am using SAP 2005 SP01 PL09. I am trying to add an invoice into SAP using a VB.Net application. I want to set the date for the invoice to a future date (e.g. 01/01/2008). The problem is that even though I have set the setting which "<b>Allows future Posting Date</b>" in SBO I still get a "<b>Date deviates from permissable range</b>" Error (-5002) when I try adding the invoice.
    I know that when I try post the invoice through the SAP <i>front end</i> (i.e. still posting it in 01/01/2008) I get a confirmation screen which pops up and says "<b>Posting Date later that System Date</b>" and I can either click on "<i>OK</i>" or "<i>Cancel</i>". If i click on OK the Invoice goes through no problem.
    This however does not work when i try use the DIAPI to do the same thing.
    How can i bypass this error when i use the DIAPI??
    Any help is much appreciated
    Greeshma

    Hello,
    if you want to escalate to SAP, I think you upgrade your SAP B1 to  the latest PL i.e. PL 36. Let me know if the error still persists after upgrading.
    Rgds,

  • How to send records to the MDM workflow using Java APIs

    Hi All,
        Using Java APIs i want to send group/single records to the backend MDM workflows for further processing. Can this be acheived? Please provide me with some code samples if you have any
    Regards
    Suresh

    Hi,
    Just go through this URL
    https://help.sap.com/javadocs/MDM/current/index.html
    In this <b>com.sap.mdm.workflow.commands </b> will Provide u commands for managing workflows.
    I hope this helps you.
    Regards
    Nisha
    Message was edited by:
            Nisha Lalwani

  • How to put back html tags

    Hi, I have a program that reads an html file, parses the html tags, now I execute code, and then would like to append the original file with my results...
    How would I put back in the html code that I parsed out? Or would I have to go through it & search for where the information ends, like right before the </body> tag, and then write in html code there...
    What do u think?

    yes, what I did, was read in each line, parse and put into a new StringBuffer... and finally save this into an ArrayList to manipulate it in the program...
    What I'm doing now, is trying to rewrite the html file, by
    PrintWriter cout = new PrintWriter (new
                                  FileWriter ("scores.html"));
    and then
    cout.print("<html>");
    etc, etc...
    and fill in the scores as
    cout.print(<li>);
    cout.print(ArrayList.get(i)); //the saved score
    etc.
    Right now, this isn't writing to the html file, so I wonder if PrintWriter is the right thing to use...
    Thanx for ur help!

  • How to remove the HTML formatting from error sources

    Does anybody have a good way to strip the HTML mark-up that often shows up in the source field of an error cluster.  I would like to log the error source to a text file, and display the error source in a text control, without the HTML mark-up.
    I'm using LabView 8.5, but I'm sure a solution for an older version of LabVIEW can be easily adapted to the latest version.
    Thanks,
    Mark Moss

    smercurio_fc,
    that is what I get on my system (Win XP Pro SP2, LV 8.0.1 and newer). If you see it different there must be something different between my and your system.
    Message Edited by waldemar.hersacher on 03-10-2008 12:45 PM
    Waldemar
    Using 7.1.1, 8.5.1, 8.6.1, 2009 on XP and RT
    Don't forget to give Kudos to good answers and/or questions
    Attachments:
    HMTLinSimpleErrorHandler.png ‏11 KB

  • How to restore backed up files after I used Rescue and Recovery

    Hi there lenovo community,
    so I'm struggling to find a solution on how to open these files right here:
    Link to image
    First of all, the program I used to back up my hard drive was the Rescue and Recovery that my lenovo desktop came with. I used an external hard drive (WD My Passport, specifically) to back up my old hard drive. The problem that I'm facing right now is how I can open these files, they seem to be not working with any of the option programs the "open with" thingy offers me. If anyone knows  an easy solution for this please please respond to me immediately.. I would really really appreciate it.  I have important documents there.  
    Thanks,
    Enrico
    Moderator note: large image(s) converted to link(s):  About Posting Pictures In The Forums

    Hello CP101, It seems this file extention is a priority file format.
    Here  is a link that has some information on how to resolve the issue.
    I would suggest reading all the suggestions, as some have different methods for resolving this issue.
    Please click the White Kudos star on the left, to say thanks.
    Please mark Accept As Solution if it solves your problem.

  • How can I back up photos from iPhoto using terminal?

    Can I backup my photos from iPhoto using terminal or any other way(to a portable hard drive) as I have turned my laptop on and it has came to a screen giving me the option to back up from time machine, reinstall IOS or clean my drives, but neither are working so I believe I am going to have to erase my whole hard drive and potentially get a new one, but my only problem is that I haven't backed up my iPhoto images before so is there anyway I can do this?

    You are booted from Recovery Drive. Have you tried restarting so you boot normally?
    See these articles for using terminal to move
    http://apple.stackexchange.com/questions/80316/how-can-i-use-terminal-to-copy-al l-files-of-a-certain-type-from-a-failing-hard-d
    http://macmost.com/using-terminal-to-copy-files.html
    How do I move my Home folder to a separate hard drive using terminal.ff

  • How can I back up only selected files using Time Machine?

    I'm a graphic designer, I use a number of Time Capsules to periodically back up my entire computer. But I also want to set up another Time Capsule (bus powered external hard drive) that will continually run as I work and only back up a single folder and all it's sub folders - in this case a folder called 'Client Files'.
    QUESTION: How do I use Time Machine to back up only my 'Client Files' folder and all it's sub folders?

    Frankly, this is probably not worth the time and trouble that it will take to set it up.
    Time Machine backs up your entire Mac by default.
    Time Machine Preferences / Options gives you the ability to Exclude items from backup, so to do what you want, you basically will have to Exclude everything else on the Mac from being backed up.  That is going to be quite a task depending on where your Client Files folder resides and you have your Finder files set up.
    It will not be that difficult to Exclude major folders..... things like Applicatons, Pictures, Music, Documents, etc.....but to get to the point where you want may not be that easy.
    Take a look at things by opening Time Machine Preferences, then click on Options
    Since you will be adding items to be Excluded, you would need to click the + button at the bottom of the window and then navigate to find the general folder that you want to Exclude.
    Unfortunately, you cannot simply tell Time Machine to only back up the items that you want.....you have to tell Time Machine what NOT to back up.....which is going to be most of your Mac.
    And.....whatever you set up in Time Machine /Options to be Excluded will apply to all backups to all Time Capsules.  You cannot specify what is Excluded on one Time Capsule and not another. It's all or nothing. Not what you want to do, I am sure.
    Good luck 

Maybe you are looking for

  • URGENT: REGARDING SMART FORM CALLING FROM REPORT

    HI, I had made a report in which i have to display the output in smart form ,the problem is this i had delclared only 1 INTERNAL TABLE and i dont know how to display it in the smart form as i am new to it . if help me out with solution ,he or she wil

  • List Of PO

    Hi....! Very happy new year. I am having a problem like user require the PO list t code i suggested them to use ME2L as its purchasing document list tcode. But there is a problem that me2l list gives the net value as after calculation from condition

  • GRC 10.0 Access request Management Audit

    Hello All, Can Anyone let me know what  Auditors Check When they Audit GRC 10.0 Access request Management (excluding Configuration). Thanks Mohammed Wasim

  • Not recognizing second monitor. iMac24 early 2008. Yosemite.

    I have a iMac 24. It is a early 2008. I have upgraded to Yosemite. I can not get the computer to recognize my 2nd monitor. I have used a Mini DisplayPort to VGA Adapter. The system does not recognize my 2nd monitor. Thanks, Ernest

  • Does NOKIA 6230 Support themes?

    Does NOKIA 6230 Support themes? * )if yes kindly tell me how? & whats it type??does it need any program ???!! *) if noo thx alot?