Opened at 2009-07-15T16:47:47Z
Closed at 2009-08-12T11:30:15Z
#189 closed todo (done)
Action working.
| Reported by: | Mridul | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | uwiki | Keywords: | |
| Sub Tickets: | Parent Tickets: |
Description
Now we are calling action.invoke() method to run an action.
I can see how an action will work,
action.invoke = function(requestData) --action does its thing return responseHTML end
where requestData is the GET, POST etc vars all combined into a request Object
Questions:
- Can we assume that all actions will produce html response?
- Which is better, passing requestData as a function param to invoke() or reading it from a global table UWIKI?
Note:
See TracTickets
for help on using tickets.

Replying to mridkash:
at least some 'http' response, maybe not always a html page (301 Moved Permanently, for distributed wikis for example), but since all actions are initiated by a http request it's completion requires to send a response of some sort.
pass param