Hi,
When I create a new shopping list , every time i click on create new button it creates a new shopping list with same name....How can I avoid creating shopping list with same name??... I need, whenever I click on create new , a unique shopping list name is inserted into the database. Please help...How to do it?? Thanks in advance...
RRH
|
This post was updated on .
CONTENTS DELETED
The author has deleted this message.
RRH
|
Hi,
The name "New Shopping List" is default name and it is set in "createShoppingList" service in ShoppingListServices.xml check <property-to-field field="newEntity.listName" resource="OrderUiLabels" property="OrderNewShoppingList" default="New Shopping List"/> here you see that the value is coming from orderUiLabels.xml if you want to avoid it or want to give your choice name , then just remove the resource & property attribute from the above & set the value you want in the default="abc" attribute. And please ask these types of questions on user mailing list. -- Thanks& Regards: Ankit Jain Enterprise Software Developer Hotwax Media Pvt. Ltd. www.hotwaxmedia.com On Tuesday 08 June 2010 10:43 AM, rrhati2010 wrote: > Hi, > > When I create a new shopping list , every time i click on create new button > it creates a new shopping list with same name....How can I avoid creating > shopping list with same name??... > > Please help. > > ----- > RRH > |
Hi Ankit, Thanks for the solution. Even if I change the default value, I didn't get a unique Shopping list name inserted into the database on clicking Create new button. I need, whenever I click on create new , a unique shopping list name is inserted into the database. Please help...How to do it?? Thanks in advance... RRH =====-----=====-----=====
RRH
|
In reply to this post by rrhati2010
please specify the version of ofbiz
and a link would help rrhati2010 sent the following on 6/8/2010 9:32 PM: ========================= BJ Freeman http://bjfreeman.elance.com Strategic Power Office with Supplier Automation <http://www.businessesnetwork.com/automation/viewforum.php?f=52> Specialtymarket.com <http://www.specialtymarket.com/> Systems Integrator-- Glad to Assist Chat Y! messenger: bjfr33man <http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro> > > Hi, > > When I create a new shopping list , every time i click on create new button > it creates a new shopping list with same name....How can I avoid creating > shopping list with same name??... > > I need, whenever I click on create new , a unique shopping list name is > inserted into the database. > > Please help...How to do it?? Thanks in advance... > > > ----- > RRH |
In reply to this post by rrhati2010
Hi,
This is default shopping list name when you create a new shopping list. If you want to create shopping list with different name you have to pass one parameter for listname from ui. Thanks & Regards -- Chandan Khandelwal rrhati2010 wrote: > Hi, > > When I create a new shopping list , every time i click on create new button > it creates a new shopping list with same name....How can I avoid creating > shopping list with same name??... > > I need, whenever I click on create new , a unique shopping list name is > inserted into the database. > > Please help...How to do it?? Thanks in advance... > > > ----- > RRH > |
In reply to this post by BJ Freeman
Ofbiz version: ofbiz-release-9.04-stable Links: http://demo-stable.ofbiz.apache.org:8080/ecommerce/control/createEmptyShoppingList?productStoreId=9000 I have clicked on Create new shopping list three times and it created three empty shopping lists in same name..... I need those shopping list names unique one... Regards, RRH =====-----=====-----===== shoppinglist.JPG (212K) Download Attachment
RRH
|
In reply to this post by chandan khandelwal-2
How can I do that....
How to pass a text box value to the minilang simple method???
RRH
|
Hi,
Create your own form and pass input field with name listname and also pass productStoreId <form action="createEmptyShoppingList" > <input .......name="listname" /> </form> and call the service createShoppingList on submit the form HTH Regards -- Chandan Khandelwal rrhati2010 wrote: > How can I do that.... > > How to pass a text box value to the minilang simple method??? > > ----- > RRH > |
Free forum by Nabble | Edit this page |