[Progress Communities] [Progress OpenEdge ABL] Forum Post: RE: ControllerWrapper changing the request HTTP verb when invoking HandleUnknownAction

  • Thread starter Thread starter jacopo furla
  • Start date Start date
Status
Not open for further replies.
J

jacopo furla

Guest
[quote user="jread"] How are your custom widgets created? Are they WebForms or MVC? [/quote] These are MVC widgets. [quote user="jread"] If MVC in the controller you should handle unknown routes per controller. [/quote] We do have the HandleUnknownAction method in our controller, that's the problem. It's when the HandleUnknownAction method is called that the request gets changed from POST to GET . [quote user="jread"] Also if the widgets are MVC and your are using the @Html.BeginForm() you should be using @Html.BeginFormSitefinity() instead. [/quote] From what I can see we're not using neither the Html.BeginForm nor the Html.BeginFormSitefinity helpers because we're not using custom forms. In the back-end the widget allows the users to choose one of the native forms available in Sitefinity (the ones created in Content > Forms ), these forms are then rendered in the page directly by Sitefinity, so we can't change how the element is constructed.

Continue reading...
 
Status
Not open for further replies.
Back
Top