Hi,
Can we set the value of parameter from javascript to groovy? -- Thanks & Regards Deepa |
If I am getting you right, you want to get the http parameter to groovy,
then groovy gives you access to request object, request.getParameter("YOUR_PARAMETER") should work On Sat, Nov 7, 2009 at 4:19 PM, Deepa Mandal <[hidden email]>wrote: > Hi, > Can we set the value of parameter from javascript to groovy? > > -- > Thanks & Regards > Deepa > |
Hi Abdul,
Actually i want to set the parameter from JavaScript to groovy. On Sat, Nov 7, 2009 at 4:57 PM, Abdullah Shaikh < [hidden email]> wrote: > If I am getting you right, you want to get the http parameter to groovy, > then groovy gives you access to request object, > request.getParameter("YOUR_PARAMETER") should work > > On Sat, Nov 7, 2009 at 4:19 PM, Deepa Mandal <[hidden email] > >wrote: > > > Hi, > > Can we set the value of parameter from javascript to groovy? > > > > -- > > Thanks & Regards > > Deepa > > > -- Thanks & Regards Deepa |
hmm .. I don't know what you are looking for, anyway's I will give a try ..
I guess the parameter you want in groovy in is javascript, don't know how it got there :), what you can do is set that parameter to a hidden field from javascript and then access it in groovy from the request object. I hope this help .... On Sat, Nov 7, 2009 at 5:15 PM, Deepa Mandal <[hidden email]>wrote: > Hi Abdul, > > Actually i want to set the parameter from JavaScript to groovy. > > > On Sat, Nov 7, 2009 at 4:57 PM, Abdullah Shaikh < > [hidden email]> wrote: > > > If I am getting you right, you want to get the http parameter to groovy, > > then groovy gives you access to request object, > > request.getParameter("YOUR_PARAMETER") should work > > > > On Sat, Nov 7, 2009 at 4:19 PM, Deepa Mandal <[hidden email] > > >wrote: > > > > > Hi, > > > Can we set the value of parameter from javascript to groovy? > > > > > > -- > > > Thanks & Regards > > > Deepa > > > > > > > > > -- > Thanks & Regards > Deepa > |
In reply to this post by Abdullah Shaikh-3
Hi,
I did some search on the old archives, it mentioned this can't be done. but that was back in 2004, Just wondering if things have been changed since then ? Thanks much. |
In reply to this post by Deepa Mandal
Hi Deepa,
I think you are missing some thing here. Groovy is server side scripting whereas JavaScript is client side. How can you set a parameter from JS to Groovy while to scripts are running in to different environment. May be you want to set a request parameter with the help of JS and want to collect it on the Groovy script. You have different way of passing parameters to request, part of URL query string of a get request, hidden form fields while using post. It would be better if you explain the problem and may be someone tell you a better way of doing it. Thanks, Raj Deepa Mandal wrote: > Hi Abdul, > > Actually i want to set the parameter from JavaScript to groovy. > > > On Sat, Nov 7, 2009 at 4:57 PM, Abdullah Shaikh < > [hidden email]> wrote: > > >> If I am getting you right, you want to get the http parameter to groovy, >> then groovy gives you access to request object, >> request.getParameter("YOUR_PARAMETER") should work >> >> On Sat, Nov 7, 2009 at 4:19 PM, Deepa Mandal <[hidden email] >> >>> wrote: >>> >>> Hi, >>> Can we set the value of parameter from javascript to groovy? >>> >>> -- >>> Thanks & Regards >>> Deepa >>> >>> > > > > |
Hello Raj Sir,
Following is my problem: I have a drop down in a form and upon selecting a value from this drop down I have to send contactMechId of that particular value to the included ftl in the form and *without submitting the form*. If I set the contactMechId in groovy or in request then I can get this in the included ftl, please suggest other way through which I can get the contactMechId in groovy or in request. -- Thanks & Regards Deepa On Sat, Nov 7, 2009 at 6:49 PM, Raj Saini <[hidden email]> wrote: > Hi Deepa, > > I think you are missing some thing here. Groovy is server side scripting > whereas JavaScript is client side. How can you set a parameter from JS to > Groovy while to scripts are running in to different environment. May be you > want to set a request parameter with the help of JS and want to collect it > on the Groovy script. You have different way of passing parameters to > request, part of URL query string of a get request, hidden form fields while > using post. > > It would be better if you explain the problem and may be someone tell you a > better way of doing it. > > Thanks, > > Raj > > > Deepa Mandal wrote: > >> Hi Abdul, >> >> Actually i want to set the parameter from JavaScript to groovy. >> >> >> On Sat, Nov 7, 2009 at 4:57 PM, Abdullah Shaikh < >> [hidden email]> wrote: >> >> >> >>> If I am getting you right, you want to get the http parameter to groovy, >>> then groovy gives you access to request object, >>> request.getParameter("YOUR_PARAMETER") should work >>> >>> On Sat, Nov 7, 2009 at 4:19 PM, Deepa Mandal <[hidden email] >>> >>> >>>> wrote: >>>> Hi, >>>> Can we set the value of parameter from javascript to groovy? >>>> >>>> -- >>>> Thanks & Regards >>>> Deepa >>>> >>>> >>>> >>> >> >> >> >> > > |
Hi Deepa,
I am not sure if I understood well what you are trying to achieve. You have a drop down. Value selected in the drop down will go as a form field once you submit the form. This value can be collected in the Groovy script. I do not see a way how you can get some thing in Groovy script without submitting the form. If you want to do some thing on selection of drop down, you can use JavaScript events such as onChange and then you can fire a Ajax request whenever value of the drop down changes. Thanks, Raj Deepa Mandal wrote: > Following is my problem: > I have a drop down in a form and upon selecting a value from this drop down > I have to send contactMechId of that particular value to the included ftl in > the form and *without submitting the form*. If I set the contactMechId in > groovy or in request then I can get this in the included ftl, please suggest > other way through which I can get the contactMechId in groovy or in request. > > |
In reply to this post by Zhibin Liang
Hi Zhibin,
Delete feature is lil. bit in secure(unfortunate delete will impact more on business). May be because of this reason, delete action for catalog and category was not provided from years. if you want to delete, write a stored procedure to delete catalog/category. Otherwise, expire them to maintain it as historical data(sometimes, it is important in ecommerce industry to maintain historical data.). On Sat, Nov 7, 2009 at 5:34 PM, Zhibin Liang <[hidden email]> wrote: > Hi, > > I did some search on the old archives, it mentioned this can't be done. but > that was back in 2004, Just wondering if things have been changed since > then > ? > > Thanks much. > > -- Thanks, Kumaraswamy.N 91-9866805250. |
Hi Kumaraswamy,
Thanks a lot for the feedback, the information you provide is very helpful. I just tried to clean up some demo and test data before moving into production. But that's not absolutely necessary I guess. Best regards, Zhibin -----Original Message----- From: Kumaraswamy nandipati [mailto:[hidden email]] Sent: Monday, November 09, 2009 6:49 PM To: [hidden email] Subject: Re: How to delete a catalog or catagory ? Hi Zhibin, Delete feature is lil. bit in secure(unfortunate delete will impact more on business). May be because of this reason, delete action for catalog and category was not provided from years. if you want to delete, write a stored procedure to delete catalog/category. Otherwise, expire them to maintain it as historical data(sometimes, it is important in ecommerce industry to maintain historical data.). On Sat, Nov 7, 2009 at 5:34 PM, Zhibin Liang <[hidden email]> wrote: > Hi, > > I did some search on the old archives, it mentioned this can't be done. but > that was back in 2004, Just wondering if things have been changed since > then > ? > > Thanks much. > > -- Thanks, Kumaraswamy.N 91-9866805250. |
Administrator
|
Zhibin,
Actually it's a recurring problem and I begin to wonder if we should not try to provide some help at least to delete orders, invoices, payments and all related entities created just after a setup to verify that all is working correctly. This of course without having to reset all the DB (the records - tuples actually - created being there just for the purpose of testing the DB setup) I guess we have all been in this situation : clients like to see some results before going in production... Jacques From: "Zhibin Liang" <[hidden email]> > Hi Kumaraswamy, > > Thanks a lot for the feedback, the information you provide is very helpful. > I just tried to clean up some demo and test data before moving into > production. But that's not absolutely necessary I guess. > > Best regards, > Zhibin > > -----Original Message----- > From: Kumaraswamy nandipati [mailto:[hidden email]] > Sent: Monday, November 09, 2009 6:49 PM > To: [hidden email] > Subject: Re: How to delete a catalog or catagory ? > > Hi Zhibin, > > Delete feature is lil. bit in secure(unfortunate delete will impact more on > business). May be because of this reason, delete action for catalog and > category was not provided from years. > > if you want to delete, write a stored procedure to delete catalog/category. > Otherwise, expire them to maintain it as historical data(sometimes, it is > important in ecommerce industry to maintain historical data.). > > > > On Sat, Nov 7, 2009 at 5:34 PM, Zhibin Liang <[hidden email]> wrote: > >> Hi, >> >> I did some search on the old archives, it mentioned this can't be done. > but >> that was back in 2004, Just wondering if things have been changed since >> then >> ? >> >> Thanks much. >> >> > > > -- > Thanks, > Kumaraswamy.N > 91-9866805250. > > |
Administrator
|
Some SQL scripts could be attached to http://docs.ofbiz.org/display/OFBENDUSER/Apache+OFBiz+Business+Setup+Guide
Or why not, even better, some specific services created, opinions ? Jacques From: "Jacques Le Roux" <[hidden email]> > Zhibin, > > Actually it's a recurring problem and I begin to wonder if we should not try to provide some help at least to delete orders, > invoices, payments and all related entities created just after a setup to verify that all is working correctly. This of course > without having to reset all the DB (the records - tuples actually - created being there just for the purpose of testing the DB > setup) > I guess we have all been in this situation : clients like to see some results before going in production... > > Jacques > > From: "Zhibin Liang" <[hidden email]> >> Hi Kumaraswamy, >> >> Thanks a lot for the feedback, the information you provide is very helpful. >> I just tried to clean up some demo and test data before moving into >> production. But that's not absolutely necessary I guess. >> >> Best regards, >> Zhibin >> >> -----Original Message----- >> From: Kumaraswamy nandipati [mailto:[hidden email]] >> Sent: Monday, November 09, 2009 6:49 PM >> To: [hidden email] >> Subject: Re: How to delete a catalog or catagory ? >> >> Hi Zhibin, >> >> Delete feature is lil. bit in secure(unfortunate delete will impact more on >> business). May be because of this reason, delete action for catalog and >> category was not provided from years. >> >> if you want to delete, write a stored procedure to delete catalog/category. >> Otherwise, expire them to maintain it as historical data(sometimes, it is >> important in ecommerce industry to maintain historical data.). >> >> >> >> On Sat, Nov 7, 2009 at 5:34 PM, Zhibin Liang <[hidden email]> wrote: >> >>> Hi, >>> >>> I did some search on the old archives, it mentioned this can't be done. >> but >>> that was back in 2004, Just wondering if things have been changed since >>> then >>> ? >>> >>> Thanks much. >>> >>> >> >> >> -- >> Thanks, >> Kumaraswamy.N >> 91-9866805250. >> >> > > |
In reply to this post by Jacques Le Roux
Hey Jacques, Your comment is really interesting. Each time we want to
run tests with a fresh OFBiz, we have to reset the database, and for this we run a custom install-seed-initial method which takes time. So it would be great to have a way to "reset" the database in live and so to be able to run tests without restarting and reinitializing OFBiz. It's kind of extension of your proposition to have quick delete for orders test data. Cimballi On Mon, Nov 9, 2009 at 5:54 PM, Jacques Le Roux <[hidden email]> wrote: > Zhibin, > > Actually it's a recurring problem and I begin to wonder if we should not try > to provide some help at least to delete orders, invoices, payments and all > related entities created just after a setup to verify that all is working > correctly. This of course without having to reset all the DB (the records - > tuples actually - created being there just for the purpose of testing the DB > setup) > I guess we have all been in this situation  : clients like to see some > results before going in production... > > Jacques > > From: "Zhibin Liang" <[hidden email]> >> >> Hi Kumaraswamy, >> >> Thanks a lot for the feedback, the information you provide is very >> helpful. >> I just tried to clean up some demo and test data before moving into >> production. But that's not absolutely necessary I guess. >> >> Best regards, >> Zhibin >> >> -----Original Message----- >> From: Kumaraswamy nandipati [mailto:[hidden email]] >> Sent: Monday, November 09, 2009 6:49 PM >> To: [hidden email] >> Subject: Re: How to delete a catalog or catagory ? >> >> Hi Zhibin, >> >> Delete feature is lil. bit in secure(unfortunate delete will impact more >> on >> business). May be because of this reason, delete action for catalog and >> category was not provided from years. >> >> if you want to delete, write a stored procedure to delete >> catalog/category. >> Otherwise, expire them to maintain it as historical data(sometimes, it is >> important in ecommerce industry to maintain historical data.). >> >> >> >> On Sat, Nov 7, 2009 at 5:34 PM, Zhibin Liang <[hidden email]> >> wrote: >> >>> Hi, >>> >>> I did some search on the old archives, it mentioned this can't be done. >> >> but >>> >>> that was back in 2004, Just wondering if things have been changed since >>> then >>> ? >>> >>> Thanks much. >>> >>> >> >> >> -- >> Thanks, >> Kumaraswamy.N >> 91-9866805250. >> >> > > > |
In reply to this post by Jacques Le Roux
Hi Jacques:
This is something I tried to get the group to look at doing a long time ago. As you said, its about testing and then cleaning up test data. I got a lot of push back based on the "auditing" argument. The result: Now as I'm learning how to use various parts of the data model - or building my own entities - I build data deletion tools along side my other code. It really helps me to understand the relationships between all the entities in use and I get my data cleaned up in the process. A while back I started writing an Entity Engine cook book with examples of how to do just this along with lots of other goodies...but then you guys went and deprecated all my favorite EE APIs, so now I'm back to square one on that idea :-( So, to answer you question: yes! I think its a great idea. Regards, Ruth Jacques Le Roux wrote: > Some SQL scripts could be attached to > http://docs.ofbiz.org/display/OFBENDUSER/Apache+OFBiz+Business+Setup+Guide > > Or why not, even better, some specific services created, opinions ? > > Jacques > > From: "Jacques Le Roux" <[hidden email]> >> Zhibin, >> >> Actually it's a recurring problem and I begin to wonder if we should >> not try to provide some help at least to delete orders, invoices, >> payments and all related entities created just after a setup to >> verify that all is working correctly. This of course without having >> to reset all the DB (the records - tuples actually - created being >> there just for the purpose of testing the DB setup) >> I guess we have all been in this situation : clients like to see >> some results before going in production... >> >> Jacques >> >> From: "Zhibin Liang" <[hidden email]> >>> Hi Kumaraswamy, >>> >>> Thanks a lot for the feedback, the information you provide is very >>> helpful. >>> I just tried to clean up some demo and test data before moving into >>> production. But that's not absolutely necessary I guess. >>> >>> Best regards, >>> Zhibin >>> >>> -----Original Message----- >>> From: Kumaraswamy nandipati [mailto:[hidden email]] >>> Sent: Monday, November 09, 2009 6:49 PM >>> To: [hidden email] >>> Subject: Re: How to delete a catalog or catagory ? >>> >>> Hi Zhibin, >>> >>> Delete feature is lil. bit in secure(unfortunate delete will impact >>> more on >>> business). May be because of this reason, delete action for catalog and >>> category was not provided from years. >>> >>> if you want to delete, write a stored procedure to delete >>> catalog/category. >>> Otherwise, expire them to maintain it as historical data(sometimes, >>> it is >>> important in ecommerce industry to maintain historical data.). >>> >>> >>> >>> On Sat, Nov 7, 2009 at 5:34 PM, Zhibin Liang >>> <[hidden email]> wrote: >>> >>>> Hi, >>>> >>>> I did some search on the old archives, it mentioned this can't be >>>> done. >>> but >>>> that was back in 2004, Just wondering if things have been changed >>>> since >>>> then >>>> ? >>>> >>>> Thanks much. >>>> >>>> >>> >>> >>> -- >>> Thanks, >>> Kumaraswamy.N >>> 91-9866805250. >>> >>> >> >> > > |
In reply to this post by rajsaini
Any update on this.........Deepa have you got something, if yes please
share, I am also having same problem. -- Thanks Ramkrishna On Mon, Nov 9, 2009 at 12:12 PM, Raj Saini <[hidden email]> wrote: > Hi Deepa, > > I am not sure if I understood well what you are trying to achieve. You have > a drop down. Value selected in the drop down will go as a form field once > you submit the form. This value can be collected in the Groovy script. I do > not see a way how you can get some thing in Groovy script without submitting > the form. If you want to do some thing on selection of drop down, you can > use JavaScript events such as onChange and then you can fire a Ajax request > whenever value of the drop down changes. > > > Thanks, > > Raj > > Deepa Mandal wrote: > >> Following is my problem: >> I have a drop down in a form and upon selecting a value from this drop >> down >> I have to send contactMechId of that particular value to the included ftl >> in >> the form and *without submitting the form*. If I set the contactMechId in >> groovy or in request then I can get this in the included ftl, please >> suggest >> other way through which I can get the contactMechId in groovy or in >> request. >> >> >> > > |
No, I didn't get as such to solve the problem..
On Tue, Nov 10, 2009 at 10:25 AM, Ramkrishna Swamy < [hidden email]> wrote: > Any update on this.........Deepa have you got something, if yes please > share, I am also having same problem. > > -- > Thanks > Ramkrishna > > > On Mon, Nov 9, 2009 at 12:12 PM, Raj Saini <[hidden email]> wrote: > > > Hi Deepa, > > > > I am not sure if I understood well what you are trying to achieve. You > have > > a drop down. Value selected in the drop down will go as a form field once > > you submit the form. This value can be collected in the Groovy script. I > do > > not see a way how you can get some thing in Groovy script without > submitting > > the form. If you want to do some thing on selection of drop down, you can > > use JavaScript events such as onChange and then you can fire a Ajax > request > > whenever value of the drop down changes. > > > > > > Thanks, > > > > Raj > > > > Deepa Mandal wrote: > > > >> Following is my problem: > >> I have a drop down in a form and upon selecting a value from this drop > >> down > >> I have to send contactMechId of that particular value to the included > ftl > >> in > >> the form and *without submitting the form*. If I set the contactMechId > in > >> groovy or in request then I can get this in the included ftl, please > >> suggest > >> other way through which I can get the contactMechId in groovy or in > >> request. > >> > >> > >> > > > > > -- Thanks & Regards Deepa |
Administrator
|
In reply to this post by Jacques Le Roux
I think it could be something cheap for beginning, then enhanced. For instance, cleaning orders and related, invoices and related
Jacques From: "Jacques Le Roux" <[hidden email]> > Some SQL scripts could be attached to http://docs.ofbiz.org/display/OFBENDUSER/Apache+OFBiz+Business+Setup+Guide > Or why not, even better, some specific services created, opinions ? > > Jacques > > From: "Jacques Le Roux" <[hidden email]> >> Zhibin, >> >> Actually it's a recurring problem and I begin to wonder if we should not try to provide some help at least to delete orders, >> invoices, payments and all related entities created just after a setup to verify that all is working correctly. This of course >> without having to reset all the DB (the records - tuples actually - created being there just for the purpose of testing the DB >> setup) >> I guess we have all been in this situation : clients like to see some results before going in production... >> >> Jacques >> >> From: "Zhibin Liang" <[hidden email]> >>> Hi Kumaraswamy, >>> >>> Thanks a lot for the feedback, the information you provide is very helpful. >>> I just tried to clean up some demo and test data before moving into >>> production. But that's not absolutely necessary I guess. >>> >>> Best regards, >>> Zhibin >>> >>> -----Original Message----- >>> From: Kumaraswamy nandipati [mailto:[hidden email]] >>> Sent: Monday, November 09, 2009 6:49 PM >>> To: [hidden email] >>> Subject: Re: How to delete a catalog or catagory ? >>> >>> Hi Zhibin, >>> >>> Delete feature is lil. bit in secure(unfortunate delete will impact more on >>> business). May be because of this reason, delete action for catalog and >>> category was not provided from years. >>> >>> if you want to delete, write a stored procedure to delete catalog/category. >>> Otherwise, expire them to maintain it as historical data(sometimes, it is >>> important in ecommerce industry to maintain historical data.). >>> >>> >>> >>> On Sat, Nov 7, 2009 at 5:34 PM, Zhibin Liang <[hidden email]> wrote: >>> >>>> Hi, >>>> >>>> I did some search on the old archives, it mentioned this can't be done. >>> but >>>> that was back in 2004, Just wondering if things have been changed since >>>> then >>>> ? >>>> >>>> Thanks much. >>>> >>>> >>> >>> >>> -- >>> Thanks, >>> Kumaraswamy.N >>> 91-9866805250. >>> >>> >> >> > |
In reply to this post by Ruth Hoffman-2
Thanks again all for the comment. It would be great if we could add the
delete functions. In terms of "auditing", if we could audit the "delete" actions as well, it should be non-issue then. Regards, Zhibin -----Original Message----- From: Ruth Hoffman [mailto:[hidden email]] Sent: Tuesday, November 10, 2009 9:20 AM To: [hidden email] Subject: Re: How to delete a catalog or catagory ? Hi Jacques: This is something I tried to get the group to look at doing a long time ago. As you said, its about testing and then cleaning up test data. I got a lot of push back based on the "auditing" argument. The result: Now as I'm learning how to use various parts of the data model - or building my own entities - I build data deletion tools along side my other code. It really helps me to understand the relationships between all the entities in use and I get my data cleaned up in the process. A while back I started writing an Entity Engine cook book with examples of how to do just this along with lots of other goodies...but then you guys went and deprecated all my favorite EE APIs, so now I'm back to square one on that idea :-( So, to answer you question: yes! I think its a great idea. Regards, Ruth Jacques Le Roux wrote: > Some SQL scripts could be attached to > http://docs.ofbiz.org/display/OFBENDUSER/Apache+OFBiz+Business+Setup+Guide > > Or why not, even better, some specific services created, opinions ? > > Jacques > > From: "Jacques Le Roux" <[hidden email]> >> Zhibin, >> >> Actually it's a recurring problem and I begin to wonder if we should >> not try to provide some help at least to delete orders, invoices, >> payments and all related entities created just after a setup to >> verify that all is working correctly. This of course without having >> to reset all the DB (the records - tuples actually - created being >> there just for the purpose of testing the DB setup) >> I guess we have all been in this situation : clients like to see >> some results before going in production... >> >> Jacques >> >> From: "Zhibin Liang" <[hidden email]> >>> Hi Kumaraswamy, >>> >>> Thanks a lot for the feedback, the information you provide is very >>> helpful. >>> I just tried to clean up some demo and test data before moving into >>> production. But that's not absolutely necessary I guess. >>> >>> Best regards, >>> Zhibin >>> >>> -----Original Message----- >>> From: Kumaraswamy nandipati [mailto:[hidden email]] >>> Sent: Monday, November 09, 2009 6:49 PM >>> To: [hidden email] >>> Subject: Re: How to delete a catalog or catagory ? >>> >>> Hi Zhibin, >>> >>> Delete feature is lil. bit in secure(unfortunate delete will impact >>> more on >>> business). May be because of this reason, delete action for catalog and >>> category was not provided from years. >>> >>> if you want to delete, write a stored procedure to delete >>> catalog/category. >>> Otherwise, expire them to maintain it as historical data(sometimes, >>> it is >>> important in ecommerce industry to maintain historical data.). >>> >>> >>> >>> On Sat, Nov 7, 2009 at 5:34 PM, Zhibin Liang >>> <[hidden email]> wrote: >>> >>>> Hi, >>>> >>>> I did some search on the old archives, it mentioned this can't be >>>> done. >>> but >>>> that was back in 2004, Just wondering if things have been changed >>>> since >>>> then >>>> ? >>>> >>>> Thanks much. >>>> >>>> >>> >>> >>> -- >>> Thanks, >>> Kumaraswamy.N >>> 91-9866805250. >>> >>> >> >> > > |
Note that my intention is to have a handy tool just to delete tests data after installation.
Jacques From: "Zhibin Liang" <[hidden email]> > Thanks again all for the comment. It would be great if we could add the > delete functions. In terms of "auditing", if we could audit the "delete" > actions as well, it should be non-issue then. > > Regards, > Zhibin > > -----Original Message----- > From: Ruth Hoffman [mailto:[hidden email]] > Sent: Tuesday, November 10, 2009 9:20 AM > To: [hidden email] > Subject: Re: How to delete a catalog or catagory ? > > Hi Jacques: > This is something I tried to get the group to look at doing a long time > ago. As you said, its about testing and then cleaning up test data. I > got a lot of push back based on the "auditing" argument. The result: Now > as I'm learning how to use various parts of the data model - or building > my own entities - I build data deletion tools along side my other code. > It really helps me to understand the relationships between all the > entities in use and I get my data cleaned up in the process. > > A while back I started writing an Entity Engine cook book with examples > of how to do just this along with lots of other goodies...but then you > guys went and deprecated all my favorite EE APIs, so now I'm back to > square one on that idea :-( > > So, to answer you question: yes! I think its a great idea. > > Regards, > Ruth > > Jacques Le Roux wrote: >> Some SQL scripts could be attached to >> http://docs.ofbiz.org/display/OFBENDUSER/Apache+OFBiz+Business+Setup+Guide > >> >> Or why not, even better, some specific services created, opinions ? >> >> Jacques >> >> From: "Jacques Le Roux" <[hidden email]> >>> Zhibin, >>> >>> Actually it's a recurring problem and I begin to wonder if we should >>> not try to provide some help at least to delete orders, invoices, >>> payments and all related entities created just after a setup to >>> verify that all is working correctly. This of course without having >>> to reset all the DB (the records - tuples actually - created being >>> there just for the purpose of testing the DB setup) >>> I guess we have all been in this situation : clients like to see >>> some results before going in production... >>> >>> Jacques >>> >>> From: "Zhibin Liang" <[hidden email]> >>>> Hi Kumaraswamy, >>>> >>>> Thanks a lot for the feedback, the information you provide is very >>>> helpful. >>>> I just tried to clean up some demo and test data before moving into >>>> production. But that's not absolutely necessary I guess. >>>> >>>> Best regards, >>>> Zhibin >>>> >>>> -----Original Message----- >>>> From: Kumaraswamy nandipati [mailto:[hidden email]] >>>> Sent: Monday, November 09, 2009 6:49 PM >>>> To: [hidden email] >>>> Subject: Re: How to delete a catalog or catagory ? >>>> >>>> Hi Zhibin, >>>> >>>> Delete feature is lil. bit in secure(unfortunate delete will impact >>>> more on >>>> business). May be because of this reason, delete action for catalog and >>>> category was not provided from years. >>>> >>>> if you want to delete, write a stored procedure to delete >>>> catalog/category. >>>> Otherwise, expire them to maintain it as historical data(sometimes, >>>> it is >>>> important in ecommerce industry to maintain historical data.). >>>> >>>> >>>> >>>> On Sat, Nov 7, 2009 at 5:34 PM, Zhibin Liang >>>> <[hidden email]> wrote: >>>> >>>>> Hi, >>>>> >>>>> I did some search on the old archives, it mentioned this can't be >>>>> done. >>>> but >>>>> that was back in 2004, Just wondering if things have been changed >>>>> since >>>>> then >>>>> ? >>>>> >>>>> Thanks much. >>>>> >>>>> >>>> >>>> >>>> -- >>>> Thanks, >>>> Kumaraswamy.N >>>> 91-9866805250. >>>> >>>> >>> >>> >> >> > > |
In reply to this post by Deepa Mandal
I respond to similar problem in another thread "How to Set partyId in
request in javascript" Use groovy handler of org.ofbiz.webapp.event.GroovyEventHandler to get the parameters in your controller request. Rishi Solanki Enterprise Software Developer HotWax Media Pvt. Ltd. On Tue, Nov 10, 2009 at 11:54 AM, Deepa Mandal <[hidden email]>wrote: > No, I didn't get as such to solve the problem.. > > On Tue, Nov 10, 2009 at 10:25 AM, Ramkrishna Swamy < > [hidden email]> wrote: > > > Any update on this.........Deepa have you got something, if yes please > > share, I am also having same problem. > > > > -- > > Thanks > > Ramkrishna > > > > > > On Mon, Nov 9, 2009 at 12:12 PM, Raj Saini <[hidden email]> wrote: > > > > > Hi Deepa, > > > > > > I am not sure if I understood well what you are trying to achieve. You > > have > > > a drop down. Value selected in the drop down will go as a form field > once > > > you submit the form. This value can be collected in the Groovy script. > I > > do > > > not see a way how you can get some thing in Groovy script without > > submitting > > > the form. If you want to do some thing on selection of drop down, you > can > > > use JavaScript events such as onChange and then you can fire a Ajax > > request > > > whenever value of the drop down changes. > > > > > > > > > Thanks, > > > > > > Raj > > > > > > Deepa Mandal wrote: > > > > > >> Following is my problem: > > >> I have a drop down in a form and upon selecting a value from this drop > > >> down > > >> I have to send contactMechId of that particular value to the included > > ftl > > >> in > > >> the form and *without submitting the form*. If I set the contactMechId > > in > > >> groovy or in request then I can get this in the included ftl, please > > >> suggest > > >> other way through which I can get the contactMechId in groovy or in > > >> request. > > >> > > >> > > >> > > > > > > > > > > > > -- > Thanks & Regards > Deepa > |
Free forum by Nabble | Edit this page |