Ticket #667 (closed enhancement: fixed)

Opened 3 years ago

Last modified 19 months ago

Make request method per-container

Reported by: david Owned by: david
Priority: normal Milestone: 1.0
Component: controller Version:
Severity: major Keywords:
Cc: Patch attached: no

Description

So that you can, for example, force a slot to run with read, because your slotted login action in the sidebar otherwise tries to perform a login when a POST is performed to the register action or so.

This should be possible w/o BC break. Copy request method to the container, add argument to create*Container(), done.

Attachments

Change History

Changed 2 years ago by david

  • status changed from new to closed
  • resolution set to fixed

(In [2495]) implemented per-container request methods, closes #667

Changed 2 years ago by david

  • By default, all newly created containers use the global request method
  • AgaviController::createExecutionContainer() now has a new argument for the request method
  • AgaviExecutionContainer::createExecutionContainer() (and thus AgaviView::createForwardContainer() and AgaviView::createSlotContainer()) copy their own request method into the newly created containers (just like they do with the output type)
  • in output_types.xml layout definitions, you may now use <slot ... method="read" /> to conveniently force a request method for a slot

Changed 2 years ago by david

  • status changed from closed to reopened
  • resolution fixed deleted
  • component changed from _OTHER_ to controller
  • milestone changed from 1.0 to 0.11.3

Backporting to 0.11.3 due to popular demand

Changed 2 years ago by david

  • status changed from reopened to closed
  • resolution set to fixed
  • milestone changed from 0.11.3 to 1.0

I looked at it again, and it turned out it's a bad idea due to the coupling of this feature to the changes related to #767

Changed 20 months ago by david

(In [3455]) UPGRADING info for per-container request methods, refs #667

Add/Change #667 (Make request method per-container)

Author


E-mail address and user name can be saved in the Preferences.


Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.