Nested Dashboards using Panel Set component

Hello,
I am investigating the usage of the Panel Set component. Since it is capable of hosting a SWF (presumably one created by Xcelsius) - I thought I could try this out for creating nested dashboarss, of sorts. I was able to export my SWF file from another dashboard and get it to show properly in one of the child panels. The only thing I am wondering about is that I noticed that when you maximize the panel the SWF file doesn't scale like a Panel that hosts a JPG file... it shows at the same size in the maximized windows as the "normal" window. Is this by design, or is there a setting I am missing?

Hmm. OK, maybe we have a terminology difference here. I took a Xcelsisus generated (exported) SWF file and HAVE SUCCESSFULLY put it into a panel set component. It is not being called out via a URL - it is sitting on my desktop. It does properly render in the Panel Set panel. What it doesn't do is resize when you maximize the panel.
So, are we speaking the same language here? Are you implying that if I servet that same SWF file off of a web site that it will not only display (AS IT CURRENTLY DOES) but that it will also resize as all SWF files do on your samples page on your web site?

Similar Messages

  • Using Panel Tabbed component

    Hi,
    I am developing with ADF 11g.
    I am using Panel tabbed component into a page and the 'ShowDetailItem' should be increased according to requirements, But I could just create three 'ShowDetailItems' in a page .jspx since it generates too much code. Is there any way to create multiple ShowDetailItems on a page (or to be displayed on a page) without generating too much code (because in these ShowDetailItems I handle lots of information and transactions)
    Please helpme...
    thanks.

    No, what happens is this:
    While adding more tabs to the panel, the code in the page .jspx increases which is logical, but hardly manageable, since that new requirements will add many more tabs quite content to the tabbed panel. What I want is not to generate too much code in my jspx page. How can I handle this?
    thanks,

  • Panel Sets in v4.5

    Hello,
    I was trying to set up this component, but am lost. I looked for help, but did not see any utorials or anything like that. I did come across this article
    http://www.everythingxcelsius.com/search?q=panel+set
    which said that they could not find any info on this component.
    I understand (I think) that the purpose of this component is to embed swf files/dashboards. I was under the impression though that thede swf files could be dashboards created in xcelsius, but that does not seem to be the case, unless there is something that I do not understand.
    If there is a tutorial or any documentation on this component please let me know. I did not see any in the user guide.
    Thank you.
    Tracy

    Tracy,
    Try this example.  It utilizes Layout 1.
    1.) Creating CX swf files
    a.) In CX 4.5, create a simple model, then use File Export --> SWF to export the model to swf.  Remember the location where this SWF is exported to; you'll need it later.
    b.) Then create another model, and repeat the same export process, using a different name when exporting the model.
    c.) Repeat for however many SWF files you need.
    2.) Use the Panel Set component
    a.) In a new instance of CX., drag the Panel Set to the canvas and open the properties sheet
    b.) In the General Tab, go to the "Content" section, and make sure "Use JPGs and SWFs" is checked.
    c.) Select URL and click the "..." button.
    d.) For the first label, set the URL source to the location where you saved your first SWF file.
    e.) For the second label, set the URL source to the location where you saved the second SWF file.
    f.) Repeat for as many SWF files you want shown in the Panel Set.  Click OK when finished.
    g.) Click on the "..." button for Labels and verify that you have the same amount labels for SWF files.  Click OK.
    3.) Runtime
    a.) Click Preview
    b.) Click on the Down arrow on the Panel, and select the Label for the SWF that you want to appear
    c.) The SWF should now be shown within the Panel Container.
    As you can see, these are NOT embedded SWF files, simply locally accessed SWFs.  You can also implement the same functionality on an http:// setup if you have the SWF files hosted in some location.

  • Xcelsius 2008: Loading objects into Panel Sets

    I have Xcelsius 2008 Version 5.0.0.99 that came with Crystal Reports 2008 Engage.  The panel set object listed in the "Other" category is not working at all for me.  When I load a swf object into it, it shows up in the workspace, but in preview it becomes stuck in the loading phase and never comes up.  Also, jpegs appear in the workspace, but in preview mode they have a permenant loading bar in front of the picture.  This preview behavior is the same when I export the file and try to open it elsewhere.  The Panel set object itself seems to be working.  It maximizes and restores itself correctly, but the objects in the panels never load.  Maybe the files I'm trying to load are too large?  I'm not sure what to do populate the panel set.
    Thank you,
    William

    Are your images in JPEG format? The Panel Set component only supports JPEGs and SWF files.

  • Info needed on how to design xcelsius dashboards using SAS data sets.

    Is it possible to design a xcelsius dashboard using SAS data sets?  Any info on this subject is highly appreciated.  Thanks.

    Hi,
    I am not much aware of the SAS datasets, but i can definitely provide some pointers on what data Xcelsius could consume.
    Assuming you use Xcelsius 2008 - you can have static data within the embedded excel sheet..
    You can recieve dynamic data using
    1. QAAWS
    2. Web Services
    3. XML data
    4.Live Office
    and more....I am sure some of the Gurus could provide better pointers.

  • Issue with Parent child dashboards using SWFLoader component

    Hello Gurus,
    I am using Parent-child dashboards approach in our project.
    I have multiple child files embedded in Parent dashboard using the SWFLoader (directly passing the URL as SWFLoader value) to load child dashboards. All the child, parent swf's are saved in the same intranet folders.
    When I open the parent SWF, everything loads fine in the intranet.
    But for some users, when they open from the intranet, the child dashboard doesnt load up properly or size of the dashboard gets reduced to a small version. (Iam sure that it has nothing to do with the access/privileges)
    Any thoughts/ideas what could be causing an issue with child dashboard/resizing of the child dashboard.
    Please help!
    regards,
    S R

    Check whether the machine has compatible flash version in error specific machine and your machine.

  • How to use the calender component in a dashboard?

    Hi Experts:
    In my project i need to show the day wise tickets sold  data through calender.Can any one help me out in using this calender component?
    Thanks
    Regards
    sharathborra

    http://www.xcelsiusjournal.com/index.php?option=com_content&task=view&id=63&Itemid=2
    http://ryangoodman.net/blog/index.php/2007/04/09/calendar_date_formatting_in_xcelsius

  • Using a composite component from an xhtml that is included in another xhtml

    JBoss 7.1.1
    JSF 2.1
    I have the following composite component:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <ui:component xmlns="http://www.w3.org/1999/xhtml"
            xmlns:h="http://java.sun.com/jsf/html"
            xmlns:composite="http://java.sun.com/jsf/composite"
            xmlns:f="http://java.sun.com/jsf/core"
            xmlns:ui="http://java.sun.com/jsf/facelets"
            xmlns:rich="http://richfaces.org/rich">
            <composite:interface>
                <composite:attribute name="for" required="true" />
            </composite:interface>
            <composite:implementation>
                <rich:panel styleClass="aas-msg-tt-p">
                    <rich:message id="#{cc.attrs.for}-msg"
                        for="#{cc.attrs.for}" />
                    <rich:tooltip id="#{cc.attrs.for}-msg-tt">
                        <rich:message for="#{cc.attrs.for}"
                            styleClass="aas-rf-det-tooltip" />
                    </rich:tooltip>
                </rich:panel>
            </composite:implementation>
    </ui:component>It is in WebContent/resources/aas-composite/messagetooltip.xhtml ( where WebContent is the root directory or root context directory of the deployed WAR )
    h3. *1. Using the composite component and working as expected*
    If I use the composite component directly as follows, it all works:
    1) Create test.xhtml in WebContent
    2) Content of test.xhtml as follows:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml"
          xmlns:h="http://java.sun.com/jsf/html"
          xmlns:f="http://java.sun.com/jsf/core"
          xmlns:ui="http://java.sun.com/jsf/facelets"
          xmlns:a4j="http://richfaces.org/a4j"
          xmlns:rich="http://richfaces.org/rich"
          xmlns:aas="http://java.sun.com/jsf/composite/aas-composite">
    <h:head>
        <meta http-equiv="X-UA-Compatible" content="IE=8" />
    </h:head>
    <h:body>
        <h:outputStylesheet library="css" name="richfacesoverrides.css"/>
        <h:form id="testform">
           <table>
                <tr>
                    <td><aas:messagetooltip for="id2"/></td>
                    <td><h:outputLabel>Input 2: </h:outputLabel></td>
                    <td><h:selectOneMenu id="id2"
                            required="true"
                            requiredMessage="Cause of Death is required"
                            value="${death.causeOfDeath}">
                           <f:selectItem itemValue="" itemLabel="-- Select One --" />
                           <f:selectItem itemValue="COD01" itemLabel="Cancer" />
                           <f:selectItem itemValue="COD02" itemLabel="Diabetes" />
                           <f:selectItem itemValue="COD11" itemLabel="Other" />
                        </h:selectOneMenu>
                    </td>
                </tr>
           </table>
           <h:commandButton id="submit" value="Submit"/><br/>
    </h:form>
    </h:body>
    </html>3) Deploy and test, all good
    h3. *2. Using the composite component but NOT working as expected*
    Now if I use the composite component as follows:
    4) Create XHTML file called includeThisFromRoot.xhtml under WebContent directory
    5) with content as follows:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml"
          xmlns:h="http://java.sun.com/jsf/html"
          xmlns:f="http://java.sun.com/jsf/core"
          xmlns:ui="http://java.sun.com/jsf/facelets"
          xmlns:a4j="http://richfaces.org/a4j"
          xmlns:rich="http://richfaces.org/rich"
          xmlns:aas="http://java.sun.com/jsf/composite/aas-composite">
        <ui:composition>
           <table>
                <tr>
                    <td><aas:messagetooltip for="id2"/></td>
                    <td><h:outputLabel>Input 2: </h:outputLabel></td>
                    <td><h:selectOneMenu id="id2"
                            required="true"
                            requiredMessage="Cause of Death is required"
                            value="${death.causeOfDeath}">
                           <f:selectItem itemValue="" itemLabel="-- Select One --" />
                           <f:selectItem itemValue="COD01" itemLabel="Cancer" />
                           <f:selectItem itemValue="COD02" itemLabel="Diabetes" />
                           <f:selectItem itemValue="COD11" itemLabel="Other" />
                        </h:selectOneMenu>
                    </td>
                </tr>
           </table>
           <h:commandButton id="submit" value="Submit"/><br/>
        </ui:composition>
    </html>6) Make a copy test.xhtml, but call the new one testWithInclude.xhtml, with content as follows:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml"
          xmlns:h="http://java.sun.com/jsf/html"
          xmlns:f="http://java.sun.com/jsf/core"
          xmlns:ui="http://java.sun.com/jsf/facelets"
          xmlns:a4j="http://richfaces.org/a4j"
          xmlns:rich="http://richfaces.org/rich"
          xmlns:aas="http://java.sun.com/jsf/composite/aas-composite">
    <h:head>
        <meta http-equiv="X-UA-Compatible" content="IE=8" />
    </h:head>
    <h:body>
        <h:outputStylesheet library="css" name="richfacesoverrides.css"/>
        <h:form id="testform">
            <ui:include src="includeThisFromRoot.xhtml" />
        </h:form>
    </h:body>
    </html>h3. Summary of change
    You can see here that I simply moved all of the content between the form tags from the original XHTML to a separate XHTML, and included that separate XHTML using <ui:include>.
    h3. Result
    7) Deploy and access testWithInclude.jsf from browser, and I get:
    15:17:55,310 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/richfacestest].[Faces Servlet]] (http--0.0.0.0-8081-5) Servlet.service() for servlet Faces Servlet threw exception: javax.faces.view.facelets.TagException: /includeThisFromRoot.xhtml @13,52 <aas:messagetooltip> Tag Library supports namespace: http://java.sun.com/jsf/composite/aas-composite, but no tag was defined for name: messagetooltip
            at com.sun.faces.facelets.compiler.CompilationManager.pushTag(CompilationManager.java:304) [jsf-impl-2.1.7-jbossorg-2.jar:]
            at com.sun.faces.facelets.compiler.SAXCompiler$CompilationHandler.startElement(SAXCompiler.java:266) [jsf-impl-2.1.7-jbossorg-2.jar:]
            at org.apache.xerces.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:496)
            at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:180)
            at org.apache.xerces.impl.dtd.XMLDTDValidator.emptyElement(XMLDTDValidator.java:810)
            at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:275)
            at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1653)
            at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:324)
            at org.apache.xerces.parsers.XML11Configuration.parse(XML11Configuration.java:845)
            at org.apache.xerces.parsers.XML11Configuration.parse(XML11Configuration.java:768)
            at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:108)
            at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1196)
            at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:555)
            at org.apache.xerces.jaxp.SAXParserImpl.parse(SAXParserImpl.java:289)
            at javax.xml.parsers.SAXParser.parse(SAXParser.java:195) [rt.jar:1.7.0_09]
            at com.sun.faces.facelets.compiler.SAXCompiler.doCompile(SAXCompiler.java:434) [jsf-impl-2.1.7-jbossorg-2.jar:]
            at com.sun.faces.facelets.compiler.SAXCompiler.doCompile(SAXCompiler.java:410) [jsf-impl-2.1.7-jbossorg-2.jar:]
            at com.sun.faces.facelets.compiler.Compiler.compile(Compiler.java:124) [jsf-impl-2.1.7-jbossorg-2.jar:]
            at com.sun.faces.facelets.impl.DefaultFaceletFactory.createFacelet(DefaultFaceletFactory.java:305) [jsf-impl-2.1.7-jbossorg-2.jar:]
            at com.sun.faces.facelets.impl.DefaultFaceletFactory.access$100(DefaultFaceletFactory.java:93) [jsf-impl-2.1.7-jbossorg-2.jar:]
            at com.sun.faces.facelets.impl.DefaultFaceletFactory$1.newInstance(DefaultFaceletFactory.java:160) [jsf-impl-2.1.7-jbossorg-2.jar:]What gives ? Am I missing something simple ?

    I think I may have found a workaround.
    In the XHTML file that is included and using the composite component, add the namespace as part of the custom component, like so:
    <aas:messagetooltip xmlns:aas="http://java.sun.com/jsf/composite/aas-composite" for="id2"/>So that it now becomes:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml"
          xmlns:h="http://java.sun.com/jsf/html"
          xmlns:f="http://java.sun.com/jsf/core"
          xmlns:ui="http://java.sun.com/jsf/facelets"
          xmlns:a4j="http://richfaces.org/a4j"
          xmlns:rich="http://richfaces.org/rich"
          xmlns:aas="http://java.sun.com/jsf/composite/aas-composite">
        <ui:composition>
           <table>
                <tr>
                    <td><aas:messagetooltip xmlns:aas="http://java.sun.com/jsf/composite/aas-composite" for="id2"/></td>
                    <td><h:outputLabel>Input 2: </h:outputLabel></td>
                    <td><h:selectOneMenu id="id2"
                            required="true"
                            requiredMessage="Cause of Death is required"
                            value="${death.causeOfDeath}">
                           <f:selectItem itemValue="" itemLabel="-- Select One --" />
                           <f:selectItem itemValue="COD01" itemLabel="Cancer" />
                           <f:selectItem itemValue="COD02" itemLabel="Diabetes" />
                           <f:selectItem itemValue="COD11" itemLabel="Other" />
                        </h:selectOneMenu>
                    </td>
                </tr>
           </table>
           <h:commandButton id="submit" value="Submit"/><br/>
        </ui:composition>
    </html>I tried this after finding a similar bug about nested composite components, which I do not use, but thought I would give it a try:
    http://stackoverflow.com/questions/10898906/myfoo-tag-library-supports-namespace-http-java-sun-com-jsf-composite-mycom
    http://stackoverflow.com/questions/9735593/nested-composite-component-broken-in-jboss-7-1-1
    Have to keep track of all these workarounds that I am doing.

  • Parent Child Synchronization using a Iterator Component

    Hi All,
    I am working on ADF 11.1.1.5.0. I have the following business requirement :
    I have DepartmentVO and EmployeeVO with a view link defined on DepartmentId attribute.
    Use Case : I need to display all departments with their respective childs with a specific UI design i.e. i need to show all the Departments as Panel boxes and their respective children inside the panel box.
    So for that i have used the Iterator component which will dynamically create Panel boxes based on the rowcount of DepartmentVO .(if there are 5 records in dept table then 5 panel boxes will be formed).
    Similarly for child i have used another Iterator component(inside parent Iterator) which will display its respective children.
    jspx code is as follows :
    <af:panelGroupLayout id="pgl1" layout="scroll">
    <af:iterator id="i2" value="#{bindings.DepartmentsView1.collectionModel}"
    var="row">
    <af:panelBox text="#{row.DepartmentId} -- #{row.DepartmentName}" id="pb1" styleClass="AFStretchWidth">
    <af:panelGroupLayout id="pgl3">
    <af:iterator id="i1" value="#{bindings.EmployeesView3.collectionModel}"
    var="attr">
    <af:outputText value="#{attr.DepartmentId}" id="ot1"/>
    <af:outputText value="#{attr.FirstName}" id="outputText1"/>
    <af:outputText value="#{attr.LastName}" id="outputText2"/>
    </af:iterator>
    </af:panelGroupLayout>
    </af:panelBox>
    </af:iterator>
    </af:panelGroupLayout>
    When i run the page i see all the parent records as panel boxes but child records are not properly synchronized. The children of first parent is getting repeated inside all parents.This probably is the first parent is set as current row for which its children get repeated in all other parents.
    If i run the same through AppModule it runs perfectly as in appmodule run we hv a NEXT button to iterate the Parent VO.
    Thnks
    -Sanjeeb

    HI ,
    Instead of what you have tried, you can try this. EmployeesView here should be present as a child accessor in DepartmentsView.
    <af:iterator id="i2"
    value="#{bindings.DepartmentsView1.collectionModel}"
    var="row">
    <af:panelBox text="#{row.DepartmentId} --#{row.DepartmentName}"
    id="pb1" styleClass="AFStretchWidth">
    <af:panelGroupLayout id="pgl3" layout="vertical">
    <af:iterator id="i1" value="#{row.EmployeesView}" var="attr">
    <af:panelGroupLayout id="pgl0" layout="horizontal">
    <af:outputText value="#{attr.FirstName}" id="outputText1"/>
    <af:outputText value="#{attr.EmployeeId}" id="outputText2"/>
    <af:outputText value="#{attr.LastName}" id="outputText3"/>
    </af:panelGroupLayout>
    </af:iterator>
    </af:panelGroupLayout>
    </af:panelBox>
    </af:iterator>
    Hope this anwsers your question.
    Thanks,
    TJ

  • Nested Dashboard navigating to wrong Path OBIEE 11.1.1.5

    Hello gurus
    I have created nested dashboard with hep of below thread. But I am facing an issue. I am not sure whether I am wrong some where or its a Bug. Just to make sure we are using OBIEE 11.1.1.5.
    Thread to create Nested Dashboards : Nested Dashboard Pages in OBIEE 11.1.1.6
    Here is the issue:
    I have created a Dashboard "1" and have pages A & B. I have embedded the Dashboard 2 in Dashboard 1- Page A. Dashboard 2 have pages 2a,2b...Etc. Now when I click on dashboard page B which is at Dashboard 1, it give me an error and says that "path not found". The problem is OBIEE is looking for Dashboard Page B in extension of Dashboard 2, Where as it should Ideally look for dashboard page B Under the path of Dashbaord "1". Further When I remove the Embedded content it work fines. Is it a Bug???
    Please help.
    A
    Edited by: user10249572 on Jun 28, 2012 2:02 PM

    First create a dashboard prompt for start date, base it on the date dimension, date column and at the bottom of its list of options opt to set a presentation variable. Give the variable a name eg. pv_dt_start
    Next create a simple request. Add the measure column for Inventory amount and edit the formula to make reference to the presentation variable. You will need to use the 'Filter using' syntax. It will be something like this:
    Filter("Fact Table"."Inventory Measure" USING "Date Dimension"."Date Column" = '@{pv_dt_start}')
    That's it in a nutshell. Repeat the procedure for your end date column.
    Paul
    http://total-bi.com

  • Panel tab component not stretching vertically

    I have a jsff page.
    I have two sections in the page .
    1. top is a panel header and
    2. below it is a panel tab component.(ADFStretchwidth is already set .)
    When i ran the page the the page is renderring, but below the tab panel Still there are some space left .
    I want to render the tab to occupy the whole space .
    I have already tried using a panel stretch layout but it didnot work.
    Any pointers ??
    Thanks
    Sumit Yadav

    Hi Sumit,
    Try as mentioned below:
    <af:panelTabbed id="pt2" dimensionsFrom="disclosedChild">
    <af:showDetailItem text="#{'Tab1'}" id="sdi1"
    styleClass="AFStretchWidth" stretchChildren="first" >
    </af:showDetailItem>
    <af:showDetailItem text="#{'Tab2'}" id="sdi2"
    styleClass="AFStretchWidth" stretchChildren="first" >
    </af:showDetailItem>
    </<af:panelTabbed>
    Thanks,
    Navaneeth

  • I get errors when using tomahawak inputFileUpload component.

    Hello everyone. I am a newbie with JSF. I use netbeans 6.1 and apache myfaces and tomahawk libraries. I need to upload a file. I use <t:inputFileUpload /> component of tomahawk but cant put it to work. When i choose the file from the browser and click upload button i get this error on browser.
    HTTP Status 500 -
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    javax.servlet.ServletException: java.lang.NoClassDefFoundError: Could not initialize class org.apache.myfaces.shared_tomahawk.config.MyfacesConfig
         org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:135)
         org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:390)
    root cause
    java.lang.NoClassDefFoundError: Could not initialize class org.apache.myfaces.shared_tomahawk.config.MyfacesConfig
         org.apache.myfaces.renderkit.html.util.AddResourceFactory.getInstance(AddResourceFactory.java:282)
         org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:126)
         org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:390)
    note The full stack trace of the root cause is available in the Apache Tomcat/6.0.16 logs.
    Apache Tomcat/6.0.16and my jsp page is below
    <%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
    <%@page contentType="text/html"%>
    <%@page pageEncoding="UTF-8"%>
    <%@taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
    <%@taglib prefix="h" uri="http://java.sun.com/jsf/html"%>
    <%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t" %>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
       "http://www.w3.org/TR/html4/loose.dtd">
    <%--
        This file is an entry point for JavaServer Faces application.
    --%>
    <f:view>
    <html>
        <head>
            <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
            <title>Endersys License Upload Page</title>
        </head>
        <body>
            <h:form id="uploadForm" enctype="multipart/form-data">
                <t:inputFileUpload  id="fileUplod" value="#{upload_backing.file}"
                                    storage="file" required="true"/>
                <h:message for="fileUpload" />
                <h:commandButton value="upload" action="#{upload_backing.upload}" />
               <h:outputText value="File Uploaded Succesfully" rendered="#{upload_backing.success}"
                             style="color:green" />
               <h:outputText value="Error: File is not uploaded"
                             rendered="#{upload_backing.success}" style="color:red" />
            </h:form>
        </body>
    </html>
    </f:view>and this is the content of web.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
        <context-param>
            <param-name>com.sun.faces.verifyObjects</param-name>
            <param-value>false</param-value>
        </context-param>
        <context-param>
            <param-name>com.sun.faces.validateXml</param-name>
            <param-value>true</param-value>
        </context-param>
        <context-param>
            <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
            <param-value>client</param-value>
        </context-param>
        <servlet>
            <servlet-name>Faces Servlet</servlet-name>
            <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
            <load-on-startup>1</load-on-startup>
        </servlet>
        <servlet-mapping>
            <servlet-name>Faces Servlet</servlet-name>
            <url-pattern>/faces/*</url-pattern>
        </servlet-mapping>
        <session-config>
            <session-timeout>
                30
            </session-timeout>
        </session-config>  
       <filter>
         <filter-name>MyFacesExtensionsFilter</filter-name>
         <filter-class>org.apache.myfaces.webapp.filter.ExtensionsFilter</filter-class>
        <init-param>
            <param-name>maxFileSize</param-name>
            <param-value>10m</param-value>
            <description>Set the size limit for uploaded files.
                Format: 10 - 10 bytes
                        10k - 10 KB
                        10m - 10 MB
                        1g - 1 GB
            </description>
        </init-param>
        <init-param>
            <param-name>uploadRepositoryPath</param-name>
            <param-value>/tmp</param-value>
        </init-param>
        </filter>
    <!-- extension mapping for adding <script/>, <link/>, and other resource tags to JSF-pages  -->
    <filter-mapping>
        <filter-name>MyFacesExtensionsFilter</filter-name>
        <!-- servlet-name must match the name of your javax.faces.webapp.FacesServlet entry -->
        <servlet-name>Faces Servlet</servlet-name>
    </filter-mapping>
    <!-- extension mapping for serving page-independent resources (javascript, stylesheets, images, etc.)  -->
    <filter-mapping>
        <filter-name>MyFacesExtensionsFilter</filter-name>
        <url-pattern>/faces/myFacesExtensionResource/*</url-pattern>
    </filter-mapping>
        </web-app>and the bean i use is here
    * To change this template, choose Tools | Templates
    * and open the template in the editor.
    package bean.backing;
    import java.io.*;
    import javax.servlet.http.*;
    import org.apache.myfaces.custom.fileupload.UploadedFile;
    import javax.faces.context.FacesContext;
    * @author brhn
    public class main {
        private UploadedFile file;
        boolean success = false;
        public main() {}
        public UploadedFile getFile() {
            return file;
        public void setFile(UploadedFile file) {
            this.file = file;
        public void upload() throws IOException {
                try {
                    InputStream stream = file.getInputStream();
                    long size = file.getSize();
                    byte [] buffer = new byte[(int)size];
                    stream.read( buffer, 0, (int)size );
                    stream.close();
                    success = true;
            } catch (Exception e) {
                success = false;
        public boolean isSuccess () {
            return success;
    }i need to make it work. All helps will be appreciated

    The logs are by default located in Tomcat/logs and configurable by Tomcat/conf/logging.properties.
    Having said that, when I google on [java.lang.NoClassDefFoundError: Could not initialize class org.apache.myfaces.shared_tomahawk.config.MyfacesConfig|http://www.google.com/search?q=java.lang.NoClassDefFoundError%3A+Could+not+initialize+class+org.apache.myfaces.shared_tomahawk.config.MyfacesConfig] then I have the impression that you're using Tomahawk 1.1.7 snapshot and there might be a bug in it. Try using Tomahawk 1.1.6 and see if it works. After all, you may have more luck if you post this issue at their own mailinglist at tomahawk.apache.org.

  • Obiee 11g Agent- Device (dashboard) is not set in (Userid) delivery profile

    hi
    HI
    I have followed the steps (http://obieemanu.blogspot.in/2011/06/obiee-11g-configure-oracle-bi-scheduler.html) and enabled Agents.
    I am sending the mails succesfully But i am receiving below error....
    Eventually succeeded, but encountered and resolved errors...
    Number of skipped recipients: 0 of 1
    AgentID: /shared/SSystem Administration/26APRAGENT
    Device (dashboard) is not set in (Userid) delivery profile.
    Please suggest me if i missed anything
    Regards
    Edited by: 917796 on May 2, 2012 2:05 AM
    Edited by: 917796 on May 2, 2012 2:06 AM

    Hi
    Sorry for the delayed reply i havnt looked in to ibots for last few months...
    Steps to configure device..
    After login into analytics....click on ur username u used to login and select My Account..there u can Add email..
    As for as i know u can do this only if u are sending ibots to few users...
    we have to create SA system subject area as shown in below URL
    http://oraclebizint.wordpress.com/2008/04/25/oracle-bi-ee-101332-sa-system-subject-area-autoloading-profiles-and-bursting/
    please send a test mail to [email protected] i will send u a doc with screen shots on how to add Device..
    Apologies again...for the delayed reply

  • Passing date to xcelius dashboard using openDocument.jsp

    Hi.
    I created a xcelsius dashboard that uses WEBI report through live-office connection. this dahsboard was uploaded to BO server (InfoView), and I am using openDocument.jsp to view it. ht ejsp gets parameters that I use to set prompts.
    Well, for numbers and strings it works fine, but when I try to pass dates, I get the following error:
    I am using Xceslis 2008
    Cannot Access External Data
    For input string: "31/12/2010" (LO 26000)
    I am using the following URL to open the document:
    http://nextgen-zone:4400/OpenDocument/opendoc/openDocument.jsp?sKind=flash&sRefresh=Y&sDocName=AOF_test_XCLSS_2&sPath=[Help]&lsSK4=2&lsSK1=1&lsSK2=Udiii
    The parameters are passed to some cells in the excel sheet (using Flash Variables in the Data Manager), and it then passed to the Live Office using "Modify Object" -> Prompt Setting.. and then selecting "Choose Excel data range" and selecting some  cell (from the Live Office menu in excel).
    I put some "debug" table in the dashboard, and I see that the date is passed OK to the sheet, therefore, I think that the problem is when the parameters values are passed to the WEBI/Live Office from the sheet, and not from the jsp to the dashboard.
    How can this issue be solved ?
    Thanks  a lot,
    Ehud.

    Try to bind a constant value (same as the one you pass over the flash variable) to the parameter of your LO connection and see if it works. I do believe that the value passed can be a problem here (you may need a key and not the descriptive value).
    Regards,
    Stratos

  • DML on nested tables using SQL

    Hello. Can anyone tell me what's wrong??
    SQL> create type mytype as table of varchar2(20);
    Type created
    real: 78
    SQL> declare
    2 c mytype;
    3 begin
    4 select table_name bulk collect into c from user_tables;
    5 delete from table(cast(c as mytype));
    6 end;
    7 /
    declare
    ERROR at line 1:
    ORA-06550: line 5, column 13:
    PL/SQL: ORA-00903: invalid table name
    ORA-06550: line 5, column 1:
    PL/SQL: SQL Statement ignored
    real: 31

    we cannot use variables in regular SQL. It has to be
    dynamic, viz
    begin
    for r in ( select table_name from user_tables )
    loop
    execute immediate ' delete from '||r.table_name;
    d loop;
    end;
    /Cheers, APCyes, but user_tables was only a example. I want to load some data into nested table using BULK COLLECT and then perform some operation on this pl/sql table.
    For example:
    SELECT col BULK COLLECT INTO c FROM a_table;
    SELECT * BULK COLLECT INTO d FROM TABLE(CAST (c AS sql_type));
    --After that c and d contain the same data
    --but for example
    UPDATE TABLE(CAST(c AS sql_type)) Set c.col=...;
    generates invalid table name.
    Why SELECT INTO works, and UPDATE doesn't (all of this was in PL/SQL context, not SQL).

Maybe you are looking for

  • ITunes 10.5 installation problem on Lion 10.7.2

    I've first upgraded Lion to 10.7.2 with http://support.apple.com/kb/DL1459 because it was failing with the regular software upgrade, then I run software upgrade again and chose to upgrade iTunes. The installation failed without any useful output. The

  • Photoshop CS5/Lightroom 3 integration issue - "Edit Copy with Lightroom Adjustments" does not work

    When clicking "Edit Copy with Lightoomroom Adjustments" from Lightroom, I get an error in Lightroom 3 complaining that the Camera Raw plug-in is not up to date; full message below. "This version of Lightroom may require the Photoshop Camera Raw plug-

  • IPhone4 to Apple TV movie streaming problem

    Movies recorded using my iPhone stream no problem to Apple TV via Airplay but movies that have been downloaded seperately and loaded onto my iPhone and are stored in my iPod part of the iPhone do not have the Airplay icon to allow streaming. Any idea

  • 2nd RAM slot blocked from factory on new iMac?

    I just received a new 20" base iMac with 1 gig of RAM today. I had purchased an additional 1 gig from crucial.com to add when it arrived. When I tried to install it the black plastic tab on the empty slot actually curled up on the BACK end and preven

  • Need client copy of production server in quality server

    Hi, I need the client copy of production server with application data in quality server. How i do this? Main purpose is we have no data in quality server in testing purpose.  if we configure the client of production server in Quality, we can test it