Where do 'parameters' come from?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Where do 'parameters' come from?

Milind W-2
Hi,
I am trying to figure out how all the different files connect.
I saw this line.
<decorator-screen name="CommonContactListDecorator"
location="${parameters.mainDecoratorLocation}">

Where do 'parameters' come from?
Could not find the answer using google or markmail.
Would appreciate if someone can tell.
Thanks
-Milind


Reply | Threaded
Open this post in threaded view
|

Re: Where do 'parameters' come from?

Jacques Le Roux
Administrator
Here you go  http://docs.ofbiz.org/x/PQM

And at large http://docs.ofbiz.org/display/OFBADMIN/OFBiz+Documentation+Index. Also there is a search box at right top : very useful
At large use http://ofbiz.markmail.org/search/
Nabble http://www.nabble.com/OFBiz-f2740.html

In one word : this is part of the framework which provides a Java Map called parameters. parameters contains the context you are
working with. In your case mainDecoratorLocation is put in parameters by the framework from the component web.xml file. Simply
search for mainDecoratorLocation in the project to know more...

Jacques

From: <[hidden email]>

> Hi,
> I am trying to figure out how all the different files connect.
> I saw this line.
> <decorator-screen name="CommonContactListDecorator"
> location="${parameters.mainDecoratorLocation}">
>
> Where do 'parameters' come from?
> Could not find the answer using google or markmail.
> Would appreciate if someone can tell.
> Thanks
> -Milind
>
>.

Reply | Threaded
Open this post in threaded view
|

Re: Where do 'parameters' come from?

BJ Freeman
In reply to this post by Milind W-2
Understanding Tomcat would help also.
look in the web.xml
<web-app>
<context-param>

[hidden email] sent the following on 7/13/2008 12:59 AM:

> Hi,
> I am trying to figure out how all the different files connect.
> I saw this line.
> <decorator-screen name="CommonContactListDecorator"
> location="${parameters.mainDecoratorLocation}">
>
> Where do 'parameters' come from?
> Could not find the answer using google or markmail.
> Would appreciate if someone can tell.
> Thanks
> -Milind
>
>
>
>
>