af:table LOV Col clearing data on row selection

Hi
There is a table with one LOV column.it is a readonly table except LOV col (Select one choice with readonly property true).ADD,EDIT buttons are provided in table toolbar .Clicking on these buttons open Add/Edit popup .Save buuton is also provided in poup. The view object used is entity based viewobject.
The issue Im facing is during record selection data is losing in LOV col.All other cols working fine.
Thanks
Raji

Hi,
Try setting autoSubmit=true for the LOV field ?
Ramandeep

Similar Messages

  • How to adjust placement of two tables in webi depending on the rows selection

    Hi,
    I have a webi which has two tables. The prompts are on dates. As per requirement sometimes user selects one date or sometimes a range of dates.
    When One date is selected it works fine but when multiple dates are selected tables overlap each other. I can not place them side by side.
    Any idea how can I adjust?
    Regards
    Prashant

    Create two different section for each table in the report to avoid overlapping.
    For example :
    Section 1 - > table 1
    Section 2 -> table 2
    Regards,
    Pranay

  • Not able to select and copy from adf table in IE and chrome if we enable row selection

    Hi All,
    We have an adf table and user wants to select and copy table cell values.
    We enabled row selection on adf table. Ifrow selection is in place, IE and Chrome are not allowing user to select and copy data. But Firefox is allowing.
    Do we have any solution to this? For our customer IE is the standard browser and they do test app on IE.
    Regards
    PavanKumar

    Hi Timo,
    Sorry forgot to mention versions.
    We are using 11.1.1.7 and IE 9.
    I tried in Google but could not get the solution.
    Kindly let me know solution for this.
    PavanKumar

  • How do you delete records from table with data in a select option

    how do you delete records from table with relevant to data in a select option..how to write coding

    Hi,
    Try
    if not s_select_option [ ] is initial.
    delete * from table
    where field in s_select_option.
    endif.
    commit work.
    Be careful though. If select option is emty, you will delete the entire table.
    Regards,
    Arek

  • ALV grid row selection event

    Hi,
    I have alv grid using cl_gui_alv_grid. I want to capture the row selection event and display the detail below the table.
    how do I capture the row selection.? I want to display the details below as and when the row selection changed.
    Regards
    Panneer

    More detail example, also works with multiple selections:
    data go_alv type ref to cl_gui_alv_grid.
    data go_handler type ref to lcl_event_receiver.
    *       CLASS lcl_event_receiver DEFINITION
    class lcl_event_receiver definition.
      public section.
        methods delayed_change_select
                for event delayed_changed_sel_callback of cl_gui_alv_grid.
    endclass.                    "lcl_event_receiver DEFINITION
    *       CLASS lcl_event_receiver IMPLEMENTATION
    class lcl_event_receiver implementation.
      method delayed_change_select.
        message 'Selection changed' type 'S'.
      endmethod.                    "delayed_change_selection
    endclass.                    "lcl_event_receiver IMPLEMENTATION
    *&      Module  STATUS_0100  OUTPUT
    module status_0100 output.
      data lt_fcat_lvc type lvc_t_fcat.
      data lt_fcat_alv type slis_t_fieldcat_alv.
      data ls_layo type lvc_s_layo.
      set pf-status 'MAIN'.
      if go_alv is initial.
        ls_layo-sel_mode = 'A'.
    *   ls_layo-sel_mode = 'B'.    "Also works
    *   ls_layo-sel_mode = 'C'.    "Also works
    *   ls_layo-sel_mode = 'D'.    "Also works
        call method go_alv->set_table_for_first_display
          exporting
            is_layout       = ls_layo
          changing
            it_fieldcatalog = lt_fcat_lvc
            it_outtab       = gt_data[].
        create object go_handler.
        set handler go_handler->delayed_change_select for go_alv.
        call method go_alv->register_delayed_event
          exporting
            i_event_id = cl_gui_alv_grid=>mc_evt_delayed_change_select.
      endif.
    endmodule.                 " STATUS_0100  OUTPUT

  • Refresh LOV after inserting data in correspondent table

    Hi all,
    I am using Jdeveloper 11.1.1.2 and ADFBC.
    I have a page with a table (tableA) with some fields. One of them has a LOV associated to another table(tableB). I have a button (button1) that shows a popup(popup1) and opens a new task flow with a fragment to insert data in the tableB.
    After inserting/modifying rows in tableB and after pressing commit (property: end-transaction) or rollback buttons (property: end-transaction and restore save point), LOV does not refresh.
    I have tried to set the property partial triggers of the LOV to button1 or popup1 and it does not work.
    How can I solve it?
    Thank you.
    Andrea

    How about VO for table B ? Did you refresh that ? I didn't use the same VO for table & LOV.
    so in "List data Source" -- VO -- I am using "SQL statement" and statement includes fields from Table B and Table A.
    VO for LDS using "Rows populated by a SQL query with read-only access". I didn't use "Updateable Access through Entity Objects".
    Sample of VO of LDS:
    select A.model_number modelNumber, a.part_number partNumber, b.MODEM_TYPE ModemType
    from table A a,Table B b
    where a.PART_NUMBER_ID = b.PART_NUMBER_ID
    and a.part_number_id =:partID
    Edited by: albertpi on Mar 16, 2010 7:26 AM

  • How to clear data from Table-Control

    Hi all,
    I am working on table control. I have some data on the table control.
    When I press the 'Cancel' button, I require that the table-control should be cleared.
    I tried using REFRESH CONTROL TC01 USING SCREEN 1001. But, the data doesn't get cleared.
    Please advise.
    Regards,
    Saurabh Buksh.

    hi
    good
    try this example
    REPORT demo_dynpro_tabcont_loop_at.
    CONTROLS flights TYPE TABLEVIEW USING SCREEN 100.
    DATA: cols LIKE LINE OF flights-cols,
          lines TYPE i.
    DATA: ok_code TYPE sy-ucomm,
          save_ok TYPE sy-ucomm.
    DATA: itab TYPE TABLE OF demo_conn.
          TABLES demo_conn.
    SELECT * FROM spfli INTO CORRESPONDING FIELDS OF TABLE itab.
    LOOP AT flights-cols INTO cols WHERE index GT 2.
      cols-screen-input = '0'.
      MODIFY flights-cols FROM cols INDEX sy-tabix.
    ENDLOOP.
    CALL SCREEN 100.
    MODULE status_0100 OUTPUT.
      SET PF-STATUS 'SCREEN_100'.
      DESCRIBE TABLE itab LINES lines.
      flights-lines = lines.
    ENDMODULE.
    MODULE cancel INPUT.
      LEAVE PROGRAM.
    ENDMODULE.
    MODULE read_table_control INPUT.
      MODIFY itab FROM demo_conn INDEX flights-current_line.
    ENDMODULE.
    MODULE user_command_0100 INPUT.
      save_ok = ok_code.
      CLEAR ok_code.
      CASE save_ok.
        WHEN 'TOGGLE'.
          LOOP AT flights-cols INTO cols WHERE index GT 2.
            IF  cols-screen-input = '0'.
              cols-screen-input = '1'.
            ELSEIF  cols-screen-input = '1'.
              cols-screen-input = '0'.
            ENDIF.
            MODIFY flights-cols FROM cols INDEX sy-tabix.
          ENDLOOP.
        WHEN 'SORT_UP'.
          READ TABLE flights-cols INTO cols WITH KEY selected = 'X'.
          IF sy-subrc = 0.
            SORT itab STABLE BY (cols-screen-name+10) ASCENDING.
            cols-selected = ' '.
            MODIFY flights-cols FROM cols INDEX sy-tabix.
          ENDIF.
        WHEN 'SORT_DOWN'.
          READ TABLE flights-cols INTO cols WITH KEY selected = 'X'.
          IF sy-subrc = 0.
            SORT itab STABLE BY (cols-screen-name+10) DESCENDING.
            cols-selected = ' '.
            MODIFY flights-cols FROM cols INDEX sy-tabix.
          ENDIF.
        WHEN 'DELETE'.
          READ TABLE flights-cols INTO cols
                                  WITH KEY screen-input = '1'.
          IF sy-subrc = 0.
            LOOP AT itab INTO demo_conn WHERE mark = 'X'.
              DELETE itab.
            ENDLOOP.
          ENDIF.
      ENDCASE.
    ENDMODULE.
    thanks
    mrutyun^

  • [4.0] Bug - can't save changes in table after clearing date field with shift+delete

    Steps to reproduce:
    1) Open any table containing columns of DATE type, go to "Data" tab
    2) Find any non-null cell in said column
    3) Select said cell, press shift+delete. Cell's value becomes (null) and row is marked for update.
    4) Press Commit button or F11
    After that, this line appears in "Messages" window:
    One error saving changes to table "SCHEMA"."TABLE_NAME":
    If you clear column by typing space and deleting it, cell's value becomes (null) as well, but commit works. Update statement from worksheet also work, so it's not a table issue.

    please any answer
    شركة نظافة بالرياض شركة تنظيف شقق بالرياضشركة تنظيف موكيت بالرياضشركة تنظيف مجالس بالرياضشركة تنظيف منازل بالرياض شركة تسليك مجارى بالرياضشركة نقل اثاث بالرياضشركة مكافحة حشرات بالرياضشركة تنظيف بيوت بالرياضشركة تنظيف خزانات بالرياضشركة عزل اسطح بالرياضشركة تنظيف بالخرجشركة رش مبيدات عزل اسطحتنظيف شقق بالرياضتنظيف موكيت بالرياضشركة تنظيف مجالس بالرياضشركة تنظيف بيوت بالرياضشركة تنظيف واجهات زجاج بالرياض شركة تنظيف بيارات بالرياضشركة تنظيف بالخرجشركة تنظيف منازل بالرياضشركة نقل اثاث بالرياضشركة تنظيف خزانات بالرياضشركة مكافحة حشرات بالرياضشركة نقل اثاث بالرياضشركة مكافحة حشرات بالرياضشركة تخزين اثاث بالرياضنقل اثاثشركة تنظيفشركة تنظيف شركة تنظيف شقق بالرياض شركة تنظيف موكيت بالرياض شركة نقل اثاث بالرياضشركة تنظيف بيوت بالرياضشركة تنظيف واجهات حجر بالرياضشركة كشف تسربات المياه بالرياضشركة تخزين اثاث بالرياضنقل اثاثشركة تنظيف فلل بالرياضشركة تخزين عفش بالرياضشركة نقل عفش بالرياضشركة تنظيف موكيت بالرياضشركة تنظيف مجالس بالرياضشركة تنظيف شقق بالرياضشركة تنظيف بيوت بالرياضشركة تنظيف بيارات بالرياضشركة رش مبيدات بالرياضشركة مكافحة حشرات بالرياضشركة عزل خزانات بالرياضعزل الاسطحشركة تنظيف خزانات بالرياضشركة تنظيف واجهات زجاج بالرياض شركة نقل اثاث بالرياضشركة ترميمات عامة بالرياضشركة تنظيف منازل بالرياضشركة تسليك مجارى بالرياض شركة تنظيف واجهات حجر بالرياضشركة كشف تسربات المياه بالرياضشركة تخزين عفش بالرياضنقل اثاثشركة تنظيف فلل بالرياضشركة تخزين عفش بالرياضشركة نقل عفش بالرياضشركة تنظيف موكيت بالرياضشركة تنظيف مجالس بالرياضشركة تنظيف شقق بالرياضشركة تنظيف بيوت بالرياضشركة تنظيف منازل بالرياضشركة تنظيف بيارات بالرياضشركة رش مبيدات بالرياضشركة مكافحة حشرات بالرياضشركة عزل خزانات بالرياضعزل الاسطحشركة تسليك مجارى بالرياضشركة تنظيف خزانات بالرياضشركة تنظيف واجهات زجاج بالرياضترميمات عامة شركة تنظيف واجهات حجرية بالرياضشركة كشف تسربات المياه بالرياضشركة تخزين اثاث بالرياضشركة نقل اثاث بالرياضشركة تنظيف فلل بالرياضشركة تخزين عفش بالرياضشركة نقل عفش بالرياضشركة تنظيف موكيت بالرياضشركة تنظيف مجالس بالرياضشركة تنظيف شقق بالرياضشركة تنظيف بيوت بالرياضشركة تنظيف بيارات بالرياضشركة رش مبيدات بالرياضشركة مكافحة حشرات بالرياضشركة عزل خزانات بالرياضشركة عزل اسطح بالرياضشركة تنظيف خزانات بالرياضشركة تنظيف واجهات زجاج بالرياض شركة كشف تسربات المياه بالخرجشركة تخزين اثاث بالخرجشركة نقل اثاث بالخرجشركة تخزين عفش بالخرجشركة نقل عفش بالخرجشركة تنظيف موكيت بالخرجشركة تنظيف مجالس بالخرجشركة تنظيف شقق بالخرجشركة تنظيف بيوت بالخرجشركة تنظيف منازل بالخرجشركة تنظيف بيارات بالخرجشركة مكافحة حشرات بالخرجشركة ترميمات عامة بالرياضشركة عزل خزانات بالرياضشركة عزل اسطح بالخرجشركة تنظيف خزانات بالخرجشركة تسليك مجاري بالخرجشركة رش مبيدات بالخرجشركة تنظيف بالخرج شركة كشف تسربات المياه بالخرجشركة تخزين اثاث بالخرجشركة نقل اثاث بالخرجشركة تخزين عفش بالخرجشركة نقل عفش بالخرجشركة تنظيف موكيت بالخرجشركة تنظيف مجالس بالخرجشركة تنظيف شقق بالخرجشركة تنظيف بيوت بالخرجشركة تنظيف منازل بالخرجشركة تنظيف بيارات بالخرجشركة مكافحة حشرات بالخرجشركة عزل خزانات بالخرجشركة عزل اسطح بالخرجشركة تنظيف خزانات بالخرجشركة تسليك مجاري بالخرجشركة رش مبيدات بالخرجشركة تنظيف فلل بالخرج شركة كشف تسربات المياه بالخرجشركة تخزين اثاث بالخرجشركة نقل اثاث بالخرجشركة تخزين عفش بالخرجشركة نقل عفش بالخرجشركة تنظيف موكيت بالخرجشركة تنظيف مجالس بالخرجشركة تنظيف شقق بالخرجشركة تنظيف بيوت بالخرجشركة تنظيف منازل بالخرجشركة تنظيف بيارات بالخرجشركة مكافحة حشرات بالخرجشركة عزل خزانات بالرياضشركة عزل اسطح بالخرجشركة تنظيف خزانات بالخرجشركة تسليك مجاري بالخرجشركة رش مبيدات بالخرجشركة تنظيف فلل بالخرجشركة ترميمات عامة بالرياضشركة ترميمات عامة بالخرجشركة تنظيف واجهات حجرية بالخرج

  • How to convert a table data from rows to columns?

    Hi,
    I have a Employee table of the following format:
    Emp_id | Emp_name | Salary
    101 | James | 1000
    102 | Julia     | 2000
    I have to convert or transpose the table data as follows using a SQL statement/function -
    Emp_id | 101     |     102
    Emp_name | James |     Julia
    Salary     | 1000 |     2000
    How do I achieve this?
    Please help me.
    Thanks,
    993012
    Edited by: 993012 on Mar 11, 2013 3:26 AM

    993012 wrote:
    Hi Pavan,
    Thanks for the prompt reply.
    The link seems to be of not relevant to my question.
    My question is to clearly transpose the rows to columns and vice versa without any changes to data.
    Regards,
    993012I do not see any modification to the data in the Link posted by Pavan. Anyways, One catch with Transposing the Rows is, you need to know the Number of Columns you need to project.
    With Static SQL, there is no way to do so. Hence, you will need PL/SQL with Execute Immediate/Dynamic SQL.
    See demostration by Tom Kyte on Dynamic Pivots to have a look at the example and adapt to your situation.
    Although, I will debate on the need to do it in SQL. Because what you are upto is a part of Reporting and there are many reporting Tools which will have this functionality in-built. SQL, ideally should not be used for reporting purposes. It sole purpose it to store and pass the data to be rendered by Client Software i.e. Java or Third Party tools.

  • How to dynamically display the data from a table base on row selection of another table in ADF

    Hi ,
    I have a requirement in ADF. I need to change the data of a table  based on row selection of another Table . Both the table have a Parent Child relationship between them. They have a common attribute say department_id.
                                                                                         For this I created bind variable in view object of employees table and wrote a where clause in the sql query using that bind variable. Then I created method for selection listener of department Table in java bean.
    My method is following
        public void onrowselection(SelectionEvent selectionEvent) {
            RichTable richTable = (RichTable)selectionEvent.getSource();
                            CollectionModel tableModel = (CollectionModel)richTable.getValue();
                            JUCtrlHierBinding adfTableBinding = (JUCtrlHierBinding)tableModel.getWrappedData();
                            Object selectedRowData = richTable.getSelectedRowData();
                            JUCtrlHierNodeBinding nodeBinding = (JUCtrlHierNodeBinding)selectedRowData;
                    oracle.jbo.domain.Number newVal = (oracle.jbo.domain.Number) nodeBinding.getAttribute("DepartmentId");
                    Number pallet = newVal.bigDecimalValue();
                    System.out.println("Selected values " + pallet);
            BindingContext bindingctx = BindingContext.getCurrent();
                          BindingContainer bindings = bindingctx.getCurrentBindingsEntry();
                          DCBindingContainer bindingsImpl = (DCBindingContainer) bindings;
                  DCIteratorBinding dciter = bindingsImpl.findIteratorBinding("EmployeesView1Iterator");//access the iterator by its ID value in the PageDef file
                          ViewObject vo =dciter.getViewObject();
                          vo.setNamedWhereClauseParam("DepartmentId", pallet);//enter your value
                          vo.executeQuery();
    It is printing the selected value of department id from department table in the log. But it is not able to pass the value to employees view. It is showing the following error in the log
    "Definition DepartmentId of type Variable is not found in EmployeesView1."
    I will be very thankful if someone helps me to solve this errror or is there any other way to achieve the same requirement.
    Thanks
    Nilesh

    Note quite sure why you simply wont create a viewlink for the viewobject the tables are based on..
    The viewlink attribute will be based on the departmentId and it's a simple master detail relationship which automatically uses ppr.
    However, if both tables are on the same page; using your hack about;
    On the underlying viewobject, define a viewcriteria e.g. "listById" and set your bind variable here.
    I would bind table two to a RichTable component:
    RichTable t2;
    public void onrowselection(SelectionEvent selectionEvent) {
            RichTable richTable = (RichTable)selectionEvent.getSource();
                            CollectionModel tableModel = (CollectionModel)richTable.getValue();
                            JUCtrlHierBinding adfTableBinding = (JUCtrlHierBinding)tableModel.getWrappedData();
                            Object selectedRowData = richTable.getSelectedRowData();
                            JUCtrlHierNodeBinding nodeBinding = (JUCtrlHierNodeBinding)selectedRowData;
                    oracle.jbo.domain.Number newVal = (oracle.jbo.domain.Number) nodeBinding.getAttribute("DepartmentId");
                    Number pallet = newVal.bigDecimalValue();
                    System.out.println("Selected values " + pallet);
                   refreshTable2(pallet);
            BindingContext bindingctx = BindingContext.getCurrent();
                          BindingContainer bindings = bindingctx.getCurrentBindingsEntry();
                          DCBindingContainer bindingsImpl = (DCBindingContainer) bindings;
                  DCIteratorBinding dciter = bindingsImpl.findIteratorBinding("EmployeesView1Iterator");//access the iterator by its ID value in the PageDef file
                          ViewObject vo =dciter.getViewObject();
                          vo.setNamedWhereClauseParam("DepartmentId", pallet);//enter your value
                          vo.executeQuery();
    private void refreshTable2(Number pallet){
    RichTable x=getT2();
    CollectionModel cm=(CollectionModel)x.getValue();
    JUCtrlHierBinding jcb=(JUCtrlHierBinding)cm.getWrappedData();
    BindingContainer bindings = bindingctx.getCurrentBindingsEntry();
    DCBindingContainer bindingsImpl = (DCBindingContainer) bindings;
    DCIteratorBinding dciter = bindingsImpl.findIteratorBinding(jcb.getName()+"Iterator");
    ViewObject vo =dciter.getViewObject();
    ViewCriteriaManager vcm=vo.getViewCriteriaManager();
    ViewCriteria vc=vcm.getViewCriteria("listById");
    vo.applyViewCriteria(vc);
    vo.setNamedWhereClauseParam("DepartmentId",pallet);
    vo.executeQuery();
    AdfFacesContext.getCurrentInstance().addPartialTarget(getT2());

  • How to clear data in Table Control.

    hi! all
    How to clear the data in table control.
    i have a Table control which displays column A data from the previous screen and allows to enter column B and column C and i have a button CLEAR, when i click CLEAR button the Data displaying in table control has to be cleared. how to do it.
    Regards,
    Nagulan

    Hi,
    Loop over the internal table of table control & clear data from table control.
    loop at tctab.
    clear tctab.
    modify tctab.
    endloop.
    Best regards,
    Prashant

  • Clearing date on documents in IVBIK table

    Hi Experts,
    Could you help me with the following scenario?
    There is an invoice document which is not cleared and has an entry in BSIK table. Now the same invoice also has a clearing date on few of its line items. Why am i seeing clearing date on this document line items? Is this because a few line items are cleared and some are still open. If yes, then does that mean that until an unless the entire invoice is cleared ( all line items ), it will continue appearing in the BSIK table and move to BSAK once the entire doc is cleared?
    Thanks in advance
    Regards

    Hi Ankur
    Line items would move between BSIK and BSAK based on their clearing status independently.
    It does not matter if all the lines items in the document are cleared or not.
    If an invoice document has 2 vendor line items,
    1 is cleared and 2nd is not cleared, you would see one item in BSIK and one in BSAK
    Regards
    Sachin
    Edited by: Sachin Bhutani on Feb 23, 2010 2:04 AM

  • How to display the data in row wise in smartform

    Hi,
        I have to make a modification a smartform of poprinting and i want to display the row wise . At present it is displaying the  
        column wise. Actually there is a text which i want to display the data row wise.
        It is possible to display the data in row wise of the text .
    Edited by: nav009 on Oct 8, 2009 10:39 AM

    Hello ,
    I  assume that your requiremen is related to smartform.the below is the solution i suggest.
    As per my understanding of your requirement ,It's clear that as of now there is some description field which is also getting displayed along with other PO fields.
    However you would like to display the description field in a new line since the length of this field is longer than other fields as a result the data is getting scattered .
    Therefore one better option could be: since the whole data from PO would be in a loop you can display all other fields in one line type of the table as per the intial requirement and you display the description line alone in a new line type wth the desired length so that data would not be scattered and no data loss would happen.
    I assume you are aware of creating of line types for table.
    Thanks
    M.Naveen.

  • To determine the number of rows selected in a table view (BSP)

    Hi,
    My requirement is:
    I would be selecting 1 row from a table view ( which is made multiselect for another requirement) , and press a button.
    The functionality of button is to open a popup window based on the row selected.
    I want to display an error message if more than 1 row is selected, and button is clicked.
    Message will say that "you cannot select more than 1 row".
    For this,  I need to know how I can get the number of selected rows in a table view.
    I tried using the below code.
    But I feel this will work only in DO_HANDLE_DATA method.
    The popup would open, even before control comes in this method.
      CALL METHOD cl_hrrcf_iterator=>get_tv_index
        EXPORTING
          p_id               = p_tableview_id
          pt_form_fields = table_form_fields
        IMPORTING
          pt_indices      = sel_row_index_tab.
    Could you please provide me with a solution.
    Quick replies will be highly appreciated.
    Thanks,
    Nisha Vengal.

    Hi ,
    Your TV :
    <htmlb:tableView id              = "tv1l"
                                   design          = "alternating"
                                   visibleRowCount = "10"
                                   fillUpEmptyRows = "true"
                               onRowSelection  = "MyEventRowSelection" <----This is the event you have to use
                                   selectionMode   = "MULTILINEEDIT"
                                  filter          = "SERVER"
                                   table           = "<%= some table %>" >
    in DO_REQUEST:
    DATA:  tv                  TYPE REF TO cl_htmlb_tableview,
           tv_event          TYPE REF TO cl_htmlb_event_tableview ,
           event             TYPE REF TO if_htmlb_data.
    event = cl_htmlb_manager=>get_event( request ).
    IF event IS NOT INITIAL AND event->event_name = htmlb_events=>tableview.
      tv_event ?= event.
      CASE event->event_server_name.
        WHEN 'MyEventRowSelection'.
    count = count + 1 .
    if count ne 1 .
    errmsg = 'Your message'.
    endif.
    ENDCASE.
    ENDIF.
    in View/Layout:
    <% if errmsg is not initial. %>
    <s cript t y p e   =   t e x t / j a v a s c r i p t >
    a l e r t ("<%= errmsg %>") .
    </ s c r i p t>
    <% clear errmsg. %>
    <% endif. %>
    errmsg is a class attribute of type string and count is also a class attribute of type c .
    Regards,
    Anubhav.
    Reward if useful
    Edited by: Anubhav Jain on Sep 19, 2008 3:08 PM

  • Build a table based on XML data set with Spry

    Hi there,
    I'm new to spry technology therefore forgive any basic question of mine.
    I'm trying to fill content in a table based on XML data set values but nothing is shown :-(
    here is my code.... any suggestion? pls tell me where I'm wrong.
    Thank you in advance
    <script src="SpryAssets/xpath.js" type="text/javascript"></script>
    <script src="SpryAssets/SpryData.js" type="text/javascript"></script>
    <script type="text/javascript">
    var uscite = new Spry.Data.XMLDataSet("data/Calendario 2011.xml", "csv_data_records/record", {sortOnLoad: "Date", sortOrderOnLoad: "ascending"});
    uscite.setColumnType("Date", "date");
    uscite.setColumnType("km", "number");
    </script>
    <div class="RankContainer" id="UsciteDiv" spry:region="uscite" >
              <table width="100%" border="0" class="RankTable">
                <tr>
                  <th width="10%" scope="col" spry:sort="Date">Data</th>
                  <th width="20%" scope="col">Destinazione</th>
                  <th width="5%" scope="col">KM</th>
                  <th width="35%" scope="col">Percorso</th>
                  <th width="30%" scope="col">Breve</th>
                 <!-- <th width="15%" scope="col">Mappa</th>-->
                </tr>
                <tr>
                   <script type="text/javascript">
           var rows = uscite.getData();
        for (var i = 0; i < rows.length; i++)
         if (rows[i]["Mappa"].startsWith("/"))
          rowContent = "<td> si </td>";
         else
              rowContent = "<td> no </td>";
         document.write("<td>{Date}</td>");
         document.write("<td>"+rowContent+"</td>");
         document.write("<td>{km}</td>");
         document.write("<td>{Percorso}</td>");
         document.write("<td>{Breve}</td>");
          </script>
               </tr>
              </table>
           </div>

    Sure this is how it should work (except that no anchor tag shall be present for Destinazione whereas Mappa has no real value in)
    http://www.gsc-borsano.it/_Calendario%202011.html
    and this is the non working page
    http://www.gsc-borsano.it/_v2Calendario%202011.html
    Thanks

Maybe you are looking for

  • Fusion adf page invoking web service can't pass WS-Security

    I am using Fusion ADF web service data control build a page to invoking a Fusion web service call, and keep getting this error: Client received SOAP Fault from server : InvalidSecurity : error in processing the WS-Security security header While testi

  • Deactivate users who are no longer exist in AD but were added into resource pool

    Hello forum members, does anyone know how to deactivate users who are no longer exist in AD , but were added into resource pool? I an trying to write some code that would update a custom value for each resource, but my code breaks whenever it encount

  • How to expose and code the event handlers of a base class?

    I have created a class that inherits NumericUpDown. When I instantiate an object from that class, I can make it visible and have it appear on my form just like any other NUD. How can I get that instantiated object to expose the event handlers of its

  • Error while connecting with the url using odata...please help

    hi All, I was trying to do one basic ODATA example which i got from the threads. <!DOCTYPE html> <html><head>   <meta http-equiv='X-UA-Compatible' content='IE=edge' />   <meta http-equiv='Content-Type' content='text/html;charset=UTF-8'/>   <title>Tab

  • CT 7510 Video Blaster Webcam Go Plus on Windows 7 WORKING

    Hi there, I spent a long time trying to get this to work and was finally successful, I have posted to another thread: http://forums.creative.com/t5/Cameras/Videoblaster-Webcam-II-installed-on-Windows-7-MODEL-NO/td-p/55... I figured it might help peop