Form Submit = Table View Update

OK,
I have been trying to get this to work and am probably
missing something easy here. My goal is to have a user submit info
using Ajax and have the table on the bottom update on submission.
My observer works when clicked but I can't seem to link the refresh
to the table to update.
Tried -
onClick="ADDUSER( ['email','dept','div'], ['resultdiv'] );
dspsmUserTable.loadData();"> No refresh
Added a refresh button to manually do
"dspsmUserTable.loadData();" Works fine.
Is there any ideas/examples out there yet.
Thanks, Matt

Hi widgeter,
1. First of all, I think you have a call to
Spry.Utils.loadURL in your ADDUSER function in order to
submit your user-data to server, but you should also register a
callback in order to refresh the users table only after a response
comes from the server (after the user has been inserted into
database).
Please check Kin's post:
http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?catid=602&threadid=1214689&fo rumid=72
2. Also, you need to make sure that {useCache:false} is set
to your dspsmUserTable DataSet, like this:
var dspsmUserTable = new
Spry.Data.XMLDataSet("path/to/users/page", "/xpath/to/nodes",
{useCache:false});
Regards,
Dragos

Similar Messages

  • Is there any software which displays all form objects - tables, views, etc?

    Dear friends,
    I need to know if we have some software product which opens an Oracle form and shows all objects (tables, views, procedures, functions, and so on) accessed by it.
    For each form, this software should show all operations made in each table - that is, whether form creates, updates, reads or deletes data in each table accessed by the form.
    If there's any software which makes such analysis, please let me know. I'd rather be downloading free software, but a trial version or a paid one can be considered as well.
    Best regards,
    Franklin

    Hello all,
    sorry, I don't know whether my 1st message was clear, so I am trying to rewrite it.
    I'm thinking about a software which creates a database objects list report; this report shows all database objects being accessed by the form - for example, it can list all tables being accessed by the form, showing a CRUD (Create, Read, Update and Delete) for each accessed table, or list all packages being executed by the same form, and so on. For example:
    Form: CLI0001.FMB
    Package -> Operation
    PCK_ACCOUNTS -> E (Execute; but that's a suggestion, we can have 'R' instead)
    Table -> Operation
    ACCOUNTS -> CR (Create + Read)
    PAYMENTS -> D (Delete)
    Sequence -> Operation
    SEQ_ACCOUNTS -> R (Read)
    View -> Operation
    VW_CLIENTES -> R (Read)
    If there's any software which can do it, please let me know. Thanks in advance.
    Best regards,
    Franklin
    Edited by: franklinbrasil on 15/10/2008 19:26

  • Table View Update

    Hi,
         How to insert and modify the value in tableview . Anyone please give me some sample code.
    Thanks in advance.
    Anitha.

    Thanks Azziz Ali.
    I have followed your logic.My table is not upadate the modify field value.
    my code..
    <%@page language="abap" %>
    <%@extension name="htmlb" prefix="htmlb" %>
    <htmlb:content design="classicdesign2002design2003" >
      <htmlb:page title="BSP Extension: HTMLB / Element: tableView" >
        <htmlb:form>
          <htmlb:tableView id              = "tvX"
                           headerText      = "Connections"
                           headerVisible   = "true"
                           visibleRowCount = "8"
                           fillUpEmptyRows = "true"
                           onHeaderClick   = "MyEventHeaderClick"
                           onRowSelection  = "<%= ind%>    "
                           selectionMode   = "LINEEDIT"
                           table           = "<%= flight %>"
                           iterator        = "<%= tv_iterator %>" />
    <htmlb:button text    = "update"
                            id      = "go"
                            onClick = "myeventhandler" />
        </htmlb:form>
      </htmlb:page>
    </htmlb:content>
    on inputprocessing
    DATA: event TYPE REF TO CL_HTMLB_EVENT.
    event = CL_HTMLB_MANAGER=>get_event( runtime->server->request ).
    IF event->name = 'button' AND event->event_type = 'click'.
    DATA: button_event TYPE REF TO CL_HTMLB_EVENT_BUTTON.
    button_event ?= event.
    DATA: tv TYPE REF TO CL_HTMLB_TABLEVIEW,
    ind type i,
    wa type sflight.
    tv ?= CL_HTMLB_MANAGER=>GET_DATA(
    request = runtime->server->request
    name = 'tableView'
    id = 'tvx' ).
    IF tv IS NOT INITIAL.
    DATA: tv_data TYPE REF TO CL_HTMLB_EVENT_TABLEVIEW.
    tv_data = tv->data.
    ind = tv_data->selectedrowindex.
    IF ind IS not INITIAL.
    loop at flight into wa .
    READ TABLE flight INDEX ind into wa.
    modify sflight from wa.
    endloop.
    endif.
    ENDIF.
    ENDIF.

  • Update form when table is updated

    Hi experts,
    I am quite new to apex and i have come across an issue. I have created a table with 10 columns and from that created a form/report.i have to update my table by adding new columns but i can't get my report updated.
    i have manually included the field in my sql query but tat didnt seem to work.
    is there anywhere i should change to get my form and report updated.your advice would be very appreciated. thanks
    kevin

    Hi,
    Normally, the report would just update automatically to include new columns - usually these are placed at the end of the list of columns. If you edit your report region and click on the Report Attributes tab, do you see your new columns there? If so, is the Show checkbox ticked for them? If it isn't, tick it. If you click on the Edit icon next to a missing column, what "Display As" is set - is it "Standard Report Column"?
    Or, are you using an Interactive Report? If so, you would need to run the page, click the Action icon and then select "Select Columns" and make sure that every column is listed on the right.
    Andy

  • Adobe Forms Response Table View

    Can you format table so the data default view is at top of cell?

    Thanks for the clarification.
    If you apply the style change after selecting the entire column, as shown below, the style is applied to the column and is inherited by new rows.
    Regards,
    Brian

  • Update fields from Adobe Form to Table

    Hello,
    I want to integrate Adobe Form into Webdynpro ABAP Application in which I want to have 2 fields which need to be updated to a DB Table.
    For this first I created an Interface in Transaction SFP , added 2 import parameters of type <Table Type>-<FieldName>. Then I created a Webdynpro Component created a new I Interactive Form UI Element and binded the Context of the Form to the Interface.
    Then I added 2 fields to the form from Data View . Everything is fine but when I run the Webdynpro Application the fields are not available for Input.i.e. They are in the ReadOnly Mode.
    The 'enabled' property of the Interactive Form is checked.
    Please help.
    Any help would be highly appreciated.
    Thanks.
    Edited by: SAPEPDeveloper on Feb 7, 2011 11:45 PM

    Hi,
    The process explained is ok, but I can explain you a better way.
    1) Create the webDynpro Component first.
    2) Create the context nodes as per the requirement.
    3) From the 'integration' panel drag and drop the Interactive form UI element into the view.
    4) Bind dataSource to root context node.
    5) Check enabled property true.
    6) Give a template source name (ZName).
    7) On double clicking the template source, system will prompt you to enter the interface name. Map context node to the interface.
    8) Interface gets created automatically and the lifecycle designer gets opened.
    9) Goto the properties tab and give layout type as 'ZCI Layout'
    10) Drag and drop required fields from the data view to the layout designer.
    11) Insert webdynpro script from the Utilities
    12) Edit -> Form Properties -> Defaults -> XDP Preview Format should be dynamic
    13) Drag and drop 'Submit Button' from Library palette -> Webdynpro native controls
    On clicking the submit button at runtime you will get the control in the webdynpro submit event.
    Above all these you have to check with your basis team, that the 'usage credentials' have been applied while configuring the ADS. Go to SE38 and run the program 'FP_TEST_IA_01' and check whether it is giving an error message or not.
    Hope this Helps.
    Thanks & Regards,
    Sanoosh

  • Query and update a table/view

    What is the best & fastest way to do this?
    1) Put up a query input region for users to enter parameters.
    2) Run a query on a table/view using those parameters.
    3) Allow the output in (2) to be modified by user (multiple rows at a time) and then Submit the updates back to update th table/view
    I can do (1) and (2) easily. How can I do (3)?
    Thanks

    Make a report on the table. Go to the definition of
    the report column and change the "Display As" type to
    text field or select list or whcih ever is
    applicable. Write a process on submit to insert these
    values back to the table. You will have control over
    which columns the user can modify.Thats a good idea and I was able to start on it. But how can my after submit process tell which rows to modify? i.e. what will my after submit process look like?
    for rec in (....)
    loop
    update my_table set
    end loop;
    Help? Thanks

  • How To Update A Table View From Client Side !!!!

    Hi I would like to update a table view from the Client Side. So that the user can keep updating the relevent data on the client and when they have finally finished they can press Save so the entire page is then sent to the Server.
    Does anyone know how to do this, I guess u have to use the EPCM, I have just started on it and would really appreciate some Help.
    Thanks,
    Emmanuel.

    This is what I found :-
    There are a couple of ways to approach this.
    1) load the excel spreadsheet into the database "as is". You can use interMedia
    text to convert the .xls file into a .htm file (HTML) or use iFS (see
    http://technet.oracle.com/
    for
    more info on that) to parse it as well. InterMedia text will convert your XLS
    spreadsheet into a big HTML table (easy to parse out what you need at that
    point)
    2) Using OLE automation, a program you write can interact with Excel, request
    data from a spreadsheet, and insert it. Oracle Forms is capable of doing this
    for example as is other languages environments. In this fashion, you can remove
    the "manual" and "sqlldr" parts -- your program can automatically insert the
    data.
    3) You can write a VB script that uses ODBC or Oracle Objects for OLE (OO4O) in
    Excel. This VB script would be able to put selected data from the spreadsheet
    into the database. We would recommend OO4O. It provides an In-Process COM
    Automation Server that provides a set of COM Automation interfaces/objects for
    connecting to Oracle database servers, executing queries and managing the
    results. OO4O is available from
    http://technet.oracle.com

  • Update a table view field calling a service

    Hi all,
    is there a way in a table view to calculate the value of a field calling a data service, using as calling arguments other fields from the same row?
    For example I have line items of a sales order in a table view. In one field the user enters the quantity in the desired unit of measure. I would like to have the quantity transformed in KGs in the same row.
    Is this possible?
    Points will be awarded for usefull suggestions.
    Regards,
    Panos

    Make a report on the table. Go to the definition of
    the report column and change the "Display As" type to
    text field or select list or whcih ever is
    applicable. Write a process on submit to insert these
    values back to the table. You will have control over
    which columns the user can modify.Thats a good idea and I was able to start on it. But how can my after submit process tell which rows to modify? i.e. what will my after submit process look like?
    for rec in (....)
    loop
    update my_table set
    end loop;
    Help? Thanks

  • View-Update in forms with Instead-Of trigger

    I has created a view and an Instead-Of trigger on that view.
    Now, I want to update this view in FORMS 6. I am unable to update this view and getting error FRM-40602.
    Is there any way to update this view updatable in FORMS6 or FORMS6 has not this feature?

    Hi,
    This has been acknowledged by Oracle as bug earlier. The work-around for this is as follows:
    1. Create table 1
    2. Create table 2
    3. Create view
    4. Create instead of insert trigger on view
    5. Create instead of update trigger on view
    6. Now, in the forms, go to the Block property
    7. Look for the 'Key mode' property. By default it is 'Automatic'. Set it to Updateable (If your database design supports updating primary keys) or Unique (preferable).
    8. Now run the form. It should work.
    All the best.
    Sunil Kumar G S

  • Javascript form.submit() fails when imbeded in table

    Before updating this worked fine, but now version 3.6.12 is failing to respond to javascript form.submit() inside a html select option control!
    Operating system is Windows 7
    The problem seems to be, because the form is imbeded inside a table.
    Internet Explorer is still working ok, so looks like Firefox is now going to take second fiddle until / unless this is solved!
    Yes, I know the easy way would be to remove the table! But then I have to use some other way of displaying data on the page!

    Yeah, but it worked fine untill the last update!
    I also have trouble with other javascript things, for example fckeditor no longer works in firefox.
    I have been avoiding Internet explorer, but now it looks like I will be forced to use it, because it is still working with the things that I use on a regular basis...

  • Form on table: Using stored procedure to update?

    I have a view which joins a handful of tables. I have a PL/SQL API that contains all the necessary business logic and translations to update the tables underlying this view.
    If I use the HTMLDB wizard to create a form on this view, it would automatically generate plain INSERT/UPDATE statements for DML against the view. How can I make it use my API instead? (Yes, I can probably plug in my API in INSTEAD OF triggers on the view, but I really dont want to do that)
    [Of course, the reason I would use the built-in form-on-table wizard is to get the automatic lost-update detection, locking, etc features]
    Help? Thanks

    The wizards are there to help you build typical pages like "form based on a table", "form on based a stored procedure".
    There is no wizard for "form based on a view, using my own API for inserts, updates and delete" - but that doesn't prevent you building such a form by hand. I have built similar forms, and found it quite easy to approach it like this:
    1) use "form based on a stored procedure" to create a form based on your API insert procedure
    2) add further buttons and processes to call your API's update and delete procedures
    3) add an "on load" process to select the row from the view and populate the form for update or delete
    You need to add some logic for context-sensitivity - e.g. Update and Delete buttons only appear when in "update mode", etc.

  • Cannot open/view/access interactive pdf form on iMac after updating Adobe Reader to 11.0.06.70

    Cannot open/view/access interactive pdf form on iMac after updating Adobe Reader to 11.0.06.70. Please help!

    Here is what it says:
    Please wait...
    If this message is not eventually replaced by the proper contents of the document, your PDF viewer may not be able to display this type of document.
    You can upgrade to the latest version of Adobe Reader for Windows®, Mac, or Linux® by visiting http://www.adobe.com/products/acrobat/readstep2.html.
    For more assistance with Adobe Reader visit http://www.adobe.com/support/products/ acrreader.html.

  • How to create updatable summary for columns in table view

    Dear All,
    ADF BC and Faces, i have got a table view where user can register hours for each day of the week, for which i'd like to create summary(sum-up)fields that display the number of total for each day, and it is updatable at run time(i.e. when numbers are put in, summary fields get updated automatically).
    how do i do? some links/examples available? thank you.
    regards
    Jerry

    http://www.freewebalbum.com/blogs/faces/bjanko/blogs.jsp?blog=bjanko20070725180020

  • How to capture userid,date in a custom table while updating a form

    Hi,
    I have a requirement to insert the userid, the form name and the date on which the record is saved in a custom table while updating a custom form.
    We are using Form Builder 6.0.
    I am new to Forms and can anyone help me with these?
    I would also want to know under which trigger i should be writing the code in.
    Thanks in advance.

    you can use:
    usrid := get_application_property(username);
    formname := get_application_property(current_form);
    dt := to_char(sysdate,'dd/mm/yyyy hh:mi:ss');
    you insert these values in on-update trigger at form level

Maybe you are looking for

  • 3.0 Works For Me!

    Just a positive post about the iPod Touch 3.0 update: everything works VERY well on my iPod Touch. Cut and Paste, Spotlight Search, landscape keyboard in Mail, etc. are operating just as advertised, and of course I love it all. All my apps are still

  • Record for spouse overlaps with record for domestic partner

    Hi Experts When we are creating Spouse record we are getting following error in portal. "Record for spouse overlaps with record for domestic partner" I have deleted the Plans for Domestic Partner and I have deleted the Domestic Partner from Portal an

  • Abap Programming

    Hi all When you are relasing the Purchase order   I was getting the error message   " UPdate terminated by the user   " Can you help me out what might be the error chithra

  • Order related billing of services with very high volumes

    Hi, does anyone has experience with very large invoices? We already have large invoices in SD (up to 42.000 items) and this works fine. Due to business requirements this number will increase. We calculated the following volumes for the future: max. #

  • Authorware error when loading player

    Hello, I am having a strange issue with training session on a website. The Lesson is built with Flash and at the end you click on a Self Check link that opens up in Authoware and lets you complete a quiz. For some reason everytime you click Self Chec