Jump to content

How can i execute a task from a procedure I needed to execu...


Merin Joseph

Recommended Posts

  • 2 weeks later...

Your terminology is somewhat confusing; a task often refers to some OS-level operation and a table could mean a database table, a TABLE FILE or a table layout in your HTML output.

IIUC, you have some HTML output that contains delete icons, that should start processing an operation to delete that item from some list on the reporting server.

An HTML page lives at the client side. To have it affect data on the server side, you will have to send an HTTP request to the server, which in turn will send you a response.

You have a couple of options there. The classic approach is to POST to a procedure (calling WFServlet) that responds with the same HTML page you showed above.

A more advanced approach is to send an asynchronous HTTP request from Javascript to a much smaller procedure that responds with an XML or JSON message and process that client-side (using more Javascript). This concept is called AJAX.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...