Dynamically Updating Dropdown boxes

Hi, I need to make a dropdown box whose options depend on a
previously selected dropdown box. For instance, if I have two
boxes, one labeled state and one labeled city, I want the city box
to only contain cities in the state that is specified in the state
box. Is there a way to do this in coldfusion? Thanks.

Yes, this can be done. I've done it a couple ways. If you use
Flash forms you can put it into ActionScript and not have to reload
the page.
See the example here:
https://secure.cbnw.org/secure/onlineRegistrations/tadmor06/preRegister.cfm
Choose Yes, No, and No then click continue. Choose a grade in
the drop-down, then go to the Camp Session page and look at the 2
drop-down. Try choosing a first option, then a second option
(you'll notice the second option doesn't allow a choice until you
choose the first option. Then try going back to the first option
and choosing the same choice you have in the second option. (Also,
if you go back and change the grade e.g. from grade school age to
high school age) you'll see the session choices change.
Another way to do it is with simple html forms and
javascript. Here's a page I'm currently using that on:
http://home.cbnw.org/coldFusion/cbnw/smartphone.cfm
Here's the parts of my code that pertain to the drop-downs:
<cfquery name="dataQuery" datasource="myDatasource">
SELECT city, state
FROM churches
ORDER BY city, state
</cfquery>
<!---Get all states--->
<cfquery name="stateQuery" dbtype="query">
SELECT state
FROM dataQuery
GROUP BY state
ORDER BY state
</cfquery>
<!---Get all cities for a particular state--->
<cfquery name="cityQuery" dbtype="query">
SELECT city, state
FROM dataQuery
WHERE state = '#URL.state#'
GROUP BY city, state
ORDER BY city, state
</cfquery>
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_stateMenu(targ,selObj,restore){ //v3.0
eval(targ+".location='smartphone.cfm?state="+selObj.options[selObj.selectedIndex].value+" '");
if (restore) selObj.selectedIndex=0;
function MM_cityMenu(targ,selObj,restore){ //v3.0
eval(targ+".location='smartphone.cfm?state=<cfoutput>#URL.state#</cfoutput>&city="+selObj .options[selObj.selectedIndex].value+"'");
if (restore) selObj.selectedIndex=0;
//-->
</script>
Down in the body of the page:
<cfselect
name="state"onChange="MM_stateMenu('parent',this,0)">
<option value="0" <cfif (isDefined("URL.state") AND 0
EQ URL.state)>selected</cfif>>Please
Choose a State:</option>
<cfoutput query="stateQuery">
<option value="#stateQuery.state#" <cfif
(isDefined("URL.state") AND stateQuery.state EQ
URL.state)>selected</cfif>>#stateQuery.state#</option>
</cfoutput> </cfselect>
</p>
<p> <cfselect name="city"
onChange="MM_cityMenu('parent',this,0)">
<option value="0" <cfif (isDefined("URL.city") AND 0
EQ URL.city)>selected</cfif>>Please
Choose a City:</option>
<cfoutput query="cityQuery">
<option value="#cityQuery.city#" <cfif
(isDefined("URL.locationCity") AND cityQuery.city EQ
URL.city)>selected</cfif>>#cityQuery.city#</option>
</cfoutput> </cfselect>
Hope that helps.

Similar Messages

  • Dynamic update of box title

    Hi Is ist possible to update the title of a box in the PBO?
    I am already updating an input box using the folloing code but when applying similar code for the box, the field symbol remains unassigned.
        CLEAR gv_fieldname.
        CONCATENATE 'P9007-WORK_DATE_W' gv_week '_D' lv_index
          INTO gv_fieldname.
        CONDENSE gv_fieldname NO-GAPS.
        ASSIGN (gv_fieldname) TO <fieldname>.
        IF <fieldname> IS ASSIGNED.
          write gv_date to <fieldname> dd/mm/yyyy.
        ENDIF.
    Any help greatly appreciated.
    Cheers
    Ian

    Hi Ian,
    Yes you can update the title of a box in the PBO (or PAI for that matter). All you need to do is to mark the group box as an output field in the Screen Painter. Once you have done this create a variable in your program with exactly the same name as the Group Box on the screen. When the screen is displayed the value of this variable will be copied to the title of the group box automatically by the abap runtime.
    All you need to do is change the value of your variable in the program in your PBO.
    Cheers,
      De Wildt

  • Dynamic Update of Combo Boxes with Struts

    I need to update one dropdown box based off of the selection of the other. When I select an option I am using an onchange="reload()" to reload the page. The problem with this is as far as I can tell is only refreshing the html in the browser and not sending a new request back to the server. I have the tags bellow. If any one has any Ideas I would appreciate it.
    <bean:size id="planCount" name="new_enrollment_newEnrollmentForm" property="newEnrollmentTO.coverages[${status.index}].classPlans" scope="session"/>
    <c:choose>
         <c:when test="${planCount > 1}">
              <html:select name="new_enrollment_newEnrollmentForm" property="coverages[${status.index}].classPlanID" styleClass="coveragePlanDropDownSize" onClick="window.location.reload()" >
                        <html:option value=""/>
                        <html:options name="new_enrollment_newEnrollmentForm" property="coverages[${status.index}].classPlans" />     
              </html:select>
         </c:when>
         <c:otherwise>
              <c:out value="${coverage.classPlanID}"/>
         </c:otherwise>
    </c:choose>
    <bean:size id="volumeCount" name="new_enrollment_newEnrollmentForm" property="newEnrollmentTO.coverages[${status.index}].volumes" scope="session"/>
    <c:choose>
         <c:when test="${volumeCount > 1}">
              <html:select property="newEnrollmentTO.coverages[${status.index}].volume" styleClass="volDropDownSize">
                   <html:option value=""/>
                   <html:options name="new_enrollment_newEnrollmentForm" property="coverages[${status.index}].volumes"/>     
              </html:select>
         </c:when>
         <c:otherwise>
              <c:out value="${coverage.volume}"/>
         </c:otherwise>
    </c:choose>

    Yes, you are correct. Using the JavaScript reload() function will not submit anything to the JSP. Try something like onchange="document.forms[0].submit()" or something like that. JavaScript isn't my strong suit.
    Brian

  • Updatable report with row data dependend dropdown box values

    Hello,
    Oracle 10, Apex 4.0.
    Working on this query:
    SELECT waarde1,waarde2,
    APEX_ITEM.POPUP_FROM_QUERY (3,waarde3,'select select ((waarde1-0.1)+(level*0.1)) d, ((waarde1-0.1)+(level*0.1)) r from (select * from lov_test where waarde1 = c001) connect by level <= (((waarde2-waarde1) *10)+waarde1)') waarde3
    FROM lov_test
    ORDER BY 1
    The idee is to get a popup or dropdown box for "waarde3" in witch the selectable values are waarde1 to waarde2 rising with 0.1 at a time.
    And this in a multi row updatable report.
    Example
    waarde1 waarde 2 waarde3(possible values in the dropdown box)
    1 4 1-1.1-1.2 ... 3.8-3.9-4.0
    3 7 3-3.1-3.2 ... 6.8-6.9-7.0
    The error I get is:
    Error in init lov: ORA-00936: Ontbrekende uitdrukking. p_lov:select select ((waarde1-0.1)+(level*0.1)) d, ((waarde1-0.1)+(level*0.1)) r from (select * from lov_test where waarde1 = c001) connect by level <= (((waarde2-waarde1) *10)+waarde1)wwv_flow_security.g_security_group_id:1264429985836387wwv_flow_security.g_curr_flow_security_group_id:1264429985836387 Unable to initialize query.
    For every row in the table lov_test.

    Hi,
    I think this is a misunderstanding.
    Your code is:
    SELECT waarde1,waarde2,
    APEX_ITEM.POPUP_FROM_QUERY (3,waarde3,'select select ((waarde1-0.1)+(level*0.1)) d, ((waarde1-0.1)+(level*0.1)) r from (select * from lov_test where waarde1 = c001) connect by level <= (((waarde2-waarde1) *10)+waarde1)') waarde3
    FROM lov_test
    ORDER BY 1... and should be:
    SELECT waarde1,waarde2,
    APEX_ITEM.POPUP_FROM_QUERY (3,waarde3,'select ((waarde1-0.1)+(level*0.1)) d, ((waarde1-0.1)+(level*0.1)) r from (select * from lov_test where waarde1 = c001) connect by level <= (((waarde2-waarde1) *10)+waarde1)') waarde3
    FROM lov_test
    ORDER BY 1See?
    'select select ((...' instead of 'select ((...'
    That should explain the "missing expression" error, as there is nothing to follow the first select.
    Looks like a simple copy/paste mistake :)

  • ADD ITEMS TO DROPDOWN BOX FROM A TEXT FIELD(USER ENTERS THE ITEM) AND BOUND VALUE ALSO

    I WANT TO ADD ITEMS  THE DROPDOWN BOX FROM THE TEXT FIELD(ITEM NAME) WHERE USER ENTER'S THE ITEM DESCRIPTION
    AND BOUND VALUE ALSO SHOULD BE ADDED TO THE SAME ITEM.
    SAME WAY REMOVE ITEMS FROM DROPDOWN BOX
    PLEASE GIVE SAMPLE FORM OR JAVASCRIPT FOR THE ABOVE SCENARIO.....
    INDEED HELPFUL FOR MY PROJECT PLEASE SEND ATTACHED PDF FORM

    Hi Praveen,
    Your form is not shared so I have not been able to access it.  But I have updated mine.  There are now two approaches, one that follows on from the above method and updates each drop down list in each row.  The second updates a separate dataset that the drop down list is bound to.  This second approach requires the remerge() method which can cause problems if your code has updates some form properties like a borders color as these will be reset, but the code is simplier and you will only have one list to maintain.  The add button click code is;
    var particulars = xfa.datasets.resolveNode("particulars");
    if (particulars === null)
        particulars = xfa.datasets.createNode("dataGroup","particulars");
        xfa.datasets.nodes.append(particulars);    
    var particular = xfa.datasets.createNode("dataValue","particular");
    particular.value = ItemName.rawValue;
    var boundValue = xfa.datasets.createNode("dataValue","id");
    boundValue.value = BoundValue.rawValue;
    particular.nodes.append(boundValue);
    boundValue.contains = "metaData";
    // find sorted position to insert
    for (var i = 0; i < particulars.nodes.length; i++)
        p = particulars.nodes.item(i);
        if (p.value > particular.value)
          particulars.nodes.insert(particular, p);       
                 break;
    // add to end if greater than all existing items
    if (particular.parent === null)
        particulars.nodes.append(particular);
    // clear source fields
    ItemName.rawValue = null;
    BoundValue.rawValue = null;
    // remerge form data to pick up new item
    xfa.form.remerge();
    And the binding looks like;
    I have updated my sample to include both methods, https://workspaces.acrobat.com/?d=OwysfJa-Q3HhPtFlgRb62g
    Regards
    Bruce

  • Dropdown boxes in Fiori app My Timesheet (HCM_TS_CRE ) won't populate field

    Hi experts,
    I hope you can help me out. We recently discovered that the Wave 2 apps are completely different implementations from the original, Wave 1 apps. I am trying to get two of the new apps running - My Timesheet (hcm_ts_cre) and Approve Timesheets (hcm_ts_apv).
      In the MyTimesheet app, when the user tries to use one of the drop-down boxes in the time-entry screen to enter the internal order number or the attendance type, they click on the small box to the right of the field to bring up a dropdown box full of applicable values (IO's or Attendance Type codes, depending on the field). It populates correctly, but when the user clicks on a selection the box closes and the field remains empty.
      I've tried this on Google Chrome, IE, Firefox and Safari (on both desktop and iPhone). The behavior is very consistent from one platform to another.
      I upgraded the SAPUI5 component by installing OSS notes to bring everything up to the most recent release but it did not change the behavior. Shown below are the release levels of each of the libraries:
    Library
    Version: none
    Version:1.16
    Version:1.18
    Version:1.20
    (1.20.11)
    Version:1.22
    (1.22.5)
    com.sap.apf.apf-lib
    1.22.1
    com.sap.ca.scfld.md
    1.16.9
    1.18.10
    1.20.7
    1.22.1
    com.sap.ca.ui
    1.16.9
    1.18.10
    1.20.7
    1.22.2
    com.sap.collaboration.collaboration-comm
    1.16.9
    1.18.10
    1.20.6
    1.22.3
    com.sap.portal.ui5.portal-ui5-ext
    1.16.9
    1.18.10
    1.20.5
    1.22.1
    com.sap.smartbusiness.suite.smartbusines
    1.22.3
    com.sap.suite.suite-ui-commons
    1.16.9
    1.18.10
    1.20.7
    1.22.3
    com.sap.ui5.commons
    1.16.9
    1.18.10
    1.20.9
    1.22.8
    com.sap.ui5.comp
    1.22.4
    com.sap.ui5.core
    1.16.9
    1.18.10
    1.20.9
    1.22.6
    com.sap.ui5.dist.fiori-lib
    1.16.9
    1.18.10
    1.20.9
    1.22.8
    com.sap.ui5.inbox
    1.16.9
    1.18.10
    1.20.6
    1.22.8
    com.sap.ui5.layout
    1.16.9
    1.18.10
    1.20.9
    1.22.8
    com.sap.ui5.makit
    1.16.9
    1.18.10
    1.20.7
    1.22.6
    com.sap.ui5.mobile
    1.16.9
    1.18.10
    1.20.9
    1.22.8
    com.sap.ui5.mobile-ext
    1.16.9
    1.18.10
    1.20.9
    1.22.6
    com.sap.ui5.richtexteditor
    1.16.9
    1.18.10
    1.20.5
    1.22.8
    com.sap.ui5.suite
    1.16.9
    1.18.10
    1.20.6
    1.22.4
    com.sap.ui5.table
    1.16.9
    1.18.10
    1.20.9
    1.22.8
    com.sap.ui5.themelib_sap_bluecrystal
    1.16.9
    1.18.10
    1.20.9
    1.22.8
    com.sap.ui5.themelib_sap_goldreflection
    1.16.9
    1.18.10
    1.20.9
    1.22.8
    com.sap.ui5.themelib_sap_platinum
    1.22.8
    com.sap.ui5.themelib_sap_ux
    1.16.9
    1.18.10
    com.sap.ui5.unified
    1.16.9
    1.18.10
    1.20.7
    1.22.8
    com.sap.ui5.ux3
    1.16.9
    1.18.10
    1.20.7
    1.22.8
    com.sap.ui5.vbm
    1.16.9
    1.18.10
    1.20.5
    1.22.5
    com.sap.ui5.viz
    1.16.9
    1.18.10
    1.20.6
    1.22.3
    com.sap.ushell.ushell-lib
    1.16.9
    1.18.10
    1.20.8
    1.22.6
    com.sap.ushell.ushell_abap
    1.22.4
    I've asked our basis team to install 1.24.2 by installing SAP_UI SP10 in the hopes that would help.
    What do you think? Am I barking up the wrong tree? Am I heading down the wrong path?
    In case its helpful here are the component releases on our gateway system:
    SAP_BASIS
    740
    0007
    SAPKB74007
    SAP Basis Component
    SAP_ABA
    740
    0007
    SAPKA74007
    Cross-Application Component
    SAP_GWFND
    740
    0007
    SAPK-74007INSAPGWFND
    SAP Gateway Foundation 7.40
    SAP_UI
    740
    0009
    SAPK-74009INSAPUI
    User Interface Technology 7.40
    PI_BASIS
    740
    0007
    SAPK-74007INPIBASIS
    Basis Plug-In
    ST-PI
    2008_1_710
    0007
    SAPKITLRE7
    SAP Solution Tools Plug-In
    SAP_BW
    740
    0002
    SAPKW74002
    SAP Business Warehouse
    IW_PGW
    100
    0005
    SAPK-10005INIWPGW
    Process Gateway
    IW_SPI
    100
    0004
    SAPK-10004INIWSPI
    Service Provider Infrastructure
    IW_SCS
    200
    0008
    SAPK-20008INIWSCS
    Screen Scraping
    UIAPP001
    100
    0005
    SAPK-10005INUIAPP001
    UIAPP001 100: Add-On Installation
    UIAPP002
    100
    0004
    SAPK-10004INUIAPP002
    UIAPP002 100: Add-On Installation
    UISRA001
    100
    0003
    SAPK-10003INUISRA001
    HTML 5 Purchase contract approval
    UISRA002
    100
    0004
    SAPK-10004INUISRA002
    HTML5 Time Recording
    UISRA010
    100
    0004
    SAPK-10004INUISRA010
    HTML5 Staffing List
    UISRA012
    100
    0004
    SAPK-10004INUISRA012
    HTML5 My Department Spend
    UISRA020
    100
    0005
    SAPK-10005INUISRA020
    HTML5 Change Order (Address/Delivery Date)
    UIX01HCM
    100
    0003
    SAPK-10003INUIX01HCM
    UI for HCM Application
    Thanks for any advice you can offer!
    -Rob Solomon

    Thanks for the suggestion, Pankaj.
    I found an OSS note pertaining to SAPUI5 that had not been completely installed, so I finished the implementation of it. Now the component versions are up-to-date, as shown below. I can't find any more SAPUI5 1.22.xx versions to install. 1.22.8 is the most recent.
    Library
    Version: none
    Version:1.16
    Version:1.18
    Version:1.20
    (1.20.11)
    Version:1.22
    (1.22.8)
    com.sap.apf.apf-lib
    1.22.1
    com.sap.ca.scfld.md
    1.16.9
    1.18.10
    1.20.7
    1.22.1
    com.sap.ca.ui
    1.16.9
    1.18.10
    1.20.7
    1.22.2
    com.sap.collaboration.collaboration-comm
    1.16.9
    1.18.10
    1.20.6
    1.22.3
    com.sap.portal.ui5.portal-ui5-ext
    1.16.9
    1.18.10
    1.20.5
    1.22.1
    com.sap.smartbusiness.suite.smartbusines
    1.22.3
    com.sap.suite.suite-ui-commons
    1.16.9
    1.18.10
    1.20.7
    1.22.3
    com.sap.ui5.commons
    1.16.9
    1.18.10
    1.20.9
    1.22.8
    com.sap.ui5.comp
    1.22.4
    com.sap.ui5.core
    1.16.9
    1.18.10
    1.20.9
    1.22.8
    com.sap.ui5.dist.fiori-lib
    1.16.9
    1.18.10
    1.20.9
    1.22.8
    com.sap.ui5.inbox
    1.16.9
    1.18.10
    1.20.6
    1.22.8
    com.sap.ui5.layout
    1.16.9
    1.18.10
    1.20.9
    1.22.8
    com.sap.ui5.makit
    1.16.9
    1.18.10
    1.20.7
    1.22.6
    com.sap.ui5.mobile
    1.16.9
    1.18.10
    1.20.9
    1.22.8
    com.sap.ui5.mobile-ext
    1.16.9
    1.18.10
    1.20.9
    1.22.6
    com.sap.ui5.richtexteditor
    1.16.9
    1.18.10
    1.20.5
    1.22.8
    com.sap.ui5.suite
    1.16.9
    1.18.10
    1.20.6
    1.22.4
    com.sap.ui5.table
    1.16.9
    1.18.10
    1.20.9
    1.22.8
    com.sap.ui5.themelib_sap_bluecrystal
    1.16.9
    1.18.10
    1.20.9
    1.22.8
    com.sap.ui5.themelib_sap_goldreflection
    1.16.9
    1.18.10
    1.20.9
    1.22.8
    com.sap.ui5.themelib_sap_platinum
    1.22.8
    com.sap.ui5.themelib_sap_ux
    1.16.9
    1.18.10
    com.sap.ui5.unified
    1.16.9
    1.18.10
    1.20.7
    1.22.8
    com.sap.ui5.ux3
    1.16.9
    1.18.10
    1.20.7
    1.22.8
    com.sap.ui5.vbm
    1.16.9
    1.18.10
    1.20.5
    1.22.5
    com.sap.ui5.viz
    1.16.9
    1.18.10
    1.20.6
    1.22.3
    com.sap.ushell.ushell-lib
    1.16.9
    1.18.10
    1.20.8
    1.22.6
    com.sap.ushell.ushell_abap
    1.22.4
    I have tried it again from chrome, ie and firefox but the dropdown list is still not populating the field to which it is attached. I cleared the buffers of each browser with no improvement.
    It seems like it must be related to the SAPUI component. I will de-implement all of the 1.22.8 notes and then re-apply them. And maybe the basis team will install the new version today.
    I will update the ticket with any further news.
    If you have any other ideas for me, I would love to hear them. Thanks!
    -Rob

  • [Forum FAQ] DNS Dynamic Update Troubleshooting Guide

    As we all known,
    DNS Client service and DNS Server services support dynamic updates. With dynamic updates, the DNS client computer is allowed to dynamically register and update this resource
    records based on their fully qualified domain name by default. However, in some scenarios,
    we may find that
    the DNS records are not updated.
    To analyze this issue clearly, this kind of issue is divided into two parts in this article:
    Non-AD integrated zone with DHCP and DNS unintegrated
    AD-integrated zone with DHCP and DNS Integrated
    Next, we begin to troubleshoot this issue from the above two classes separately.
    Non-AD integrated zone with DHCP and DNS unintegrated
    1. Check if Dynamic Updates is enabled or not
    If you have encountered this kind of issues, firstly, Please check if dynamic updates is enabled in DNS server or not. You can right-click the domain in the
    Forward Lookup Zones, then select Properties. In the dialog, click
    General tab and choose Nonsecure and secure
    in the Dynamic updates box, then click OK. Please refer to Figure 1 and Figure 2
    Figure 1: Check DNS Server Settings-1
    Figure 2: Check DNS Server Settings-2
    2. Check DNS Suffix
    Besides, since all computers register records based on their fully qualified domain name, and the fully qualified domain name is based on the primary DNS suffix of a computer appended to its Computer name. We also need to check the DNS panel of Advanced TCP/IP
    settings in TCP/IP properties.
    Just as Figure 3, if Register this connection's address in DNS is selected and
    Use this connection's DNS suffix in DNS registration
    is not selected. This default configuration causes the client to request that the client register the Host resource record and the server register the PTR resource record. In these scenarios, please make sure the primary DNS suffix portion of a computer's FQDN
    is the same as the name of the Active Directory domain to which the computer is joined.
    Figure 3: Check DNS Client settings-1
    You can run “ipconfig/all” at the command prompt to check the Primary DNS suffix. From Figure 4, we can see that the Primary DNS suffix is blank.
    Figure 4: Check DNS Client settings-2
    To set the Primary DNS suffix, you can follow the steps below (Figure 5):
    Right-click
    My computer and then click Properties.
    In the
    System Properties dialog, click Computer Name tab and then click
    Change….
    In the
    Computer Name Changes panel, click More…, then you can type the domain name into the
    Primary DNS suffix of this computer and then click
    OK.
    Figure 5: Set the Primary DNS Suffix
    After set the primary DNS suffix, we can see that the Primary DNS suffix is demo.com in Figure 6.
    Figure 6: Primary DNS Suffix-demo.com
    If both
    Register this connection's address in DNS and Use this connection's DNS suffix in DNS registration are selected. You need to check the primary DNS suffix and connection-specific DNS suffix at the same time and make sure that
    the connection-specific domain name of this connection is the DNS suffix for this connection appended to the computer name. In the picture above, we can see that the Primary
    DNS suffix and Connection-specific DNS suffix are the same.
    AD-integrated zone with DHCP and DNS Integrated
    In some cases,
    this issue may happen when the DNS zone is AD-integrated and DHCP server is configured to register and update the A resource records and PTR records on behalf of the DHCP-enabled clients.
    1. Check if secure dynamic updates is enabled or not
    As everyone knows, DNS update security is available only for zones that are integrated into Active Directory Domain Services (we
    can see the difference from Figure 7 and Figure 2). Since secure dynamic updates can prevent unauthorized computers from overwriting existing names in DNS, generally, we recommend
    using only secure dynamic updates for AD-integrated zone.
    For AD-integrated zone, we can check if secure dynamic updates is enabled in DNS server or not firstly.
    You can right-click the domain in the Forward Lookup Zones, then select
    Properties. In the dialog, click General tab and choose
    Secure only in the Dynamic updates box, then click OK. Please refer to Figure 7.
    Figure 7: Check DNS Server Settings-2
    2. Check the DNS configuration and options settings on DHCP server
    We need to make sure
    that DHCP server is configured to register and to update client information with its configured DNS servers. You can check by right-clicking the
    IPv4 under your domain and choosing DNS in IPv4 properties.
    By default,
    the
    Enable DNS dynamic updates according to the settings below and
    the Dynamically update DNS A and PTR records only if requested by the DHCP clients box is checked. 
    You can also select Always dynamically update DNS A and PTR records box so that the DHCP server
    always registers and updates client information with its configured DNS servers. (Figure 8)
    Figure 8: DHCP Server Settings
    In addition, you need to check that the configuration 006 DNS server option in DHCP option is correct.
    You can check that by clicking
    Server Options in DHCP console. If the setting is incorrect, you can right-click the option and then choose
    Properties, then you can remove the wrong DNS server and add a correct one. (Figure 9)
    Figure 9: Check DHCP Options
    3.
    Check if the DHCP server is added to the DnsUpdateProxy security group
    Furthermore, as the DHCP server becomes the owner of the name since the DHCP server performs a secure dynamic
    update on that name, only that DHCP server can update the name. We would make sure the DHCP server is available. If the DHCP server fails, even other DHCP servers are online, they still have no right to update the client’s record because the other DHCP
    server are not the owner of the client name.
    To solve this, it is necessary to add the DHCP server to the DnsUpdateProxy security group in AD. You can follow the steps below to achieve that: (Figure 10 and Figure 11)
    Open ADUC, click
    Computers under your domain.
    Right-click your DHCP server and select
    Add to a group tab.
    Enter
    DnsUpdateProxy in the object name box and click
    Ok.
    Figure 10: Add DHCP Server to the DnsUpdateProxy security group – 1
    Figure 11: Add DHCP Server to the DnsUpdateProxy security group – 2
    After that, you can find that the DHCP server (In this demo, the DHCP server is W2K12R2) is a member of the DnsUpdateProxy group. (Figure 12)
    Figure 12: DHCP server is a member of the DnsUpdateProxy group
    4.
    Check the
    Credentials configuration for DNS update
    Furthermore, if
    a domain controller is running on the same host as the DHCP server and secure dynamic DNS update has been configured, you need to configure
    Credentials for DNS update.
    You can
    open DHCP console tree, right-click
    IPv4 and then click Properties. In the IPv4 Properties
    dialog, click Advanced, click
    Credentials, type the credentials that the DHCP server supplies when registering names using DNS dynamic updates, and then click
    OK. (Figure 13)
    Figure 13: Configure DNS dynamic update credentials
    More information:
    DHCP, Dynamic DNS Updates , Scavenging, static entries & timestamps, the DnsUpdateProxy Group, and DHCP Name Protection (Published by Ace Fekay, MVP)
    http://msmvps.com/blogs/acefekay/archive/2009/08/20/dhcp-dynamic-dns-updates-scavenging-static-entries-amp-timestamps-and-the-dnsproxyupdate-group.aspx
    Integrating DHCP with DNS
    http://technet.microsoft.com/en-us/library/cc771732.aspx
    Using DNS servers with DHCP
    http://technet.microsoft.com/en-us/library/cc787034(v=ws.10).aspx
    How to configure DNS dynamic updates
    http://support.microsoft.com/kb/816592/en-us
    Keyword: Dynamic Update, Troubleshooting 
    Please click to vote if the post helps you. This can be beneficial to other community members reading the thread.

    I have created one STATIC DNS Entry, for Example "ROSE" and
    1.                   Open
    the DNS snap-in.
    2.                   Right
    click the individual record (ROSE) and open the Properties dialog.
    3.                   Uncheck
    the Delete this record when it becomes stale option
    and click OK
    For
    the moment the time stamp will show as BLANK
    Then
    I logged in to server "ROSE" and restarted DHCP Client
    Service on server or restarted server, the time stamp is automatically setting as current date and "DELETE THIS RECORD WHEN IT BECOME STALE" check box also selected automatically
    and gets deleted after a week or so when the scavenging runs
    Is
    there any way to avoid the static entries become dynamic automatically. 
    Domain Controller or DNS OS is Windows server 2003 R2 Standard Edition SP2
    Thanks & Regards
    Dinesh Cholekkavil

  • Dynamically Refresh Dropdown in JSF

    I wanna dynamically refresh dropdown values. Here is my requirement
    The user creates new record by selecting "New" value from the dropdown. Then user enters values on form fields and clicks the Submit button. The result is record gets created in the database and also gets populated in the dropdown. Now i wanna show this record as selected value in the dropdown instead of New to faciltate update/delete operations.
    Note: The reason i am doing this is subsequent save results in detached object hibernate exception. To resolve this exception if i create a new instance then i will loose the original object so i cant do update/delete on the original object. My backing bean is in session scope
    Any pointers/suggestions will be highly appreciated
    Regards
    Bansi

    What do you mean by preset it by property because the new value is allready set in the backedbean but its not reflected on the page as the drop down doesn't get refreshed.

  • Dynamically updating UI (binding, maybe?)

    So I am writing an export plugin for lightroom. I need to update the export UI dynamically after getting a result from Lrhttp.post. The code is underlined below. Basically, how can I display to the user that their login is successful by dynamically updating the export UI after they click the submit button (I want the last row to display whether the login was a success or not)? I could not find a UI refresh function in the LR API.
    I tried looking at Lr.Binding to try to bind resultlogin but that did not work as intended. Any suggestions? Thanks!
    ExportDialogSections = {}
    function ExportDialogSections.sectionsForTopOfDialog(f, propertyTable)
               return {
                                  title = "...",
                                  f:row {
                                            spacing = f:control_spacing(),
                                            f:static_text {
                                                      title =  "Username",
                                                      width = share 'labelWidth',
                                                      alignment = 'right',
                                            f:edit_field {
                                                      value = bind 'Username',
                                                      width_in_chars = 40
                                  f:row {
                                            spacing = f:control_spacing(),
                                            f:static_text {
                                                      title = "Password",
                                                      width = share 'labelWidth',
                                                      alignment = 'right',
                                            f:password_field {
                                                      value = bind 'Password',
                                                      width_in_chars = 40
                                  f:push_button{
                                            title="Submit",
                                            action = function( button )
                                                      import "LrTasks".startAsyncTask( function()
                                                                resultlogin = LrHttp.post(...)
                                                      end )
                                                      if resultlogin == "success" then
                                                                --send username to exporttask and display username is valid
                                                                sendUsername(...)
                                                      else
                                                                sendUsername(...)
                                                      end
                                            end,
                                  f:row {
                                            spacing = f:control_spacing(),
                                            f:static_text {
                                                      title = resultlogin,
                                                      width = share 'labelWidth',
                                                      alignment = 'right',
    end
    return ExportDialogSections

    You have to assign resultLogin as a member of a (observable) property table, then bind to that member by name, for example:
    f:static_text {
        title = LrView.bind( 'resultlogin' ),
        width = share 'labelWidth',
        alignment = 'right',
    In the case of export dialog box, the export settings themselves are a usable property table. In other cases, you may need to create one yourself - see LrFunctionContext, in which case the only trick is to make sure that the property table is specified as bind_to_object.
    There are examples galore in my plugin's source code:
    http://www.robcole.com/Rob/ProductsAndServices
    Rob

  • Implmenting Master Detail using dropdown box

    I am getting an exception when using a dropdown box and datatable to implement Master/Detail using the Pointbase db. I followed the directions provided in the tutorial, "Using Databound Components to Access Databases". I also used the code snipets suggested in this section. I have included a copy of the exception handler information.[
    Exception Handler
    Description: An unhandled exception occurred during the execution of the web application. Please review the following stack trace for more information regarding the error.
    Exception Details: javax.faces.el.EvaluationException
    javax.faces.FacesException: javax.faces.FacesException: Can't instantiate class: 'burgisgallery.Page1'.. class burgisgallery.Page1 : javax.faces.FacesException: java.sql.SQLException: Dynamic parameter markers and Bind variable count mismatch. Number of parameter markers: 1. Number of bind variables: 0.
    Possible Source of Error:
    Class Name: com.sun.faces.el.ValueBindingImpl
    File Name: ValueBindingImpl.java
    Method Name: getValue
    Line Number: 206
    Source not available. Information regarding the location of the exception can be identified using the exception stack trace below.
    Stack trace:
    com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:206)
    com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:154)
    com.sun.faces.application.ApplicationImpl.createComponent(ApplicationImpl.java:389)
    javax.faces.webapp.UIComponentTag.createComponent(UIComponentTag.java:1018)
    javax.faces.webapp.UIComponentTag.createChild(UIComponentTag.java:1045)
    javax.faces.webapp.UIComponentTag.findComponent(UIComponentTag.java:742)
    javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:423)
    com.sun.faces.taglib.html_basic.FormTag.doStartTag(FormTag.java:345)
    org.apache.jsp.Page1_jsp._jspx_meth_h_form_0(Page1_jsp.java:151)
    org.apache.jsp.Page1_jsp._jspx_meth_f_view_0(Page1_jsp.java:125)
    org.apache.jsp.Page1_jsp._jspService(Page1_jsp.java:86)
    org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:102)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:861)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:282)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:263)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:210)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:861)
    sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethodAccessorImpl.java:-2)
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    java.lang.reflect.Method.invoke(Method.java:324)
    org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:246)
    java.security.AccessController.doPrivileged(AccessController.java:-2)
    javax.security.auth.Subject.doAsPrivileged(Subject.java:500)
    org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:268)
    org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:162)
    org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:236)
    org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
    org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:145)
    java.security.AccessController.doPrivileged(AccessController.java:-2)
    org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:141)
    org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:718)
    org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:478)
    org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:413)
    org.apache.catalina.core.ApplicationDispatcher.access$000(ApplicationDispatcher.java:77)
    org.apache.catalina.core.ApplicationDispatcher$PrivilegedForward.run(ApplicationDispatcher.java:92)
    java.security.AccessController.doPrivileged(AccessController.java:-2)
    org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:319)
    com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)
    com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:147)
    com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
    com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
    com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
    javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
    sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethodAccessorImpl.java:-2)
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    java.lang.reflect.Method.invoke(Method.java:324)
    org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:246)
    java.security.AccessController.doPrivileged(AccessController.java:-2)
    javax.security.auth.Subject.doAsPrivileged(Subject.java:500)
    org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:268)
    org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:162)
    org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:236)
    org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
    org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:145)
    java.security.AccessController.doPrivileged(AccessController.java:-2)
    org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:141)
    org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
    org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:109)
    org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:522)
    org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:214)
    org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:168)
    org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:109)
    org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:522)
    org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:144)
    org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:109)
    org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:133)
    org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:107)
    org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:539)
    org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:107)
    com.sun.enterprise.webservice.EjbWebServiceValve.invoke(EjbWebServiceValve.java:134)
    org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:107)
    com.sun.enterprise.security.web.SingleSignOn.invoke(SingleSignOn.java:254)
    org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:107)
    com.sun.enterprise.web.VirtualServerValve.invoke(VirtualServerValve.java:209)
    org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:107)
    org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:522)
    org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:114)
    org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:109)
    com.sun.enterprise.web.VirtualServerMappingValve.invoke(VirtualServerMappingValve.java:166)
    org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:107)
    org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:522)
    org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:936)
    org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:165)
    org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:683)
    org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:604)
    org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:542)
    org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:647)
    java.lang.Thread.run(Thread.java:534)
    Exception Details: javax.faces.FacesException
    javax.faces.FacesException: Can't instantiate class: 'burgisgallery.Page1'.. class burgisgallery.Page1 : javax.faces.FacesException: java.sql.SQLException: Dynamic parameter markers and Bind variable count mismatch. Number of parameter markers: 1. Number of bind variables: 0.
    Possible Source of Error:
    Class Name: com.sun.faces.application.ApplicationAssociate
    File Name: ApplicationAssociate.java
    Method Name: createAndMaybeStoreManagedBeans
    Line Number: 263
    Source not available. Information regarding the location of the exception can be identified using the exception stack trace below.
    Stack trace:
    com.sun.faces.application.ApplicationAssociate.createAndMaybeStoreManagedBeans(ApplicationAssociate.java:263)
    com.sun.faces.el.VariableResolverImpl.resolveVariable(VariableResolverImpl.java:78)
    com.sun.faces.el.impl.NamedValue.evaluate(NamedValue.java:125)
    com.sun.faces.el.impl.ComplexValue.evaluate(ComplexValue.java:146)
    com.sun.faces.el.impl.ExpressionEvaluatorImpl.evaluate(ExpressionEvaluatorImpl.java:243)
    com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:173)
    com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:154)
    com.sun.faces.application.ApplicationImpl.createComponent(ApplicationImpl.java:389)
    javax.faces.webapp.UIComponentTag.createComponent(UIComponentTag.java:1018)
    javax.faces.webapp.UIComponentTag.createChild(UIComponentTag.java:1045)
    javax.faces.webapp.UIComponentTag.findComponent(UIComponentTag.java:742)
    javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:423)
    com.sun.faces.taglib.html_basic.FormTag.doStartTag(FormTag.java:345)
    org.apache.jsp.Page1_jsp._jspx_meth_h_form_0(Page1_jsp.java:151)
    org.apache.jsp.Page1_jsp._jspx_meth_f_view_0(Page1_jsp.java:125)
    org.apache.jsp.Page1_jsp._jspService(Page1_jsp.java:86)
    org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:102)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:861)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:282)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:263)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:210)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:861)
    sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethodAccessorImpl.java:-2)
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    java.lang.reflect.Method.invoke(Method.java:324)
    org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:246)
    java.security.AccessController.doPrivileged(AccessController.java:-2)
    javax.security.auth.Subject.doAsPrivileged(Subject.java:500)
    org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:268)
    org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:162)
    org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:236)
    org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
    org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:145)
    java.security.AccessController.doPrivileged(AccessController.java:-2)
    org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:141)
    org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:718)
    org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:478)
    org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:413)
    org.apache.catalina.core.ApplicationDispatcher.access$000(ApplicationDispatcher.java:77)
    org.apache.catalina.core.ApplicationDispatcher$PrivilegedForward.run(ApplicationDispatcher.java:92)
    java.security.AccessController.doPrivileged(AccessController.java:-2)
    org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:319)
    com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)
    com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:147)
    com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
    com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
    com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
    javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
    sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethodAccessorImpl.java:-2)
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    java.lang.reflect.Method.invoke(Method.java:324)
    org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:246)
    java.security.AccessController.doPrivileged(AccessController.java:-2)
    javax.security.auth.Subject.doAsPrivileged(Subject.java:500)
    org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:268)
    org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:162)
    org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:236)
    org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
    org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:145)
    java.security.AccessController.doPrivileged(AccessController.java:-2)
    org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:141)
    org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
    org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:109)
    org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:522)
    org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:214)
    org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:168)
    org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:109)
    org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:522)
    org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:144)
    org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:109)
    org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:133)
    org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:107)
    org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:539)
    org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:107)
    com.sun.enterprise.webservice.EjbWebServiceValve.invoke(EjbWebServiceValve.java:134)
    org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:107)
    com.sun.enterprise.security.web.SingleSignOn.invoke(SingleSignOn.java:254)
    org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:107)
    com.sun.enterprise.web.VirtualServerValve.invoke(VirtualServerValve.java:209)
    org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:107)
    org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:522)
    org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:114)
    org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:109)
    com.sun.enterprise.web.VirtualServerMappingValve.invoke(VirtualServerMappingValve.java:166)
    org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:107)
    org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:522)
    org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:936)
    org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:165)
    org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:683)
    org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:604)
    org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:542)
    org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:647)
    java.lang.Thread.run(Thread.java:534)
    Exception Details: javax.faces.FacesException
    Can't instantiate class: 'burgisgallery.Page1'.. class burgisgallery.Page1 : javax.faces.FacesException: java.sql.SQLException: Dynamic parameter markers and Bind variable count mismatch. Number of parameter markers: 1. Number of bind variables: 0.
    Possible Source of Error:
    Class Name: com.sun.faces.config.ManagedBeanFactory
    File Name: ManagedBeanFactory.java
    Method Name: newInstance
    Line Number: 210
    Source not available. Information regarding the location of the exception can be identified using the exception stack trace below.
    Stack trace:
    com.sun.faces.config.ManagedBeanFactory.newInstance(ManagedBeanFactory.java:210)
    com.sun.faces.application.ApplicationAssociate.createAndMaybeStoreManagedBeans(ApplicationAssociate.java:253)
    com.sun.faces.el.VariableResolverImpl.resolveVariable(VariableResolverImpl.java:78)
    com.sun.faces.el.impl.NamedValue.evaluate(NamedValue.java:125)
    com.sun.faces.el.impl.ComplexValue.evaluate(ComplexValue.java:146)
    com.sun.faces.el.impl.ExpressionEvaluatorImpl.evaluate(ExpressionEvaluatorImpl.java:243)
    com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:173)
    com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:154)
    com.sun.faces.application.ApplicationImpl.createComponent(ApplicationImpl.java:389)
    javax.faces.webapp.UIComponentTag.createComponent(UIComponentTag.java:1018)
    javax.faces.webapp.UIComponentTag.createChild(UIComponentTag.java:1045)
    javax.faces.webapp.UIComponentTag.findComponent(UIComponentTag.java:742)
    javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:423)
    com.sun.faces.taglib.html_basic.FormTag.doStartTag(FormTag.java:345)
    org.apache.jsp.Page1_jsp._jspx_meth_h_form_0(Page1_jsp.java:151)
    org.apache.jsp.Page1_jsp._jspx_meth_f_view_0(Page1_jsp.java:125)
    org.apache.jsp.Page1_jsp._jspService(Page1_jsp.java:86)
    org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:102)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:861)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:282)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:263)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:210)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:861)
    sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethodAccessorImpl.java:-2)
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    java.lang.reflect.Method.invoke(Method.java:324)
    org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:246)
    java.security.AccessController.doPrivileged(AccessController.java:-2)
    javax.security.auth.Subject.doAsPrivileged(Subject.java:500)
    org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:268)
    org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:162)
    org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:236)
    org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
    org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:145)
    java.security.AccessController.doPrivileged(AccessController.java:-2)
    org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:141)
    org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:718)
    org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:478)
    org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:413)
    org.apache.catalina.core.ApplicationDispatcher.access$000(ApplicationDispatcher.java:77)
    org.apache.catalina.core.ApplicationDispatcher$PrivilegedForward.run(ApplicationDispatcher.java:92)
    java.security.AccessController.doPrivileged(AccessController.java:-2)
    org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:319)
    com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)
    com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:147)
    com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
    com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
    com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
    javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
    sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethodAccessorImpl.java:-2)
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    java.lang.reflect.Method.invoke(Method.java:324)
    org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:246)
    java.security.AccessController.doPrivileged(AccessController.java:-2)
    javax.security.auth.Subject.doAsPrivileged(Subject.java:500)
    org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:268)
    org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:162)
    org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:236)
    org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
    org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:145)
    java.security.AccessController.doPrivileged(AccessController.java:-2)
    org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:141)
    org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
    org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:109)
    org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:522)
    org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:214)
    org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:168)
    org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:109)
    org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:522)
    org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:144)
    org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:109)
    org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:133)
    org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:107)
    org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:539)
    org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:107)
    com.sun.enterprise.webservice.EjbWebServiceValve.invoke(EjbWebServiceValve.java:134)
    org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:107)
    com.sun.enterprise.security.web.SingleSignOn.invoke(SingleSignOn.java:254)
    org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:107)
    com.sun.enterprise.web.VirtualServerValve.invoke(VirtualServerValve.java:209)
    org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:107)
    org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:522)
    org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:114)
    org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:109)
    com.sun.enterprise.web.VirtualServerMappingValve.invoke(VirtualServerMappingValve.java:166)
    org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:107)
    org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:522)
    org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:936)
    org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:165)
    org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:683)
    org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:604)
    org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:542)
    org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:647)
    java.lang.Thread.run(Thread.java:534)
    Exception Details: java.lang.ClassNotFoundException
    class burgisgallery.Page1 : javax.faces.FacesException: java.sql.SQLException: Dynamic parameter markers and Bind variable count mismatch. Number of parameter markers: 1. Number of bind variables: 0.
    Possible Source of Error:
    Class Name: java.beans.Beans
    File Name: Beans.java
    Method Name: instantiate
    Line Number: 208
    Source not available. Information regarding the location of the exception can be identified using the exception stack trace below.
    Stack trace:
    java.beans.Beans.instantiate(Beans.java:208)
    java.beans.Beans.instantiate(Beans.java:48)
    com.sun.faces.config.ManagedBeanFactory.newInstance(ManagedBeanFactory.java:204)
    com.sun.faces.application.ApplicationAssociate.createAndMaybeStoreManagedBeans(ApplicationAssociate.java:253)
    com.sun.faces.el.VariableResolverImpl.resolveVariable(VariableResolverImpl.java:78)
    com.sun.faces.el.impl.NamedValue.evaluate(NamedValue.java:125)
    com.sun.faces.el.impl.ComplexValue.evaluate(ComplexValue.java:146)
    com.sun.faces.el.impl.ExpressionEvaluatorImpl.evaluate(ExpressionEvaluatorImpl.java:243)
    com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:173)
    com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:154)
    com.sun.faces.application.ApplicationImpl.createComponent(ApplicationImpl.java:389)
    javax.faces.webapp.UIComponentTag.createComponent(UIComponentTag.java:1018)
    javax.faces.webapp.UIComponentTag.createChild(UIComponentTag.java:1045)
    javax.faces.webapp.UIComponentTag.findComponent(UIComponentTag.java:742)
    javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:423)
    com.sun.faces.taglib.html_basic.FormTag.doStartTag(FormTag.java:345)
    org.apache.jsp.Page1_jsp._jspx_meth_h_form_0(Page1_jsp.java:151)
    org.apache.jsp.Page1_jsp._jspx_meth_f_view_0(Page1_jsp.java:125)
    org.apache.jsp.Page1_jsp._jspService(Page1_jsp.java:86)
    org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:102)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:861)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:282)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:263)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:210)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:861)
    sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethodAccessorImpl.java:-2)
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    java.lang.reflect.Method.invoke(Method.java:324)
    org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:246)
    java.security.AccessController.doPrivileged(AccessController.java:-2)
    javax.security.auth.Subject.doAsPrivileged(Subject.java:500)
    org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:268)
    org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:162)
    org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:236)
    org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
    org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:145)
    java.security.AccessController.doPrivileged(AccessController.java:-2)
    org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:141)
    org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:718)
    org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:478)
    org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:413)
    org.apache.catalina.core.ApplicationDispatcher.access$000(ApplicationDispatcher.java:77)
    org.apache.catalina.core.ApplicationDispatcher$PrivilegedForward.run(ApplicationDispatcher.java:92)
    java.security.AccessController.doPrivileged(AccessController.java:-2)
    org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:319)
    com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)
    com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:147)
    com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
    com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
    com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
    javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
    sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethodAccessorImpl.java:-2)
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    java.lang.reflect.Method.invoke(Method.java:324)
    org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:246)
    java.security.AccessController.doPrivileged(AccessController.java:-2)
    javax.security.auth.Subject.doAsPrivileged(Subject.java:500)
    org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:268)
    org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:162)
    org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:236)
    org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
    org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:145)
    java.security.AccessController.doPrivileged(AccessController.java:-2)
    org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:141)
    org.apache.catalina.core.StandardWrapperValve.invoke(S

    I have a dropDownBox which has a database table containing artist names attached to it. I accomplished this by dragging the artist table onto the dropDownBox.
    I created a dataTable and dragged the table, Inventory, that contains a list of all the prints for an artist. The primary key for this table is the stock number, The primary key for the artist table is the artist code.
    I would like to be able to select an artist from the dropDownBox and have only the fineart related to that artist displayed in the dataTable.
    I followed the example in the tutorial, but its not working. I noticed that the way the master/detail relationship is done in the Application Model is totally different. I am new to java and web programming, so the way it was done in the application model I don't understand enough to replicate.
    If you look at my original post, I provided the error messages and a copy of my code. This application is a school project which needs to be turned in by Tuesday of this coming week, I would appreciate any help. Thanks.

  • Dynamically populating List box

    Hello Everyone:
    I need to create a JSP with two combo boxes and submit button.
    Where the first combo box will be updated from database - which is simple.
    but depending on the selection of the first box the second box should be populated and should be able to make multiple selections in it.
    and in the same jsp page should be able to display the results, of what I added by submiting the previous form.
    Please can somebody help me witha sample.
    Thanks
    ASB

    Dear user,
    If you get any response for the asked question on Dynamically populating List box from anybody please forward the reply to the following e-mail id.
    [email protected]
    --SUBIR                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Help with Dropdown box autopopulating text

    I have created a dropdown box and set-it up with scripting to populate text fields based upon selection. The problem that I am having is when you make your selection it does not automatically update the text box. I have to click on another form field once I make a selection, then click on the text in the dropdown box. This will then result in the text fields auto populating. Could you please help, so that these extra steps will not need to be taken. Below is the coding that I used.
    var f = event.target;
    if (f.value == "Blank")
    {this.getField("TestMe").value = "";
    this.getField("InsuranceCodes").value = "";}
    if (f.value == "Aetna")
    {this.getField("TestMe").value = "";
    this.getField("InsuranceCodes").value = "90791 - Diagnostic Evaluation";
    this.getField("InsuranceCodes2").value ="90832/ 90834/ 90837 - Psychotherapy";
    this.getField("InsuranceCodes3").value ="90846 - Family Psychotherapy w/o Patient";
    this.getField("InsuranceCodes4").value ="90847 - Family Psychotherapy w/ Patient";
    this.getField("InsuranceCodes5").value ="96101 - Psychological Testing";
    this.getField("InsuranceCodes6").value ="96103 - Computer Testing";
    this.getField("InsuranceCodes7").value ="";
    this.getField("InsuranceCodes8").value ="";
    this.getField("InsuranceCodes9").value ="";}
    if (f.value == "Anthem BC")
    {this.getField("TestMe").value = "";
    this.getField("InsuranceCodes").value = "90791 - Diagnostic Evaluation";
    this.getField("InsuranceCodes2").value ="90832/ 90834/ 90837 - Psychotherapy";
    this.getField("InsuranceCodes3").value ="90846 - Family Psychotherapy w/o Patient";
    this.getField("InsuranceCodes4").value ="90847 - Family Psychotherapy w/ Patient";
    this.getField("InsuranceCodes5").value ="96101 - Psychological Testing";
    this.getField("InsuranceCodes6").value ="96103 - Computer Testing";
    this.getField("InsuranceCodes7").value ="";
    this.getField("InsuranceCodes8").value ="";
    this.getField("InsuranceCodes9").value ="";}

    I did move the coding to validation script and deleted it from the actions. I clicked also to commit the selected value immediately. However, when I change "event.target" to "event.value" it no longer works. If I do all the steps but leave "event.target" it does autopopluate, but the information is incorrect.

  • Dropdown Box Effecting Multiple Queries with Different Technical ID InfoObj

    Hi,
    I'm using BW 3.5 Web Application Designer.  I have a dropdown box for region (0REGION) based on DataProvider1 and it effects DataProvider1, DataProvider2, and DataProvider3.  In DataProvider2, the query that is used has region as a navigational attribute of Plant, ie 0PLANT__0REGION.  And in DataProvider3, the query is based on an InfoSet.  So the region field is named like ZABC_I01__F02.
    My issue is that DataProvider2 and DataProvider3 don't get updated when I select a region from the dropdown.  Essentially, all three (0REGION, 0PLANT__0REGION, and ZABC_I01__F02) are region except that the technical names are different.  Has anyone also experienced this?  And is there a solution>
    Thanks!

    You will have to use Custom JavaScript + BW Web API commands to generate the filter URL for all the different data providers.
    There is a how to document available for generating URLs based on dropdown selection under the BI How to guides.

  • Inserting dropdown box

    Dear all,
    it is a business requirement to be able to chose between different seasons within my company. Therefore I need a dropdown box, which is "connected" to the prompt and refers on a variable (not like a usual Excel dropdown, which is more static with pre-defined selections). This means, it should be dynamic and if I change the season within the dropdown, it should also change it in the prompt and therefore change the workbook.
    As far as I know this was also possible in BEx Analyzer.
    Can anyone please give me some advice?
    Thanks in advance!
    Kind regards
    Dominik Drebinger

    Hi Dominik,
    I had a similar problem where the Finance user wanted to view their report by cost centre node without having to use the prompts screen so that the report did not have to refresh each time.
    This method allows you to refresh data only once and then you can toggle the data you want to view via the Excel list functionality.
    Hope this helps
    Using Excel Lists
    instead of SAPSetFilter Component
    Using Excel lists instead of the SAPSetFilterComponent will
    enable you to toggle your report without having to refresh your report each
    time. For example if you would like to view each of your cost centre nodes on
    one report without having to refresh.
    Step 1
    Ensure your data source includes all of the centres as a
    Column heading. Expand your centres to the correct level .
      Month Movement Current
      MTH_MOV_CUR
      [-] Customer markets
      [+] Access Points
      [+] Head Office Admin
      [+] Points of Representation
      [+] Pro-Active Sales
      [+] Suites
      1000PBB05CH003
      1000PBB06CH007
      1000PBB06CH008
      1000PBB06CH009
      1000PBB06CH010
      1000PBB06CH011
      ZAR
      ZAR
      ZAR
      ZAR
      ZAR
      ZAR
    Step 2
    In a separate sheet, create a list of cost centre nodes you
    would like to report on including their node names.
      [+] Access Points
      1000PBB06CH007
      [+] Head Office Admin
      1000PBB06CH008
      [+] Points of Representation
      1000PBB06CH009
      [+] Pro-Active Sales
      1000PBB06CH010
      [+] Suites
      1000PBB06CH011
    Step 3
    In the next column create a concatenate formula so that the
    node name can be recognised by the SAPGetData formula. =CONCATENATE("ZMIPROFIT=+",F1,"(0HIER_NODE)")
      [+] Access Points
      1000PBB06CH007
      ZMIPROFIT=+1000PBB06CH007(0HIER_NODE)
      [+] Head Office Admin
      1000PBB06CH008
      ZMIPROFIT=+1000PBB06CH008(0HIER_NODE)
      [+] Points of Representation
      1000PBB06CH009
      ZMIPROFIT=+1000PBB06CH009(0HIER_NODE)
      [+] Pro-Active Sales
      1000PBB06CH010
      ZMIPROFIT=+1000PBB06CH010(0HIER_NODE)
      [+] Suites
      1000PBB06CH011
      ZMIPROFIT=+1000PBB06CH011(0HIER_NODE)
    Step 4
    On the face of your report create a drop down list in Cell
    A1. On the MS Excel Ribbon select Data, Then select data validation.
    In the allow box select list and choose the list you created
    in Step 2 as the Source.
    Your List will look like this
    Step 5
    In the cell next to your list (cell A2), create a vlookup to
    find the cell that you created in Step 3.
    =VLOOKUP(D1,Parameters!$A$15:$c$19,3,FALSE)
    Step 6
    Now reference the vlooked up cell (Cell A2) you created in
    Step 5 in your SAPGetData formula and lock the cell using as follows ,$A$2. If
    you have referenced your measure type, and GL account (Please refer to manual
    on referencing your own you can drag the formula across your report.
    SAPGetData("DS_1",D$4,$B8,$A$2)

  • Dropdown box - which event handler to use ?

    I am having trouble with setting the readonly property (via Javascript) of the adjacent textbox to my dropdown box when the index value is a certain number.
    I tried using MouseUp, MouseDown, and even OnBlur....but the readonly does not seem to be getting set to true or false consistently.
    Could this be a timing issue ? The textbox that I am trying to control is the next tab-order control in the list of controls for this page.
    This same logic is working fine in the MouseUp event handler for check boxes. So I am just wondering if this is a bug or must my implementation change to accomodate dropdown boxes ? For instance, should I move the logic to the Enter event handler of the textbox instead ? Can a control's own eventhandler set itself to readonly when it is the active form field ?

    After tons and tons of testing time, I've come to the conclusion that dropdowns are totally buggy in 11.0.07 release of Acrobat Pro.
    Even if you set the "commit values immediately", you get the PRIOR selected item's value as the event value, not the CURRENT one.
    This occurs in a Validate event handler script. I have not been able to use any other event handlers for a dropdown except the OnBlur....and then, for my purposes, IT'S TOO LATE !!!
    This is totally worthless as I need to setFocus() and set fields to readonly based on the immediate dropdown offset or face value.

Maybe you are looking for