${parameters.PARAMETER_NAME}

egg.  <decorator-screen name="main-decorator" location="${parameters.*
mainDecoratorLocation*}">
and the corresponding web.xml has

 <context-param>
    <param-name>*mainDecoratorLocation*</param-name>

<param-value>component://party/widget/partymgr/CommonScreens.xml</param-value>
    <description>The location of the main-decorator screen to use for this
webapp; referred to as a context variable in screen def XML
files.</description>
  </context-param>


On Nov 13, 2007 6:51 PM, BJ Freeman <[EMAIL PROTECTED]> wrote:

> sorry did not read all the way
>
> look at
> public class DispatchContext
>
> BJ Freeman sent the following on 11/13/2007 5:14 AM:
> > take a look at
> >    public static String getWebSiteId(ServletRequest request)
> >
> >
> > sqlien sent the following on 11/13/2007 4:43 AM:
> >> Hi,
> >>
> >> in my method implementation of my service i want to get a value of
> variable
> >> which is defined in my web.xml like this:
> >>
> >> <context-param>
> >>      <param-name>myVariable</param-name>
> >>      <param-value>value</param-value>
> >> </context-param>
> >>
> >> I remember that i dont use the following code code because i have not
> access
> >> to th object "request" in my method implementation. i means i can't get
> the
> >> object "request" from the object "DispatchContext":
> >>
> >> ServletContext context =(ServletContext)
> >> request.getAttribute("ServletContext");
> >>
> >> context.getInitParameter("myVariable")
> >>
> >>
> >>
> >> please how to do that ?
> >>
> >> thanks
> >>
> >
> >
> >
>

Reply via email to