[OGo-Developer] adding search save and create tab to document search in projects

Sebastian Reitenbach developer@opengroupware.org
Wed, 03 Oct 2007 18:19:11 +0200


Hi,

developer@opengroupware.org wrote: 
> On 02.10.2007, at 12:08, Sebastian Reitenbach wrote:
> > I don't get the saved custom tabs to initiate a search on the saved
> > qualifier when clicking on a custom tab.
> 
> W/o looking at the code I would guess that the WETabItem has an  
> action binding assigned which then triggers a method in the  
> associated component. Which then loads the qualifier and performs the  
> search.
> 
I updated the patch to the bug, 
http://bugzilla.opengroupware.org/bugzilla/show_bug.cgi?id=1919

Updated patch will be appended, the patch now does the following:
1. allow save of searches (works)
2. allow creation of custom tabs (works)
3. allow load of saved searches (works)
4. updated OGoProject.strings for German and English languages
5. clicking on custom tab then showing  search results for tab (not working)
6. added BOOL showForm to SkyProject4DocumentSearch.m to allow hiding of 
form  on customTabs (works)
7. still ugly form layout ;)
8. maybe lots of memory management issues in the objc code

I am still a bit clueless how do I get the custom tabs to load and show the 
saved searches. Right now it shows an empty result list, because the form is 
hidden (point 6). I tried to set the action = loadSavedSearch when clicking 
a custom tab. This action is called when loading a tab from the load tab pop 
up, and working well there. I still miss there sth. Any further hints 
appreciated.

kind regards
Sebastian