AnsweredAssumed Answered

Changing the search call when extending BrowseBean

Question asked by astocks on Jan 5, 2007
Latest reply on Jan 9, 2007 by astocks
Sorry if this is answered elsewhere, haven't been able to find it myself.

I'm trying to change the display of a SimpleSearch, trying to keep it as general as possible by creating my own class which extends it.

In order to do this I have changed the faces-config.xml and created a new BrowseBean class which extends the original. This is in order to change the "search" function to use my version of the SimpleSearch as opposed to the default.

However, the navigateBrowseScreen call from within the search function is a private function in the parent class (BrowseBean) and thus it isn't visible from my class. Is there any way around this without changing the original class?

Has anyone got a different approach to recommend?

Thanks

[Edit: This should be in the Web Client Development forum]

Outcomes