one more I forgot to implement, hide tabs with no result.

2013/1/18 Viktors Jengovatovs <[email protected]>:
> Hi!
>
> There are my changes.
>
> search.jsp and png preview are in attachment.
>
> Main idea: In first tab (Summary Tab) located 2 results from every another 
> tab.
> Now there are missing translations.
>
> And in uportal-war/src/main/resources/properties/contexts/servicesContext.xml
> I have:
>
>     <util:map id="searchTabs">
>         <entry key="search.contacts.results">
>             <list>
>                 <value>contactInfo</value>
>             </list>
>         </entry>
>         <entry key="search.news.results">
>             <list>
>                 <value>News</value>
>             </list>
>         </entry>
>         <entry key="search.content.results">
>             <list>
>                 <value>portal.content</value>
>             </list>
>         </entry>
>     </util:map>
>
>
> 2013/1/17 Eric Dalquist <[email protected]>:
>> I'd love to see the changes.
>>
>> -Eric
>>
>>
>> On 1/17/13 6:16 AM, Viktors Jengovatovs wrote:
>>>
>>> Hi!
>>>
>>> Now I making better search for our portal, and have question about CMS.
>>> When user calls search in portal and have some results in CMS, these
>>> results have title "cms".
>>> SearchContentController.java in CMS 1.0.2 code have line:
>>> searchResult.setTitle(this.portletConfig.getPortletName());
>>>
>>> It is problem or not?
>>>
>>> And I one proposal, to add some default type to all CMS portlets by
>>> default (like this: result.getType().add("CMS"); ).
>>>
>>> PS. after my modifications, I have some simple changes in uPortal's
>>> search.jsp file, which looking like dasboard (some records from every
>>> tab are located in default tab).
>>> I can share it if need.
>>>
>>
>>
>
>
>
> --
> Viktors Jengovatovs



-- 
Viktors Jengovatovs

-- 
You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/uportal-dev

Reply via email to