ant create-component and websiteId

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

ant create-component and websiteId

Chris Snow-3
When I create a component with "ant create-component", the web.xml contains:

    <context-param>
        <param-name>webSiteId</param-name>
        <param-value>EXAMPLE</param-value>
        <description>A unique ID used to look up the WebSite
entity</description>
    </context-param>

What is the main purpose for the webSiteId?

Many thanks in advance,

Chris
Reply | Threaded
Open this post in threaded view
|

Re: ant create-component and websiteId

Scott Gray-2
Depends on the web-app, for the backend it typically just indicates the themes and information for URL generation.  For ecomm apps it also points to the product store in use.

For create-component it should really be parameterized.

Regards
Scott

HotWax Media
http://www.hotwaxmedia.com

On 23/03/2010, at 3:36 PM, Christopher Snow wrote:

> When I create a component with "ant create-component", the web.xml contains:
>
>   <context-param>
>       <param-name>webSiteId</param-name>
>       <param-value>EXAMPLE</param-value>
>       <description>A unique ID used to look up the WebSite entity</description>
>   </context-param>
>
> What is the main purpose for the webSiteId?
>
> Many thanks in advance,
>
> Chris


smime.p7s (3K) Download Attachment