webmcp
changeset 53:a1c77838c2e5
Documentation for "attr", "a_attr" and "form_attr" arguments to function ui.link{...}
author | jbe |
---|---|
date | Fri Jun 10 15:32:29 2011 +0200 (2011-06-10) |
parents | 2a3257f29c02 |
children | 89030e955845 |
files | framework/env/ui/link.lua |
line diff
1.1 --- a/framework/env/ui/link.lua Fri Jun 10 14:58:22 2011 +0200 1.2 +++ b/framework/env/ui/link.lua Fri Jun 10 15:32:29 2011 +0200 1.3 @@ -5,6 +5,9 @@ 1.4 module = module, -- module name 1.5 view = view, -- view name 1.6 action = action, -- action name 1.7 + attr = attr, -- for views: table of HTML attributes 1.8 + a_attr = a_attr, -- for actions: table of HTML attributes for the "a" tag 1.9 + form_attr = form_attr, -- for actions: table of HTML attributes for the "form" tag 1.10 id = id, -- optional id to be passed to the view or action to select a particular data record 1.11 params = params, -- optional parameters to be passed to the view or action 1.12 routing = routing, -- optional routing information for action links, as described for ui.form{...}