Ralf Becker
a293de8614
fix not working full submits if etemplate is etemplate_old and app uses etemplate_new
2013-07-30 12:21:19 +00:00
Nathan Gray
bd63529096
Rework etemplate2 loading to use JSON plugin when loading from regular request & AJAX. instead of inline script tag
2013-07-20 13:57:53 +00:00
Nathan Gray
4ae6094d8d
New tag list widget, supports ajax & static options
2013-07-18 15:27:39 +00:00
Nathan Gray
b3bf5b734f
Make unique ID deterministic - use template name
2013-07-18 09:21:07 +00:00
Nathan Gray
524f2b0f03
Use an etemplate / top template level prefix to avoid DOM ID collisions
2013-07-18 09:13:15 +00:00
Nathan Gray
0c6f70005a
Implement some basic client-side validation (required)
2013-06-26 20:50:10 +00:00
Nathan Gray
8c449cae82
Trigger a load event on the template container when the etemplate is fully loaded, so other (non-app) scripts can hook in with ease. The etemplate2 object will be the second parameter to the callback.
2013-06-17 14:44:55 +00:00
Nathan Gray
e8a21565ab
First run at a new home app. Just structure so far, more to come.
2013-05-22 20:13:12 +00:00
Nathan Gray
5555edcb98
Add dialog widget
2013-04-16 18:50:43 +00:00
Nathan Gray
a4395a8000
If a specific template name is not provided, use the last template in the file
2013-04-16 18:42:53 +00:00
Ralf Becker
e64c4fbd04
add some JSDoc so Eclipse shows an outline: @memberOf and @augments (not yet understood by Eclipse), also fixed many warnings (mostly missing semicolons)
2013-04-13 19:00:13 +00:00
Nathan Gray
978a90852c
Add a base object for application javascript code to contain it, and solve initialization timing issues
2013-04-09 08:45:59 +00:00
Nathan Gray
bdb148d167
Make sure widgetContainer is initialized before loading, prevents timing problems
2013-04-01 18:35:49 +00:00
Nathan Gray
a46fff9bbd
Add implementation for xajax_eT_wrapper() to avoid having to replace them all right now
2013-03-25 16:56:10 +00:00
Nathan Gray
873c3301d4
Get selected IDs if action function did not pass them
2013-03-20 22:20:05 +00:00
Nathan Gray
dee286e2e0
Move favorites js into its own widget, add support for favorites in sidebox when there is no nextmatch on the page
2013-03-12 22:57:42 +00:00
Nathan Gray
643b120195
- Make nextmatch refresh more intelligently
...
- Call nextmatch refresh() from etemplate2.refresh()
- Add autorefresh preference (in column selection)
2013-02-25 20:35:17 +00:00
Nathan Gray
a0c0ddbfbe
Dropdown / split button
2013-02-25 18:51:57 +00:00
Nathan Gray
03c9c0804f
Split panel widget. Mostly working, needs some more special case for working with nm - they both want full page
2013-02-22 00:25:41 +00:00
Nathan Gray
c46777826f
Add iframe widget
2013-02-20 20:53:15 +00:00
Nathan Gray
298309074e
Implement updating just the affected nm row with egw_refresh()
2013-02-14 11:25:24 +00:00
Nathan Gray
54b1fb9ce4
Fix set_Value() -> set_value()
2013-02-13 09:23:33 +00:00
Nathan Gray
1f86de58c8
Get message update working
2013-02-13 09:03:28 +00:00
Nathan Gray
f2fc558e19
- Add static methods to get into etemplate2 widget context from outside. Call etemplate2.getByApplication(app) or etemplate2.getByTemplate(name) for a list of etemplate2 objects
...
- Add register_app_refresh() function to allow applications to specify a more intelligent way to refresh them
- Change egw_refresh() to call registered refresh function, or if etemplate2 is available try that over reloading the whole page
2013-02-12 15:46:14 +00:00
Nathan Gray
dc5fabfcb4
Keep type of value as Object, fixes missing nextmatch data
2013-02-05 09:53:06 +00:00
Christian Binder
b3a4ad5240
very first attempt for et2_widget_itempicker implementation
2012-07-14 15:38:02 +00:00
Nathan Gray
9a6e3d59a8
If two widgets have the same ID, and they both return objects as values (eg: link widgets) then merge the values instead of replacing
2012-07-04 22:41:51 +00:00
Nathan Gray
5385055eb9
Fix bug breaking array values (name ends in [])
2012-07-02 22:58:02 +00:00
Nathan Gray
86e72a105e
Debug validation errors to console
2012-06-18 22:56:20 +00:00
Nathan Gray
1f2ee8faf2
Add ckeditor as htmlarea widget
2012-06-06 04:13:19 +00:00
Nathan Gray
5647df9636
Historylog widget for et2
2012-05-24 15:45:29 +00:00
Nathan Gray
03dfd56d3e
Hide exec_id field too
2012-05-22 20:16:33 +00:00
Nathan Gray
014fdee8bc
When posting, use hidden input
2012-05-14 16:55:38 +00:00
Nathan Gray
1049474cd9
Get customfield-type working again
2012-05-07 17:40:59 +00:00
Nathan Gray
0e2864e79a
Need to add color widget before it works
2012-05-02 19:12:45 +00:00
Nathan Gray
d4aed5cf03
More work on nm actions that need real submit (POST)
2012-04-24 19:47:23 +00:00
Nathan Gray
39c133fe2e
Try to get form submit (POST) working in FF
2012-04-23 20:25:21 +00:00
Nathan Gray
ea838035b6
Get submit actions (like Insert in document) working
2012-04-17 22:56:04 +00:00
Nathan Gray
d9275d53d0
Avoid sending back empty sub-arrays - apps that check for their presence, not contents, have trouble with them
2012-03-30 19:42:01 +00:00
Ralf Becker
d52ab179a7
classname in callback need to be renamed too
2012-03-28 16:30:17 +00:00
Nathan Gray
e330a7bfdc
Start of vfs widget
2012-03-26 19:46:51 +00:00
Nathan Gray
1dc6376ed4
Handle inputs with names ending in [] as arrays
2012-03-23 18:17:15 +00:00
Nathan Gray
56070c43c5
Add start of ajax select widget, get submits working again
2012-03-22 23:31:31 +00:00
Nathan Gray
11fe571e65
Instanciate the instance for the app based on template name when loading
2012-03-20 21:42:25 +00:00
Nathan Gray
ccaa65b0e4
Implement groupbox/caption with fieldset/legend
2012-03-19 21:06:02 +00:00
Nathan Gray
0aa4c66803
Don't proxy template, just don't load it until asked for
2012-03-14 21:27:23 +00:00
Nathan Gray
e5b4bcfe7f
Add selectAccount_ro to handle ajax user names
2012-03-14 19:02:28 +00:00
Andreas Stöckel
dc017ed889
Now again using a local etemplate2 instance on the client
2012-03-12 12:05:14 +00:00
Nathan Gray
e1f8411253
Add tree to list
2012-03-08 16:55:12 +00:00
Andreas Stöckel
c0db2e36a9
Fixed a lot of problems regarding centralized JavaScript code; et2_dataview_view_resizeable is current WIP; now building etemplate2 DOM-Tree to a DocumentFragment first, which brings a significant performance gain
2012-03-07 15:33:21 +00:00