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

Similar Messages

  • 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

  • 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>

  • Horizontal Spry Menu Pushing my content to the right

    Hello everyone. I am very new to Dreamweaver and so far I am loving the ease of use and how much I can do with it. However, I recently tried adding a spry menu bar - horizontally, but it has pushed my content to the right of the page. The web page is www.iowapva.org
    Any help on getting this squared away is greatly appreciated. I want to learn so if there is something wrong that needs corrected or have advise on correcting the site, I am open.
    Thanks,
    Brad

    Add or modify the following
    #page {
        clear: both;
    ul.MenuBarHorizontal ul {
        position: absolute;
    Personally I would add these to just above the </head> tag as in
    <script src="SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
    <style>
    #page {
        clear: both;
    ul.MenuBarHorizontal ul {
        position: absolute;
    </style>
    </head>

  • Spry Menu with submenu border?

    Hi Everyone,
    I'm a bit of a newbie, and I am designing a website with a spry menu (which I have since found out probably wasn't the best way to go) and I have hit a hurdle which I can't fix or find the solution to anywhere. I'm hoping it might be easy for you guys.
    I have attached a pic of the problem, one menu item has a submenu, this is the 'About' menu, as you can see, it has a border top and bottom that I can't seem to find in the code in order to get rid of it. If anyone could let me know how to fix this I'll be extremely grateful!
    Also, any suggestions of better menu methods would be appreciated.
    Have a nice day
    Spry CSS below:
    @charset "UTF-8";
    /* SpryMenuBarHorizontal.css - version 0.6 - Spry Pre-Release 1.6.1 */
    /* Copyright (c) 2006. Adobe Systems Incorporated. All rights reserved. */
    LAYOUT INFORMATION: describes box model, positioning, z-order
    /* The outermost container of the Menu Bar, an auto width box with no margin or padding */
    ul.MenuBarHorizontal
        padding: 0;
        list-style-type: none;
        font-size: 100%;
        cursor: default;
        width: 100%;
        float: none;
        margin-top: 0;
        margin-right: auto;
        margin-bottom: 0;
        margin-left: auto;
    /* Set the active Menu Bar with this class, currently setting z-index to accomodate IE rendering bug: http://therealcrisp.xs4all.nl/meuk/IE-zindexbug.html */
    ul.MenuBarActive
        z-index: 1000;
    /* Menu item containers, position children relative to this container and are a fixed width KN: width changed to auto */
    ul.MenuBarHorizontal li
        margin: 0;
        list-style-type: none;
        font-size: 18px;
        position: relative;
        text-align: left;
        cursor: pointer;
        width: auto;
        white-space: nowrap;
        float: left;
        font-family: Arial, Helvetica, sans-serif;
        font-style: normal;
        font-weight: bolder;
        text-transform: uppercase;
        padding: 0;
    /* Submenus should appear below their parent (top: 0) with a higher z-index, but they are initially off the left side of the screen (-1000em) */
    ul.MenuBarHorizontal ul
        margin: 0;
        padding: 0;
        list-style-type: none;
        font-size: 100%;
        z-index: 1020;
        cursor: default;
        width: auto;
        position: absolute;
        left: -1000em;
    /* Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to auto so it comes onto the screen below its parent menu item */
    ul.MenuBarHorizontal ul.MenuBarSubmenuVisible
        left: auto;
    /* Menu item containers are same fixed width as parent */
    ul.MenuBarHorizontal ul li
        float:none;
    /* Submenus should appear slightly overlapping to the right (95%) and up (-5%) */
    ul.MenuBarHorizontal ul ul
        position: absolute;
        margin: -5% 0 0 95%;
    /* Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to 0 so it comes onto the screen */
    ul.MenuBarHorizontal ul.MenuBarSubmenuVisible ul.MenuBarSubmenuVisible
        left: auto;
        top: 0;
    DESIGN INFORMATION: describes color scheme, borders, fonts
    /* Submenu containers have borders on all sides */
    /*ul.MenuBarHorizontal ul
        border: 1px solid #CCC;
    /* Menu items are a light gray block with padding and no text decoration. KN: I removed the border radius prior to this it was border-radius: 5px 5px 0px 0px;*/
    ul.MenuBarHorizontal a
        display: block;
        cursor: pointer;
        padding-left: 1.1em;
        padding-right: 1.1em;
        padding-top: 1em;
        padding-bottom: 1em;
        text-decoration: none;
        color: #009007;
        border-bottom: 2px;
        border-right: 0.3px #333333;
        border-bottom-color: rgb(51,51,51);
        background-image: url(../Images/spry-menu%20chrome.jpg);
        background-position: right;
    /* Menu items that have mouse over or focus have a blue background and white text */
    ul.MenuBarHorizontal a:hover, ul.MenuBarHorizontal a:focus
        color: #333;
        background-image: url(../Images/spry-menu-chrome-hover.jpg);
    /* Menu items that are open with submenus are set to MenuBarItemHover with a blue background and white text */
    ul.MenuBarHorizontal a.MenuBarItemHover, ul.MenuBarHorizontal a.MenuBarItemSubmenuHover, ul.MenuBarHorizontal a.MenuBarSubmenuVisible
        background-image: url(../Images/spry-menu-chrome-hover.jpg);
        color: #333;
    SUBMENU INDICATION: styles if there is a submenu under a given menu item
    /* Menu items that have a submenu have the class designation MenuBarItemSubmenu and are set to use a background image positioned on the far left (95%) and centered vertically (50%) */
    ul.MenuBarHorizontal a.MenuBarItemSubmenu
        background-repeat: no-repeat;
        background-position: 95% 50%;
        color: rgb(0,141,7);
        background-image: url(../Images/spry-menu%20chrome.jpg);
    /* Menu items that have a submenu have the class designation MenuBarItemSubmenu and are set to use a background image positioned on the far left (95%) and centered vertically (50%) */
    ul.MenuBarHorizontal ul a.MenuBarItemSubmenu
        background-repeat: no-repeat;
        background-position: 95% 50%;
        background-color: rgb(3,139,7);
    /* Menu items that are open with submenus have the class designation MenuBarItemSubmenuHover and are set to use a "hover" background image positioned on the far left (95%) and centered vertically (50%) */
    ul.MenuBarHorizontal a.MenuBarItemSubmenuHover
        background-position: 95% 50%;
        background-image: url(../Images/spry-menu-chrome-hover.jpg);
        color: #333;
    /* Menu items that are open with submenus have the class designation MenuBarItemSubmenuHover and are set to use a "hover" background image positioned on the far left (95%) and centered vertically (50%) */
    ul.MenuBarHorizontal ul a.MenuBarItemSubmenuHover
        background-position: 95% 50%;
        background-image: url(../Images/spry-menu-chrome-hover.jpg);
        color: #333;
    BROWSER HACKS: the hacks below should not be changed unless you are an expert
    /* HACK FOR IE: to make sure the sub menus show above form controls, we underlay each submenu with an iframe */
    ul.MenuBarHorizontal iframe
        position: absolute;
        z-index: 1010;
        filter:alpha(opacity:0.1);
    /* HACK FOR IE: to stabilize appearance of menu items; the slash in float is to keep IE 5.0 from parsing */
    @media screen, projection
        ul.MenuBarHorizontal li.MenuBarItemIE
            display: inline;
            float: left;
            background: #FFF;

    Hi Gramps,
    Here is the site:
    http://www.wordartist.com/mythicharacters
    If you hover on "Sacred Arts", you'll see the behavior.
    Thanks for taking a look at this,
    Phlange98

  • Spry menu with 1px (line? shift?) down in IE7

    Hi. I built a spry menu that works great on my Mac using Safari, Opera, Firefox, Flock, Navigator. But on my PC, using IE7, there appears a 1px (white) line at the top of the menu. At first, I thought IE7 was shifting the menu down 1px. But I see a 1px (white) line between (at the top of) each submenu item, and think it may be the same issue. Can anyone help?
    Thanks.
    Here's the example: http://www.ontherise.org/Rev/
    Here's the css I'm using for the menu:
    @charset "UTF-8";
    /* SpryMenuBarHorizontal.css - version 0.6 - Spry Pre-Release 1.6.1 */
    /* Copyright (c) 2006. Adobe Systems Incorporated. All rights reserved. */
    LAYOUT INFORMATION: describes box model, positioning, z-order
    /* The outermost container of the Menu Bar, an auto width box with no margin or padding */
    ul.MenuBarHorizontal
    padding: 0;
    list-style-type: none;
    font-size: 100%;
    cursor: default;
    width: auto;
    margin-top: 0;
    margin-right: 0;
    margin-bottom: 0;
    margin-left: 12px;
    list-style-image: none;
    text-decoration: none;
    /* Set the active Menu Bar with this class, currently setting z-index to accomodate IE rendering bug: http://therealcrisp.xs4all.nl/meuk/IE-zindexbug.html */
    ul.MenuBarActive
    z-index: 1000;
    /* Menu item containers, position children relative to this container and are a auto width that stretches to accomodate text */
    ul.MenuBarHorizontal li
    margin: 0;
    padding: 0;
    list-style-type: none;
    font-size: 100%;
    position: relative;
    text-align: left;
    cursor: pointer;
    width: auto;
    float: left;
    list-style-image: none;
    text-decoration: none;
    /* Submenus should appear below their parent (top: 0) with a higher z-index, but they are initially off the left side of the screen (-1000em) */
    ul.MenuBarHorizontal ul
    margin: 0;
    padding: 0;
    list-style-type: none;
    font-size: 100%;
    z-index: 1020;
    cursor: default;
    width: 19em;
    position: absolute;
    left: -1000em;
    text-decoration: none;
    /* Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to auto so it comes onto the screen below its parent menu item */
    ul.MenuBarHorizontal ul.MenuBarSubmenuVisible
    left: auto;
    /* Menu item containers are same fixed width as parent */
    ul.MenuBarHorizontal ul li
    width: 19em;
    /* Submenus should appear slightly overlapping to the right (95%) and up (-5%) */
    ul.MenuBarHorizontal ul ul
    position: absolute;
    margin: -5% 0 0 95%;
    /* Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to 0 so it comes onto the screen */
    ul.MenuBarHorizontal ul.MenuBarSubmenuVisible ul.MenuBarSubmenuVisible
    left: auto;
    top: 0;
    DESIGN INFORMATION: describes color scheme, borders, fonts
    /* Submenu containers have borders on all sides */
    ul.MenuBarHorizontal ul
    border: 1px solid #FFFFFF;
    /* Menu items are a red block with padding and no text decoration. Stephen added the ul.MenuBarHorizontal a:visited to keep the same treatment for visited links */
    ul.MenuBarHorizontal a, ul.MenuBarHorizontal a:visited
    display: block;
    cursor: pointer;
    background-color: #992E2E;
    color: #FFFFFF;
    font-weight: bold;
    text-decoration: none;
    padding-top: 0.5em;
    padding-right: 2em;
    padding-bottom: 0.2em;
    padding-left: 0.5em;
    text-decoration: none;
    /* Stephen added this  id selector so a clicked main tab would remain a white block*/
    #clicked
    background-color: #FFFFFF;
    color: #000000;
    text-decoration: none;
    /* Menu items that are open with submenus are set to MenuBarItemHover with a white background and black text */
    ul.MenuBarHorizontal a.MenuBarItemHover, ul.MenuBarHorizontal a.MenuBarItemSubmenuHover, ul.MenuBarHorizontal a.MenuBarSubmenuVisible
    background-color: #FFFFFF;
    color: #000000;
    text-decoration: none;
    /* Menu items that have mouse over or focus have an orange background and black text. Stephen added the ul.MenuBarHorizontal a:hover#clicked so the hover highlight color would appear when you mouse over a clicked state main menu item */
    ul.MenuBarHorizontal a:hover, ul.MenuBarHorizontal a:focus,
    ul.MenuBarHorizontal a:hover#clicked
    background-color: #FFCC66;
    color: #000000;
    text-decoration: none;
    SUBMENU INDICATION: styles if there is a submenu under a given menu item
    /* Menu items that have a submenu have the class designation MenuBarItemSubmenu and are set to use a background image positioned on the far left (95%) and centered vertically (50%) */
    ul.MenuBarHorizontal a.MenuBarItemSubmenu
    background-image: url(SpryMenuBarDown.gif);
    background-repeat: no-repeat;
    background-position: 95% 50%;
    /* Menu items that have a submenu have the class designation MenuBarItemSubmenu and are set to use a background image positioned on the far left (95%) and centered vertically (50%) */
    ul.MenuBarHorizontal ul a.MenuBarItemSubmenu
    background-image: url(SpryMenuBarRight.gif);
    background-repeat: no-repeat;
    background-position: 95% 50%;
    /* Menu items that are open with submenus have the class designation MenuBarItemSubmenuHover and are set to use a "hover" background image positioned on the far left (95%) and centered vertically (50%) */
    ul.MenuBarHorizontal a.MenuBarItemSubmenuHover
    background-image: url(SpryMenuBarDownHover.gif);
    background-repeat: no-repeat;
    background-position: 95% 50%;
    /* Menu items that are open with submenus have the class designation MenuBarItemSubmenuHover and are set to use a "hover" background image positioned on the far left (95%) and centered vertically (50%) */
    ul.MenuBarHorizontal ul a.MenuBarItemSubmenuHover
    background-image: url(SpryMenuBarRightHover.gif);
    background-repeat: no-repeat;
    background-position: 95% 50%;
    BROWSER HACKS: the hacks below should not be changed unless you are an expert
    /* HACK FOR IE: to make sure the sub menus show above form controls, we underlay each submenu with an iframe */
    ul.MenuBarHorizontal iframe
    position: absolute;
    z-index: 1010;
    filter:alpha(opacity:0.1);
    /* HACK FOR IE: to stabilize appearance of menu items; the slash in float is to keep IE 5.0 from parsing */
    @media screen, projection
    ul.MenuBarHorizontal li.MenuBarItemIE
    display: inline;
    f\loat: left;
    background: #FFF;

    I guess the real question is: is there any reason IE7 would add a 1px white line at the top of the main menu and each submenu?

  • 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.

  • Spry Accordian with dynamic panels from XML

    Hi. I've searched, but haven't seen anybody answer this yet.
    I'm trying to build a page that uses a spry accordian to display
    data by category. So category 1 is on panel 1 in a spry table with
    a link to a spry detail section on the page. Category 2 is on panel
    2 in a spry table with a link to the same spry detail section, etc.
    I have 2 issues: 1) I haven't figured out how to filter a
    single XML data set onto different accordian panels or
    2) how to get the same detail region to take links from
    different XML data sets on the different panels.
    Any help that anybody could give would be VERY much
    appreciated.
    THANKS!

    I did get it working. Please check out..
    http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?catid=602&threadid=1334877
    The key is the Data Set Shell. I use multiple data sets for
    each category, in your case department. Then I list the items in
    that category to update a detail region. If the above link doesn't
    help you please re-post and I can give you some more help.

  • 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

  • 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

  • .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" %>

  • Spry Menu Bar- Display content below menu

    After playing around a bit in DW as I am still very new to it I have gotten a menu bar setup with the appropriate links. I have been using frames with the top frame that displays the menu bar and the bottom frame to show the content. This works but since each tab drops down 4-5 items i need to make the top frame longer so all items display but leaves a lot of white space when it is just the menu bar showing by itself.
    What other method is there that I can use  that will display the menu bar AND display the contents below it?  Im sure this wont be possible using frames so is there an easy way to do so in dreamweaver?

    Its intended to be run locally so I dont have a link but here is the html for my index file. As you can see I have set the top row at 200 so it will display all the items in the menu bar when a user hovers over one of the bars. What I am trying to do is eliminate the white space by setting the top frame to around 60 but doing so you wont be able to see the drop down items. Make sense?
    <html>
    <title> Testing </title>
    <frameset rows="200,*">
    <frame src = "menu.html"
    <frame src = "Homepage.html"
    name="showframe">
    </frameset>
    </html>

  • 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

  • OHS forwarding page request to WebLogic

    I have WebLogic v10.3.3.0 installed and up and running with Clustering. It has two managed servers, and each managed server is set up with SSL. I have an application deployed to the two managed servers and can bring up the application if typing in th

  • IPhoto event icons not displaying in chronological order. How do I fix?

    iPhoto event icons not displaying in chronological order. How do I fix?

  • DMEE PMW Field FPAYHX CHECK

    Hello, I am attempting to create a payment media workbench file for ACH payments. I have created a check lot number seriers and assigned it to my ACH payment method, thus allowing us to track ACH payments in the check register. I want to use the fiel

  • NEEDED: St. Louis Flex 2 developer

    If you don't live in St. Louis DO NOT respond. This is a small calendar project. This is not a full-time job or even a part-time job. Just a one-time project with possibility for future projects. Flex 2 and ColdFusion experience is a plus.

  • [IDCS3 WIN Insert Text Variables into a document

    Hi all. Please, I need insert a Text Variable into a document. This document is not open in a window (I am importing it). Using ITextVariableSuite is not possible. Any idea, suggestion, way of work,...? Thanks in advance. Best regards, Juanma.