Announcement Announcement Module
Collapse
No announcement yet.
How does the Spring stores the FormObject in able to display the data to jsp views Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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
    it is possible to pass the FormObjectClass to Ajax URL?
    to access in the controller?

    Comment


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

      Comment

      Working...
      X