I am using standard km trex engine ot search km contents.In that i need to change the link of the results.Currently it is navigating to existing km contents.But i need to change the navigation which shoud navigate to the link which i will be definig.
For example ... if i click any km content in the search result it should navigate to other links (like predefined links which i have to define(ex:www.yahoo.com or somweother predifned links )..) and it should not navigate to the existing km content.
i m using the following code in my api..
TextView t = new TextView();
ResourceLink link = new ResourceLink(this.getResource(), t, this.getProxy(), this.getParameters());
its navigating to existing km content.. and i need to change that navigation...
Can anyone please explain how to bring that feature.
Don't use resource link as you did. Try using normal link and create a component(HTMLB or anyother) from KM reource content, then add that component to the link as below.
comp = ....(should be a component from your Km content resource)
Link link = new Link("Link");
finally add that link to your search UI . I hope this will help.
I am sorry if i confused you.
Thanks & regards.