Jacques,
Thanks for pointing this, I made code changes before committing this as
plugin. And as we uses free services from them (by mentioning OFBiz as open
source apache software) so didn't give a thought to name of component and
mentioning of commercial services.

I'm completely agree with you on this, I will change the component name and
all occurrences in the code. Please let me know if we are good if we do so,
or something else needs to be done. Thanks!

Best Regards,
--
*Rishi Solanki* | Sr Manager, Enterprise Software Development
HotWax Systems <http://www.hotwaxsystems.com/>
Plot no. 80, Scheme no. 78 Part 2, Near Brilliant Convention Center, Indore,
M.P 452010
Linkedin: *Rishi Solanki*
<https://www.linkedin.com/in/rishi-solanki-62271b7/>
Direct: +91-9893287847


On Thu, Apr 11, 2019 at 11:02 PM Jacques Le Roux <
jacques.le.r...@les7arts.com> wrote:

> Hi Rishi,
>
> In understand that this component currently uses "msg91 services to send
> sms".
>
> But could we not have another name, more explicit, for this component,
> like sms or sendsms for instance?
>
> Services tend to disappear or change (Google is the best example). So I'd
> not associate the name of an open source component to a commercial services
> provider (with a free SMS quota option). Even if hopefully it will stay as
> is...
>
> Thanks
>
> Jacques
>
> Le 30/03/2019 à 13:43, ri...@apache.org a écrit :
> > Author: rishi
> > Date: Sat Mar 30 12:43:46 2019
> > New Revision: 1856618
> >
> > URL: http://svn.apache.org/viewvc?rev=1856618&view=rev
> > Log:
> > [Implemented] Short Messaging Service(SMS) Gateway Integration. Added
> msg91 component to plugins. It uses msg91 services to send sms. An example
> to demonstrate how to use SMS gateway integration with OFBiz.
> > (OFBIZ-10457)
> > Thanks to Pritam Kute for your contribution and Michael Brohi for review
> and feedback.
> >
> > Added:
> >      ofbiz/ofbiz-plugins/trunk/msg91/
> >      ofbiz/ofbiz-plugins/trunk/msg91/config/
> >      ofbiz/ofbiz-plugins/trunk/msg91/config/Msg91UiLabels.xml   (with
> props)
> >      ofbiz/ofbiz-plugins/trunk/msg91/data/
> >      ofbiz/ofbiz-plugins/trunk/msg91/data/Msg91DemoData.xml   (with
> props)
> >
> ofbiz/ofbiz-plugins/trunk/msg91/data/Msg91SecurityGroupDemoData.xml   (with
> props)
> >
> ofbiz/ofbiz-plugins/trunk/msg91/data/Msg91SecurityPermissionSeedData.xml
>  (with props)
> >      ofbiz/ofbiz-plugins/trunk/msg91/data/helpdata/
> >      ofbiz/ofbiz-plugins/trunk/msg91/data/helpdata/HELP_Msg91.xml
>  (with props)
> >      ofbiz/ofbiz-plugins/trunk/msg91/documents/
> >      ofbiz/ofbiz-plugins/trunk/msg91/documents/Msg91.xml   (with props)
> >      ofbiz/ofbiz-plugins/trunk/msg91/entitydef/
> >      ofbiz/ofbiz-plugins/trunk/msg91/entitydef/entitymodel.xml   (with
> props)
> >      ofbiz/ofbiz-plugins/trunk/msg91/ofbiz-component.xml   (with props)
> >      ofbiz/ofbiz-plugins/trunk/msg91/servicedef/
> >      ofbiz/ofbiz-plugins/trunk/msg91/servicedef/services.xml   (with
> props)
> >      ofbiz/ofbiz-plugins/trunk/msg91/src/
> >      ofbiz/ofbiz-plugins/trunk/msg91/src/main/
> >      ofbiz/ofbiz-plugins/trunk/msg91/src/main/java/
> >      ofbiz/ofbiz-plugins/trunk/msg91/src/main/java/org/
> >      ofbiz/ofbiz-plugins/trunk/msg91/src/main/java/org/apache/
> >      ofbiz/ofbiz-plugins/trunk/msg91/src/main/java/org/apache/ofbiz/
> >
> ofbiz/ofbiz-plugins/trunk/msg91/src/main/java/org/apache/ofbiz/msg91/
> >
> ofbiz/ofbiz-plugins/trunk/msg91/src/main/java/org/apache/ofbiz/msg91/Msg91Services.java
>  (with props)
> >      ofbiz/ofbiz-plugins/trunk/msg91/webapp/
> >      ofbiz/ofbiz-plugins/trunk/msg91/webapp/msg91/
> >      ofbiz/ofbiz-plugins/trunk/msg91/webapp/msg91/WEB-INF/
> >      ofbiz/ofbiz-plugins/trunk/msg91/webapp/msg91/WEB-INF/actions/
> >
> ofbiz/ofbiz-plugins/trunk/msg91/webapp/msg91/WEB-INF/controller.xml   (with
> props)
> >      ofbiz/ofbiz-plugins/trunk/msg91/webapp/msg91/WEB-INF/web.xml
>  (with props)
> >      ofbiz/ofbiz-plugins/trunk/msg91/webapp/msg91/error/
> >      ofbiz/ofbiz-plugins/trunk/msg91/webapp/msg91/error/error.jsp
>  (with props)
> >      ofbiz/ofbiz-plugins/trunk/msg91/webapp/msg91/index.jsp   (with
> props)
> >      ofbiz/ofbiz-plugins/trunk/msg91/widget/
> >      ofbiz/ofbiz-plugins/trunk/msg91/widget/CommonScreens.xml   (with
> props)
> >      ofbiz/ofbiz-plugins/trunk/msg91/widget/Msg91Menus.xml   (with props)
> >      ofbiz/ofbiz-plugins/trunk/msg91/widget/Msg91Screens.xml   (with
> props)
> >
> > Added: ofbiz/ofbiz-plugins/trunk/msg91/config/Msg91UiLabels.xml
> > URL:
> http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/msg91/config/Msg91UiLabels.xml?rev=1856618&view=auto
> >
> ==============================================================================
> > --- ofbiz/ofbiz-plugins/trunk/msg91/config/Msg91UiLabels.xml (added)
> > +++ ofbiz/ofbiz-plugins/trunk/msg91/config/Msg91UiLabels.xml Sat Mar 30
> 12:43:46 2019
> > @@ -0,0 +1,42 @@
> > +<?xml version="1.0" encoding="UTF-8"?>
> > +<!--
> > +Licensed to the Apache Software Foundation (ASF) under one
> > +or more contributor license agreements.  See the NOTICE file
> > +distributed with this work for additional information
> > +regarding copyright ownership.  The ASF licenses this file
> > +to you under the Apache License, Version 2.0 (the
> > +"License"); you may not use this file except in compliance
> > +with the License.  You may obtain a copy of the License at
> > +
> > +http://www.apache.org/licenses/LICENSE-2.0
> > +
> > +Unless required by applicable law or agreed to in writing,
> > +software distributed under the License is distributed on an
> > +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
> > +KIND, either express or implied.  See the License for the
> > +specific language governing permissions and limitations
> > +under the License.
> > +-->
> > +
> > +<resource xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> xsi:noNamespaceSchemaLocation="
> http://ofbiz.apache.org/dtds/ofbiz-properties.xsd";>
> > +    <property key="Msg91Application">
> > +        <value xml:lang="en">Msg91 Application</value>
> > +        <value xml:lang="zh">Msg91åº”ç”¨ç¨‹åº </value>
> > +        <value xml:lang="zh-TW">Msg91æ‡‰ç”¨ç¨‹å¼ </value>
> > +    </property>
> > +    <property key="Msg91CompanyName">
> > +        <value xml:lang="en">OFBiz: Msg91</value>
> > +        <value xml:lang="zh-TW">OFBiz: Msg91</value>
> > +    </property>
> > +    <property key="Msg91CompanySubtitle">
> > +        <value xml:lang="en">Part of the Apache OFBiz Family of Open
> Source Software</value>
> > +        <value xml:lang="it">Un modulo della famiglia di software open
> source Apache OFBiz</value>
> > +        <value xml:lang="zh">å¼€æº è½¯ä»¶OFBizçš„ç»„æˆ éƒ¨åˆ†</value>
> > +        <value xml:lang="zh-TW">é–‹æº è»Ÿé«”OFBizçš„çµ„æˆ éƒ¨åˆ†</value>
> > +    </property>
> > +    <property key="Msg91ViewPermissionError">
> > +        <value xml:lang="en">You are not allowed to view this
> page.</value>
> > +        <value xml:lang="zh">ä¸ å… è®¸ä½ æµ è§ˆè¿™ä¸ªé¡µé ¢ã€‚</value>
> > +        <value xml:lang="zh-TW">ä¸ å… è¨±æ‚¨æª¢è¦–é€™å€‹é  é ¢.</value>
> > +    </property>
> > +</resource>
> >
> > Propchange: ofbiz/ofbiz-plugins/trunk/msg91/config/Msg91UiLabels.xml
> >
> ------------------------------------------------------------------------------
> >      svn:eol-style = native
> >
> > Propchange: ofbiz/ofbiz-plugins/trunk/msg91/config/Msg91UiLabels.xml
> >
> ------------------------------------------------------------------------------
> >      svn:keywords = Date Rev Author URL Id
> >
> > Propchange: ofbiz/ofbiz-plugins/trunk/msg91/config/Msg91UiLabels.xml
> >
> ------------------------------------------------------------------------------
> >      svn:mime-type = text/xml
> >
> > Added: ofbiz/ofbiz-plugins/trunk/msg91/data/Msg91DemoData.xml
> > URL:
> http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/msg91/data/Msg91DemoData.xml?rev=1856618&view=auto
> >
> ==============================================================================
> > --- ofbiz/ofbiz-plugins/trunk/msg91/data/Msg91DemoData.xml (added)
> > +++ ofbiz/ofbiz-plugins/trunk/msg91/data/Msg91DemoData.xml Sat Mar 30
> 12:43:46 2019
> > @@ -0,0 +1,33 @@
> > +<?xml version="1.0" encoding="UTF-8"?>
> > +<!--
> > +Licensed to the Apache Software Foundation (ASF) under one
> > +or more contributor license agreements.  See the NOTICE file
> > +distributed with this work for additional information
> > +regarding copyright ownership.  The ASF licenses this file
> > +to you under the Apache License, Version 2.0 (the
> > +"License"); you may not use this file except in compliance
> > +with the License.  You may obtain a copy of the License at
> > +
> > +http://www.apache.org/licenses/LICENSE-2.0
> > +
> > +Unless required by applicable law or agreed to in writing,
> > +software distributed under the License is distributed on an
> > +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
> > +KIND, either express or implied.  See the License for the
> > +specific language governing permissions and limitations
> > +under the License.
> > +-->
> > +
> > +<entity-engine-xml>
> > +    <Enumeration enumId="ORDER_SMS" description="Order Placed SMS"
> enumTypeId="TELECOM_MSG" sequenceId="01"/>
> > +    <Enumeration enumId="INVOICE_SMS" description="Invoice Generated
> SMS" enumTypeId="TELECOM_MSG" sequenceId="02"/>
> > +    <Enumeration enumId="SHIPMENT_SMS" description="Shipment Initiated
> SMS" enumTypeId="TELECOM_MSG" sequenceId="03"/>
> > +
> > +    <TelecomGatewayConfig telecomGatewayConfigId="MSG91"
> description="MSG91 SMS Gateway Configuration"/>
> > +
> > +    <CustomMethod customMethodId="TG_MSG91"
> customMethodName="sendMsg91Sms" customMethodTypeId="TELECOM_GATEWAY"
> description="Service to send SMS using MSG91 Gateway"/>
> > +
> > +    <ProductStoreTelecomSetting productStoreId="9000"
> telecomMethodTypeId="SMS" telecomMsgTypeEnumId="ORDER_SMS"
> telecomCustomMethodId="TG_MSG91" telecomGatewayConfigId="MSG91" />
> > +
> > +    <Msg91GatewayConfig telecomGatewayConfigId="MSG91" apiUrl="
> http://api.msg91.com/api/sendhttp.php"; country="" route="4" authkey=""
> sender="IOFBIZ"/>
> > +</entity-engine-xml>
> > \ No newline at end of file
> >
> > Propchange: ofbiz/ofbiz-plugins/trunk/msg91/data/Msg91DemoData.xml
> >
> ------------------------------------------------------------------------------
> >      svn:eol-style = native
> >
> > Propchange: ofbiz/ofbiz-plugins/trunk/msg91/data/Msg91DemoData.xml
> >
> ------------------------------------------------------------------------------
> >      svn:keywords = Date Rev Author URL Id
> >
> > Propchange: ofbiz/ofbiz-plugins/trunk/msg91/data/Msg91DemoData.xml
> >
> ------------------------------------------------------------------------------
> >      svn:mime-type = text/xml
> >
> > Added:
> ofbiz/ofbiz-plugins/trunk/msg91/data/Msg91SecurityGroupDemoData.xml
> > URL:
> http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/msg91/data/Msg91SecurityGroupDemoData.xml?rev=1856618&view=auto
> >
> ==============================================================================
> > --- ofbiz/ofbiz-plugins/trunk/msg91/data/Msg91SecurityGroupDemoData.xml
> (added)
> > +++ ofbiz/ofbiz-plugins/trunk/msg91/data/Msg91SecurityGroupDemoData.xml
> Sat Mar 30 12:43:46 2019
> > @@ -0,0 +1,29 @@
> > +<?xml version="1.0" encoding="UTF-8"?>
> > +<!--
> > +Licensed to the Apache Software Foundation (ASF) under one
> > +or more contributor license agreements.  See the NOTICE file
> > +distributed with this work for additional information
> > +regarding copyright ownership.  The ASF licenses this file
> > +to you under the Apache License, Version 2.0 (the
> > +"License"); you may not use this file except in compliance
> > +with the License.  You may obtain a copy of the License at
> > +
> > +http://www.apache.org/licenses/LICENSE-2.0
> > +
> > +Unless required by applicable law or agreed to in writing,
> > +software distributed under the License is distributed on an
> > +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
> > +KIND, either express or implied.  See the License for the
> > +specific language governing permissions and limitations
> > +under the License.
> > +-->
> > +
> > +<entity-engine-xml>
> > +    <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0"
> groupId="FULLADMIN" permissionId="MSG91_ADMIN"/>
> > +    <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0"
> groupId="FLEXADMIN" permissionId="MSG91_CREATE"/>
> > +    <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0"
> groupId="FLEXADMIN" permissionId="MSG91_DELETE"/>
> > +    <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0"
> groupId="FLEXADMIN" permissionId="MSG91_UPDATE"/>
> > +    <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0"
> groupId="FLEXADMIN" permissionId="MSG91_VIEW"/>
> > +    <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0"
> groupId="VIEWADMIN" permissionId="MSG91_VIEW"/>
> > +    <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0"
> groupId="BIZADMIN" permissionId="MSG91_ADMIN"/>
> > +</entity-engine-xml>
> >
> > Propchange:
> ofbiz/ofbiz-plugins/trunk/msg91/data/Msg91SecurityGroupDemoData.xml
> >
> ------------------------------------------------------------------------------
> >      svn:eol-style = native
> >
> > Propchange:
> ofbiz/ofbiz-plugins/trunk/msg91/data/Msg91SecurityGroupDemoData.xml
> >
> ------------------------------------------------------------------------------
> >      svn:keywords = Date Rev Author URL Id
> >
> > Propchange:
> ofbiz/ofbiz-plugins/trunk/msg91/data/Msg91SecurityGroupDemoData.xml
> >
> ------------------------------------------------------------------------------
> >      svn:mime-type = text/xml
> >
> > Added:
> ofbiz/ofbiz-plugins/trunk/msg91/data/Msg91SecurityPermissionSeedData.xml
> > URL:
> http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/msg91/data/Msg91SecurityPermissionSeedData.xml?rev=1856618&view=auto
> >
> ==============================================================================
> > ---
> ofbiz/ofbiz-plugins/trunk/msg91/data/Msg91SecurityPermissionSeedData.xml
> (added)
> > +++
> ofbiz/ofbiz-plugins/trunk/msg91/data/Msg91SecurityPermissionSeedData.xml
> Sat Mar 30 12:43:46 2019
> > @@ -0,0 +1,30 @@
> > +<?xml version="1.0" encoding="UTF-8"?>
> > +<!--
> > +Licensed to the Apache Software Foundation (ASF) under one
> > +or more contributor license agreements.  See the NOTICE file
> > +distributed with this work for additional information
> > +regarding copyright ownership.  The ASF licenses this file
> > +to you under the Apache License, Version 2.0 (the
> > +"License"); you may not use this file except in compliance
> > +with the License.  You may obtain a copy of the License at
> > +
> > +http://www.apache.org/licenses/LICENSE-2.0
> > +
> > +Unless required by applicable law or agreed to in writing,
> > +software distributed under the License is distributed on an
> > +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
> > +KIND, either express or implied.  See the License for the
> > +specific language governing permissions and limitations
> > +under the License.
> > +-->
> > +
> > +<entity-engine-xml>
> > +    <SecurityPermission description="View operations in the Msg91
> Component." permissionId="MSG91_VIEW"/>
> > +    <SecurityPermission description="Create operations in the Msg91
> Component." permissionId="MSG91_CREATE"/>
> > +    <SecurityPermission description="Update operations in the Msg91
> Component." permissionId="MSG91_UPDATE"/>
> > +    <SecurityPermission description="Delete operations in the Msg91
> Component." permissionId="MSG91_DELETE"/>
> > +    <SecurityPermission description="ALL operations in the Msg91
> Component." permissionId="MSG91_ADMIN"/>
> > +
> > +    <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0"
> groupId="SUPER" permissionId="MSG91_ADMIN"/>
> > +
> > +</entity-engine-xml>
> >
> > Propchange:
> ofbiz/ofbiz-plugins/trunk/msg91/data/Msg91SecurityPermissionSeedData.xml
> >
> ------------------------------------------------------------------------------
> >      svn:eol-style = native
> >
> > Propchange:
> ofbiz/ofbiz-plugins/trunk/msg91/data/Msg91SecurityPermissionSeedData.xml
> >
> ------------------------------------------------------------------------------
> >      svn:keywords = Date Rev Author URL Id
> >
> > Propchange:
> ofbiz/ofbiz-plugins/trunk/msg91/data/Msg91SecurityPermissionSeedData.xml
> >
> ------------------------------------------------------------------------------
> >      svn:mime-type = text/xml
> >
> > Added: ofbiz/ofbiz-plugins/trunk/msg91/data/helpdata/HELP_Msg91.xml
> > URL:
> http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/msg91/data/helpdata/HELP_Msg91.xml?rev=1856618&view=auto
> >
> ==============================================================================
> > --- ofbiz/ofbiz-plugins/trunk/msg91/data/helpdata/HELP_Msg91.xml (added)
> > +++ ofbiz/ofbiz-plugins/trunk/msg91/data/helpdata/HELP_Msg91.xml Sat Mar
> 30 12:43:46 2019
> > @@ -0,0 +1,29 @@
> > +<?xml version="1.0" encoding="UTF-8"?>
> > +<!--
> > +Licensed to the Apache Software Foundation (ASF) under one
> > +or more contributor license agreements.  See the NOTICE file
> > +distributed with this work for additional information
> > +regarding copyright ownership.  The ASF licenses this file
> > +to you under the Apache License, Version 2.0 (the
> > +"License"); you may not use this file except in compliance
> > +with the License.  You may obtain a copy of the License at
> > +
> > +http://www.apache.org/licenses/LICENSE-2.0
> > +
> > +Unless required by applicable law or agreed to in writing,
> > +software distributed under the License is distributed on an
> > +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
> > +KIND, either express or implied.  See the License for the
> > +specific language governing permissions and limitations
> > +under the License.
> > +-->
> > +
> > +<section xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> version="5.0"
> > +    xmlns:xl="http://www.w3.org/1999/xlink";
> > +    xmlns:xi="http://www.w3.org/2001/XInclude";
> > +    xsi:schemaLocation="http://docbook.org/ns/docbook
> ../../../content/dtd/docbook.xsd"
> > +    xmlns="http://docbook.org/ns/docbook";>
> > +    <title>Msg91  Overview</title>
> > +    <para>The Msg91 Help file template.</para>
> > +</section>
> > +
> >
> > Propchange: ofbiz/ofbiz-plugins/trunk/msg91/data/helpdata/HELP_Msg91.xml
> >
> ------------------------------------------------------------------------------
> >      svn:eol-style = native
> >
> > Propchange: ofbiz/ofbiz-plugins/trunk/msg91/data/helpdata/HELP_Msg91.xml
> >
> ------------------------------------------------------------------------------
> >      svn:keywords = Date Rev Author URL Id
> >
> > Propchange: ofbiz/ofbiz-plugins/trunk/msg91/data/helpdata/HELP_Msg91.xml
> >
> ------------------------------------------------------------------------------
> >      svn:mime-type = text/xml
> >
> > Added: ofbiz/ofbiz-plugins/trunk/msg91/documents/Msg91.xml
> > URL:
> http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/msg91/documents/Msg91.xml?rev=1856618&view=auto
> >
> ==============================================================================
> > --- ofbiz/ofbiz-plugins/trunk/msg91/documents/Msg91.xml (added)
> > +++ ofbiz/ofbiz-plugins/trunk/msg91/documents/Msg91.xml Sat Mar 30
> 12:43:46 2019
> > @@ -0,0 +1,35 @@
> > +<?xml version="1.0"?>
> > +<!--
> > +Licensed to the Apache Software Foundation (ASF) under one
> > +or more contributor license agreements.  See the NOTICE file
> > +distributed with this work for additional information
> > +regarding copyright ownership.  The ASF licenses this file
> > +to you under the Apache License, Version 2.0 (the
> > +"License"); you may not use this file except in compliance
> > +with the License.  You may obtain a copy of the License at
> > +
> > +http://www.apache.org/licenses/LICENSE-2.0
> > +
> > +Unless required by applicable law or agreed to in writing,
> > +software distributed under the License is distributed on an
> > +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
> > +KIND, either express or implied.  See the License for the
> > +specific language governing permissions and limitations
> > +under the License.
> > +-->
> > +
> > +<chapter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> version="5.0"
> > +    xmlns:xl="http://www.w3.org/1999/xlink";
> > +    xmlns:xi="http://www.w3.org/2001/XInclude";
> > +    xsi:schemaLocation="http://docbook.org/ns/docbook
> ../../../applications/content/dtd/docbook.xsd"
> > +    xmlns="http://docbook.org/ns/docbook";>
> > +
> > +    <title><anchor xml:id="Msg91"/>The Msg91 Component</title>
> > +    <section>
> > +        <title>Introduction</title>
> > +        <para>
> > +        </para>
> > +    </section>
> > +        <xi:include href="../data/helpdata/HELP_Msg91.xml" />
> > +
> > +</chapter>
> >
> > Propchange: ofbiz/ofbiz-plugins/trunk/msg91/documents/Msg91.xml
> >
> ------------------------------------------------------------------------------
> >      svn:eol-style = native
> >
> > Propchange: ofbiz/ofbiz-plugins/trunk/msg91/documents/Msg91.xml
> >
> ------------------------------------------------------------------------------
> >      svn:keywords = Date Rev Author URL Id
> >
> > Propchange: ofbiz/ofbiz-plugins/trunk/msg91/documents/Msg91.xml
> >
> ------------------------------------------------------------------------------
> >      svn:mime-type = text/xml
> >
> > Added: ofbiz/ofbiz-plugins/trunk/msg91/entitydef/entitymodel.xml
> > URL:
> http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/msg91/entitydef/entitymodel.xml?rev=1856618&view=auto
> >
> ==============================================================================
> > --- ofbiz/ofbiz-plugins/trunk/msg91/entitydef/entitymodel.xml (added)
> > +++ ofbiz/ofbiz-plugins/trunk/msg91/entitydef/entitymodel.xml Sat Mar 30
> 12:43:46 2019
> > @@ -0,0 +1,45 @@
> > +<?xml version="1.0" encoding="UTF-8"?>
> > +<!--
> > +Licensed to the Apache Software Foundation (ASF) under one
> > +or more contributor license agreements.  See the NOTICE file
> > +distributed with this work for additional information
> > +regarding copyright ownership.  The ASF licenses this file
> > +to you under the Apache License, Version 2.0 (the
> > +"License"); you may not use this file except in compliance
> > +with the License.  You may obtain a copy of the License at
> > +
> > +http://www.apache.org/licenses/LICENSE-2.0
> > +
> > +Unless required by applicable law or agreed to in writing,
> > +software distributed under the License is distributed on an
> > +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
> > +KIND, either express or implied.  See the License for the
> > +specific language governing permissions and limitations
> > +under the License.
> > +-->
> > +
> > +<entitymodel xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> > +    xsi:noNamespaceSchemaLocation="
> http://ofbiz.apache.org/dtds/entitymodel.xsd";>
> > +    <!-- ========================================================= -->
> > +    <!-- ======================== Defaults ======================= -->
> > +    <!-- ========================================================= -->
> > +    <title>Entity of Msg91 Component</title>
> > +    <description>None</description>
> > +    <copyright></copyright>
> > +    <version></version>
> > +
> > +    <entity entity-name="Msg91GatewayConfig"
> > +            package-name="org.apache.ofbiz.msg91.config"
> > +            title="Msg91 Gateway Configuration Settings">
> > +        <field name="telecomGatewayConfigId" type="id"></field>
> > +        <field name="apiUrl" type="long-varchar"></field>
> > +        <field name="country" type="short-varchar"></field>
> > +        <field name="route" type="id-long"></field>
> > +        <field name="authkey" type="long-varchar"></field>
> > +        <field name="sender" type="short-varchar"></field>
> > +        <prim-key field="telecomGatewayConfigId"/>
> > +        <relation type="one" fk-name="MSG_TGC"
> rel-entity-name="TelecomGatewayConfig">
> > +            <key-map field-name="telecomGatewayConfigId"/>
> > +        </relation>
> > +    </entity>
> > +</entitymodel>
> > \ No newline at end of file
> >
> > Propchange: ofbiz/ofbiz-plugins/trunk/msg91/entitydef/entitymodel.xml
> >
> ------------------------------------------------------------------------------
> >      svn:eol-style = native
> >
> > Propchange: ofbiz/ofbiz-plugins/trunk/msg91/entitydef/entitymodel.xml
> >
> ------------------------------------------------------------------------------
> >      svn:keywords = Date Rev Author URL Id
> >
> > Propchange: ofbiz/ofbiz-plugins/trunk/msg91/entitydef/entitymodel.xml
> >
> ------------------------------------------------------------------------------
> >      svn:mime-type = text/xml
> >
> > Added: ofbiz/ofbiz-plugins/trunk/msg91/ofbiz-component.xml
> > URL:
> http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/msg91/ofbiz-component.xml?rev=1856618&view=auto
> >
> ==============================================================================
> > --- ofbiz/ofbiz-plugins/trunk/msg91/ofbiz-component.xml (added)
> > +++ ofbiz/ofbiz-plugins/trunk/msg91/ofbiz-component.xml Sat Mar 30
> 12:43:46 2019
> > @@ -0,0 +1,50 @@
> > +<?xml version="1.0" encoding="UTF-8"?>
> > +<!--
> > +Licensed to the Apache Software Foundation (ASF) under one
> > +or more contributor license agreements.  See the NOTICE file
> > +distributed with this work for additional information
> > +regarding copyright ownership.  The ASF licenses this file
> > +to you under the Apache License, Version 2.0 (the
> > +"License"); you may not use this file except in compliance
> > +with the License.  You may obtain a copy of the License at
> > +
> > +http://www.apache.org/licenses/LICENSE-2.0
> > +
> > +Unless required by applicable law or agreed to in writing,
> > +software distributed under the License is distributed on an
> > +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
> > +KIND, either express or implied.  See the License for the
> > +specific language governing permissions and limitations
> > +under the License.
> > +-->
> > +
> > +<ofbiz-component name="msg91"
> > +        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> > +        xsi:noNamespaceSchemaLocation="
> http://ofbiz.apache.org/dtds/ofbiz-component.xsd";>
> > +    <!-- define resource loaders; most common is to use the component
> resource loader -->
> > +    <resource-loader name="main" type="component"/>
> > +
> > +    <!-- place the config directory on the classpath to access
> configuration files -->
> > +    <classpath type="dir" location="config"/>
> > +    <classpath type="dir" location="dtd"/>
> > +
> > +    <!-- entity resources: model(s), eca(s), group, and data
> definitions -->
> > +    <entity-resource type="model" reader-name="main" loader="main"
> location="entitydef/entitymodel.xml"/>
> > +    <!-- <entity-resource type="eca" reader-name="main" loader="main"
> location="entitydef/eecas.xml"/> -->
> > +    <entity-resource type="data" reader-name="seed" loader="main"
> location="data/Msg91SecurityPermissionSeedData.xml"/>
> > +    <entity-resource type="data" reader-name="demo" loader="main"
> location="data/Msg91SecurityGroupDemoData.xml"/>
> > +    <entity-resource type="data" reader-name="demo" loader="main"
> location="data/Msg91DemoData.xml"/>
> > +
> > +    <!-- service resources: model(s), eca(s) and group definitions -->
> > +    <service-resource type="model" loader="main"
> location="servicedef/services.xml"/>
> > +
> > +    <test-suite loader="main" location="testdef/Msg91Tests.xml"/>
> > +
> > +    <!-- web applications; will be mounted when using the embedded
> container -->
> > +    <webapp name="msg91"
> > +        title="Msg91"
> > +        server="default-server"
> > +        location="webapp/msg91"
> > +        base-permission="OFBTOOLS,MSG91"
> > +        mount-point="/msg91"/>
> > +</ofbiz-component>
> >
> > Propchange: ofbiz/ofbiz-plugins/trunk/msg91/ofbiz-component.xml
> >
> ------------------------------------------------------------------------------
> >      svn:eol-style = native
> >
> > Propchange: ofbiz/ofbiz-plugins/trunk/msg91/ofbiz-component.xml
> >
> ------------------------------------------------------------------------------
> >      svn:keywords = Date Rev Author URL Id
> >
> > Propchange: ofbiz/ofbiz-plugins/trunk/msg91/ofbiz-component.xml
> >
> ------------------------------------------------------------------------------
> >      svn:mime-type = text/xml
> >
> > Added: ofbiz/ofbiz-plugins/trunk/msg91/servicedef/services.xml
> > URL:
> http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/msg91/servicedef/services.xml?rev=1856618&view=auto
> >
> ==============================================================================
> > --- ofbiz/ofbiz-plugins/trunk/msg91/servicedef/services.xml (added)
> > +++ ofbiz/ofbiz-plugins/trunk/msg91/servicedef/services.xml Sat Mar 30
> 12:43:46 2019
> > @@ -0,0 +1,32 @@
> > +<?xml version="1.0" encoding="UTF-8"?>
> > +<!--
> > +Licensed to the Apache Software Foundation (ASF) under one
> > +or more contributor license agreements.  See the NOTICE file
> > +distributed with this work for additional information
> > +regarding copyright ownership.  The ASF licenses this file
> > +to you under the Apache License, Version 2.0 (the
> > +"License"); you may not use this file except in compliance
> > +with the License.  You may obtain a copy of the License at
> > +
> > +http://www.apache.org/licenses/LICENSE-2.0
> > +
> > +Unless required by applicable law or agreed to in writing,
> > +software distributed under the License is distributed on an
> > +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
> > +KIND, either express or implied.  See the License for the
> > +specific language governing permissions and limitations
> > +under the License.
> > +-->
> > +
> > +<services xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> > +        xsi:noNamespaceSchemaLocation="
> http://ofbiz.apache.org/dtds/services.xsd";>
> > +    <description>Msg91 Services</description>
> > +    <vendor></vendor>
> > +    <version>1.0</version>
> > +
> > +    <service name="sendMsg91Sms" engine="java"
> location="org.apache.ofbiz.msg91.Msg91Services" invoke="sendMsg91Sms">
> > +        <description>Custom Service to Send SMS using Msg91
> Gateway</description>
> > +        <implements service="sendTelecomMessageInterface"/>
> > +    </service>
> > +
> > +</services>
> > \ No newline at end of file
> >
> > Propchange: ofbiz/ofbiz-plugins/trunk/msg91/servicedef/services.xml
> >
> ------------------------------------------------------------------------------
> >      svn:eol-style = native
> >
> > Propchange: ofbiz/ofbiz-plugins/trunk/msg91/servicedef/services.xml
> >
> ------------------------------------------------------------------------------
> >      svn:keywords = Date Rev Author URL Id
> >
> > Propchange: ofbiz/ofbiz-plugins/trunk/msg91/servicedef/services.xml
> >
> ------------------------------------------------------------------------------
> >      svn:mime-type = text/xml
> >
> > Added:
> ofbiz/ofbiz-plugins/trunk/msg91/src/main/java/org/apache/ofbiz/msg91/Msg91Services.java
> > URL:
> http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/msg91/src/main/java/org/apache/ofbiz/msg91/Msg91Services.java?rev=1856618&view=auto
> >
> ==============================================================================
> > ---
> ofbiz/ofbiz-plugins/trunk/msg91/src/main/java/org/apache/ofbiz/msg91/Msg91Services.java
> (added)
> > +++
> ofbiz/ofbiz-plugins/trunk/msg91/src/main/java/org/apache/ofbiz/msg91/Msg91Services.java
> Sat Mar 30 12:43:46 2019
> > @@ -0,0 +1,54 @@
> > +package org.apache.ofbiz.msg91;
> > +
> > +import org.apache.ofbiz.base.util.Debug;
> > +import org.apache.ofbiz.base.util.HttpClient;
> > +import org.apache.ofbiz.base.util.HttpClientException;
> > +import org.apache.ofbiz.base.util.UtilGenerics;
> > +import org.apache.ofbiz.entity.Delegator;
> > +import org.apache.ofbiz.entity.GenericEntityException;
> > +import org.apache.ofbiz.entity.GenericValue;
> > +import org.apache.ofbiz.entity.util.EntityQuery;
> > +import org.apache.ofbiz.service.DispatchContext;
> > +import org.apache.ofbiz.service.LocalDispatcher;
> > +import org.apache.ofbiz.service.ServiceUtil;
> > +
> > +import java.util.HashMap;
> > +import java.util.List;
> > +import java.util.Map;
> > +
> > +public class Msg91Services {
> > +    public final static String module = Msg91Services.class.getName();
> > +
> > +    public static Map<String, Object> sendMsg91Sms(DispatchContext ctx,
> Map<String, ? extends Object> context) {
> > +        Delegator delegator = ctx.getDelegator();
> > +        Map<String, Object> result = ServiceUtil.returnSuccess();
> > +
> > +        List<String> numbers =
> UtilGenerics.checkList(context.get("numbers"));
> > +        String message = (String) context.get("message");
> > +
> > +        try {
> > +            GenericValue msg91GatewayConfig =
> EntityQuery.use(delegator).from("Msg91GatewayConfig").queryFirst();
> > +            if (msg91GatewayConfig != null) {
> > +                Map<String, Object> paramMap = new HashMap<String,
> Object>();
> > +                paramMap.put("country",
> msg91GatewayConfig.getString("country"));
> > +                paramMap.put("sender",
> msg91GatewayConfig.getString("sender"));
> > +                paramMap.put("route",
> msg91GatewayConfig.getString("route"));
> > +                paramMap.put("mobiles", numbers);
> > +                paramMap.put("message", message);
> > +                paramMap.put("authkey",
> msg91GatewayConfig.getString("authkey"));
> > +
> > +                HttpClient httpClient = new
> HttpClient(msg91GatewayConfig.getString("apiUrl"), paramMap);
> > +                httpClient.setHeader("content-type",
> "application/text");
> > +                String response = httpClient.get();
> > +                result.put("response", response);
> > +            } else {
> > +                Debug.logError("Message not sent as the telecom gateway
> configuration settings are not found", module);
> > +                return ServiceUtil.returnError("Message not sent as the
> telecom gateway configuration settings are not found");
> > +            }
> > +        } catch (GenericEntityException | HttpClientException e) {
> > +            Debug.logError(e.getMessage(), module);
> > +            return ServiceUtil.returnError(e.getMessage());
> > +        }
> > +        return result;
> > +    }
> > +}
> >
> > Propchange:
> ofbiz/ofbiz-plugins/trunk/msg91/src/main/java/org/apache/ofbiz/msg91/Msg91Services.java
> >
> ------------------------------------------------------------------------------
> >      svn:eol-style = native
> >
> > Propchange:
> ofbiz/ofbiz-plugins/trunk/msg91/src/main/java/org/apache/ofbiz/msg91/Msg91Services.java
> >
> ------------------------------------------------------------------------------
> >      svn:keywords = Date Rev Author URL Id
> >
> > Propchange:
> ofbiz/ofbiz-plugins/trunk/msg91/src/main/java/org/apache/ofbiz/msg91/Msg91Services.java
> >
> ------------------------------------------------------------------------------
> >      svn:mime-type = text/plain
> >
> > Added:
> ofbiz/ofbiz-plugins/trunk/msg91/webapp/msg91/WEB-INF/controller.xml
> > URL:
> http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/msg91/webapp/msg91/WEB-INF/controller.xml?rev=1856618&view=auto
> >
> ==============================================================================
> > --- ofbiz/ofbiz-plugins/trunk/msg91/webapp/msg91/WEB-INF/controller.xml
> (added)
> > +++ ofbiz/ofbiz-plugins/trunk/msg91/webapp/msg91/WEB-INF/controller.xml
> Sat Mar 30 12:43:46 2019
> > @@ -0,0 +1,47 @@
> > +<?xml version="1.0" encoding="UTF-8"?>
> > +<!--
> > +Licensed to the Apache Software Foundation (ASF) under one
> > +or more contributor license agreements.  See the NOTICE file
> > +distributed with this work for additional information
> > +regarding copyright ownership.  The ASF licenses this file
> > +to you under the Apache License, Version 2.0 (the
> > +"License"); you may not use this file except in compliance
> > +with the License.  You may obtain a copy of the License at
> > +
> > +http://www.apache.org/licenses/LICENSE-2.0
> > +
> > +Unless required by applicable law or agreed to in writing,
> > +software distributed under the License is distributed on an
> > +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
> > +KIND, either express or implied.  See the License for the
> > +specific language governing permissions and limitations
> > +under the License.
> > +-->
> > +
> > +<site-conf xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> > +        xmlns="http://ofbiz.apache.org/Site-Conf"; xsi:schemaLocation="
> http://ofbiz.apache.org/Site-Conf
> http://ofbiz.apache.org/dtds/site-conf.xsd";>
> > +    <!-- The controller elements that are common to all OFBiz components
> > +         can be found in the following xml file. A component can
> override the
> > +         elements found in the common-controller.xml file. -->
> > +    <include
> location="component://common/webcommon/WEB-INF/common-controller.xml"/>
> > +
> > +    <description>Msg91 Component Site Configuration File</description>
> > +
> > +    <!-- Events to run on every request before security (chains exempt)
> -->
> > +    <!--
> > +    <preprocessor>
> > +    </preprocessor>
> > +    -->
> > +    <!-- Events to run on every request after all other processing
> (chains exempt) -->
> > +    <!--
> > +    <postprocessor>
> > +        <event name="test" type="java"
> path="org.apache.ofbiz.webapp.event.TestEvent" invoke="test"/>
> > +    </postprocessor>
> > +    -->
> > +
> > +    <!-- Request Mappings -->
> > +    <request-map uri="main"><security https="true"
> auth="true"/><response name="success" type="view"
> value="main"/></request-map>
> > +
> > +    <!-- View Mappings -->
> > +    <view-map name="main" type="screen"
> page="component://msg91/widget/Msg91Screens.xml#main"/>
> > +</site-conf>
> > \ No newline at end of file
> >
> > Propchange:
> ofbiz/ofbiz-plugins/trunk/msg91/webapp/msg91/WEB-INF/controller.xml
> >
> ------------------------------------------------------------------------------
> >      svn:eol-style = native
> >
> > Propchange:
> ofbiz/ofbiz-plugins/trunk/msg91/webapp/msg91/WEB-INF/controller.xml
> >
> ------------------------------------------------------------------------------
> >      svn:keywords = Date Rev Author URL Id
> >
> > Propchange:
> ofbiz/ofbiz-plugins/trunk/msg91/webapp/msg91/WEB-INF/controller.xml
> >
> ------------------------------------------------------------------------------
> >      svn:mime-type = text/xml
> >
> > Added: ofbiz/ofbiz-plugins/trunk/msg91/webapp/msg91/WEB-INF/web.xml
> > URL:
> http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/msg91/webapp/msg91/WEB-INF/web.xml?rev=1856618&view=auto
> >
> ==============================================================================
> > --- ofbiz/ofbiz-plugins/trunk/msg91/webapp/msg91/WEB-INF/web.xml (added)
> > +++ ofbiz/ofbiz-plugins/trunk/msg91/webapp/msg91/WEB-INF/web.xml Sat Mar
> 30 12:43:46 2019
> > @@ -0,0 +1,86 @@
> > +<?xml version="1.0" encoding="UTF-8"?>
> > +<!--
> > +Licensed to the Apache Software Foundation (ASF) under one
> > +or more contributor license agreements.  See the NOTICE file
> > +distributed with this work for additional information
> > +regarding copyright ownership.  The ASF licenses this file
> > +to you under the Apache License, Version 2.0 (the
> > +"License"); you may not use this file except in compliance
> > +with the License.  You may obtain a copy of the License at
> > +
> > +http://www.apache.org/licenses/LICENSE-2.0
> > +
> > +Unless required by applicable law or agreed to in writing,
> > +software distributed under the License is distributed on an
> > +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
> > +KIND, either express or implied.  See the License for the
> > +specific language governing permissions and limitations
> > +under the License.
> > +-->
> > +
> > +<web-app version="3.0">
> > +    <display-name>Apache OFBiz - Msg91 Component</display-name>
> > +    <description>Msg91 Component of the Apache OFBiz
> Project</description>
> > +
> > +    <!-- context-param>
> > +        <param-name>webSiteId</param-name>
> > +        <param-value>msg91Site</param-value>
> > +        <description>A unique ID used to look up the WebSite entity.
> Only for component using a WebSite entity, like ecommerce</description>
> > +    </context-param-->
> > +    <context-param>
> > +        <description>A unique name used to identify/recognize the local
> dispatcher for the Service Engine</description>
> > +
> <param-name>localDispatcherName</param-name><param-value>msg91</param-value>
> > +    </context-param>
> > +    <context-param>
> > +        <description>The Name of the Entity Delegator to use, defined
> in entityengine.xml</description>
> > +
> <param-name>entityDelegatorName</param-name><param-value>default</param-value>
> > +    </context-param>
> > +    <context-param>
> > +        <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>
> > +        <param-name>mainDecoratorLocation</param-name>
> > +
> <param-value>component://msg91/widget/CommonScreens.xml</param-value>
> > +    </context-param>
> > +    <context-param>
> > +        <description>Remove unnecessary whitespace from HTML
> output.</description>
> > +        <param-name>compressHTML</param-name>
> > +        <param-value>false</param-value>
> > +    </context-param>
> > +
> > +    <filter>
> > +        <display-name>ControlFilter</display-name>
> > +        <filter-name>ControlFilter</filter-name>
> > +
> <filter-class>org.apache.ofbiz.webapp.control.ControlFilter</filter-class>
> > +        <init-param>
> > +            <param-name>allowedPaths</param-name>
> > +
> <param-value>/error:/control:/select:/index.html:/index.jsp:/default.html:/default.jsp:/images</param-value>
> > +        </init-param>
> > +
> <init-param><param-name>redirectPath</param-name><param-value>/control/main</param-value></init-param>
> > +    </filter>
> > +    <filter>
> > +        <display-name>ContextFilter</display-name>
> > +        <filter-name>ContextFilter</filter-name>
> > +
> <filter-class>org.apache.ofbiz.webapp.control.ContextFilter</filter-class>
> > +    </filter>
> > +
> <filter-mapping><filter-name>ControlFilter</filter-name><url-pattern>/*</url-pattern></filter-mapping>
> > +
> <filter-mapping><filter-name>ContextFilter</filter-name><url-pattern>/*</url-pattern></filter-mapping>
> > +
> > +
> <listener><listener-class>org.apache.ofbiz.webapp.control.ControlEventListener</listener-class></listener>
> > +
> <listener><listener-class>org.apache.ofbiz.webapp.control.LoginEventListener</listener-class></listener>
> > +    <!-- NOTE: not all app servers support mounting implementations of
> the HttpSessionActivationListener interface -->
> > +    <!--
> <listener><listener-class>org.apache.ofbiz.webapp.control.ControlActivationEventListener</listener-class></listener>
> -->
> > +
> > +    <servlet>
> > +        <description>Main Control Servlet</description>
> > +        <display-name>ControlServlet</display-name>
> > +        <servlet-name>ControlServlet</servlet-name>
> > +
> <servlet-class>org.apache.ofbiz.webapp.control.ControlServlet</servlet-class>
> > +        <load-on-startup>1</load-on-startup>
> > +    </servlet>
> > +
> <servlet-mapping><servlet-name>ControlServlet</servlet-name><url-pattern>/control/*</url-pattern></servlet-mapping>
> > +
> > +    <welcome-file-list>
> > +        <welcome-file>index.jsp</welcome-file>
> > +        <welcome-file>index.html</welcome-file>
> > +        <welcome-file>index.htm</welcome-file>
> > +    </welcome-file-list>
> > +</web-app>
> >
> > Propchange: ofbiz/ofbiz-plugins/trunk/msg91/webapp/msg91/WEB-INF/web.xml
> >
> ------------------------------------------------------------------------------
> >      svn:eol-style = native
> >
> > Propchange: ofbiz/ofbiz-plugins/trunk/msg91/webapp/msg91/WEB-INF/web.xml
> >
> ------------------------------------------------------------------------------
> >      svn:keywords = Date Rev Author URL Id
> >
> > Propchange: ofbiz/ofbiz-plugins/trunk/msg91/webapp/msg91/WEB-INF/web.xml
> >
> ------------------------------------------------------------------------------
> >      svn:mime-type = text/xml
> >
> > Added: ofbiz/ofbiz-plugins/trunk/msg91/webapp/msg91/error/error.jsp
> > URL:
> http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/msg91/webapp/msg91/error/error.jsp?rev=1856618&view=auto
> >
> ==============================================================================
> > --- ofbiz/ofbiz-plugins/trunk/msg91/webapp/msg91/error/error.jsp (added)
> > +++ ofbiz/ofbiz-plugins/trunk/msg91/webapp/msg91/error/error.jsp Sat Mar
> 30 12:43:46 2019
> > @@ -0,0 +1,53 @@
> > +<%--
> > +Licensed to the Apache Software Foundation (ASF) under one
> > +or more contributor license agreements.  See the NOTICE file
> > +distributed with this work for additional information
> > +regarding copyright ownership.  The ASF licenses this file
> > +to you under the Apache License, Version 2.0 (the
> > +"License"); you may not use this file except in compliance
> > +with the License.  You may obtain a copy of the License at
> > +
> > +http://www.apache.org/licenses/LICENSE-2.0
> > +
> > +Unless required by applicable law or agreed to in writing,
> > +software distributed under the License is distributed on an
> > +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
> > +KIND, either express or implied.  See the License for the
> > +specific language governing permissions and limitations
> > +under the License.
> > +--%>
> > +
> > +<%@ page import="org.apache.ofbiz.base.util.*" %>
> > +<html>
> > +<head>
> > +<title>OFBiz Message</title>
> > +<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
> > +</head>
> > +
> > +<% String errorMsg = (String) request.getAttribute("_ERROR_MESSAGE_");
> %>
> > +
> > +<body bgcolor="#FFFFFF">
> > +<div align="center">
> > +  <br/>
> > +  <table width="100%" border="1" height="200">
> > +    <tr>
> > +      <td>
> > +        <table width="100%" border="0" height="200">
> > +          <tr bgcolor="#CC6666">
> > +            <td height="45">
> > +              <div align="center"><font face="Verdana, Arial,
> Helvetica, sans-serif" size="4" color="#FFFFFF"><b>:ERROR
> MESSAGE:</b></font></div>
> > +            </td>
> > +          </tr>
> > +          <tr>
> > +            <td>
> > +              <div align="left"><font face="Verdana, Arial, Helvetica,
> sans-serif" size="2"><%=UtilFormatOut.replaceString(errorMsg, "\n",
> "<br/>")%></font></div>
> > +            </td>
> > +          </tr>
> > +        </table>
> > +      </td>
> > +    </tr>
> > +  </table>
> > +</div>
> > +<div align="center"></div>
> > +</body>
> > +</html>
> > \ No newline at end of file
> >
> > Propchange: ofbiz/ofbiz-plugins/trunk/msg91/webapp/msg91/error/error.jsp
> >
> ------------------------------------------------------------------------------
> >      svn:eol-style = native
> >
> > Propchange: ofbiz/ofbiz-plugins/trunk/msg91/webapp/msg91/error/error.jsp
> >
> ------------------------------------------------------------------------------
> >      svn:keywords = Date Rev Author URL Id
> >
> > Propchange: ofbiz/ofbiz-plugins/trunk/msg91/webapp/msg91/error/error.jsp
> >
> ------------------------------------------------------------------------------
> >      svn:mime-type = text/plain
> >
> > Added: ofbiz/ofbiz-plugins/trunk/msg91/webapp/msg91/index.jsp
> > URL:
> http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/msg91/webapp/msg91/index.jsp?rev=1856618&view=auto
> >
> ==============================================================================
> > --- ofbiz/ofbiz-plugins/trunk/msg91/webapp/msg91/index.jsp (added)
> > +++ ofbiz/ofbiz-plugins/trunk/msg91/webapp/msg91/index.jsp Sat Mar 30
> 12:43:46 2019
> > @@ -0,0 +1,20 @@
> > +<%--
> > +Licensed to the Apache Software Foundation (ASF) under one
> > +or more contributor license agreements.  See the NOTICE file
> > +distributed with this work for additional information
> > +regarding copyright ownership.  The ASF licenses this file
> > +to you under the Apache License, Version 2.0 (the
> > +"License"); you may not use this file except in compliance
> > +with the License.  You may obtain a copy of the License at
> > +
> > +http://www.apache.org/licenses/LICENSE-2.0
> > +
> > +Unless required by applicable law or agreed to in writing,
> > +software distributed under the License is distributed on an
> > +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
> > +KIND, either express or implied.  See the License for the
> > +specific language governing permissions and limitations
> > +under the License.
> > +--%>
> > +
> > +<%response.sendRedirect("control/main");%>
> > \ No newline at end of file
> >
> > Propchange: ofbiz/ofbiz-plugins/trunk/msg91/webapp/msg91/index.jsp
> >
> ------------------------------------------------------------------------------
> >      svn:eol-style = native
> >
> > Propchange: ofbiz/ofbiz-plugins/trunk/msg91/webapp/msg91/index.jsp
> >
> ------------------------------------------------------------------------------
> >      svn:keywords = Date Rev Author URL Id
> >
> > Propchange: ofbiz/ofbiz-plugins/trunk/msg91/webapp/msg91/index.jsp
> >
> ------------------------------------------------------------------------------
> >      svn:mime-type = text/plain
> >
> > Added: ofbiz/ofbiz-plugins/trunk/msg91/widget/CommonScreens.xml
> > URL:
> http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/msg91/widget/CommonScreens.xml?rev=1856618&view=auto
> >
> ==============================================================================
> > --- ofbiz/ofbiz-plugins/trunk/msg91/widget/CommonScreens.xml (added)
> > +++ ofbiz/ofbiz-plugins/trunk/msg91/widget/CommonScreens.xml Sat Mar 30
> 12:43:46 2019
> > @@ -0,0 +1,67 @@
> > +<?xml version="1.0" encoding="UTF-8"?>
> > +<!--
> > +Licensed to the Apache Software Foundation (ASF) under one
> > +or more contributor license agreements.  See the NOTICE file
> > +distributed with this work for additional information
> > +regarding copyright ownership.  The ASF licenses this file
> > +to you under the Apache License, Version 2.0 (the
> > +"License"); you may not use this file except in compliance
> > +with the License.  You may obtain a copy of the License at
> > +
> > +http://www.apache.org/licenses/LICENSE-2.0
> > +
> > +Unless required by applicable law or agreed to in writing,
> > +software distributed under the License is distributed on an
> > +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
> > +KIND, either express or implied.  See the License for the
> > +specific language governing permissions and limitations
> > +under the License.
> > +-->
> > +
> > +<screens xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> > +        xmlns="http://ofbiz.apache.org/Widget-Screen";
> xsi:schemaLocation="http://ofbiz.apache.org/Widget-Screen
> http://ofbiz.apache.org/dtds/widget-screen.xsd";>
> > +
> > +    <screen name="main-decorator">
> > +        <section>
> > +            <actions>
> > +                <property-map resource="Msg91UiLabels"
> map-name="uiLabelMap" global="true"/>
> > +                <property-map resource="CommonUiLabels"
> map-name="uiLabelMap" global="true"/>
> > +
> > +                <set field="layoutSettings.companyName"
> from-field="uiLabelMap.Msg91CompanyName" global="true"/>
> > +                <set field="layoutSettings.companySubtitle"
> from-field="uiLabelMap.Msg91CompanySubtitle" global="true"/>
> > +
> > +                <set field="activeApp" value="msg91" global="true"/>
> > +                <set field="applicationMenuName" value="MainAppBar"
> global="true"/>
> > +                <set field="applicationMenuLocation"
> value="component://msg91/widget/Msg91Menus.xml" global="true"/>
> > +                <set field="applicationTitle"
> from-field="uiLabelMap.Msg91Application" global="true"/>
> > +            </actions>
> > +            <widgets>
> > +                <include-screen name="GlobalDecorator"
> location="component://common/widget/CommonScreens.xml"/>
> > +            </widgets>
> > +        </section>
> > +    </screen>
> > +
> > +    <screen name="Msg91CommonDecorator">
> > +        <section>
> > +            <actions>
> > +            </actions>
> > +            <widgets>
> > +                <decorator-screen name="main-decorator"
> location="${parameters.mainDecoratorLocation}">
> > +                    <decorator-section name="body">
> > +                        <section>
> > +                            <condition>
> > +                                <if-has-permission permission="MSG91"
> action="_VIEW"/>
> > +                            </condition>
> > +                            <widgets>
> > +                                <decorator-section-include name="body"/>
> > +                            </widgets>
> > +                            <fail-widgets>
> > +                                <label
> style="h3">${uiLabelMap.Msg91ViewPermissionError}</label>
> > +                            </fail-widgets>
> > +                        </section>
> > +                    </decorator-section>
> > +                </decorator-screen>
> > +            </widgets>
> > +        </section>
> > +    </screen>
> > +</screens>
> > \ No newline at end of file
> >
> > Propchange: ofbiz/ofbiz-plugins/trunk/msg91/widget/CommonScreens.xml
> >
> ------------------------------------------------------------------------------
> >      svn:eol-style = native
> >
> > Propchange: ofbiz/ofbiz-plugins/trunk/msg91/widget/CommonScreens.xml
> >
> ------------------------------------------------------------------------------
> >      svn:keywords = Date Rev Author URL Id
> >
> > Propchange: ofbiz/ofbiz-plugins/trunk/msg91/widget/CommonScreens.xml
> >
> ------------------------------------------------------------------------------
> >      svn:mime-type = text/xml
> >
> > Added: ofbiz/ofbiz-plugins/trunk/msg91/widget/Msg91Menus.xml
> > URL:
> http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/msg91/widget/Msg91Menus.xml?rev=1856618&view=auto
> >
> ==============================================================================
> > --- ofbiz/ofbiz-plugins/trunk/msg91/widget/Msg91Menus.xml (added)
> > +++ ofbiz/ofbiz-plugins/trunk/msg91/widget/Msg91Menus.xml Sat Mar 30
> 12:43:46 2019
> > @@ -0,0 +1,25 @@
> > +<?xml version="1.0" encoding="UTF-8"?>
> > +<!--
> > +Licensed to the Apache Software Foundation (ASF) under one
> > +or more contributor license agreements.  See the NOTICE file
> > +distributed with this work for additional information
> > +regarding copyright ownership.  The ASF licenses this file
> > +to you under the Apache License, Version 2.0 (the
> > +"License"); you may not use this file except in compliance
> > +with the License.  You may obtain a copy of the License at
> > +
> > +http://www.apache.org/licenses/LICENSE-2.0
> > +
> > +Unless required by applicable law or agreed to in writing,
> > +software distributed under the License is distributed on an
> > +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
> > +KIND, either express or implied.  See the License for the
> > +specific language governing permissions and limitations
> > +under the License.
> > +-->
> > +
> > +<menus xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xmlns="
> http://ofbiz.apache.org/Widget-Menu"; xsi:schemaLocation="
> http://ofbiz.apache.org/Widget-Menu
> http://ofbiz.apache.org/dtds/widget-menu.xsd";>
> > +    <menu name="MainAppBar" title="${uiLabelMap.Msg91Application}"
> extends="CommonAppBarMenu"
> extends-resource="component://common/widget/CommonMenus.xml">
> > +        <menu-item name="main" title="${uiLabelMap.CommonMain}"><link
> target="main"/></menu-item>
> > +    </menu>
> > +</menus>
> > \ No newline at end of file
> >
> > Propchange: ofbiz/ofbiz-plugins/trunk/msg91/widget/Msg91Menus.xml
> >
> ------------------------------------------------------------------------------
> >      svn:eol-style = native
> >
> > Propchange: ofbiz/ofbiz-plugins/trunk/msg91/widget/Msg91Menus.xml
> >
> ------------------------------------------------------------------------------
> >      svn:keywords = Date Rev Author URL Id
> >
> > Propchange: ofbiz/ofbiz-plugins/trunk/msg91/widget/Msg91Menus.xml
> >
> ------------------------------------------------------------------------------
> >      svn:mime-type = text/xml
> >
> > Added: ofbiz/ofbiz-plugins/trunk/msg91/widget/Msg91Screens.xml
> > URL:
> http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/msg91/widget/Msg91Screens.xml?rev=1856618&view=auto
> >
> ==============================================================================
> > --- ofbiz/ofbiz-plugins/trunk/msg91/widget/Msg91Screens.xml (added)
> > +++ ofbiz/ofbiz-plugins/trunk/msg91/widget/Msg91Screens.xml Sat Mar 30
> 12:43:46 2019
> > @@ -0,0 +1,38 @@
> > +<?xml version="1.0" encoding="UTF-8"?>
> > +<!--
> > +Licensed to the Apache Software Foundation (ASF) under one
> > +or more contributor license agreements.  See the NOTICE file
> > +distributed with this work for additional information
> > +regarding copyright ownership.  The ASF licenses this file
> > +to you under the Apache License, Version 2.0 (the
> > +"License"); you may not use this file except in compliance
> > +with the License.  You may obtain a copy of the License at
> > +
> > +http://www.apache.org/licenses/LICENSE-2.0
> > +
> > +Unless required by applicable law or agreed to in writing,
> > +software distributed under the License is distributed on an
> > +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
> > +KIND, either express or implied.  See the License for the
> > +specific language governing permissions and limitations
> > +under the License.
> > +-->
> > +
> > +<screens xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> > +        xmlns="http://ofbiz.apache.org/Widget-Screen";
> xsi:schemaLocation="http://ofbiz.apache.org/Widget-Screen
> http://ofbiz.apache.org/dtds/widget-screen.xsd";>
> > +
> > +    <screen name="main">
> > +        <section>
> > +            <actions>
> > +                <set field="headerItem" value="main"/><!-- this
> highlights the selected menu-item with name "main" -->
> > +            </actions>
> > +            <widgets>
> > +                <decorator-screen name="Msg91CommonDecorator"
> location="${parameters.mainDecoratorLocation}">
> > +                    <decorator-section name="body">
> > +                    </decorator-section>
> > +                </decorator-screen>
> > +            </widgets>
> > +        </section>
> > +    </screen>
> > +
> > +</screens>
> > \ No newline at end of file
> >
> > Propchange: ofbiz/ofbiz-plugins/trunk/msg91/widget/Msg91Screens.xml
> >
> ------------------------------------------------------------------------------
> >      svn:eol-style = native
> >
> > Propchange: ofbiz/ofbiz-plugins/trunk/msg91/widget/Msg91Screens.xml
> >
> ------------------------------------------------------------------------------
> >      svn:keywords = Date Rev Author URL Id
> >
> > Propchange: ofbiz/ofbiz-plugins/trunk/msg91/widget/Msg91Screens.xml
> >
> ------------------------------------------------------------------------------
> >      svn:mime-type = text/xml
> >
> >
> >
>

Reply via email to