Announcement Announcement Module
Collapse
No announcement yet.
Why isn't referenceData() data being called? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Why isn't referenceData() data being called?

    when i submit to my SimpleFormController the onSubmit() method gets called but referenceData() never gets called. is this the way it's suppose to work?

  • #2
    Yes it is. referenceData is only called before rendering the page.

    Comment


    • #3
      I have logging in that message and I don't see it being called. So what might I be doing wrong?

      Comment


      • #4
        referenceData() is only called when displaying the form.

        When onSubmit() is called, referenceData isn't and that's the way it's supposed to work.

        Anyway, could you post your controller code ?

        Comment

        Working...
        X