Results 1 to 2 of 2

Thread: How to modify an object in webflow through ajax?

  1. #1
    Join Date
    May 2012
    Location
    Columbus, Ohio
    Posts
    5

    Default How to modify an object in webflow through ajax?

    Hi all,

    I'm having trouble understanding how ajax, a controller, and web-flow can interact.

    As of right now, my project moves from page to page from different view states through the flow.

    However, on some of these different pages, I have a few ajax calls that get directed to various controllers for server processing on a "currentObject". The services return an object, which I need to put back into the web-flow as my "currentObject".

    Just to make things clear: I want to associate object A with object B, which object A is associated to the "currentObject". I do my server processing and complete the association(so "currentObject" is associated to object A which is associated to object B) and save the object to database. When I click on "create new object", web-flow still has the "currentObject" where object A is NOT associated with object B.

    I want to put my updated "currentObject" into web-flow from my controller, so what is the best approach to modifying the object in web-flow through an ajax call?

    Adam

  2. #2
    Join Date
    May 2012
    Location
    Columbus, Ohio
    Posts
    5

    Default

    Any comments or ideas please?

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •