If widgets will have parameters instead of SQL Query, this edit in
place:

<edit>
  <table>aiki_users</table>
  <field>full_name</field>
  <primary>userid</primary>
  <type>textarea</type>
  <label>((full_name))</label>
  <permissions>SystemGOD</permissions>
</edit>

can be rewritten as widget with parameters:

(widget:edit('aiki_users', 'full_name', 'userid', 'textarea', 'SystemGOD'))

label can be omitted it can always be the value of the filed.

And there is no need to keep html/jQuery code in the source code.

--
Jakub

_______________________________________________
Mailing list: https://launchpad.net/~aikiframework-devel
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~aikiframework-devel
More help   : https://help.launchpad.net/ListHelp

Reply via email to