Jump to:

5514 Posts in 1733 Topics by 1219 members

Customising the CMS

SilverStripe Forums » Customising the CMS » ForceReload() - How does it WOrk

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 798 Views
  • zenmonkey
    Avatar
    Community Member
    527 Posts

    ForceReload() - How does it WOrk Link to this post

    I have an action on a Custom LeftAndMain that updates the data using a plain SQL query. How do I force the Panel to reload after the action is complete

    LeftAndMain::ForceReload;
    return;

    just gives me a Javascript error.

  • rob.s
    Avatar
    Community Member
    78 Posts

    Re: ForceReload() - How does it WOrk Link to this post

    did you try

    LeftAndMain::ForceReload();

    as method not as property ?

  • zenmonkey
    Avatar
    Community Member
    527 Posts

    Re: ForceReload() - How does it WOrk Link to this post

    Yes, I've tried calling it as a method before the return on the action and as the return of the action.

    I'd really like to find more documentation on it

    798 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.