Results 1 to 3 of 3

Thread: How does the Spring stores the FormObject in able to display the data to jsp views

  1. #1
    Join Date
    Oct 2008
    Posts
    286

    Default How does the Spring stores the FormObject in able to display the data to jsp views

    the scenario is:

    SWF1.0.5
    Ajax via YAHOO.util.Connect.asyncRequest
    Spring 2.5.2

    #1 start the flow
    #1.1 trigger the render actions (setupform to initialize the FormObject, search methods and set to FormObject for jsp initial grid data)
    note: display the data of initialized FormObject combination with JSTL.

    page was displayed

    #2 click the Button1 to call Controller via Ajax.
    note: before, Button1 calls the FormAction via webflow event but it reloads the whole page that's why I decided to use Ajax.

    the problem is:
    how to access the FormObject in order to access the data displayed earlier in the page? can be access via HTTPServletRequest object?

    like in FormAction:
    FormObjectClass formObjCls = (FormObjectClass) flowScope.get(formObjectName);
    can access and set the data via formObjCls.


    guys, if you have other necessary info please tell me.
    thanks

  2. #2
    Join Date
    Oct 2008
    Posts
    286

    Default

    it is possible to pass the FormObjectClass to Ajax URL?
    to access in the controller?

  3. #3
    Join Date
    Oct 2008
    Posts
    286

    Default

    It is possible to access FlowScope in Ajax Controller?
    back the formObjectClass to view in order to update the page?

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
  •