in OFBizSetup app: why cannot I create my own WebsiteId?

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

in OFBizSetup app: why cannot I create my own WebsiteId?

David-DiSiD Technologies
In OFBizSetup application, in the section "Web Site" (during the setup of new organization) the value of Website ID is always WebStore, I cannot change it with my own Website ID.

That's because the service called is this:

<simple-method method-name="createDefaultWebSite" short-description="Create a WebSite, default webSiteId is WebStore.">
    <set field="parameters.webSiteId" value="WebStore"/>
    <call-service service-name="createWebSite" in-map-name="parameters"/>
</simple-method>

It overwrites the value of webSiteId.

Is there any reason for this?
If not, I can provide a patch for this (replacing the service called from controller of FBizSetup app)

I'm using branch release10.4, but also I see it in trunk.

Thanks,
David
DiSiD Technologies, S.L. - http://www.disid.com
Reply | Threaded
Open this post in threaded view
|

Re: in OFBizSetup app: why cannot I create my own WebsiteId?

BJ Freeman
the websiteID must match the parm in the ecommerce web.xml
this is meant for someone with no expertise or knowledge of how ofbiz works.
someone with expertise would develop data files or use the UI and create
a productstore then a websiteID that would be put in the web.xml



David-DiSiD Technologies sent the following on 7/16/2010 1:04 AM:

>
> In OFBizSetup application, in the section "Web Site" (during the setup of new
> organization) the value of Website ID is always WebStore, I cannot change it
> with my own Website ID.
>
> That's because the service called is this:
>
> <simple-method method-name="createDefaultWebSite" short-description="Create
> a WebSite, default webSiteId is WebStore.">
>      <set field="parameters.webSiteId" value="WebStore"/>
>      <call-service service-name="createWebSite" in-map-name="parameters"/>
> </simple-method>
>
> It overwrites the value of webSiteId.
>
> Is there any reason for this?
> If not, I can provide a patch for this (replacing the service called from
> controller of FBizSetup app)
>
> I'm using branch release10.4, but also I see it in trunk.
>
> Thanks,
>
> -----
> David Cervera - dcervera at disid dot com
> DiSiD Technologies, S.L. - http://www.disid.com
Reply | Threaded
Open this post in threaded view
|

Re: in OFBizSetup app: why cannot I create my own WebsiteId?

Jacques Le Roux
Administrator
And please David, use rather user ML for such questions, see why here :
http://cwiki.apache.org/confluence/display/OFBADMIN/Mailing+Lists#MailingLists-DesignanddevelopmentList:dev@...

Thanks

Jacques

From: "BJ Freeman" <[hidden email]>

> the websiteID must match the parm in the ecommerce web.xml
> this is meant for someone with no expertise or knowledge of how ofbiz works.
> someone with expertise would develop data files or use the UI and create
> a productstore then a websiteID that would be put in the web.xml
>
>
>
> David-DiSiD Technologies sent the following on 7/16/2010 1:04 AM:
>>
>> In OFBizSetup application, in the section "Web Site" (during the setup of new
>> organization) the value of Website ID is always WebStore, I cannot change it
>> with my own Website ID.
>>
>> That's because the service called is this:
>>
>> <simple-method method-name="createDefaultWebSite" short-description="Create
>> a WebSite, default webSiteId is WebStore.">
>>      <set field="parameters.webSiteId" value="WebStore"/>
>>      <call-service service-name="createWebSite" in-map-name="parameters"/>
>> </simple-method>
>>
>> It overwrites the value of webSiteId.
>>
>> Is there any reason for this?
>> If not, I can provide a patch for this (replacing the service called from
>> controller of FBizSetup app)
>>
>> I'm using branch release10.4, but also I see it in trunk.
>>
>> Thanks,
>>
>> -----
>> David Cervera - dcervera at disid dot com
>> DiSiD Technologies, S.L. - http://www.disid.com
>