RE: Meaning of also-hidden="false" in tag ?
Jacopo That does help, because I couldn't understand the need either. But, now, it makes great sense. Skip -Original Message- From: Jacopo Cappellato [mailto:[EMAIL PROTECTED] Sent: Friday, April 04, 2008 10:38 PM To: user@ofbiz.apache.org Subject: Re: Meaning of also-hidden="false" in tag ? Hi Ashish, if also-hidden is set to true, the field is rendered as a link AND as an hidden (HTML) form field; this is useful when you have a form of type List that contains some editable fields (i.e. one form for each row; or with multi form) and you want the field rendered as link to be also posted when the form is submitted. Hope it helps, Jacopo On Apr 4, 2008, at 3:52 PM, Ashish Vijaywargiya wrote: > What also-hidden="false" attribute do in tag of Form > Widget ? > I know that this question might have been asked on the mailing list > but I am > sorry I am unable to search it. > > I would be thankful for any pointer. > > -- > Thanks & Regards > Ashish Vijaywargiya > +919893479711 No virus found in this incoming message. Checked by AVG. Version: 7.5.519 / Virus Database: 269.22.1/1352 - Release Date: 3/31/2008 10:13 AM No virus found in this outgoing message. Checked by AVG. Version: 7.5.519 / Virus Database: 269.22.1/1352 - Release Date: 3/31/2008 10:13 AM
Re: Meaning of also-hidden="false" in tag ?
Hi Ashish, if also-hidden is set to true, the field is rendered as a link AND as an hidden (HTML) form field; this is useful when you have a form of type List that contains some editable fields (i.e. one form for each row; or with multi form) and you want the field rendered as link to be also posted when the form is submitted. Hope it helps, Jacopo On Apr 4, 2008, at 3:52 PM, Ashish Vijaywargiya wrote: What also-hidden="false" attribute do in tag of Form Widget ? I know that this question might have been asked on the mailing list but I am sorry I am unable to search it. I would be thankful for any pointer. -- Thanks & Regards Ashish Vijaywargiya +919893479711
Price Rules: markup from average cost
I'm seeing some weird behavior when I setup price rules to markup from average cost. The priceRuleAction is set to "Percent of average cost"=10 The product cost is setup as $0.213 Sale price is $0.30 When I add the item to the cart, I am getting a price of $0.3213 (which seems to be the default sales price plus 10% of the cost !!) I should be getting the cost +10%, or .213+.0213 = 0.2343 each. The relevant code in PriceServices.java looks ok: " } else if ("PRICE_POAC".equals(productPriceAction.getString("productPriceActionTypeId"))) { if (productPriceAction.get("amount") != null) { modifyAmount = averageCost * (productPriceAction.getDouble("amount").doubleValue() / 100.0); " Am I missing some setting, or is this something related to numeric precision or something else? Any ideas? Dave Tenerowicz [EMAIL PROTECTED] Office: 303.493.6727 Mobile 303.906.6116 Fax 303.814.8331 Visit us at http://www.salmonllc.com For ERP Information: http://www.salmonllc.com/Jsp/vanity/ERP_CRM.jsp?nav=2&NavBarId=ERP_CRMServices
Re: Meaning of also-hidden="false" in tag ?
from /framework/widgets/src/org.ofbiz.widget.form.ModelForm.java renderItemRow() case ModelFormField.FieldInfo.HYPERLINK i looks like it is not shown in the row data. Ashish Vijaywargiya sent the following on 4/4/2008 6:52 AM: > What also-hidden="false" attribute do in tag of Form Widget ? > I know that this question might have been asked on the mailing list but I am > sorry I am unable to search it. > > I would be thankful for any pointer. >
RE: Discovering Program Flow
Thanks Mridul This is exactly what I did. I generally only look at the log file for errors. In this case, I found how the invoice was being created as well. Skip -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Mridul Pathak Sent: Friday, April 04, 2008 1:05 AM To: user@ofbiz.apache.org Subject: Re: Discovering Program Flow Hi,The best way to trace the process is to watch the consol log properly and you may go through the control flow, and put debug statements in different methods to debug the code. Now moving to your problem, I tried to trace the flow for Purchase Order and was able to trace where exactly the call is made for creating Invoice while receiving the purchase order. On following the consol log carefully I found that after processing receiveInventory and createShipmentReceipt, on updateShipment service createInvoiceFromShipment is triggered as an ECA. And after that capturePaymentFromInvoice service is triggered as an ECA on createInvoiceForOrder. The service createInvoiceForOrder is called inline from createInvoicesFromShipments service which again is called inline from creatInvoicesFromShipment service. I'll like to suggest you to debug the process to understand it better, because this is a very complicated process and I think just reading out the code may not be of much help. On Fri, Apr 4, 2008 at 4:47 AM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > I am writing purchase orders, and then receiving them. As part of that > process, an Invoice is being created when the items are received I see a > shipment and shipmentItems created, .ItemIssuance and related, > InventoryItem > and Detail, and several others. > > For the life of me, I cannot see what code is being called to create the > Invoice. This is not the first time I ran into this. > > I have searched all the routines called directly and the ecas two levels > down so far, but still cannot find out how the invoice is being created. > > Can someone tell me what is the best way and/or resources to use to > discover > how these things happen when you can't trace through the code. > > Skip > No virus found in this outgoing message. > Checked by AVG. > Version: 7.5.519 / Virus Database: 269.22.1/1352 - Release Date: 3/31/2008 > 10:13 AM > > -- Thanks & Regards Mridul Pathak Hotwax Media http://www.hotwaxmedia.com [EMAIL PROTECTED] __ Office : 509.855.4113 Mobile : +919425926892 No virus found in this incoming message. Checked by AVG. Version: 7.5.519 / Virus Database: 269.22.1/1352 - Release Date: 3/31/2008 10:13 AM No virus found in this outgoing message. Checked by AVG. Version: 7.5.519 / Virus Database: 269.22.1/1352 - Release Date: 3/31/2008 10:13 AM
Printers (was: Re: Full of Questions)
Bilgin Ibryam schrieb: BTW using FC6 with configured printers, I cannot see the printers in find orders screen. Any ideas what could be the reason and how to fix it? It works for me with Ubuntu (Gutsy Gibbon), i.e. I can select the CUPS-installed printer and print an order. -- Christian
Meaning of also-hidden="false" in tag ?
What also-hidden="false" attribute do in tag of Form Widget ? I know that this question might have been asked on the mailing list but I am sorry I am unable to search it. I would be thankful for any pointer. -- Thanks & Regards Ashish Vijaywargiya +919893479711
Re: crossdomain.xml
I am not clear on your focus. the original statement was that you wanted to have others use your services. All that I read on the crossdomain.xml says 1) it is for flash applications to access the website 2) it is not aware of services in ofbiz. to my knowledge, as limited as it is, says the crossdomain.xml will not effect exporting ofbiz services used by the service engine. you may want to investigate further, or I have a lot of reading todo and would appreciated some links. Mark Ellul sent the following on 4/4/2008 3:00 AM: > Just to be clear I will paste my full web.xml of this root application and > note, the crossdomain.xml is a static file. > > > 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd";> > > > IODine ROOT > The IODine CRM Web Application > > > entityDelegatorName > default > The Name of the Entity Delegator to use, defined in > entityengine.xml > > > localDispatcherName > iodine-crm > A unique name used to identify/recognize the local > dispatcher for the Service Engine > > > serviceReaderUrls > /WEB-INF/services.xml > Configuration File(s) For The Service > Dispatcher > > > > ContextFilter > ContextFilter > org.ofbiz.webapp.control.ContextFilter > > disableContextSecurity > N > > > allowedPaths > > /index.html:/index.jsp:/default.html:/crossdomain.xml: > > /default.jsp:/images:/includes/maincss.css > > > errorCode > 403 > > > redirectPath > /control/main > > > > ContextFilter > /* > > > > > 60 > > > > index.jsp > index.html > index.htm > crossdomain.xml > > > > > > On Thu, Apr 3, 2008 at 10:18 PM, BJ Freeman <[EMAIL PROTECTED]> wrote: > >> you included >> >> org.ofbiz.webapp.control.ContextFilter >> but no control.xml >> not sure how this will work. >> >> Mark Ellul sent the following on 4/3/2008 10:04 AM: >>> HI BJ, >>> >>> I just tried it out, and it seems to work, thanks for your help mate! >>> >>> This goes in your ofbiz-component.xml >>> >>> >> title="ROOT" >>> server="default-server" >>> location="webapp/root" >>> mount-point="/" >>> app-bar-display="false"/> >>> >>> >>> And then you put your crossdomain.xml in your webapp/root folder... >>> >>> And then you update the web.xml from a normal one if anyone wants >> the >>> whole web.xml let me know! >>> >>> >>> ContextFilter >>> ContextFilter >>> >> org.ofbiz.webapp.control.ContextFilter >>> >>> disableContextSecurity >>> N >>> >>> >>> allowedPaths >>> >>> /index.html:/index.jsp:/default.html:/crossdomain.xml: >>> >>> /default.jsp:/images:/includes/maincss.css >>> >>> >>> errorCode >>> 403 >>> >>> >>> redirectPath >>> /control/main >>> >>> >>> >>> ContextFilter >>> /* >>> >>> >>> >>> >>> 60 >>> >>> >>> >>> index.jsp >>> index.html >>> index.htm >>> crossdomain.xml >>> >>> >>> >>> Regards >>> >>> Mark >>> >>> On Thu, Apr 3, 2008 at 6:58 PM, BJ Freeman <[EMAIL PROTECTED]> wrote: >>> Not sure that will work. I may be wrong. ofbiz works as one application. application in the hot deploy are not exposed to tomcat directly but >> are part of ofbiz. Mark Ellul sent the following on 4/3/2008 9:45 AM: > Hi BJ, > > well basically If I have a ofbiz installation at www.myofbiz.com I >> need to > serve a crossdomain.xml from this address > http://www.myofbiz.com/crossdomain.xml > > I was thinking that I create a web app in my hot deploy that uses / as its > context and put the file in there... and allow that as a welcome file >> in the > web.xml > > Otherwise is there a folder which we can serve files in the root >> context > from? > > Does that make sense? > > Thanks and Regards > > Mark > > On Thu, Apr 3, 2008 at 6:37 PM, BJ Freeman <[EMAIL PROTECTED]> >> wrote: >> not sure how that fits into ofbiz. >> so can't answer. >> >> Mark Ellul sent the following on 4/3/2008 9:23 AM: >>> Hi BJ, >>> >>> Its my own services I have written, using the BlazeDS jars. >>> >>> Regards >>> >>> Mark >>> >>> >>> >>> On Thu, Apr 3, 2008 at 5:54 PM, BJ Freeman <[EMAIL PROTECTED]> wrote: are you referring to the ofbiz service engine, services? Mark Ellul sent the following on 4/3/2008 7:50 AM: > Hi, > >
catalogs ? not multilingual
Hello, Can anyone explain me how to make catalogs multilingual? It is quite easy to do it for the names of categories and for the content of products. But i don't see any possibility for doing it with catalogs? thanks in advance, heidi
surveys
Hello, Can anyone explain me how i can visualize in the webpage of the e-shop surveys i have created. Where and how do they appear? Can i make them multilingual? heidi
Re: crossdomain.xml
Just to be clear I will paste my full web.xml of this root application and note, the crossdomain.xml is a static file. http://java.sun.com/dtd/web-app_2_3.dtd";> IODine ROOT The IODine CRM Web Application entityDelegatorName default The Name of the Entity Delegator to use, defined in entityengine.xml localDispatcherName iodine-crm A unique name used to identify/recognize the local dispatcher for the Service Engine serviceReaderUrls /WEB-INF/services.xml Configuration File(s) For The Service Dispatcher ContextFilter ContextFilter org.ofbiz.webapp.control.ContextFilter disableContextSecurity N allowedPaths /index.html:/index.jsp:/default.html:/crossdomain.xml: /default.jsp:/images:/includes/maincss.css errorCode 403 redirectPath /control/main ContextFilter /* 60 index.jsp index.html index.htm crossdomain.xml On Thu, Apr 3, 2008 at 10:18 PM, BJ Freeman <[EMAIL PROTECTED]> wrote: > you included > > org.ofbiz.webapp.control.ContextFilter > but no control.xml > not sure how this will work. > > Mark Ellul sent the following on 4/3/2008 10:04 AM: > > HI BJ, > > > > I just tried it out, and it seems to work, thanks for your help mate! > > > > This goes in your ofbiz-component.xml > > > > > title="ROOT" > > server="default-server" > > location="webapp/root" > > mount-point="/" > > app-bar-display="false"/> > > > > > > And then you put your crossdomain.xml in your webapp/root folder... > > > > And then you update the web.xml from a normal one if anyone wants > the > > whole web.xml let me know! > > > > > > ContextFilter > > ContextFilter > > > org.ofbiz.webapp.control.ContextFilter > > > > disableContextSecurity > > N > > > > > > allowedPaths > > > > /index.html:/index.jsp:/default.html:/crossdomain.xml: > > > > /default.jsp:/images:/includes/maincss.css > > > > > > errorCode > > 403 > > > > > > redirectPath > > /control/main > > > > > > > > ContextFilter > > /* > > > > > > > > > > 60 > > > > > > > > index.jsp > > index.html > > index.htm > > crossdomain.xml > > > > > > > > Regards > > > > Mark > > > > On Thu, Apr 3, 2008 at 6:58 PM, BJ Freeman <[EMAIL PROTECTED]> wrote: > > > >> Not sure that will work. I may be wrong. > >> ofbiz works as one application. > >> application in the hot deploy are not exposed to tomcat directly but > are > >> part of ofbiz. > >> > >> Mark Ellul sent the following on 4/3/2008 9:45 AM: > >>> Hi BJ, > >>> > >>> well basically If I have a ofbiz installation at www.myofbiz.com I > need > >> to > >>> serve a crossdomain.xml from this address > >>> http://www.myofbiz.com/crossdomain.xml > >>> > >>> I was thinking that I create a web app in my hot deploy that uses / as > >> its > >>> context and put the file in there... and allow that as a welcome file > in > >> the > >>> web.xml > >>> > >>> Otherwise is there a folder which we can serve files in the root > context > >>> from? > >>> > >>> Does that make sense? > >>> > >>> Thanks and Regards > >>> > >>> Mark > >>> > >>> On Thu, Apr 3, 2008 at 6:37 PM, BJ Freeman <[EMAIL PROTECTED]> > wrote: > >>> > not sure how that fits into ofbiz. > so can't answer. > > Mark Ellul sent the following on 4/3/2008 9:23 AM: > > Hi BJ, > > > > Its my own services I have written, using the BlazeDS jars. > > > > Regards > > > > Mark > > > > > > > > On Thu, Apr 3, 2008 at 5:54 PM, BJ Freeman <[EMAIL PROTECTED]> > >> wrote: > >> are you referring to the ofbiz service engine, services? > >> > >> Mark Ellul sent the following on 4/3/2008 7:50 AM: > >>> Hi, > >>> > >>> I want to use a crossdomain.xml to allow users from a domain to > >> access > >> my > >>> services, where would I put it? > >>> > >>> Regards > >>> > >>> Mark > >>> > >> > > > >
Re: Full of Questions
Hi Bilgin, I'd suggest to have a look at the findPrinters.bsh script, in the content application, that is the one that is used to get the list of printers (it just uses the javax.print.* api). Jacopo On Apr 4, 2008, at 10:49 AM, Bilgin Ibryam wrote: BTW using FC6 with configured printers, I cannot see the printers in find orders screen. Any ideas what could be the reason and how to fix it? Bilgin
Re: Disable JobManager
Yes Bilgin, you are right. Job Manager is used by the service engine to run and manage async services. And I don't think there is any way to stop Job Manager and even one should not attempt doing that. On Fri, Apr 4, 2008 at 2:32 PM, Bilgin Ibryam <[EMAIL PROTECTED]> wrote: > Vedam, > > If I'm not wrong Job Manager is used by service engine for async > services so better do not stop it(and I don't know how can you do it). > > Bilgin > > > -- Thanks & Regards Mridul Pathak Hotwax Media http://www.hotwaxmedia.com [EMAIL PROTECTED] __ Office : 509.855.4113 Mobile : +919425926892
Re: Disable JobManager
Vedam, If I'm not wrong Job Manager is used by service engine for async services so better do not stop it(and I don't know how can you do it). Bilgin
Re: Full of Questions
BTW using FC6 with configured printers, I cannot see the printers in find orders screen. Any ideas what could be the reason and how to fix it? Bilgin
Re: Discovering Program Flow
Hi,The best way to trace the process is to watch the consol log properly and you may go through the control flow, and put debug statements in different methods to debug the code. Now moving to your problem, I tried to trace the flow for Purchase Order and was able to trace where exactly the call is made for creating Invoice while receiving the purchase order. On following the consol log carefully I found that after processing receiveInventory and createShipmentReceipt, on updateShipment service createInvoiceFromShipment is triggered as an ECA. And after that capturePaymentFromInvoice service is triggered as an ECA on createInvoiceForOrder. The service createInvoiceForOrder is called inline from createInvoicesFromShipments service which again is called inline from creatInvoicesFromShipment service. I'll like to suggest you to debug the process to understand it better, because this is a very complicated process and I think just reading out the code may not be of much help. On Fri, Apr 4, 2008 at 4:47 AM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > I am writing purchase orders, and then receiving them. As part of that > process, an Invoice is being created when the items are received I see a > shipment and shipmentItems created, .ItemIssuance and related, > InventoryItem > and Detail, and several others. > > For the life of me, I cannot see what code is being called to create the > Invoice. This is not the first time I ran into this. > > I have searched all the routines called directly and the ecas two levels > down so far, but still cannot find out how the invoice is being created. > > Can someone tell me what is the best way and/or resources to use to > discover > how these things happen when you can't trace through the code. > > Skip > No virus found in this outgoing message. > Checked by AVG. > Version: 7.5.519 / Virus Database: 269.22.1/1352 - Release Date: 3/31/2008 > 10:13 AM > > -- Thanks & Regards Mridul Pathak Hotwax Media http://www.hotwaxmedia.com [EMAIL PROTECTED] __ Office : 509.855.4113 Mobile : +919425926892
Re: Error at install ofbiz
I can't see any such problem with trunk last version (did not look in details, just a glance at log). Which OFBiz version are you using ? Jacques From: "Yan H Q,Alwin" <[EMAIL PROTECTED]> Dear All, When I run the command 'ant run-install' to install the ofbiz,the job stop at here: Entity [ZipSalesTaxLookup] has no table in the database [java] 2008-04-03 17:02:36,938 (main) [ DatabaseUtil.java:356:INFO ]Created table [ZIP_SALES_TAX_LOOKUP] I wait a long time and it seem the install job stop at here. I check the debug.log and seem not find any erro! Any problem about it? _ 新年换新颜,快来妆扮自己的MSN给心仪的TA一个惊喜! http://im.live.cn/emoticons/?ID=18