Stephan Hesmer wrote:
>
> Raphael,
>
> some errors concering the EngineContext appeared during the big code clean
> up. Due to the JetspeedServlet you changed the constructor parameter of
> EngineContext, so that the class variables ServerName, ServerPort, etc...
> are not initialized anymore. The problem is, that there are still
> get-Methods for the variable, and they are used!!! For example, to locate
> the search.html of the SearchPortlet.
>
Can you find out the class which does this. I've changed all the get-methods
used to rundata except in PortletConfig because I wanted to think a
little more about method and its use.
> We could fix this error in two different ways:
> * every time when the doGet-Method of the servlet is called, we set the
> variables to appropriate values, or
> * we remove the get-Methods and the variables and use insted directly the
> runddata object.
>
I'll commit a fix to PortletConfig. If I've missed other EngineContext
getXXX(), these should be changed to use RunData whenever possible.
--
Rapha�l Luta - [EMAIL PROTECTED]
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://marc.theaimsgroup.com/?l=jetspeed>
Problems?: [EMAIL PROTECTED]