You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The way forms were implemented before management toolbar was:
Method: GET
A bunch of input[type="hidden"] with every parameter.
After applying the management toolbar:
Method: POST
All the parameters are included in the action URL.
Now that the method is GET again (which is correct) search is broken everywhere. This is because when a form is GET it will replace all the parameters in the action URL with the form inputs (see a nice explanation here).
Now search will hit a URL like this: http://localhost:8080/group/guest/~/control_panel/manage?_com_liferay_document_library_web_portlet_DLAdminPortlet_keywords=blabla which only contains the keywords parameter and none of the original ones which are needed.
We need a way to add hidden inputs to the search form.
Regards
The text was updated successfully, but these errors were encountered:
The way forms were implemented before management toolbar was:
GET
input[type="hidden"]
with every parameter.After applying the management toolbar:
POST
Now that the method is GET again (which is correct) search is broken everywhere. This is because when a form is GET it will replace all the parameters in the action URL with the form inputs (see a nice explanation here).
Now search will hit a URL like this:
http://localhost:8080/group/guest/~/control_panel/manage?_com_liferay_document_library_web_portlet_DLAdminPortlet_keywords=blabla
which only contains thekeywords
parameter and none of the original ones which are needed.We need a way to add hidden inputs to the search form.
Regards
The text was updated successfully, but these errors were encountered: