Upload/ Download with dynamic contents

Hi Friends,
I have to download a table content to an excel sheet that is dynamically generated on the basis of users' selection. I gone through examples 23 & 39 given in samples section for web dynpro but that works when I know the exact file to be downloaded from WAS but in my case, I have to create a file (as it seems to me) having the dynamically generated content & then I can download it to the client system. Here comes the problem, jxl package is not getting recognised by Web Dynpro (atleast not with the version I am using) and I am not getting any Web Dynpro API that can work in my case.
Please help me out as this problem is obstructing my way in creating a critical development component.
Thanks & Regards,
Aditya P. Srivastava

Hi Mahesh,
I am using SAP Netweaver 2.0.16 and I tried jxl.write.WritableWorkbook to do the desirable but Web Dynpro is not recognising the above said package. So, I
have to abandon the approach.
Now I am trying the one having the following steps:
(1) In the eventhandler for the link to "Download to Excel" (LinkTOAction UI),
    I am trying to implement the following code:
/This method, after setting the file name & MIME type for the context attribute FileResource (that corresponds to link "Download to Excel"), fetches the path for the node that holds the data I have to download, and then sets that data to the above said path for the context attribute FileResource after converting it into byte[] (as FileResource is of type binary)/
public void onActionDownloadExcel(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
    //@@begin onActionDownloadExcel(ServerEvent)
     IWDAttributeInfo attInfo = wdContext.getNodeInfo().getAttribute(IPrivateZuw_ReposView.IContextElement.CTX__VA__FILE_RESOURCE);
//     attInfo.getModifiableSimpleType();
     IWDModifiableBinaryType binary = (IWDModifiableBinaryType)attInfo.getModifiableSimpleType();
     binary.setFileName(fileName);
     binary.setMimeType(WDWebResourceType.XLS);
     IPrivateZuw_ReposView.ICtx_vn_showallNode showData = wdContext.nodeCtx_vn_showall();
     IPrivateZuw_ReposView.ICtx_vn_showallElement showEle = null;
     try
          String resourcePath = WDURLGenerator.getResourcePath(wdContext.nodeCtx_vn_showall().toString());
          wdComponentAPI.getMessageManager().reportSuccess(resourcePath);
          ByteArrayOutputStream out = new ByteArrayOutputStream();
          out = this.getByteArrayFroResourcePath(resourcePath);
                                if(out != null)
          wdContext.currentContextElement().setCtx_va_FileResource(out.toByteArray());
                                else
                                   wdComponentAPI.getMessageManager().reportWarning("ByteArrayOutputStream returned as NULL");
     catch(Exception e)
          wdComponentAPI.getMessageManager().reportWarning("Exception");
    //@@end
(2) And for the function getByteArrayFroResourcePath(String), I've written:
/*This returns ByteArrayOutputStream for the given resourcePath (It is, in my case, for the context node that holds the data I have to download) */
public java.io.ByteArrayOutputStream getByteArrayFroResourcePath( java.lang.String resourcePath )
    //@@begin getByteArrayFroResourcePath()
     try
            FileInputStream in = new FileInputStream(new File(resourcePath));
            ByteArrayOutputStream out = new ByteArrayOutputStream();
            int length;
            byte[] part = new byte[10*1024];
            while((length = in.read(part)) != -1 )
                 out.write(part, 0 , length);
            in.close();
            return out;
            catch(FileNotFoundException e)
                 wdComponentAPI.getMessageManager().reportException(e.getLocalizedMessage(),true);
            catch(IOException e)
                 wdComponentAPI.getMessageManager().reportException(e.getLocalizedMessage(),true);
            return null;
    //@@end
But this approach, though seems to me quite right, has problem. As the context node that holds data I need to download in Excel is not a Deployable object, so the system doesn't returns me the resource path; instead it is giving me
".\temp\webdynpro\web\Context_Node(system cannot find the file specified)".
ByteArrayOutputStream returned as NULL.
See into the issue and help me in getting the right solution.
Thanks & Regards,
Aditya P. Srivastava

Similar Messages

  • Why is the album art from our iTunesU site not downloading with the content?

    Recently, the album art from our iTunes U site has not been downloading with the content. We have tried downloading content from other pages and we get the album art, but when we download out own content the album art does not download with the files. The art appears in the iTunes store so there should not be a problem with the files.  Any idea why this is happening? Here is the link to the iTunes U page for your information.http://itunes.apple.com/gb/institution/university-of-london/id422825754

    Here is the link to the iTunes U page for your information. http://itunes.apple.com/gb/institution/university-of-london/id422825754

  • Logic to upload file with dynamic columns

    hi
    in my requirement i hav given to add logic to upload file with dynamic columns so that this upload program can be reused.
    this way the program is flexible, irrespective of the number of columns in the file.
    can any one explain this?
    and let me know what actually i hav to do.

    Check the program and the dynamic column is in the col_pos internal table and in the routines get_structure onwards.
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/scm/dynamic%2bstructures%2band%2bcomponents
    cheers
    Aveek

  • Create Portal Page Design with Dynamic content in Moss2007(without using Visual Studio)

    Hi All,
    I am facing a issue while designing a page in MOSS 2007. I can't use custom code as the client doesn't want it to be used.
    The page is with dynamic content coming from sharepoint lists and picture library. I tried using SharePoint Listview after adding zones as per my page design..but was unsuccessful because I am unable to change its design and css styles in its xslt view.
    Plesae help me to find any alternative so that I can easily style my page with the dynamic content. Is there any way using Content editor webparts? Can we get List data in Content editor html as this can be easily styled. I googled and tried it by using javascript
    and jquery but again unsuccessful.
    Please help me with some solution.
    Thanks..!!

    I recommend your repost this in the WebLogic Portal forum.
    WebLogic Portal

  • Upload files with international content

    I want to upload files with international content(many languages), from
    a single JSP. Any ideas?
    thanks,
    M.

    Hi Marco,
    I dont know transaction CV02N. But if this application uses standard function modules like GUI_UPLOAD it should work with ITS. A special configuration should not be required as long as the files have a size up to 5 MB. If they are larger it might be required to adjust the size of the request container MaxReqSize. Dont forget that Java has to be activated to let webgui access the filesystem.
    Regards,
    Klaus

  • Content Presenter taskflow - with dynamic content ID

    Hi there,
    I am using content presenter taskflow to display HTML content on my WebCenter portal page. I have create one generic page with a content presenter taskflow to display multiple generic pages with dynamically assigning the content ID. Please find below the code snippet for more information.
    <taskFlow id="doclibcontentpresenter1"
    taskFlowId="/oracle/webcenter/doclib/view/jsf/taskflows/presenter/contentPresenter.xml#doclib-content-presenter"
    activation="deferred"
    xmlns="http://xmlns.oracle.com/adf/controller/binding">
    <parameters>
    <parameter id="taskFlowInstId"
    value="${'a18cff64-091c-4181-a21c-513c52cf112a'}"/>
    <parameter id="datasourceType" value="${'dsTypeSingleNode'}"/>
    <parameter id="datasource"
    value="${'UCMCon#dDocName:'}${portalCommonComponents.contentIdForDetailPage}"/>
    <parameter id="templateCategory" value="${''}"/>
    <parameter id="templateView" value="${''}"/>
    <parameter id="maxResults" value="${''}"/>
    </parameters>
    </taskFlow>
    In the above code snippet I have added ${portalCommonComponents.contentIdForDetailPage} which will return the Content ID dynamically. The reason why I have used this approcach is that as per the requirment there are lot of detail pages.
    Everything is working fine but sometimes it's throwing exception for load cache.
    Please suggest is there something wrong with this approach, if so suggest me some alternative solution using single Content Presenter Taskflow to display in multiple pages by assigning content ID dynamically.
    Thanks

    Hi,
    I do not have any custome folder in default navigation.
    Please find the code snippet of default navigation.
    <?xml version="1.0" encoding="US-ASCII" ?>
    <navigationDefinition description="Default Navigation"
    id="default-navigation-model"
    name="Default Navigation"
    xmlns="http://xmlns.oracle.com/adf/rcs/catalog" visible="#{true}">
    <contents xmlns="http://xmlns.oracle.com/adf/rcs/catalog">
    <url visible="#{true}" id="mNav"
    factoryClass="oracle.webcenter.portalframework.sitestructure.rc.AdfPageResourceFactory"
    url="page://KACSTHomePage">
    <attributes>
    <attribute isKey="false" attributeId="Title" value="Main Nav"/>
    <attribute isKey="false" attributeId="Redirect" value="true"/>
    </attributes>
    <contents>
    <url factoryClass="oracle.webcenter.portalframework.sitestructure.rc.AdfPageResourceFactory"
    visible="#{true}" id="whatwedo" url="page://KACSTWhatWeDoPage">
    <attributes>
    <attribute value="WHAT WE DO?" isKey="false" attributeId="Title"/>
    <attribute value="true" isKey="false" attributeId="Redirect"/>
    <attribute value="level-one singlenav" isKey="false"
    attributeId="StyleClass"/>
    <attribute value="WHAT WE DO?" isKey="false"
    attributeId="NavigationTitle"/>
    <attribute isKey="true" attributeId="ArabicTitle"
    value="NAV.WHAT_WE_DO"
    resourceBundle="com.kacst.kacstportal.resourcebundle.KACSTPortalResourceBundle_ar"/>
    </attributes>
    <parameters/>
    <contents>
    <url factoryClass="oracle.webcenter.portalframework.sitestructure.rc.AdfPageResourceFactory"
    visible="#{true}" id="innovation"
    url="page://KACSTInnovationPage">
    <attributes>
    <attribute value="INNOVATION" isKey="false"
    attributeId="Title"/>
    <attribute value="innovation" isKey="false"
    attributeId="StyleClass"/>
    <attribute attributeId="Redirect" isKey="false" value="true"/>
    <attribute attributeId="ArabicTitle" value="NAV.INNOVATION"
    isKey="true"
    resourceBundle="com.kacst.kacstportal.resourcebundle.KACSTPortalResourceBundle_ar"/>
    <attribute isKey="false" value="innovation"
    attributeId="ExternalId"/>
    </attributes>
    <contents>
    <url factoryClass="oracle.webcenter.portalframework.sitestructure.rc.AdfPageResourceFactory"
    visible="#{true}" id="indprop"
    url="page://KACSTGenericDetailPage">
    <attributes>
    <attribute value="Industrial Property" isKey="false"
    attributeId="Title"/>
    <attribute value="true" isKey="false"
    attributeId="Redirect"/>
    <attribute isKey="true" attributeId="ArabicTitle"
    value="NAV.INDUSTRIAL_PROPERTY"
    resourceBundle="com.kacst.kacstportal.resourcebundle.KACSTPortalResourceBundle_ar"/>
    <attribute isKey="false" value="industrialproperty"
    attributeId="ExternalId"/>
    </attributes>
    <parameters/>
    <contents/>
    </url>
    <url factoryClass="oracle.webcenter.portalframework.sitestructure.rc.AdfPageResourceFactory"
    visible="#{true}" id="tiic"
    url="page://KACSTGenericDetailPage">
    <attributes>
    <attribute value="Technology Incubator and Innovation Centers"
    isKey="false" attributeId="Title"/>
    <attribute value="true" isKey="false"
    attributeId="Redirect"/>
    <attribute isKey="true" attributeId="ArabicTitle"
    value="NAV.TECHNOLOGY_INCUBATOR_INNOVATION_CENTERS"
    resourceBundle="com.kacst.kacstportal.resourcebundle.KACSTPortalResourceBundle_ar"/>
    <attribute isKey="false" value="techincubator"
    attributeId="ExternalId"/>
    </attributes>
    <parameters/>
    </url>
    <url factoryClass="oracle.webcenter.portalframework.sitestructure.rc.AdfPageResourceFactory"
    visible="#{true}" id="exi"
    url="page://KACSTGenericDetailPage">
    <attributes>
    <attribute value="Encouraging Excellence and Innovation"
    isKey="false" attributeId="Title"/>
    <attribute value="last" isKey="false"
    attributeId="StyleClass"/>
    <attribute isKey="false" attributeId="Redirect"
    value="true"/>
    <attribute isKey="true" attributeId="ArabicTitle"
    value="NAV.ENCOURAGING_EXCELLATION_INNOVATION_CENTERS"
    resourceBundle="com.kacst.kacstportal.resourcebundle.KACSTPortalResourceBundle_ar"/>
    <attribute isKey="false" value="encourageexcellence"
    attributeId="ExternalId"/>
    </attributes>
    <parameters/>
    </url>
    </contents>
    </url>
    <url factoryClass="oracle.webcenter.portalframework.sitestructure.rc.AdfPageResourceFactory"
    visible="#{true}" id="services" url="page://KACSTServicesPage">
    <attributes>
    <attribute value="SERVICES" isKey="false" attributeId="Title"/>
    <attribute value="true" isKey="false" attributeId="Redirect"/>
    <attribute value="last services" isKey="false"
    attributeId="StyleClass"/>
    <attribute attributeId="ArabicTitle" value="NAV.SERVICES"
    isKey="true"
    resourceBundle="com.kacst.kacstportal.resourcebundle.KACSTPortalResourceBundle_ar"/>
    <attribute isKey="false" value="services"
    attributeId="ExternalId"/>
    </attributes>
    <contents>
    <url factoryClass="oracle.webcenter.portalframework.sitestructure.rc.AdfPageResourceFactory"
    visible="#{true}" id="is"
    url="page://KACSTGenericDetailPage">
    <attributes>
    <attribute value="Information Services" isKey="false"
    attributeId="Title"/>
    <attribute value="true" isKey="false"
    attributeId="Redirect"/>
    <attribute isKey="true" attributeId="ArabicTitle"
    value="NAV.INFORMATION_SERVICES"
    resourceBundle="com.kacst.kacstportal.resourcebundle.KACSTPortalResourceBundle_ar"/>
    <attribute attributeId="ExternalId" isKey="false"
    value="informationservices"/>
    </attributes>
    <contents>
    <url visible="#{true}" id="ovrvw"
    factoryClass="oracle.webcenter.portalframework.sitestructure.rc.AdfPageResourceFactory"
    url="page://KACSTUnderConstructionPage">
    <attributes>
    <attribute value="Overview" attributeId="Title"
    isKey="false"/>
    <attribute value="true" attributeId="Redirect"
    isKey="false"/>
    <attribute isKey="false" attributeId="ArabicTitle"
    value="Overview"/>
    </attributes>
    <parameters/>
    </url>
    <url visible="#{true}" id="servcs"
    factoryClass="oracle.webcenter.portalframework.sitestructure.rc.AdfPageResourceFactory"
    url="page://KACSTUnderConstructionPage">
    <attributes>
    <attribute value="Services" attributeId="Title"
    isKey="false"/>
    <attribute value="true" attributeId="Redirect"
    isKey="false"/>
    <attribute isKey="true" attributeId="ArabicTitle"
    value="NAV.SERVICES"
    resourceBundle="com.kacst.kacstportal.resourcebundle.KACSTPortalResourceBundle_ar"/>
    </attributes>
    <parameters/>
    </url>
    <url visible="#{true}" id="infrmtnresrcs"
    factoryClass="oracle.webcenter.portalframework.sitestructure.rc.AdfPageResourceFactory"
    url="page://KACSTUnderConstructionPage">
    <attributes>
    <attribute value="Information Resources"
    attributeId="Title" isKey="false"/>
    <attribute value="true" attributeId="Redirect"
    isKey="false"/>
    <attribute isKey="true" attributeId="ArabicTitle"
    value="NAV.INFORMATION_RESOURCES"
    resourceBundle="com.kacst.kacstportal.resourcebundle.KACSTPortalResourceBundle_ar"/>
    </attributes>
    <parameters/>
    </url>
    <url visible="#{true}" id="infrmtnsrvcsfaq"
    factoryClass="oracle.webcenter.portalframework.sitestructure.rc.AdfPageResourceFactory"
    url="page://KACSTGenericDetailPage">
    <attributes>
    <attribute value="FAQ" attributeId="Title"
    isKey="false"/>
    <attribute value="true" attributeId="Redirect"
    isKey="false"/>
    <attribute isKey="false" attributeId="ArabicTitle"
    value="FAQ"/>
    <attribute isKey="false" value="faq"
    attributeId="ExternalId"/>
    </attributes>
    <parameters/>
    </url>
    <url visible="#{true}" id="cntctus"
    factoryClass="oracle.webcenter.portalframework.sitestructure.rc.AdfPageResourceFactory"
    url="page://KACSTUnderConstructionPage">
    <attributes>
    <attribute value="Contact Us" attributeId="Title"
    isKey="false"/>
    <attribute value="true" attributeId="Redirect"
    isKey="false"/>
    <attribute value="last" attributeId="StyleClass"
    isKey="false"/>
    <attribute isKey="true" attributeId="ArabicTitle"
    value="NAV.CONTACT_US"
    resourceBundle="com.kacst.kacstportal.resourcebundle.KACSTPortalResourceBundle_ar"/>
    </attributes>
    <parameters/>
    </url>
    </contents>
    </url>
    <url factoryClass="oracle.webcenter.portalframework.sitestructure.rc.AdfPageResourceFactory"
    visible="#{true}" id="ns"
    url="page://KACSTGenericDetailPage">
    <attributes>
    <attribute value="National Services" isKey="false"
    attributeId="Title"/>
    <attribute value="true" isKey="false"
    attributeId="Redirect"/>
    <attribute value="last" isKey="false"
    attributeId="StyleClass"/>
    <attribute isKey="true" attributeId="ArabicTitle"
    value="NAV.NATIONAL_SERVICES"
    resourceBundle="com.kacst.kacstportal.resourcebundle.KACSTPortalResourceBundle_ar"/>
    <attribute attributeId="ExternalId" isKey="false"
    value="nationalservices"/>
    </attributes>
    <contents>
    <url visible="#{true}" id="radiation"
    factoryClass="oracle.webcenter.portalframework.sitestructure.rc.AdfPageResourceFactory"
    url="page://KACSTGenericDetailPage">
    <attributes>
    <attribute value="Radiation" attributeId="Title"
    isKey="false"/>
    <attribute value="true" attributeId="Redirect"
    isKey="false"/>
    <attribute isKey="true" attributeId="ArabicTitle"
    value="NAV.RADIATIONS"
    resourceBundle="com.kacst.kacstportal.resourcebundle.KACSTPortalResourceBundle_ar"/>
    <attribute isKey="false" value="radiation"
    attributeId="ExternalId"/>
    </attributes>
    <parameters/>
    </url>
    <url visible="#{true}" id="rdtnmntrng"
    factoryClass="oracle.webcenter.portalframework.sitestructure.rc.AdfPageResourceFactory"
    url="page://KACSTGenericDetailPage">
    <attributes>
    <attribute value="Radiation Monitoring"
    attributeId="Title" isKey="false"/>
    <attribute value="true" attributeId="Redirect"
    isKey="false"/>
    <attribute isKey="true" attributeId="ArabicTitle"
    value="NAV.RADIATION_MONITORING"
    resourceBundle="com.kacst.kacstportal.resourcebundle.KACSTPortalResourceBundle_ar"/>
    <attribute isKey="false" value="radiationmonitoring"
    attributeId="ExternalId"/>
    </attributes>
    <parameters/>
    </url>
    <url visible="#{true}" id="spcimages"
    factoryClass="oracle.webcenter.portalframework.sitestructure.rc.AdfPageResourceFactory"
    url="page://KACSTGenericDetailPage">
    <attributes>
    <attribute value="Space Images" attributeId="Title"
    isKey="false"/>
    <attribute value="true" attributeId="Redirect"
    isKey="false"/>
    <attribute isKey="true" attributeId="ArabicTitle"
    value="NAV.SPACE_IMAGES"
    resourceBundle="com.kacst.kacstportal.resourcebundle.KACSTPortalResourceBundle_ar"/>
    <attribute isKey="false" value="spaceimages"
    attributeId="ExternalId"/>
    </attributes>
    <parameters/>
    </url>
    <url visible="#{true}" id="crscntobsrvtn"
    factoryClass="oracle.webcenter.portalframework.sitestructure.rc.AdfPageResourceFactory"
    url="page://KACSTGenericDetailPage">
    <attributes>
    <attribute value="Crescent Observation"
    attributeId="Title" isKey="false"/>
    <attribute value="true" attributeId="Redirect"
    isKey="false"/>
    <attribute isKey="true" attributeId="ArabicTitle"
    value="NAV.CRESCENT"
    resourceBundle="com.kacst.kacstportal.resourcebundle.KACSTPortalResourceBundle_ar"/>
    <attribute isKey="false" value="crescentobservation"
    attributeId="ExternalId"/>
    </attributes>
    <parameters/>
    </url>
    <url visible="#{true}" id="sptlinfrmtn"
    factoryClass="oracle.webcenter.portalframework.sitestructure.rc.AdfPageResourceFactory"
    url="page://KACSTGenericDetailPage">
    <attributes>
    <attribute value="Spatial Information"
    attributeId="Title" isKey="false"/>
    <attribute value="true" attributeId="Redirect"
    isKey="false"/>
    <attribute isKey="true" attributeId="ArabicTitle"
    value="NAV.SPATIAL_INFORMATION"
    resourceBundle="com.kacst.kacstportal.resourcebundle.KACSTPortalResourceBundle_ar"/>
    <attribute isKey="false" value="spatialinformation"
    attributeId="ExternalId"/>
    </attributes>
    <parameters/>
    </url>
    <url visible="#{true}" id="mngmntenrgycnsmptn"
    factoryClass="oracle.webcenter.portalframework.sitestructure.rc.AdfPageResourceFactory"
    url="page://KACSTGenericDetailPage">
    <attributes>
    <attribute value="Management Of Energy Consumption"
    attributeId="Title" isKey="false"/>
    <attribute value="true" attributeId="Redirect"
    isKey="false"/>
    <attribute value="last" attributeId="StyleClass"
    isKey="false"/>
    <attribute isKey="true" attributeId="ArabicTitle"
    value="NAV.MANAGEMENT_OF_ENERGY_CONSUMPTION"
    resourceBundle="com.kacst.kacstportal.resourcebundle.KACSTPortalResourceBundle_ar"/>
    <attribute isKey="false"
    value="managementofenergyconsumption"
    attributeId="ExternalId"/>
    </attributes>
    <parameters/>
    </url>
    </contents>
    </url>
    </contents>
    </url>
    </contents>
    </url>
    </contents>
    </url>
    </contents>
    <schema resourceBundle="oracle.adf.rc.attribute.nls.AttributeBundle">
    <descriptor multivalue="false" shortLabelKey="TITLE.SHORT_PROMPT_KEY"
    labelKey="TITLE.PROMPT_KEY" attributeId="Title"
    searchable="true" endUserVisible="true"/>
    <descriptor multivalue="false" shortLabelKey="ACCESS_KEY.SHORT_PROMPT_KEY"
    labelKey="ACCESS_KEY.PROMPT_KEY" attributeId="AccessKey"
    searchable="true" endUserVisible="true"/>
    <descriptor multivalue="false" shortLabelKey="DESCRIPTION.SHORT_PROMPT_KEY"
    labelKey="DESCRIPTION.PROMPT_KEY" attributeId="Description"
    searchable="true" endUserVisible="true"/>
    <descriptor multivalue="false" shortLabelKey="ICON_URI.SHORT_PROMPT_KEY"
    labelKey="ICON_URI.PROMPT_KEY" attributeId="IconURI"
    searchable="true" endUserVisible="true"/>
    <descriptor multivalue="true" shortLabelKey="SUBJECT.SHORT_PROMPT_KEY"
    labelKey="SUBJECT.PROMPT_KEY" attributeId="Subject"
    searchable="true" endUserVisible="true"/>
    <descriptor multivalue="false"
    shortLabelKey="REDIRECT_FLAG.SHORT_PROMPT_KEY"
    labelKey="REDIRECT_FLAG.PROMPT_KEY" attributeId="Redirect"
    searchable="true" endUserVisible="true"/>
    <descriptor multivalue="false" shortLabelKey="TARGET_FRAME.SHORT_PROMPT_KEY"
    labelKey="TARGET_FRAME.PROMPT_KEY" attributeId="Target"
    searchable="true" endUserVisible="true"/>
    <descriptor multivalue="false" shortLabelKey="TOOL_TIP.SHORT_PROMPT_KEY"
    labelKey="TOOL_TIP.PROMPT_KEY" attributeId="ToolTip"
    searchable="true" endUserVisible="true"/>
    <descriptor multivalue="false" shortLabelKey="MODIFIED.SHORT_PROMPT_KEY"
    labelKey="MODIFIED.PROMPT_KEY" attributeId="Modified"
    searchable="true" endUserVisible="true"/>
    <descriptor multivalue="false"
    shortLabelKey="CHANGE_FREQUENCY.SHORT_PROMPT_KEY"
    labelKey="CHANGE_FREQUENCY.PROMPT_KEY"
    attributeId="ChangeFrequency" searchable="true"
    endUserVisible="true"/>
    <descriptor multivalue="false" shortLabelKey="SIGNIFICANCE.SHORT_PROMPT_KEY"
    labelKey="SIGNIFICANCE.PROMPT_KEY" attributeId="Significance"
    searchable="true" endUserVisible="true"/>
    <descriptor multivalue="false" shortLabelKey="EXTERNAL_ID"
    labelKey="EXTERNAL_ID" attributeId="ExternalId"
    searchable="true" endUserVisible="true"
    resourceBundle="oracle.webcenter.navigationeditor.view.resource.NavigationEditorBundle"/>
    <descriptor multivalue="false" shortLabelKey=""
    searchable="true" attributeId="StyleClass"
    labelKey="" endUserVisible="true"
    xmlns="http://xmlns.oracle.com/adf/rcs/catalog"/>
    <descriptor multivalue="false" shortLabelKey=""
    searchable="true" attributeId="NavigationTitle"
    labelKey="" endUserVisible="true"
    xmlns="http://xmlns.oracle.com/adf/rcs/catalog"/>
    <descriptor multivalue="false" shortLabelKey=""
    searchable="true" attributeId="ArabicTitle"
    labelKey="" endUserVisible="true"
    xmlns="http://xmlns.oracle.com/adf/rcs/catalog"/>
    </schema>
    </navigationDefinition>
    Please let me know how to set the log level to FINEST in WebCenter portal, so that I will post he log for your analysis.
    Thanks

  • Need some help with dynamic content

    Okay so I have made a whole site design from the ground up, yea I know thats the easy part haha. Well now we have came into a problem in the coding aspect of the design. For the site we have dynamic content involved that is coded with PHP/HTML. The website contains a user system that requires them to log into view the content of the page.
    Well the issues I am having is I can not get flash to load this external file into a frame I have designated for it. Im not sure if flash can load external PHP/HTML and I need help to figure this issue out since I am new to Flash.
    Thank you for your time,
    Chris.

    One other thing you might try searching for, though to me it's just vague hearsay...  Someone may have written a class that can be use which enhances Flash's limited html capabilities and allows for thml content to be displayed (possibly being its own version of a browser of sorts)... but like I said, it's only hearsay to me, assuming I'm remembering the right hear.

  • Programm an static Design with dynamic Content

    Hello... I have an problem. I want programm an static design and and static menue, but the content must be dynamic. I know how it work with frames, but how does it work with an site only with tables... like this:
    http://www.galaxy-news.de/
    The menu is static but the content is dynamic and is work without frames.. But how? In the faces-config.xml is just an frame value:
    <navigation-case>
    <from-outcome>ok_next</from-outcome>
    <to-view-id>/masterDetail.jsp</to-view-id>
    </navigation-case>
    How does it work without frames. Here an example what I mean. It is an site with JSF without frames, but static design and dynamic content:
    http://www.irian.at/open_source.jsf
    Thanks for help

    <select name="gallerySelect" id="gallerySelect" onchange="dsGalleries.setCurrentRowNumber(this.selectedIndex);" spry:repeatchildren="dsGalleries" spry:choose="choose">
            <option spry:when="{ds_RowNumber} == {ds_CurrentRowNumber}" selected="selected">{sitename}</option>
            <option spry:default="default">{sitename}</option>
          </select>
    If i understand you correctly you want to use links, instead of a select.. You can do it like this:
    <ul spry:repeatchildren="dsGalleries">
         <li><a href="#{ds_RowNumber}" onclick="dsGalleries.setCurrentRowNumber(this.href.replace(/\#/g,''));">{sitename}</a></li>
    </ul>

  • How to upload data with dynamic internal table

    Hi,
    I have to upload the basic , sales, purchasing view data by using bapi depend on check box selected for views.
    i have filled fieldcatalog for selected views and pass the field catalog structure to dynamic int table and
    import it into the field symbol <fs_data>. this field symbol assigned to <fs_1>.
    then callED the 'GUI_UPLOAD '  and  when i pass field symbo for function module i am getting first 10 rows 0f the file .
    flat file has basic data,sales ,purchase fields data
    ex: i was selected basicview and purchase view and execute i am getting basic,sales view data.
    how can i get only basic and purchase data.

    hi ,
    please find code.
    CALL METHOD cl_alv_table_create=>create_dynamic_table
        EXPORTING
          it_fieldcatalog           = lt_fieldcatalog
        IMPORTING
          ep_table                  = <fs_data>
        EXCEPTIONS
          generate_subpool_dir_full = 1
          OTHERS                    = 2.
      IF sy-subrc <> 0.                                         "#EC NEEDED
      ENDIF.
    So <FS_1> now points to our dynamic internal table.
      ASSIGN <fs_data>->* TO <fs_1>.
    Next step is to create a work area for our dynamic internal table.
      CREATE DATA new_line LIKE LINE OF <fs_1>.
    A field-symbol to access that work area
      ASSIGN new_line->*  TO <fs_2>.
      ASSIGN new_line->*  TO <fs_3>.
    CALL FUNCTION 'GUI_UPLOAD'
        EXPORTING
          filename                = p_f
          filetype                = 'DAT'
        TABLES
          data_tab                = <fs_1>
        EXCEPTIONS
          file_open_error         = 1
          file_read_error         = 2
          no_batch                = 3
          gui_refuse_filetransfer = 4
          invalid_type            = 5
          no_authority            = 6
          unknown_error           = 7
          bad_data_format         = 8
          header_not_allowed      = 9
          separator_not_allowed   = 10
          header_too_long         = 11
          unknown_dp_error        = 12
          access_denied           = 13
          dp_out_of_memory        = 14
          disk_full               = 15
          dp_timeout              = 16
          OTHERS                  = 17.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
          WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.

  • Spry Menu with Dynamic Content

    I am having a problem with Spry Menus where the content is
    created dynamically, from another Javascript function.
    This seems to be a Firefox issue: it works in IE7.
    The menu content loads, but the drop down functions don't
    work. Is there a way to make this work.
    Here is an example:
    quote:
    <head>
    <script src="spry/SpryMenuBar.js"
    type="text/javascript"></script>
    <script type="text/javascript">
    <!--
    var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1",
    {imgDown:"../SpryAssets/SpryMenuBarDownHover.gif",
    imgRight:"../SpryAssets/SpryMenuBarRightHover.gif"});
    //-->
    function loadMenu() {
    ... script to build menu content (strMenu)...
    document.getElementByID(MenuBar1).innertHTML=strMenu;
    //-->
    </script>
    <body onload="loadMenu()">
    <div id="menu">
    <ul id="MenuBar1" class="MenuBarHorizontal">
    <ul id="MenuBar1" class="MenuBarHorizontal">
    <li><a class="MenuBarItemSubmenu" href="#">Item
    1</a>
    <ul>
    <li><a href="#">Item 1.1</a></li>
    <li><a href="#">Item 1.2</a></li>
    </ul>
    </li>
    <li><a class="MenuBarItemSubmenu" href="#">Item
    2</a>
    <ul>
    <li><a href="#">Item 2.1</a></li>
    <li><a href="#">Item 2.2</a></li>
    </ul>
    </li>
    </ul>
    </div>
    </body>
    I have tried putting the creation of the menubar widget after
    the menu was filled, but that did not work either.
    Thanks,
    Rob

    Hi,
    You should use observers to activate the Menu after the
    markup is built.
    This has to do with the way styles are applied.
    http://labs.adobe.com/technologies/spry/samples/menubar/MenuFromNestedData.html

  • Upload file with dynamic columns

    Hi,
    My requirement is, I have to upload a file with number of columns being dynamic.
    My Input file column number can vary based on the input data. For one entry it can have 10 columns of input and for another entry it can have just 5. First few columns are common for all entries and then from one particular column the next columns can vary based on the input data.
    I have come across FM 'ALSM_EXCEL_TO_INTERNAL_TABLE' , but for this FM we have to pass the scope of the excel, like the column and row details which is not the required thing in my case.
    Please let me know as to how to achieve the requirement of uploading a file with he number of columns varying.
    Thanks in advance.
    Regards,
    Dedeepya Thota

    Hi,
    Your saying in you excel sheet your entering the details.
    As you said, Suppose your data is 5 columns. And each entry various
    there are 3 records in excel sheet
    one entry contains 5 columns of data
    second entry contains only 2 columns of data
    third entry contains 4 columns of data
    As shown below
    Column1   Column2   Column3  Column4  Column5
      100       AA      AA1         AA2        AA3
      200       BB       BB2      
      300       CC       CC2           CC3
    Now your excel sheet contains data as shown above.
    When you upload this file to your internal table 3 entries will be uploaded and every column contains according to that column value in itab.
    In this case record second entry column3 contains value BB2 will store in itab-column3, But as per our requirement it should store in itab-column4. Same will happen for third entry also.
    In above case you report will not work.
    So wat you have to do is, definatly we know there is some maximum colums in entries.
    You fix for that maximum no.columns in excel and declare your itab.
    In excel you maintian the values according to the columns value which has to maintian.
    For example like below.
    Column1   Column2   Column3  Column4  Column5
      100        AA       AA1         AA2        AA3
      200        BB                        BB2
      300        CC                        CC2        CC3
    If some columns are not having data that will be empty. It wont be any problem. Just you have to maintain your template for data
    and according to your template you have declare itab in your report.
    Regards,
    Shankar.

  • How to fill my collapsible panels with dynamic content from PHP scripts?

    Hi people,
    I'm trying to generate dynamically generated content in a
    Spry collapsible panel. Previously I've generated PHP files that as
    an output generates a dynamic table with the data I want to show. I
    figured it would be possible to use an php include option to
    generate this table in a content section of a Spry collapsible
    panel. However, when I do this the collapsible panels appear to
    join and when panel1 is clicked all tables close instead of only
    panel 1 and all tables are put benath each other without putting it
    in each seperate panel. But when i replace the file with only the
    text "content" it works fine. Do i maybe have to add some kind of
    command at the end of my php file to make it look like the
    "content"-text or is this not the problem?
    I've been looking for the answer now for a couple of weeks on
    various forums and nothing seemed to work for me. Can please
    somebody help me out?
    Greets,
    Damian
    The code in its non working form:
    <head>
    <!--Link the CSS style sheet that styles the Collapsible
    Panel-->
    <link href="SpryAssets/SpryCollapsiblePanel.css"
    rel="stylesheet"
    type="text/css" />
    <!--Link the Spry Collapsible Panel JavaScript
    library-->
    <script src="SpryAssets/SpryCollapsiblePanel.js"
    type="text/javascript"></script>
    </head>
    <body>
    <!--Create the Collapsible Panel widget and assign
    classes to each element-->
    <div id="CollapsiblePanel1" class="CollapsiblePanel1">
    <div class="CollapsiblePanelTab">Tab</div>
    <div class="CollapsiblePanelContent"><?php
    include('details_books.php');?></div>
    </div>
    <div id="CollapsiblePanel2" class="CollapsiblePanel2">
    <div class="CollapsiblePanelTab">Tab</div>
    <div class="CollapsiblePanelContent"><?php
    include('details_authors.php');?></div>
    </div>
    <!--Initialize the Collapsible Panel widget object-->
    <script type="text/javascript">
    var CollapsiblePanel1 = new
    Spry.Widget.CollapsiblePanel("CollapsiblePanel1");
    </script>
    <script type="text/javascript">
    var CollapsiblePanel2 = new
    Spry.Widget.CollapsiblePanel("CollapsiblePanel2");
    </script>
    </body>

    you need to save the page as a php page (.php) It works
    fine

  • .css and .js file with dynamic content

    Hi all !
    I would need to move all my javascript and css code from the JSP to separate files and then just include them to the page.
    This is of course just standard html code so no probs. there. The little twist is though that both the stylesheet and javascript content should be a bit different depending on the request parameters from the user.
    For example the css contains a few images that would need to be used and the paths and names of these images are defined by a custom taglibrary.
    The questions would then be: What is the preferred strategy to handle this? Is there a way to actually change the content of those files dynamically or is it just better to leave the dynamic parts on the page.
    Of course I can always create a separate servlet that generates them on the fly but that is not the way I would like to go...

    if you include your css like
    <LINK HREF=\"/application/css.jsp\" REL=\"stylesheet\" TYPE=\"text/css\">");
    then make sure your jsp has <%@ page contentType="text/css" %> set and you can make that css.jsp be dynamic and give you the css you need.
    SAme applies to javascript with <%@ page contentType="application/x-javascript" %>

  • How to create fillable PDF with dynamic content dropdowns?

    I'm creating a March Madness bracket for people that don't really understand how they work.  What I'd like to do is have dropdowns for each of bracket lines (they would list the teams playing against each other for that game and they would select who they think would win).  I would then like the dropdown for the next game to auto-populate with only the two options for the next round. 
    For example, team A and team B play against each other and teams C and D play against each other.  There are two separate dropdowns, one with A and B as choices and the other with C and D as choices.  The user thinks A and C will win their games, so the next dropdown would only have the options of selecting A and C.  To illustrate:
    AA and B are listed in the dropdown, and the user selects A to win.
    BA or C are listed in the dropdown because the user has selected A and C to win their previous games.
    CC and D are listed in the dropdown, and the user selects C to win.
    D
    I can make the first round dropdowns just fine, but I'm not sure how to conditionally/dynamically populate the second round dropdowns based off of user selections.

    I don't understand your request but my english is not the best.
    But here you can see a script. You can copy this in the first dropdown in the exit-event.
    In this example you will give the first dropdwon the entries
    "123"
    "345"
    "678"
    The first case describes what happens when the user clicks "123" the second drowdown will get the entries "456" and "789".
    When the user clicks "456" the second drowdown will get the entries "123" and "789".
    I think you can adapt this script as you need.
    Hope I could help a little bit,
    Mandy
    switch (xfa.event.newText)
        case "123":
            DropdownListe2.clearItems();
            DropdownListe2.addItem("Please select a value");
            DropdownListe2.addItem("456");
            DropdownListe2.addItem("789");
            DropdownListe2.selectedIndex = 0;
            break;
        case "456":
            DropdownListe2.clearItems();
            DropdownListe2.addItem("Please select a value");
            DropdownListe2.addItem("123");
            DropdownListe2.addItem("789");
            DropdownListe2.selectedIndex = 0;
            break;
        case "789":
            DropdownListe2.clearItems();
            DropdownListe2.addItem("Please select a value");
            DropdownListe2.addItem("123");
            DropdownListe2.addItem("456");
            DropdownListe2.selectedIndex = 0;
            break;
        default:
            break;

  • Q: Creating a drop list with dynamic content?

    Hi,
    Like to start off by saying that I am new to this so be gentle...
    I want to create a JSP which contains a search form.
    To limit the search options I want to present some of
    them as drop lists with pre-defined values.
    As the drop list values need to be easiliy updated
    I want to be able to control the content (using a servlet or a JB).
    What would be the best way of implementing this?
    Examples would be helpful.
    Regrads
    //Jimmy

    This is pretty easy to do. All you have to do is below:
    In the option tags place the jsp variable:
    <option><%=variable%></option>
    Good Luck,
    J.Clancey

Maybe you are looking for

  • F110- payment proposal didn't pick up item

    Hi All, need your help User has created a payment proposal and when take a look at the proposal list, one item is missing which was suppose to be a refund to customer. This customer has 2 documents, only one document didn't get picked up. Also paymen

  • Downpayment  and then invoice (milestone)

    Dear Frnds,                     I have a few issues working with billing plan............pls do assist I am currently using Milestone billing plan for customer transactions. The client  billing plan has booking amount, next installment and Final inst

  • Issue in query transport

    Hi All, I am facing an issue with transporting changed query as below: I made some changes to existing query by adding that query in new transport. Now when i transport that request to production newly added changes/columns are not getting reflected

  • Inputing East Asian languages on ATV2

    I can't type any East Asian languages on apple TV youtube searches. I guess it is possible to use apple remote app with your iphone or ipad and input East Asian languages from those devices? However, I don own an iphone, iPad, or iPod Touch. I bought

  • My iMac (Mac os X Lion 10.7.5) does not connect to known Wi-Fi networks after turning it on or waking it up?

    I've tried downloading this sowftware update  but it says it needs version 10.7.3 Nothing seems to work, Please help.