webmcp
view framework/env/ui/add_partial_param_names.lua @ 11:d76a8857ba62
Added ui.partial and other functions, which allow partial content replacement using XMLHttpRequests; Image support for ui.link
Also includes following changes:
- Fix for rocketcgi library to accept POST data content-types, which contain additional charset information.
- Support arrays passed as params to encode.url (only for keys ending with "[]")
- Version information changed to "1.0.7"
Documentation for added functions is not yet complete.
Also includes following changes:
- Fix for rocketcgi library to accept POST data content-types, which contain additional charset information.
- Support arrays passed as params to encode.url (only for keys ending with "[]")
- Version information changed to "1.0.7"
Documentation for added functions is not yet complete.
| author | jbe/bsw | 
|---|---|
| date | Fri Feb 12 18:40:22 2010 +0100 (2010-02-12) | 
| parents | |
| children | f3d3203cd2e4 | 
 line source
     1 --[[--
     2 ui.add_partial_param_names(
     3   name_list
     4 )
     6 TODO: documentation
     8 --]]--
    10 function ui.add_partial_param_names(name_list)
    11   if ui._partial_state then
    12     for idx, param_name in ipairs(name_list) do
    13       ui._partial_state.param_name_hash[param_name] = true
    14     end
    15   end
    16 end
