Files
luos/workflow/engine/templates
Erik Amaru Ortiz 9141526062 FEATURE, was added a feature to enable load three level nodes on cases tree menu on HOME tab
Now we can set from any menu file (core or plugin) a three level nodes on cases menu:
Example:

$G_TMP_MENU->AddIdRawOption('TEST1', '#', 'Enterprise Search', '', '', 'blockHeader');
$G_TMP_MENU->AddIdRawOption('TEST2', '#', 'New Seach', '', '');
$G_TMP_MENU->AddIdRawOption('TEST3', '#', 'Saved Searches (9)', '', '');
$G_TMP_MENU->AddIdRawOption('TEST4', '#', 'Favorites', '', '', 'rootNode');
$G_TMP_MENU->AddIdRawOption('TEST5', '#', 'test child 2.1', '', '', 'childNode');
$G_TMP_MENU->AddIdRawOption('TEST6', '#', 'test child 2.2', '', '', 'childNode');
$G_TMP_MENU->AddIdRawOption('TEST7', '#', 'test child 2.3', '', '', 'childNode');
$G_TMP_MENU->AddIdRawOption('TEST8', '#', 'test child 3', '', '', '');
$G_TMP_MENU->AddIdRawOption('TEST9', '#', 'test child 4', '', '', '');

On the last parameter was added two new menu types "rootNode" and "childNode"

On the example the first node will be set by "blockHeader" menu type
all menu options below that will be added such as its child nodes
Now, if a menu option has a type "rootNode" (...'Favorites', '', '', 'rootNode'...)
all menu options below this with type "childNode" (...'test child 2.2', '', '', 'childNode'...)
will be consireded as its child nodes of menu with type "rootNode",
inmediatly a menu option without any menu type is found (..'test child 3', '', '', ''..),
this menu and all menu options like it will be added as child nodes of the last menu option
with "blockHeader".

The result of the example will be something like this:

+ Enterprise Search
	- New search
	- Saved Searches (9)
	+ Favorites
		- test child 2.1
		- test child 2.2
		- test child 2.3
	- test child 3
	- test child 4
...
2013-08-01 19:06:05 -04:00
..
2013-07-15 17:30:59 -04:00
2013-07-25 12:42:56 -04:00
2013-03-14 15:15:04 -04:00
2012-10-04 15:33:11 -04:00
2010-12-02 23:34:41 +00:00