Getting Container Height With Dynamic Content Added

Hello,
I'm having issues getting a containers height after adding
content to that container. The code below shows you what I'm trying
to do. I have tried to validate the container and still get a 0 in
height. Is there a reason why this is happening because from my
point of view, after I add an object to the container the height of
the container should change. Please help.

Probably has to do with the fact you are calling check() in
applicationComplete, as this code works:

Similar Messages

  • InContext editing error: This region contains content with dynamic behavior added..

    We just set up a web site with InContext editing following the procedures in Business Catalyst documentation to do that. But now when we go to the administration section of the site, and turn on InContext editing, it won't let us update the text. We receive an error message:
    "This region contains content with dynamic behavior added..."
    Does anyone know what causes this problem, and how to fix it?

    Hi,
    InContext Editable (ICE) regions can only contains static areas like text and static  assets, it cannot wrap around javascript – populated areas or dynamic content like slideshows. (most likely causing the error)
    ICE can edit only static page content such as regular HTML content. It cannot edit any element that is dynamically updated for example a div (or another element) which is manipulated (created or its contents are modified) by JS– populated areas or dynamic content like slideshows. It cannot edit menus, content holders or content outputted by system modules or tags either.
    By default, on a page that has no ICE editable regions defined the editor attempts to find any regions you might want to edit and if possible make them editable. If it does not find the correct regions you want to edit you will need to explicitly define some editable regions.
    Refer to this article on Defining InContext Editing editable regions - http://kb.worldsecuresystems.com/838/cpsid_83855.html?bc-partner
    Hope this helps!
    -Sidney

  • 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

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

  • 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

  • I have an interrupted download of music and now I have titles in I-tunes that I can't get rid of with no content

    I have an interrupted download of music that has left me with song titles in I-tunes with no content that are not deletable.  If I download again I end up with doubles on the list with only one having content.  How can I get rid of the blanks?

    Yeah - not really. Sorry - but you will need to get it fixed so you can back it up. You are going to want to Restore your new iPhone from that backup when you get it, so it will really be worth it.
    As soon as you get your new iPhone, set up automatic iCloud backups, or if you don't have Wifi, then it is really important to get into the habit of backing your device up weekly to iTunes.
    Best of luck!
    GB

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

  • Setting accordion content panel height with hidden content

    Following previous instructions, I set
    <!--
    var acc7 = new Spry.Widget.Accordion("Acc7", {
    useFixedPanelHeights: false });
    //-->
    at the bottom of the content page. However, some of the
    accordion panel content is hidden until the user selects a radio
    button. The panel height is not dynamically adjusted to the
    content. FYI, the content is hidden using
    style.visibility = 'hidden
    In SpryAccordion.css, I commented out the height attribute.
    .AccordionPanelContent {
    overflow: auto;
    margin: 0px;
    padding: 0px;
    /* height: 200px; */
    It appears to me that the panel height is still fixed, but by
    what I am not sure. Any clues would be appreciated. Here's the demo
    page:
    http://www.phelpstek.com/cr/wildflower_wedding_favors/index.html
    Thanks for any input/ideas.
    Brian Phelps
    www.phelpstek.com

    graylensman wrote:
    || I'm working on a website with two column layout. The left
    column
    || contains a list of site navigation links, the right column
    contains
    || actual content for any given page. I'm using CSS to set a
    left-hand
    || rule that runs the height of the right-hand column. On
    some pages,
    || there's a lot of content; on others, very little. When
    there's
    || little content, my rule doesn't run as long as the links
    list,
    || because the rule is applied to the right column.
    ||
    || So, I want this rule to run at least as long as that left
    column,
    || but run as long as the content in the right column when
    needed. Here
    || are links to a couple of pages, so you can see what's
    going on:
    ||
    || Good:
    ||
    http://www.hillphoenix.com/web_redesign/techInfo/techInfo.html
    ||
    || Not so good:
    ||
    http://www.hillphoenix.com/web_redesign/communications/whatsNew.html
    ||
    ||
    || Thanks for your help, in advance!
    hello,
    apply this to your right column div and change 430px to
    whatever you want
    min-height: 430px;
    height:auto;
    _height: 430px;
    regards
    bretz

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

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

  • 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

  • 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

  • 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

  • Csom javascript get Document Libraries with particular Content Type

    I need to filter result to particular content types fo document library. I cannot seem to retrieve the content type of library. How is this <g class="gr_ gr_29 gr-alert gr_gramm Punctuation multiReplace" data-gr-id="29" id="29">possible.</g>
    When I try with  oList.get_contentTypes() <g class="gr_ gr_28 gr-alert gr_spell ContextualSpelling only-del replaceWithoutSep" data-gr-id="28" id="28">object object</g> is being returned.
    function retrieveAllListProperties() {
        var clientContext = new SP.ClientContext();
        var oWebsite = clientContext.get_web();
        this.collList = oWebsite.get_lists();
        clientContext.load(collList);
        clientContext.executeQueryAsync(
            Function.createDelegate(this, this.onQuerySucceeded), 
            Function.createDelegate(this, this.onQueryFailed)
    function onQuerySucceeded() {
        var listInfo = '';
        var listEnumerator = collList.getEnumerator();
        while (listEnumerator.moveNext()) {
            var oList = listEnumerator.get_current();
            listInfo += 'Title: ' + oList.get_title()  + oList.get_contentTypes() + '\n';
        alert(listInfo);
    }

    oList.get_contentTypes() returns a collection and hence it needs to be iterated to get information about each content type.
    UPDATE
    var clientContext = new SP.ClientContext.get_current(); 
    var oWebsite = clientContext.get_web();
    var collList = oWebsite.get_lists();
    clientContext.load(collList, 'Include(ContentTypes, Title)');
    clientContext.executeQueryAsync(onQuerySucceeded, onQueryFailed);
    function onQuerySucceeded() {
        var listInfo = '';
        var listEnumerator = collList.getEnumerator();
        while (listEnumerator.moveNext()) {
            var oList = listEnumerator.get_current();
            listInfo += 'Title: ' + oList.get_title()  + '\n';
            var ct_enumerator = oList.get_contentTypes().getEnumerator();
            while (ct_enumerator.moveNext()) {
            var ct = ct_enumerator.get_current();
            var contentTypeName = ct.get_name();
            alert(contentTypeName);
        alert(listInfo);
    function onQueryFailed(sender, args)
    {     alert('error'); }

Maybe you are looking for

  • Accounting document created after foreign currency valuation

    Hi SAP Gurus, Please help on below queries: 1. Is it correct that Accounting document is automatically created when foreign currency valuation (F.05) was run and  'Reverse Posting' was ticked? Does it mean that two document will be created; one is fo

  • Sort Images in Table

    Hi, I have  a coulm of images in table . and if i click on the header of that coulm , i should get it sorted..is there any way to sort images in coulmn.. Thanks in advance for a quick answer.. Regards AD

  • Gcc seems not to be recognising environment variables for include and lib.

    I'm trying to install programs into a non standard location, but GCC does not seem to be checking the paths defined in global profile. All 3rd party dependencies are not found and only the default locations are checked. The environment variables defi

  • "Drag an Drop Funcionality" dont Work in Ipad.

    I'm using JDEVELOPER Studio Edition Version 11.1.2.2.0. I developing a sinple page with too table and using "Drag an Drop Funcionality" for pass rows from a table to other table. This work correctly in all web explorer for Pc and DONT WORK in IPAD.

  • CS6 Design & Web Premium RAM requirement?

    Hi all, CS6 Design & Web Premium RAM requirement for Windows 7 64bit is listed as 2GB but 8GB is recommended. We're getting a new PC with 4GB of RAM and 500GB hard disk space. I'm just looking for a staff member's advice, do you think the Adobe softw