How can I display a spreadsheet in a portlet?

Greetings,
I'm trying to find out if I can display an Excel spreadsheet in a portlet.
The users of the portal will all have MS Office installed on their machines,
so if an activeX control is part of the solution, that would be ok.
I have two goals here (two portlets):
1) Be able to view the spreadsheet on a tabbed page without leaving the
browser
2) On another tab be able to edit the spreadsheet without leaving the
browser.
Thanks for any insight,
Alan Z.

Alan,
If you can include a spreadsheet in a normal page (whether HTML or a
JSP), you can easily convert the same into a portlet very easily. Just
create a portlet and set the content URL to point to the page containing
the spreadsheet (the ActiveX component). Then add this portlet to a new
page.
So, your first challenge is to be able to include the spreadsheets (view
or edit) in regular HTML/JSP pages.
Subbu
Alan Z. wrote:
Greetings,
I'm trying to find out if I can display an Excel spreadsheet in a portlet.
The users of the portal will all have MS Office installed on their machines,
so if an activeX control is part of the solution, that would be ok.
I have two goals here (two portlets):
1) Be able to view the spreadsheet on a tabbed page without leaving the
browser
2) On another tab be able to edit the spreadsheet without leaving the
browser.
Thanks for any insight,
Alan Z.

Similar Messages

  • Re: How can I display a spreadsheet in a portlet?

    Subbu,
    Thanks for the response... I do have a way of putting a spreadsheet into an
    html page.
    I've been having all sorts of trouble installing the portlet wizard.
    After going through all the installation steps, the EBCC portion of it works
    fine, but my portals cease functioning (I since restored all the config
    files, and I'm back up and running, without the wizard).
    So, any code examples you might have of including a URL in a portlet would
    be appreciated.
    Thanks,
    Alan Z.
    "Subrahmanyam Allamaraju" <[email protected]> wrote in message
    news:[email protected]..
    Alan,
    If you can include a spreadsheet in a normal page (whether HTML or a
    JSP), you can easily convert the same into a portlet very easily. Just
    create a portlet and set the content URL to point to the page containing
    the spreadsheet (the ActiveX component). Then add this portlet to a new
    page.
    So, your first challenge is to be able to include the spreadsheets (view
    or edit) in regular HTML/JSP pages.
    Subbu
    Alan Z. wrote:
    Greetings,
    I'm trying to find out if I can display an Excel spreadsheet in a
    portlet.
    >>
    The users of the portal will all have MS Office installed on theirmachines,
    so if an activeX control is part of the solution, that would be ok.
    I have two goals here (two portlets):
    1) Be able to view the spreadsheet on a tabbed page without leaving the
    browser
    2) On another tab be able to edit the spreadsheet without leaving the
    browser.
    Thanks for any insight,
    Alan Z.

    Similarly, in WLP8.1, it would be:
    <IFRAME SRC="ShowBinary<cm:getProperty id="node" name="cm_path"
    encode="url"/>"></IFRAME>
    or
    <%
    // path has a leading / in 8.1 so you don't need it after ShowBinary
    String path = node.getPath();
    path = com.bea.content.manager.ContentHelper.pathInfoEncode(path);
    %>
    <IFRAME SRC="ShowBinary<%=path%>"></IFRAME>
    iFRAME only works in IE and Mozilla/Netscape6+. If you think that your
    client browser has the appropriate plugin, you could also use an
    <OBJECT> and/or <EMBED> with similar URLs.
    Greg
    Diptanshu Parui wrote:
    I have done this on WLP 7. It should be similar in WLP 8. Use IFrame tags along
    with the ShowDoc servlet.
    e.g.
    <IFRAME SRC="/ShowDoc?contentId=<%= contentId %>" WIDTH=800 HEIGHT=420></IFRAME>
    where <%= contentId %> will give the path of your xls/doc/pdf file under dmsBase.
    Needless to say, that you need to load the docs under dmsBase, before testing
    this out.
    Regards,
    Diptanshu
    Barry Donohue <[email protected]> wrote:
    Alan or Subbu,
    I am having difficulty simply displaying the excel spreadsheet (or word
    doc for that matter) from within my webpage (JSP). Can you offer an
    assistance?
    I am running WLS 8.1 Sp1 on Win2K with IE6.0, Sp 1. and MS Office 2K
    SR1.
    Thank you,
    Barry

  • How can I display XSLT transformer errors on a web page ?

    Hi,
    I have some JSP pages that access DB, create an XML based on DB data and then transform it into HTML through an XSLT stylesheet. Developing the XSL code it's easy to make mistakes and generate errors on trasformation, but what I receive on the web page is only a "Could not compile stylesheet" TransformerConfigurationException, while the real cause of the error is displayed only on tomcat logs. This is the code for transformation:
    static public void applyXSLT(Document docXML, InputStream isXSL, PrintWriter pw) throws TransformerException, Exception {
            // instantiate the TransformerFactory.
            TransformerFactory tFactory = TransformerFactory.newInstance();
            // creates an error listener
            XslErrorListener xel = new XslErrorListener();
            // sets the error listener for the factory
            tFactory.setErrorListener(xel);
            // generate the transformer
            Transformer transformer = tFactory.newTransformer(new SAXSource(new InputSource(isXSL)));
            // transforms the XML Source and sends the output to the HTTP response
            transformer.transform(new DOMSource(docXML), new StreamResult(pw));
    }If an exception is thrown during the execution of this code, its error message is displayed on the web page.
    This is the listener class:
    public class XslErrorListener implements ErrorListener {
        public XslErrorListener() {
        public void warning(TransformerException ex) {
            // logs on error log
            System.err.println("\n\nWarning on XEL: " + ex.getMessage());
        public void error(TransformerException ex) throws TransformerException {
            // logs on error log
            System.err.println("\n\nError on XEL: " + ex.getMessage());
            // and throws it
            throw ex;
        public void fatalError(TransformerException ex) throws TransformerException {
            // logs on error log
            System.err.println("\n\nFatal Error on XEL: " + ex.getMessage());
            // and throws it
            throw ex;
    }When I have an error in the XSL stylesheet (for examples a missing closing tag), I can find on tomcat logs the real cause of the error:
    [Fatal Error] :59:10: The element type "table" must be terminated by the matching end-tag "</table>".
    Error on XEL: The element type "table" must be terminated by the matching end-tag "</table>".but on my web page is reported just the TransformerConfigurationException message that is:
    "Could not compile stylesheet".
    How can I display the real cause of the error directly on the web page?
    Thanks,
    Andrea

    This code is part of a bigger project that let developers edit XSL stylesheets through a file upload on the system and we can't impose the use of any tool for checking the xsl. So, I need to display the transformer error on the web page.I see. This code is part of an editorial/developmental tool for developers to create and edit XSL stylesheets.
    As part of the editorial process, XSL errors during editing can be considered a normal condition. In other words, it is normal to expect that the developers will generate XSL errors as they are developing stylesheets.
    In this light, handling the XSL transformation errors is a business requirement that you need to handle. Using the Java Exceptions mechanisms, e.g. try / catch are inappropriate to handle business requirements, in my opinion.
    I suggest that you look at how you handle the occurence of XSL errors differently than what you currently have. You need to:
    (1) capture the Transformation exception on the server;
    (2) extract the message from the exception and put it into a message that can be easily understood by the user;
    The current error message that you have going to the web browser is not useful.
    And you should not have the Transformation exception sent to the web browser either.
    What you are attempting to do with the exception is not appropriate.
    Handle the Transformation exception on the Business tier and use it to create a useful message that is then sent to the Presentation tier. In other words, do not send Java exceptions to web browser.
    />

  • How can I display True/False in my dropdownlist as "Yes" and "No"?

    Hi All,
    I want to bind a dropdownlist to a boolean value (so it's either true or false).  I'm particularly interested in using two-way binding to when the user changes from "yes" to "no" the boolean value automatically changes from "true" to "false."  But, I want the user to see "yes" and "no" as the options, rather than "true" and "false".
    How can I display "yes" and "no" and still take advantage of binding?  Or can I not use binding in this circumstance?
      -Josh

    Solution 1:
    In order to display Yes/No for True/False, you may specify labelFunction for the dropdownList.
    In MXML:
    <s:DropDownList labelFunction="myLabelFunction" />
    In actionscript:
    private var arr:ArrayCollection = new ArrayCollection(["true","false"]);
                private function mylabelFunction(item:Object):String
                    if(item.toString() == "true")
                        return "yes";
                    else return "No";
    OR
    Solution2:
    may be u can try making an array collection like
    private var arr:ArrayCollection = new ArrayCollection([{label:"yes",value:"true"},{label:"no",value:"false"}]);
    and specify labelField for the dropdownList like
    <s:DropDownList labelField="label" dataProvider="{arr}" />

  • How can I display  contacts in a relationship

    I have companies in my CRM. I have a customers/contacts in the CRM I have tied as a relationship with each companies. How can I display all the records/contacts associated with a company? I have a already created a secure zone, so the company user would have logged in. Is this possible? If not, any workaround?
    The only workaround I thought of is to use webapp to import the company data and create another web app containing the employees data. Then link both tables/webapp using datasource. But the way the client's data is structured could create a lot of problems going forward.
    Any suggestion, help will be appreciated

    The relationship feature and how companies work currently in BC is really limited. It is an association and not true relationships at the moment. You cant output a company and show all its relationships at the moment.

  • How can I display & split the audio & video from the same digitized clip?

    I digitized a scene into iMovie that I edited on a professional system which I don't have access to anymore. The whole scene is 1 clip. Now I see a few tweaks that I want to make, so I was hoping to do them in iMovie.
    I want to "pull up" the audio in one section - meaning I want to take cut about 20 frames of audio from the end of a shot, and then move all the other audio up to fill the hole. To compensate for the missing 20 frames, I'll cut video off the head of the next shot. Some call this prelapping. Some call it an L-cut. Some call it asymmetrical trimming. Either way, I can't figure out how to do it in iMovie.
    My clip appears in the timeline as one track - a single track that contains the video and 2 audio tracks. How can I display the audio that's tied to the video on its own track? Then I think I could split audio & video wherever I wanted and trim things up - but I can't figure out how to do it.
    Am I asking too much of this software?
    BTW, I never see the option to "Split audio clip at playhead". I'm not displaying clip volume or waveforms. Choosing to display waveforms doesn't show me anything. Maybe iMovie thinks I'd only want to see waveforms of audio that isn't tied to my video-and-audio clips?
    Thanks in advance for any help...

    Jordon,
    "Am I asking too much of this software?"
    No, you're not.
    You first want to select your clip(s) and choose Advanced>Extract Audio.
    This will copy the audio from the video clip and place it on one of the two separate audio tracks while lowering the audio level to zero in the original video track.
    You can now edit and move the audio independently of the video.
    With the audio clip selected, you'll find you now have access to Edit>Split Selected Audio Clip at Playhead.
    Matt

  • How can i display a list of all the names stored in the Mail app?

    When sending an email, the program shows a list of names according to the first and subsequent letters that I type into the To: field. There are times I cannot recall someone's email user name. How can I display a complete list of all the names Mail has stored? I know that I can go to the To: field then type in the letter A, then write down all listings under A, and then repeat for each letter of the alphabet, but there should be an easier method.
    I have perhaps dozens of names in Mail, but only five names in Address Book, so the latter does me no good.

    On the menubar, Mail > Window > Previous Recipients
    Regards,
    Captfred

  • How can I display more than one value in Calendar ?

    Hi,
    the standard (example) script allows for the display of one value only (as I understood). How can I display two or three values, from the very same table ? Students of mine during an HTMLDB workshop in Leipzig did ask that question.
    Do we have a more detailed docum. on the use of the calendar ?
    pls kindly advise. TIA.
    Bernhard

    my solution:
    Source fo the calendar starts:
    snip>
    declare
    q varchar(32767) := null;
    begin
    q := 'select "ETA", <--- Date Field and concatination of fields as follows:
    "SCHIFFSNAME"|| "ETA_TIME"|| "TERMINAL"||''(br*)'',
    null,
    null,
    null,
    null
    from "#OWNER#"."SCHEDULE"'; . . . . . . .
    snip>
    comment on (br*) - you have to use "<" and ">" instead of "( " and ")" to have the "break/new line effect"
    brgds
    Bernhard

  • How can I display images that are not included in any collection?

    How can I display images that are not included in any collection (some filter or smart collection)? A smart collection with parameters "Collection - contains - empty field" does not work. Lightroom 5.

    Thank you! Good idea! I ordered letters of the alphabet (space separated), and it works.

  • How can i display all the query items to a table?

    how can i display all the query items to a table in a jsp file?
    i always have an out of memory error..

    any body??any idea?
    is it possible thru configuration or i have to write a program by the abaper??
    Biswa

  • How can I display all of my bookmarks along the left side of my browser window like earlier versions of Firefox?

    I like the bookmarks on the left side of the screen. I don't want to be navigating through a tree of all of my various bookmarks. How can I display all of my bookmarks along the left side of my browser window like earlier versions of Firefox?

    View > Sidebar > Bookmarks (Ctrl+B)
    Press F10 or tap the Alt key to bring up the "Menu Bar" temporarily if the Menu Bar is hidden.
    *https://support.mozilla.com/kb/how-do-i-use-bookmarks

  • How can I display all my e-mails.  Only some of them show up now...thanks to an apple representative in the apple store

    How can I display all my e-mails on all my Apple products?  Only some of them show up now...thanks to an apple representative in the apple store.  Also, he put my oldest emails in POP (???)

    How can I display all my e-mails on all my Apple products?  Only some of them show up now...thanks to an apple representative in the apple store.  Also, he put my oldest emails in POP (???)

  • How can I display all my films in iTunes, on my iPhone 4S?

    How can I display all my films in iTunes, on my iPhone 4S?
    I have 10 films in iTunes and only 8 are displayed on my iPhone.
    All 10 films are Digital Copies bought with Blu-ray Discs and have been added to iTunes.

    Sync the other two the same way you synced the first 8.
    Select them in iTunes and sync.

  • How can i display a portlet in the Edit view only ?

    Dear All,
    I'm developing a portal in which the end user can change the content of the portal page (personalize) using Edit smart link and i ask How can i display a portlet in the Edit view only ? not shown in the production view ?

    Last time I heard with Oracle they said the only way is to look at the current URL. If it contais _mode=16 then we are in edit mode.
    This is a function I use:
    FUNCTION inEditMode return boolean is
    bEdit boolean := false;
    begin
    if PORTAL.wwpro_api_parameters.get_value('_mode', 'qaz') = '16' then
    bEdit := true;
    end if;
    return bEdit;
    end inEditMode;
    Kind regards
    Tomas Albinsson
    Stockholm, Sweden

  • How can I display the data in table in separate column?

    I have a vi reading data one by one in the same column.
    How can I display the data with separate column?
    like this:
    data 1 | read | read
    data 2 | read | read
    data 3 | read | read
    (would you mind if I will ask for an example
    because it is much easier for me to work
    with an example)
    THANK YOU.

    If you're reading your data in as a 1D array, this is as simple as using the Reshape Array to make a 2D array. I've attached an example in LabVIEW 6.1 format. The example rearranges a single column of data fill several columns horizontally, but you can easily modify this code to fill the columns downward instead.
    Attachments:
    Data_Column_Example.vi ‏18 KB

Maybe you are looking for