Retreiving data corresponding to dropdown list.

hii all,
i want to know that if i have to make one application where there is a dropdown list with several parameters and if i select one parameter and retrieve the data corresponding to that parameter, then i select second parameter and retreive the data. now there r two possibilities.
FIRST, i can make one syncBO for all parameters and storing data corresponding to all parameter on the PDA and when i select one parameter it will fetch the data from client database corresponding to that parameter(All the data corresponding to all parameters will be stored on the PDA database irrespective of selected parameter. is it true).
SECOND, i can make different syncBO for all parameters and after every parameter selection it will fetch the data from MI server through synchronization
and is it possible to synchronize the client with the MI server every time a new parameter is selected automatically.
And plz let me know what i m thinking is true in technical aspect or not and what will be the best way to do the same.

Hi Devendrakumar,
just go through this forum.
i have discussed , how to handle a scenario like this in this forum . let me know if u have doubts ..
go through it carefully..
Re: Regd 2-Way (S01)
Regards
Kishor Gopinathan

Similar Messages

  • Getting error to bind data to dropdown list

    hay dear,
    i bind data to a dropdown list, everything gonna ok but when i run the project the web page containing the bellow error message. could anyone help me
    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: java.sql.SQLException
    Error in allocating a connection. Cause: Class name is wrong or classpath is not set for : oracle.jdbc.pool.OracleDataSource
    Possible Source of Error:
    Class Name: com.sun.gjc.spi.base.DataSource
    File Name: DataSource.java
    Method Name: getConnection
    Line Number: 112
    Source not available. Information regarding the location of the exception can be identified using the exception stack trace below.
    Exception Details: java.lang.RuntimeException
    java.sql.SQLException: Error in allocating a connection. Cause: Class name is wrong or classpath is not set for : oracle.jdbc.pool.OracleDataSource
    Possible Source of Error:
    Class Name: com.sun.data.provider.impl.CachedRowSetDataProvider
    File Name: CachedRowSetDataProvider.java
    Method Name: setCursorRow
    Line Number: 343
    Source not available. Information regarding the location of the exception can be identified using the exception stack trace below.
    Exception Details: com.sun.rave.web.ui.appbase.ApplicationException
    java.sql.SQLException: Error in allocating a connection. Cause: Class name is wrong or classpath is not set for : oracle.jdbc.pool.OracleDataSource
    Possible Source of Error:
    Class Name: com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl
    File Name: ViewHandlerImpl.java
    Method Name: cleanup
    Line Number: 603
    Source not available. Information regarding the location of the exception can be identified using the exception stack trace below.

    I'm not a guru, but I would say : your jdbc isn't working. Make sure that it's functioning properly.
    The errormesages suggest that the application can not find the datasource.
    Best Regards,
    Martijn

  • Data in dropdown list field are empty in PDF form

    Hi all.
    Viewing a pdf form created with SAP interactive Forms offline method, the data in the dropdown list field are empty.
    The data in the dropdown list field are generated by xml file produced by an abap report.
    The problem occurs opening the form with Adobe Reader 8.1 or higher. Using Adobe Reader release 7.0.9 everything is ok.
    Do you have any suggestion?
    Thanks in advanced.
    Best Regards.
    Moreno

    Hi Otto,
    the only release of Adobe Reader that work is 7.0.9. Release 8.1 and 9 have the same problem where the data in the dropdown list field are empty.
    At the end of the trace file in Adobe Reader 9.0.3 I find this error message:
    "Invalid version: The current version of the XFA template model exceeds the capability of Acrobat / Adobe Reader 7.0.5."
    The form has been created using Adobe Lifecycle Design 7.1.
    Any idea?
    Thanks
    Moreno

  • Is it possible to enter our own value in dropdown list box in Module Pool. How?

    Dear Experts,
    Being new to ABAP, I am trying my hands on Dropdownlist box on Module Pool.
    I want to pull data from Ztable(Custom Table) into Dropdown list box on Screen in Module pool and be able to edit it, delete it and enter new data through it, thus thereby able to manage the Ztable. Is it possible in dropdown.
    Looking forward for experts advice.
    Regards
    Deepika

    Dear Kannan,
    Thanks. But why sud I write an event in Table maintenance generator. My code is in Module Pool and it has no connection with Table Msintenance.
    The I/O field Drop down list box is on the Screen in my Module Pool. I am able to pull data in it from Ztable but now I want to edit this pulled data and also want to enter new data in this dropdown list box.
    Regards
    Deepika

  • Dependency DropDown List for Multiple Rows in Offline Interactive Form

    Hi I have 2 drop down lists.. in one dropdown list I have "Billable" and "Non Billable" , in second Dropdown list we will have Binding values with "Billable".... when we select "Billable" I need to get the data in Second Dropdown list from Database, and when we Select "Non Billable" then Dropdownlist should become a Inputfield (i.e Dropdown should turn to textfield)...and this should happen for each and every row....based on Index value....help me on this.....

    Hi,
    You can create one input text field and make it visible when a user choses non billable option in dropdown 1, using -
    <this>.presence = "visible";
    when billable is chosen from dropdown 1, I can think of two ways.
    - Since you have binding 'billable' options with second dropdown, make it visible when billabile option is chosen.
    - you can also populate the second dropdown using javascript (something like dependent dropdowns) when billable option is chosen.
    if ( this.rawValue == 'billable' )
         seconddropdown =  xfa.resolveNodes("xfa.record.ITAB.DATA[ *]");
         for ( var k = 0; k < seconddropdown.length ; k++)
          <your path>.addItem(seconddropdown.item(j).fieldname.value,seconddropdown.item(j).fieldname.value );   (to populate second dropdown)
    Regards, Liz

  • How can I populate a dropdown list

    I am trying to build a dropdown list dependant on another dropdown list
    Once a selection is made in dropdown list 1:
    Only items associated with that selection are populated in dropdown list 2 AND
    populates text field 1 with the data selected in dropdown list 1
    Once dropdown list 2 selection is made:
    populates a text field 2 with the data selected in dropdown list 2
    Anybody know how this can be done?
    Ray

    Sorry about that. I had the link ready to paste but neglected to do so: http://acrobatusers.com/tutorials/getting-external-data-into-acrobat-x-javascript
    The idea is that you can read in data from an external or attached file, but it will need to be a different format such as XML, tab-delimited text, or CSV, which can all be exported from a spreadsheet.

  • Defaulting value of Dropdown List to the first value of a BI Query

    Hi,
    In my VC application I have a form containing a dropdown list to be used as selection criteria for other data.  The dropdown list is dynamically populated by a BI Query.  When I run the application, the dropdown list is correctly populated with the values returned by the linked query.  However, on initial load of the iView, the default value of the dropdown list is blank.  The requirement is for the first item returned by the linked query to display as the default value.
    I would appreciate any suggestions on how to achieve this requirement.
    Thank you,
    Mustafa Bensan.

    Hi Mustafa,
    I checked your requirement but it is not possible to display first value as default value for a drop down list because the list will be generate when you click the drop down list. You can use a 'list box' instead of drop down list.
    Regards
    Basheer

  • Add multiple entries to dropdown list without using data dictionary

    Hi,
    By default when we use a data dictionary element for dropdown list, all the possible values are listed in the dropdown. However when no data dictionary element is used for the dropdown list, it behaves like a parameter with a single line.
    I would like to know if it is possible to not use the data dictionary element and still have multiple lines in the dropdown.
    Thanks in advance.
    Shamia

    Check the below program :
    *report zxyz.
    report zxyz.
    Table diclaration
    tables: tvdir.
    Selection screento table View
      selection-screen skip 2.
      parameter p_tabnm(30) as listbox visible length 30 obligatory.
      selection-screen skip 1.
      selection-screen begin of block s1 with frame title text-001.
      parameter: p_radio1 radiobutton group g1,
                 p_radio radiobutton group g1.
      selection-screen end of block s1.
    Add values to list box
    at selection-screen output.
      type-pools: vrm.
      data: name  type vrm_id,
            list  type vrm_values,
            value like line of list.
      name = 'P_TABNM'.
      refresh list.
      value-key = 'V_024'.
      value-text = text-002. "'V_024-Purchasing Groups'.
      append value to list.
      value-key = 'V_T024D'.
      value-text = text-003. "'V_T024D-MRP Controllers'.
      append value to list.
      value-key = 'ZT604'.
      value-text = text-004. "'T604-Commodity Codes'.
      append value to list.
      value-key = 'T179'.
      value-text = text-005. "'T179-Product Hierarchies'.
      append value to list.
      value-key = 'TVM1T'.
      value-text = text-006. "'TVM1T-Business Manager'.
      append value to list.
      value-key = 'TVM2T'.
      value-text = text-007. "'TVM2T-Division manager'.
      append value to list.
      value-key = 'TVM3T'.
      value-text = text-008. "'TVM3T-Director'.
      append value to list.
      value-key = 'V_TVV2'.
      value-text = text-009. "'V_TVV2-Customer Group 2'.
      append value to list.
      call function 'VRM_SET_VALUES'
           exporting
                id     = name
                values = list.
    start-of-selection.
    Get flag of corresponding table view
      select single tabname flag from tvdir into tvdir
                    where tabname = p_tabnm.
    Set flag of corresponding table view
      if p_radio1 eq 'X'.
        if tvdir-flag ne 'X'.
          update tvdir set: flag  = 'X'
                     where tabname = p_tabnm.
        endif.
      endif.
      if p_radio eq 'X'.
        if tvdir-flag eq 'X'.
          update tvdir set: flag  = ''
                       where tabname = p_tabnm.
        endif.
      endif.
    Execute View/Table
      call function 'VIEW_MAINTENANCE_CALL'
        exporting
          action                               = 'U'
          view_name                            = p_tabnm
       exceptions
         client_reference                     = 1
         foreign_lock                         = 2
         invalid_action                       = 3
         no_clientindependent_auth            = 4
         no_database_function                 = 5
         no_editor_function                   = 6
         no_show_auth                         = 7
         no_tvdir_entry                       = 8
         no_upd_auth                          = 9
         only_show_allowed                    = 10
         system_failure                       = 11
         unknown_field_in_dba_sellist         = 12
         view_not_found                       = 13
         others                               = 14.
      if sy-subrc <> 0.
        message id sy-msgid type sy-msgty number sy-msgno
                with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      endif.
    Reset flag of corresponding table view
      update tvdir set: flag  = tvdir-flag
                    where tabname = p_tabnm.
    Thanks
    Seshu

  • How to extract data from xml field to dropdown list?

    Hi,
    I have designed a form and connected to a SQL server database using a web service. The XML data retrieved from wsdl connection is currently hold in a text field called 'XMLfield'. I need to extract the data such as 'PersonnelName' from XMLfield into a dropdown list. I used the following code and I do not get any error, but nothing come up and all my fields in the forms become bank when i click the dropdown list.
    I would appreciate it if anyone can help me with this issue.
    form1.DropDownList::click - (JavaScript, client)
    xfa.datasets.data.loadXML(form1.XMLfield.rawValue,0,1);
    form1.XMLfield.rawValue = xfa.datasets.data.saveXML();
    var dataGroup = xfa.resolveNode("xfa.data.Timesheet.Personnel.PersonnelName");
    var dataGroupLength = dataGroup.nodes.length;
    if (dataGroupLength == 0) {
      xfa.host.messageBox("There are no parts in the XML doc");
    else {
      for (var i=0; i < dataGroupLength; i++){
        this.addItem(dataGroup.nodes.item(i).nodes.item(0).value);
    Thanks,
    Roya

    Hi Roya,
    I think the loadXML will override your form data, so blanking out your fields.  You could try loading the xml data at the xfa.datasets level (that is xfa.datasets.loadXML(form1.XMLfield.rawValue,0,1);) or using E4X to process the XML.
    Another option though might be more rework is to use the Acrobat SOAP api which will return you a JavaScript object so you wont have to do any XML work.
    There's a good intro to the SOAP api here, http://www.avoka.com/blog/page/11/.
    Regards
    Bruce

  • Data Table will not bind to Dropdown List selection

    I get the following error when I try to use my own database tables (As in the "Using Databound Components to Access Databases" tutorial). It is a Oracle9i database. The Table (Vehicle)I use to populate the Dropdown List has around 450 000 rows, and the ComponentRowset returns 362 000 rows when run without a parameter.
    Exception Details: javax.faces.el.EvaluationException
    java.lang.NullPointerException
    Possible Source of Error:
    Class Name: com.sun.faces.el.ValueBindingImpl
    File Name: ValueBindingImpl.java
    Method Name: getValue
    Line Number: 206
    Please help! What am I doing wrong? As far as I can see the code is identical to the "Using Databound Components to Access Databases" tutorial.
    Here is the code:
    * Page1.java
    * Created on 12 October 2004, 05:56
    * Copyright jgenis
    package ucodapp;
    import javax.faces.*;
    import com.sun.jsfcl.app.*;
    import javax.faces.component.html.*;
    import com.sun.jsfcl.data.*;
    import javax.faces.component.*;
    import com.sun.sql.rowset.*;
    import javax.faces.event.*;
    import javax.faces.convert.*;
    public class Page1 extends AbstractPageBean {
        // <editor-fold defaultstate="collapsed" desc="Creator-managed Component Definition">
        private int __placeholder;
        private HtmlForm form1 = new HtmlForm();
        public HtmlForm getForm1() {
            return form1;
        public void setForm1(HtmlForm hf) {
            this.form1 = hf;
        private HtmlDataTable dataTable1 = new HtmlDataTable();
        public HtmlDataTable getDataTable1() {
            return dataTable1;
        public void setDataTable1(HtmlDataTable hdt) {
            this.dataTable1 = hdt;
        private JdbcRowSetXImpl componentRowSet = new JdbcRowSetXImpl();
        public JdbcRowSetXImpl getComponentRowSet() {
            return componentRowSet;
        public void setComponentRowSet(JdbcRowSetXImpl jrsxi) {
            this.componentRowSet = jrsxi;
        private HtmlOutputLabel componentLabel1 = new HtmlOutputLabel();
        public HtmlOutputLabel getComponentLabel1() {
            return componentLabel1;
        public void setComponentLabel1(HtmlOutputLabel hol) {
            this.componentLabel1 = hol;
        private HtmlOutputText componentLabel1Text = new HtmlOutputText();
        public HtmlOutputText getComponentLabel1Text() {
            return componentLabel1Text;
        public void setComponentLabel1Text(HtmlOutputText hot) {
            this.componentLabel1Text = hot;
        private UIColumn column1 = new UIColumn();
        public UIColumn getColumn1() {
            return column1;
        public void setColumn1(UIColumn uic) {
            this.column1 = uic;
        private HtmlOutputText outputText1 = new HtmlOutputText();
        public HtmlOutputText getOutputText1() {
            return outputText1;
        public void setOutputText1(HtmlOutputText hot) {
            this.outputText1 = hot;
        private HtmlOutputText outputText2 = new HtmlOutputText();
        public HtmlOutputText getOutputText2() {
            return outputText2;
        public void setOutputText2(HtmlOutputText hot) {
            this.outputText2 = hot;
        private UIColumn column2 = new UIColumn();
        public UIColumn getColumn2() {
            return column2;
        public void setColumn2(UIColumn uic) {
            this.column2 = uic;
        private HtmlOutputText outputText3 = new HtmlOutputText();
        public HtmlOutputText getOutputText3() {
            return outputText3;
        public void setOutputText3(HtmlOutputText hot) {
            this.outputText3 = hot;
        private HtmlOutputText outputText4 = new HtmlOutputText();
        public HtmlOutputText getOutputText4() {
            return outputText4;
        public void setOutputText4(HtmlOutputText hot) {
            this.outputText4 = hot;
        private UIColumn column3 = new UIColumn();
        public UIColumn getColumn3() {
            return column3;
        public void setColumn3(UIColumn uic) {
            this.column3 = uic;
        private HtmlOutputText outputText5 = new HtmlOutputText();
        public HtmlOutputText getOutputText5() {
            return outputText5;
        public void setOutputText5(HtmlOutputText hot) {
            this.outputText5 = hot;
        private HtmlOutputText outputText6 = new HtmlOutputText();
        public HtmlOutputText getOutputText6() {
            return outputText6;
        public void setOutputText6(HtmlOutputText hot) {
            this.outputText6 = hot;
        private UIColumn column4 = new UIColumn();
        public UIColumn getColumn4() {
            return column4;
        public void setColumn4(UIColumn uic) {
            this.column4 = uic;
        private HtmlOutputText outputText7 = new HtmlOutputText();
        public HtmlOutputText getOutputText7() {
            return outputText7;
        public void setOutputText7(HtmlOutputText hot) {
            this.outputText7 = hot;
        private HtmlOutputText outputText8 = new HtmlOutputText();
        public HtmlOutputText getOutputText8() {
            return outputText8;
        public void setOutputText8(HtmlOutputText hot) {
            this.outputText8 = hot;
        private UIColumn column5 = new UIColumn();
        public UIColumn getColumn5() {
            return column5;
        public void setColumn5(UIColumn uic) {
            this.column5 = uic;
        private HtmlOutputText outputText9 = new HtmlOutputText();
        public HtmlOutputText getOutputText9() {
            return outputText9;
        public void setOutputText9(HtmlOutputText hot) {
            this.outputText9 = hot;
        private HtmlOutputText outputText10 = new HtmlOutputText();
        public HtmlOutputText getOutputText10() {
            return outputText10;
        public void setOutputText10(HtmlOutputText hot) {
            this.outputText10 = hot;
        private UIColumn column6 = new UIColumn();
        public UIColumn getColumn6() {
            return column6;
        public void setColumn6(UIColumn uic) {
            this.column6 = uic;
        private HtmlOutputText outputText11 = new HtmlOutputText();
        public HtmlOutputText getOutputText11() {
            return outputText11;
        public void setOutputText11(HtmlOutputText hot) {
            this.outputText11 = hot;
        private HtmlOutputText outputText12 = new HtmlOutputText();
        public HtmlOutputText getOutputText12() {
            return outputText12;
        public void setOutputText12(HtmlOutputText hot) {
            this.outputText12 = hot;
        private UIColumn column7 = new UIColumn();
        public UIColumn getColumn7() {
            return column7;
        public void setColumn7(UIColumn uic) {
            this.column7 = uic;
        private HtmlOutputText outputText13 = new HtmlOutputText();
        public HtmlOutputText getOutputText13() {
            return outputText13;
        public void setOutputText13(HtmlOutputText hot) {
            this.outputText13 = hot;
        private HtmlOutputText outputText14 = new HtmlOutputText();
        public HtmlOutputText getOutputText14() {
            return outputText14;
        public void setOutputText14(HtmlOutputText hot) {
            this.outputText14 = hot;
        private RowSetDataModel dataTable1Model = new RowSetDataModel();
        public RowSetDataModel getDataTable1Model() {
            return dataTable1Model;
        public void setDataTable1Model(RowSetDataModel rsdm) {
            this.dataTable1Model = rsdm;
        private HtmlSelectOneMenu dropdown1 = new HtmlSelectOneMenu();
        public HtmlSelectOneMenu getDropdown1() {
            return dropdown1;
        public void setDropdown1(HtmlSelectOneMenu hsom) {
            this.dropdown1 = hsom;
        private UISelectItems dropdown1SelectItems = new UISelectItems();
        public UISelectItems getDropdown1SelectItems() {
            return dropdown1SelectItems;
        public void setDropdown1SelectItems(UISelectItems uisi) {
            this.dropdown1SelectItems = uisi;
        private JdbcRowSetXImpl vehicleRowSet = new JdbcRowSetXImpl();
        public JdbcRowSetXImpl getVehicleRowSet() {
            return vehicleRowSet;
        public void setVehicleRowSet(JdbcRowSetXImpl jrsxi) {
            this.vehicleRowSet = jrsxi;
        private BigDecimalConverter dropdown1Converter = new BigDecimalConverter();
        public BigDecimalConverter getDropdown1Converter() {
            return dropdown1Converter;
        public void setDropdown1Converter(BigDecimalConverter bdc) {
            this.dropdown1Converter = bdc;
        // </editor-fold>
        public Page1() {
            // <editor-fold defaultstate="collapsed" desc="Creator-managed Component Initialization">
            try {
                componentRowSet.setDataSourceName("java:comp/env/jdbc/CDS");
                componentRowSet.setCommand("SELECT ALL TRACKER.COMPONENT.PINNO, TRACKER.COMPONENT.UNITCODE, TRACKER.COMPONENT.INSTALLEDDATE, TRACKER.COMPONENT.INSTALLREPORTNO, TRACKER.COMPONENT.TNUSERIALNO, TRACKER.VEHICLE.REGNO, TRACKER.VEHICLE.VINNO, TRACKER.VEHICLE.VEHICLEID, TRACKER.TRACKERAGREEMENT.TAID, TRACKER.TAPRODUCT.TAPRODUCTID, TRACKER.COMPONENT.COMPONENTID, TRACKER.COMPONENT.TAPRODUCTID, TRACKER.COMPONENT.COMPONENTTYPEID, TRACKER.COMPONENT.INSTALLERID, TRACKER.TAPRODUCT.TAID, TRACKER.TAPRODUCT.PRODUCTTYPEID, TRACKER.TAPRODUCT.TAPRODUCTSTATUSID, TRACKER.TAPRODUCT.PRORATANRDAYS, TRACKER.TAPRODUCT.CONTRACTPERIOD, TRACKER.TAPRODUCT.BILLINGFREQUENCYID, TRACKER.TAPRODUCT.CANCELLATIONDATE, TRACKER.TAPRODUCT.STARTDATE, TRACKER.TAPRODUCT.SOURCEID, TRACKER.TAPRODUCT.PRICINGDATE, TRACKER.TAPRODUCT.DEALTYPEID, TRACKER.TAPRODUCT.ACTIONTYPEID, TRACKER.TAPRODUCT.ISSTANDARDBATTERY, TRACKER.TAPRODUCT.AUDITUSERID, TRACKER.TAPRODUCT.AUDITSRID, TRACKER.COMPONENT.SERIALNUMBER, TRACKER.COMPONENT.RECEIVEDDATE, TRACKER.COMPONENT.RESPONSECODE, TRACKER.COMPONENT.REPLYCODE, TRACKER.COMPONENT.ACTIVATIONCODE, TRACKER.COMPONENT.ALERT, TRACKER.COMPONENT.ALTDEACTIVATIONCODE, TRACKER.COMPONENT.INSTALLEDLOCATION, TRACKER.COMPONENT.VERSION, TRACKER.COMPONENT.SOFTWAREVERSION, TRACKER.COMPONENT.CANACTIVATE, TRACKER.COMPONENT.COMPONENTSTATUSID, TRACKER.COMPONENT.SIMNO, TRACKER.COMPONENT.LOCATECELLNO, TRACKER.COMPONENT.AUDITDT, TRACKER.COMPONENT.THEFTNO, TRACKER.TAPRODUCT.STATUSBEFORECANCELLATION, TRACKER.TAPRODUCT.AUDITDT, TRACKER.TRACKERAGREEMENT.VEHICLEID, TRACKER.TRACKERAGREEMENT.CUSTOMERID, TRACKER.TRACKERAGREEMENT.TASTATUSDATE, TRACKER.TRACKERAGREEMENT.TASTATUSID, TRACKER.TRACKERAGREEMENT.AUDITUSERID, TRACKER.TRACKERAGREEMENT.AUDITSRID, TRACKER.TRACKERAGREEMENT.AUDITDT, TRACKER.VEHICLE.MAKEMODELID, TRACKER.VEHICLE.VEHICLECOLOURID, TRACKER.VEHICLE.COLOURSHADEID, TRACKER.VEHICLE.BATTERYID, TRACKER.VEHICLE.INSURERID, TRACKER.VEHICLE.ENGINENO, TRACKER.VEHICLE.CHASSISNO, TRACKER.VEHICLE.POLICYNO, TRACKER.VEHICLE.YEARMODEL, TRACKER.VEHICLE.JOINDATE, TRACKER.VEHICLE.POLICYCOMMENCEDATE, TRACKER.VEHICLE.DESCRIPTION, TRACKER.VEHICLE.ACTIVE, TRACKER.VEHICLE.METALLICIND, TRACKER.VEHICLE.TEMPREGNO, TRACKER.VEHICLE.ORDERNUMBER, TRACKER.VEHICLE.POLICYSEQUENCENO, TRACKER.VEHICLE.AUDITUSERID, TRACKER.VEHICLE.AUDITSRID, TRACKER.VEHICLE.AUDITDT, TRACKER.VEHICLE.THEFTNO  FROM TRACKER.COMPONENT INNER JOIN TRACKER.TAPRODUCT ON TRACKER.COMPONENT.TAPRODUCTID=TRACKER.TAPRODUCT.TAPRODUCTID INNER JOIN TRACKER.TRACKERAGREEMENT ON TRACKER.TAPRODUCT.TAID=TRACKER.TRACKERAGREEMENT.TAID INNER JOIN TRACKER.VEHICLE ON TRACKER.TRACKERAGREEMENT.VEHICLEID=TRACKER.VEHICLE.VEHICLEID WHERE TRACKER.VEHICLE.VEHICLEID=?");
                dataTable1Model.setDataCacheKey("com.sun.datacache.Page1.componentRowSet");
                dataTable1Model.setRowSet(componentRowSet);
                dataTable1Model.setSchemaName("");
                dataTable1Model.setTableName("");
                vehicleRowSet.setDataSourceName("java:comp/env/jdbc/CDS");
                vehicleRowSet.setCommand("SELECT ALL TRACKER.VEHICLE.VEHICLEID, TRACKER.VEHICLE.REGNO  FROM TRACKER.VEHICLE");
                vehicleRowSet.setFetchSize(1000);
            } catch (Exception e) {
                log("Page1 Initialization Failure", e);
                throw e instanceof javax.faces.FacesException ? (FacesException) e : new FacesException(e);
            // </editor-fold>
            // Additional user provided initialization code
            // Initialization Code
            // Part of the Using Databound Components to Access Databases Tutorial
            // You can find this tutorial on the web -- use the link on the Welcome page
            try {
                vehicleRowSet.execute();
                vehicleRowSet.next();
                dataTable1Model.setObject(1, vehicleRowSet.getObject("VEHICLEID"));
            } catch (Exception ex) {
                throw new FacesException(ex);
            } // end try catch
        protected ucodapp.ApplicationBean1 getApplicationBean1() {
            return (ucodapp.ApplicationBean1)getBean("ApplicationBean1");
        protected ucodapp.SessionBean1 getSessionBean1() {
            return (ucodapp.SessionBean1)getBean("SessionBean1");
         * Bean cleanup.
        protected void afterRenderResponse() {
            vehicleRowSet.close();
            vehicleRowSet.close();
            componentRowSet.close();
        public void dropdown1_processValueChange(ValueChangeEvent vce) {
            // Dropdown List Event Code
            // Part of the Using Databound Components to Access Databases Tutorial
            // You can find this tutorial on the web -- use the link on the Welcome page
            try {
                dataTable1Model.setObject(1, dropdown1.getValue());
                dataTable1Model.execute();
            } catch (Exception e) {
                log("vehicle id change exception", e);
                error("Exception changing Vehicle Id: " + e);
            } // end try catch
            // User event code here...

    Take a look at the Page1 constructor.
    It appears that you're trying to bind the datatable to 2
    different rowsets. I suggest to clean up this
    constructor to make sure you're using the right
    rowset.
    Your value binding expressions on each column
    of the datatable may not be set to the right column.
    John
    JSC QA

  • Change the data of a gallery witn a dropdown list

    Hello,
    I hope someone can help me.
    I have a gallery in my app. And on top a dropdown list with 8 different texts.
    I also have 8 rss feeds. Now I want that the gallery change the rss when I change the dropdown.
    Is that possible?
    Can someone help and say what I have to do?
    Thank you
    Joogel

    Hello,
    To date you cannot dynamically change datasources from a gallery to my knowledge. However to make your scenario work you can do the following
    Go to the tips and tricks (https://social.technet.microsoft.com/Forums/en-US/f8cc7f2f-21bc-4ecb-91b2-622f40a5cbd3/from-the-community-tips-and-tricks?forum=projectsiena) and
    look at
    Combining multiple feeds in a single gallery (processed with REST)
    And then based on the dropdown add a filter (http://technet.microsoft.com/library/dn690139)
    Depending on the loading times and the volumes in the rss feeds you may experience some slowing down.
    You can create your supercollection in the OnVisible behavior of your screen.
    You can also work with a collection of collections but that's a bit trickier to manipulate the data.
    Regards
    StonyArc
    http://www.stonyarc.com http://www.xboxlivenation.com

  • How to filter data from dropdown list in sharepoint 2010

    hi,
    we have one requirement for filtering data from drop down list , we have 4 drop down  lists, in that  drop drown, we  can select any drop down that related data bind to grid view ,  

    Try using "relationshipWebURL"
    property
    Ref:
    http://spservices.codeplex.com/discussions/348401
    Another option is by using Infopath forms
    Ref:
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/9a84eae9-515f-4bef-921f-5ede5819f8df/filtering-a-cascade-dropdown-list-to-use-in-another-site
    Adnan Amin MCT, SharePoint Architect | If you find this post useful kindly please mark it as an answer :)

  • Get back dropdown list data.

    Hi all,
    I am adding a new customer screen into transaction code ME21N. I managed to see the new tab Customer Data created, I have also created a dropdown list in the screen with data for example, Text 1, Text 2, Text 3.
    My problem now is whenever I selected the dropdown list to Text2, I go tab Delivery/Invoice, and come back to tab Customer Data, the dropdown list data is blank. How could I set the dropdown list data and display the selected data whenever I come back to Customer Data?
    Your answer is very much appreciated.
    Thanks in advance.

    Hi ,
    Define separate module for Drop down assignment. Using Fn Module VRM_SET_VALUES assign the values u want to do.
    code{
    MODULE list_def_code OUTPUT.
      CLEAR: value,list , name ,  wa_defect.
      REFRESH: list , it_sale , it_defect.
      SELECT * FROM zcrm_defect INTO TABLE it_defect WHERE division = division.
      LOOP AT it_defect INTO wa_defect.
        value-key = wa_defect-def_code.
        value-text = wa_defect-def_text.
        APPEND value TO list.
        CLEAR value.
      ENDLOOP.
      SORT LIST BY TEXT.
      CALL FUNCTION 'VRM_SET_VALUES'
        EXPORTING
          id              = 'DEFECT'
          values          = list[]
        EXCEPTIONS
          id_illegal_name = 1
          OTHERS          = 2.
    } Try this

  • How to print the date in dropdown list if records exceeds 1000 above

    Hi All,
    I have 7000 records in my resultset.
    How to display that much of records in dropdown list.
    I am trying to print ,it takes lot of time for single user.
    is there any alternative for that.

    of course it will take time for the client computer to parse your html.. what you will do is to split you record by hundreds.. you have to consider your clients machine.. not all client has fast computers

  • Referencing the text in a Dropdown List

    Hi,
    I would like to know if it is possible to reference the text of the selected item of a Dropdown List.  The scenario is as follows: 
    I have a dropdown list in a form which is used to select profit centres.  The dropdown list's Entry List consists of the Profit Centre Code as the VALUE and the Profit Centre Description as the corresponding TEXT.  I would like to reference the TEXT of the selected item in a formula for building a dynamic string that includes the Profit Centre Description plus other data, for informational display purposes in a Plain Text control.  However, it seems that only the VALUE of the dropdown list can be referenced in a formula and not the TEXT.
    Is this a limitation of Visual Composer?
    Thanks,
    Mustafa.

    Hi Basheer,
    I'm not clear about your proposed solution.  In the reference "#ID|ACA1EO|@DL_Division", "#ID|ACA1EO|" is the ID of the form which contains the Dropdown list and "DL_Division" is the name of the Dropdown list control itself.  When referenced in this way, the VALUE of the selected item is always returned.  However, I would like to determine the TEXT of the corresponding selected item and there doesn't appear to be a method to do this.
    Can you provide more details for your proposed solution?
    Thanks,
    Mustafa.

Maybe you are looking for

  • Why is my ipod frozen on the apple logo? Will I need to do a restore?

    All I did was turn it off, it had full battery wasnt frozen or anything. I now, when pressing the home and on/off button at the top get the apple logo for about 5 seconds then it goes blank, and I have repeated this many times, yet no luck on getting

  • Using Barcode reader in java

    Hi, I have a project in which i have to read barcodes from a smart card and then find out the id to which it belongs. I have the barcode values and corressponding ids. I am not familiar with barcodes. Can anyone please tell me how to use java for thi

  • Macbook Pro 15" 2.2 Keyboard Backlight Flashes

    I am hoping to get some help with a problem I am having with my keyboard backlight. The keys flash / flicker on and off even in low light conditions. I have tried adjusting the screen backlight down thinking that it was casting enough light on the se

  • Layered .PSD files not coming in correctly?

    I select an object in PS and copied it to a new layer, and did nothing more to the image. So now the image consists of the object on a new layer separated from the background image. I save the file as a .PSD, and bring it into Premiere CS6 with the o

  • Flash Links in Dreamweaver

    I have loaded an swf file into a dreamweaver page. This swf file contains links to other html pages, however, when i preview the page in the browser these links from the swf file don't work. Does anyone know if they will work once it is officially pu