How to populate table at run time

Hi All,
I have a requirement like , i have department table and i created view object for that and dragged into jsp page as a single selection choice.
when i select department id in the drop down list a table should be populated with the details
//-- Table should only appear if the user has chosen drop-down criteria .please help me how to achieve this.
Thanks

at the rendered property you could use something like
rendered="#{bindings.comboBox.inputValue eq null? false : true }"So the first time you come on your page, the table won't be rendered.
When you select a value from you combo box, the view criteria will do his work and the rendered property will be set to true.

Similar Messages

  • How to populate LOV at run time in developer

    I want to populate my LOV with with say
    SELECT NAME FROM MY_TABLE
    Also I have text item in my developer form I want to display this item depending upon the result of my query i.e If have ten record this text item would show ten records and if have eleven records then it shows eleven text_items..
    i.e
    text_item1 shows first record
    text_item2 shows second record
    and so on.
    I have placed only on text item could its size increase at run time.
    Thanks.

    at the rendered property you could use something like
    rendered="#{bindings.comboBox.inputValue eq null? false : true }"So the first time you come on your page, the table won't be rendered.
    When you select a value from you combo box, the view criteria will do his work and the rendered property will be set to true.

  • How to insert records dynamically in a table at run time

    hi, all
      please help me out,
      my problum is how can i insert records from on table to another table at  run time dynamically. Initally the records are coming  from R/3 backend.
    regards

    Hi,
    One way is to first create a Value node (NewNode) with structure binding of that of the model node. Then iterate through the model node, create NewNode elements and set the value from model node elements into it.
    IPrivate<view>.I<model node> mele;
    IPrivate<view>.I<NewNode> nele;
    for(int=0;i<wdContext.node<output>().node<record>().size();i++)
    mele = wdContext.node<output>().node<record>().get<record>ElementAt(i);
    nele = wdContext.node<NewNode>().create<NewNode>Element();
    wdContext.node<NewNode>().addElement(nele);
    nele.set<attr>(mele.get<attr>());
    Second way is to create that NewNode inside the model node and create a supply function.
    Regards,
    Piyush.

  • Dynamic table in Run time

    Hi,
    I need to create a dynamic table in run time
    Input from user will be like
    Param1---->'tablename'
    Param2---->'col1name datatype,col2name datatype,col3name datatype,col4name datatype,col5name datatype,col6name datatype........................'
    Param3---->returnCode OUT NUMBER
    Param4---->errorMessage OUT VARCHAR2
    how to write a script to execute the above statement.
    The input will be from java page, it has connection string of the database
    Thanks!

    After remove *:*
    Error report:
    ORA-06550: line 4, column 6:
    PLS-00103: Encountered the symbol "CREATE_TABLE" when expecting one of the following:
    := . ( @ % ;
    The symbol ":=" was substituted for "CREATE_TABLE" to continue.
    06550. 00000 - "line %s, column %s:\n%s"
    *Cause:    Usually a PL/SQL compilation error.
    *Action:                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Change the Value of column of the internal table at run time

    Hello Experts,
    With the below code i am able to determine the value hold
    by internal table at run time for a sepcific column but i am not getting the way
    of how to update the internal if one of the value is changed,
      lr_desc_table ?= cl_abap_typedescr=>describe_by_data( itab  ).
      lr_desc_struc ?= lr_desc_table->get_table_line_type( ).
    loop at itab assigning <fs_data>.
        loop at lr_desc_struc->components ASSIGNING <fs_comp_wa>.
          assign component  <fs_comp_wa>-name of structure <fs_data> to <fs_field>.
          lv_excel_row = <fs_field>.
         CALL FUNCTION 'SCP_REPLACE_STRANGE_CHARS'
            EXPORTING
              INTEXT  = lv_excel_row
            IMPORTING
              OUTTEXT = lv_excel_row.
          assign lv_excel_row to <fs_field>. "this is not changing the value actually hold in internal table
        endloop.
      endloop.

    Hi,
    Resolved this issue with the code mentioned below.
    Code:
    loop at lt_export_items assigning <fs_data>.
      ls_data = <fs_data>.
        loop at lr_desc_struc->components ASSIGNING <fs_comp_wa>.
          assign component  <fs_comp_wa>-name of structure <fs_data> to <fs_field>.
          lv_excel_row = <fs_field>.
          CALL FUNCTION 'SCP_REPLACE_STRANGE_CHARS'
            EXPORTING
              INTEXT  = lv_excel_row
            IMPORTING
              OUTTEXT = lv_excel_row.
              concatenate 'ls_data-' <fs_comp_wa>-name into  lv_var.
              assign (lv_var) to <fs_var>.
              <fs_var> = lv_excel_row.
        endloop.
        modify lt_export_items from ls_data .
        clear:ls_data.
      endloop.
    Take care,
    Sanju

  • How can I test the running time of a method?

    c.What is the running time of your method smallest, as a function of n, the number of elements in the list? Use big-Oh notation.
    I quoated from a java problem..
    Anyone can tell me how I can test the running time? Thanks ! :D

    it depends on what is in the method. For example a for loop executed n times would have a O(n). A double for loop (each loopp run n times) will have O(n^2). Do this: determine how many times each loop in the method is run. This is the first term in your runtime equation. Do this for all other loops in the method and add them all together. Most other statements that are not iterative should have a constant runtime so O(1). For conditional statements, the runtime depends on the most time consuming portion of the statement. Once all these are added together, take the O(equation) which should just leave the biggest term. i.e. O(5n^2+3n+8) = O(n^2). Hope this helps.
    note: this does not apply to recursive methods

  • How to focus a specified column in ADF Table at run time?

    I drag and drop an ADF table.It contains *10 column*..I bind the column using ArrayList..First 3 column is set frozen =True..At the time of runtime,a Horizontal scroll is appeared..*May be for certain conditions , only 8th column contains values at run time.So i want to focus that column Only*.Because it is very easy for an user to see the value..If not,user has to scroll the bar to check. How can  i focus a specified column?

    Hi Briston,
    You can make the column selected by setting "selected" property of column to true
    Sireesha

  • How to design report at run time SSRS

    most of the time we point store procedure or table and then SSRS report designer show us field and we just drag drop those field on to report designer surface. after all we call those report programmatically and pass parameter and report shown on report
    viewer.
    now my company want that customer will customize the report who will see the report. they want to display all the fields in a form and just customer will select each field and place on report designer surface and give some input like filter condition like
    date range or employee id etc and report will be shown. also at run time if customer want they can add text or move existing field etc.
    i do not have any idea how could i do this with SSRS. if this is possible with SSRS then please guide me in such a way as a result i can start the job or if possible give me few relevant url of that kind from where i can get the idea. thanks

    You can also use report builder application to get most of these functionality. For that you'll just create and deploy a report model with required attributes from involved entities.
    Then use can consume the model within report builder and add required fields to report,filter etc
    see below videos for more details
    http://technet.microsoft.com/en-us/sqlserver/dd430326.aspx
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • How to get VBELN in run time

    I have developped a custom driver program and a smartfor layout for sales order confirmation. And configured the program and layout against a output type.
    I go to VA02>Type an order number>
    Choose 'Issue output to' from Sales document menu. Then I will select the output type and press print preview button.
    In this case my custom driver program is called. My question is during this run time how do I get the VBELN for the current document that I have entered? Based on this VBELN, I am going to fetch the required data.
    Regds
    Rajesh

    I believe it should be coming in thru NAST as the object key?  In our custom print programs for sales documents, there is entry routine in the program which is defined in config.  The subroutine is called and NAST is avaiable during runtime,  the OBJKY is the field with the sales document number in it.
    tables:
            nast,                          "Messages
            *nast.                         "Messages
    form entry using return_code us_screen.
      clear retcode.
      xscreen = us_screen.
    * Retrieve misc data.
      select single vbpa~vbeln vbpa~kunnr adrc~name1 adrc~street adrc~city1
                    adrc~region adrc~post_code1 adrc~tel_number
                    adrc~fax_number
                       into corresponding fields of formdata
                          from vbpa
                            inner join adrc
                               on  vbpa~adrnr = adrc~addrnumber
                                  where vbpa~vbeln = <b>nast-objky</b>                                and vbpa~parvw = 'AG'
                                    and adrc~date_to = '99991231'.
    endform.
    Regards,
    Rich Heilman

  • How can I delete a "Run Time Air" from my mac book pro

    how can I get rid of the "Run Time Air" on my Macbook Pro

    Welcome to the Apple Support Communities
    If you use Snow Leopard, open iTunes, go to iTunes Store in the iTunes sidebar and log out

  • How to populate table BAPI2017_GM_SERIALNUMBER in BAPI_GOODSMVT_CREATE

    hi everyone
    can anyone tell me how to populate the table BAPI2017_GM_SERIALNUMBER in BAPI BAPI_GOODSMVT_CREATE?

    DATA:
    gm_serialnumber TYPE STANDARD TABLE OF BAPI2017_GM_SERIALNUMBER,
    wa_gm_serialnumber  LIKE LINE OF gm_serialnumber.
    wa_gm_serialnumber-MATDOC_ITM = '0001'.
    wa_gm_serialnumber-SERIALNO = 'abcd'.
    APPEND wa_gm_serialnumber TO gm_serialnumber.

  • How to Populate table using values from a muti-select list

    I have a muti-select list in a page, the user can select some of the values from the muti-select list. How to populate a table in a process using the selected values.
    Thanks.
    XP

    XP,
    you can also have a look at the following thread.
    Re: Shuttle Control In APEX 3
    Patrick
    My APEX Blog: http://inside-apex.blogspot.com
    The ApexLib Framework: http://apexlib.sourceforge.net
    The APEX Builder Plugin: http://sourceforge.net/projects/apexplugin/

  • How to instantiate classes at run time with constructors having arguments?

    I have to instantiate some classes in the run-time because they are plugins. The name of the plugin (pluginClassName) comes from a configuration file.
    Currently I am doing this to achieve it:-
    UIPlugin plugin = (UIPlugin)Class.forName(pluginClassName).newInstance();However, there is a disadvantage. I can not pass arguments to the constructor of the plugin.
    public class RainyTheme extends UIPlugin {
      public RainyTheme() {
       // bla bla
      public RainyTheme(int x, int y , int width, int height) {
       // set co-ordinates
       // bla bla
      // bla bla bla bla
    }Now if I want to instantiate this plugin at runtime and at the same time I want to pass the 4 arguments as shown in the second constructor, how can I achieve this?

    I have no experience with JME and the limitations of its API, but looking at the API docs ( http://java.sun.com/javame/reference/apis.jsp ) it seems that there are two main versions, CLDC and CDC, of which CLDC is more limited in its API.
    The Class class does not contain the methods getConstructor(Object[]) or getConstructors() in this version ( http://java.sun.com/javame/reference/apis/jsr139/java/lang/Class.html ), so it seems that if you are using CLDC then there is no way to reflectively call a constructor with parameters. You'd have to find another way to do what you want, such as use the noarg constructor then initialise the instance after construction.

  • How to Load Classes in run time - Urgent

    Hi All,
    How to Load a class file from a .jar file in JDK1.1 with out using URLClassLoader. I have tried to extract the .jar file by file input stream and zipEntry classes and defineClass using the bytes i got from the stream , but the class loader fails to take the classes that are already loaded in the system.
    The customClassLoader that i created was not able to assign an object to the another reference variable that already in the JVM.Please i want to know how to assign or communicate between the objects of CustomclassLoader and SystemClassLoader?
    Please help me in this regard.
    Thanks in advance,

    Hi,
    The above code works in the straight way if the class is available in the classpath.
    I need to load a class by using custom class loader that i extends from classloader base class .
    I have to read a class file from a .jar file (in server) and load it in run time.Here i am able to read the bytes from the .jar file of the specified class file, but the class that i read extends some other class that is already loaded when i tried to create newInstance of the class i get Exceptions. Here the custom classLoader cannot find the loaded existing class in the JVM.can i get a solution for this situation

  • No 'order by' selection for cluster tables generates run-time

    Hi together,
    Basically I want to use a "select...order by" statement with table mhnd.
    Since mhnd is a cluster table you can not use "...order by".
    So, I use a select ... into table. I then sort this table and finally read it (index = 1)
    Unfortunatly this approach generates huge run-time.
    What can be done to minimize run-time?
    Thanks for any help

    Hi Gerd,
    Which cluster table you are using and what`s data you wanted? Maybe there are some FM to extract data from it.
    regards,
    Archer

Maybe you are looking for

  • Itunes will not start up

    I have uninstalled all of the itunes software as well as ipod and quick time software (completely). I have reinstalled itunes and when i open the program it gives me this message "iTunes has encountered a problem and needs to close. We are sorry for

  • Bug in Sound Blaster Audigy 2

    Hi, I'm experiencing something that is annoying. I noticed it long ago and it continues happening even with all the updates installed: Windows XP SP2 DirectX 9.0c Drivers: Control Panel, Creative SB Audigy 2 NX, shows 2004/04/9 for the windows driver

  • Line item settlement(Invest prof)

    Dear Experts........... I have one doubt on Settlement (INVESTMENT PROFILE) I have seen like Summary setlement. Line item settlement and list of origin. I have read in SAP HELP ,evn though im not clear can any one plaz expalin in simple words about t

  • Using InDesign CS5.5 and am missing SMD Channels Model.sdk.IndesignPlugin

    I am a designer and I am proofing the magazine a printer sent back to me and I can't open his file because it says I am missing SMD Channels Model.sdk.IndesignPlugin and strongly advises me not to open it. Is there a way to download this plugin or ha

  • How to scan multiple photos into separate

    I have a hp envy 5660.  I often have to scan multiple photos and on my old printer it would show them as individual files on the scan page.  I can't figure out how to do that with this printer.  I want to scan multiple photos, have them save as indiv