Re: Tracking code fails if URL is appended with additional data......
Hi Rohit, Try this like http://www.example.com/products/p_11001?isbn=7324289929&xyz=8939320&atc=gbbc Thanks & Regards, -- Ashish Nagar rohit2006 wrote: Hi, Has anyone tried appending additional data to the URL together with tracking code? If try to do the tracking code does not seem to work... for e.g. for the URL http://www.example.com/products/p_11001?atc=gbbc the tracking code works fine, however if i append additional parameter to the url, the tracking is recognised in ofbiz..for eg. http://www.example.com/products/p_11001?isbn=7324289929?xyz=8939320?atc=gbbc why are the tracking code parameter passed in the URL not accepted bu ofbiz. My ecommerce webapp is mounted at "/". Any help will be appreciated. Rohit
Re: Component not loading
You can download ofbiz from release or trunk version from this list http://build.ofbiz.org/ Regards, -- Ashish Nagar su2 wrote: Hi Ashish, Yes you are right I am using opentaps 1.0.3 but thats what I got it from ofbiz.apache.org > ofbiz download Ashish Nagar wrote: Are you using open-taps? If yes then you have to add it in component-load.xml. Ofbiz does not require to add it in that file, so not mentioned in the tutorials. Regards, -- Ashish Nagar su2 wrote: It Woked ye!!! Once I added component in component-load.xml file, it worked. But I do not see such step in tutorial though. Do we always have to add in this file? just want to know whether what i did is work around fix or that is how it suppose to be. Thanks Ashish Nagar wrote: This is strange. Your web.xml has no issue as well. At this moment can you tell what your console says? I think you should check the directory structure. You can use command ant create-component to build proper directory structure. Try ant clean-all then ant run-install again and start the server. Regards, -- Ashish Nagar su2 wrote: Hi Ashish, Following is my web.xml *** http://java.sun.com/dtd/web-app_2_3.dtd";> Opentaps - Practice Application Practice Application of the Opentaps Project entityDelegatorName default The Name of the Entity Delegator to use, defined in entityengine.xml localDispatcherName practice A unique name used to identify/recognize the local dispatcher for the Service Engine mainApplicationDecoratorLocation component://practice/widget/CommonScreens.xml The location of the main-application-decorator screen to use for this webapp; referred to as a context variable in screen def XML files. ContextFilter ContextFilter org.ofbiz.webapp.control.ContextFilter disableContextSecurity N allowedPaths /control:/select:/index.html:/index.jsp:/default.html:/default.jsp:/images:/includes/maincss.css:/css errorCode 403 redirectPath /control/main ContextFilter /* org.ofbiz.webapp.control.ControlEventListener org.ofbiz.webapp.control.LoginEventListener ControlServlet ControlServlet Main Control Servlet org.ofbiz.webapp.control.ControlServlet 1 ControlServlet /control/* 60 index.jsp index.html index.htm *** Ashish Nagar wrote: These look fine to me. Now i guess, i would need to see web.xml. Please post your web.xml here. Regards, -- Ashish Nagar su2 wrote: Hi Ashish, Following is my controller.xml. http://www.w3.org/2001/XMLSchema-instance"; xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/site-conf.xsd";> Practice Component Site Configuration File Copyright 2001-2008 The Apache Software Foundation class="org.ofbiz.widget.screen.ScreenWidgetViewHandler"/> And Following is my PracticeScreens.xml http://www.w3.org/2001/XMLSchema-instance"; xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/widget-screen.xsd";> Ashish Nagar wrote: Hi, What made you thinking that your component is not loaded? Also have you done request and view mapping in the controller.xml? If all is correct make sure that the screen name, you have mentioned in controller.xml is consistent with the one you defined in PracticeScreens.xml Thanks, -- Ashish Nagar su2 wrote: Hi All, I have added a new component under hot-deploy named practice. I added ofbiz-component.xml file with location="webapp/practice" and mount-point="/practice" I added practice>webapp>practice>WEB-INF>controller.xml & web.xml I added practice>widget>PracticeSreens.xml I started the server using java -Xmx256M -jar ofbiz.jar command. but I get following error message. * HTTP Status 404 - /practice/control/main type Status report message /practice/control/main description The requested resource (/practice/control/main) is not available. *** Some how my newly add
Re: Component not loading
Are you using open-taps? If yes then you have to add it in component-load.xml. Ofbiz does not require to add it in that file, so not mentioned in the tutorials. Regards, -- Ashish Nagar su2 wrote: It Woked ye!!! Once I added component in component-load.xml file, it worked. But I do not see such step in tutorial though. Do we always have to add in this file? just want to know whether what i did is work around fix or that is how it suppose to be. Thanks Ashish Nagar wrote: This is strange. Your web.xml has no issue as well. At this moment can you tell what your console says? I think you should check the directory structure. You can use command ant create-component to build proper directory structure. Try ant clean-all then ant run-install again and start the server. Regards, -- Ashish Nagar su2 wrote: Hi Ashish, Following is my web.xml *** http://java.sun.com/dtd/web-app_2_3.dtd";> Opentaps - Practice Application Practice Application of the Opentaps Project entityDelegatorName default The Name of the Entity Delegator to use, defined in entityengine.xml localDispatcherName practice A unique name used to identify/recognize the local dispatcher for the Service Engine mainApplicationDecoratorLocation component://practice/widget/CommonScreens.xml The location of the main-application-decorator screen to use for this webapp; referred to as a context variable in screen def XML files. ContextFilter ContextFilter org.ofbiz.webapp.control.ContextFilter disableContextSecurity N allowedPaths /control:/select:/index.html:/index.jsp:/default.html:/default.jsp:/images:/includes/maincss.css:/css errorCode 403 redirectPath /control/main ContextFilter /* org.ofbiz.webapp.control.ControlEventListener org.ofbiz.webapp.control.LoginEventListener ControlServlet ControlServlet Main Control Servlet org.ofbiz.webapp.control.ControlServlet 1 ControlServlet /control/* 60 index.jsp index.html index.htm *** Ashish Nagar wrote: These look fine to me. Now i guess, i would need to see web.xml. Please post your web.xml here. Regards, -- Ashish Nagar su2 wrote: Hi Ashish, Following is my controller.xml. http://www.w3.org/2001/XMLSchema-instance"; xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/site-conf.xsd";> Practice Component Site Configuration File Copyright 2001-2008 The Apache Software Foundation class="org.ofbiz.widget.screen.ScreenWidgetViewHandler"/> And Following is my PracticeScreens.xml http://www.w3.org/2001/XMLSchema-instance"; xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/widget-screen.xsd";> Ashish Nagar wrote: Hi, What made you thinking that your component is not loaded? Also have you done request and view mapping in the controller.xml? If all is correct make sure that the screen name, you have mentioned in controller.xml is consistent with the one you defined in PracticeScreens.xml Thanks, -- Ashish Nagar su2 wrote: Hi All, I have added a new component under hot-deploy named practice. I added ofbiz-component.xml file with location="webapp/practice" and mount-point="/practice" I added practice>webapp>practice>WEB-INF>controller.xml & web.xml I added practice>widget>PracticeSreens.xml I started the server using java -Xmx256M -jar ofbiz.jar command. but I get following error message. * HTTP Status 404 - /practice/control/main type Status report message /practice/control/main description The requested resource (/practice/control/main) is not available. *** Some how my newly added component is not able to load. Does anybody have idea on this? I really appreciate your help. Thanks in advance.
Re: Component not loading
This is strange. Your web.xml has no issue as well. At this moment can you tell what your console says? I think you should check the directory structure. You can use command ant create-component to build proper directory structure. Try ant clean-all then ant run-install again and start the server. Regards, -- Ashish Nagar su2 wrote: Hi Ashish, Following is my web.xml *** http://java.sun.com/dtd/web-app_2_3.dtd";> Opentaps - Practice Application Practice Application of the Opentaps Project entityDelegatorName default The Name of the Entity Delegator to use, defined in entityengine.xml localDispatcherName practice A unique name used to identify/recognize the local dispatcher for the Service Engine mainApplicationDecoratorLocation component://practice/widget/CommonScreens.xml The location of the main-application-decorator screen to use for this webapp; referred to as a context variable in screen def XML files. ContextFilter ContextFilter org.ofbiz.webapp.control.ContextFilter disableContextSecurity N allowedPaths /control:/select:/index.html:/index.jsp:/default.html:/default.jsp:/images:/includes/maincss.css:/css errorCode 403 redirectPath /control/main ContextFilter /* org.ofbiz.webapp.control.ControlEventListener org.ofbiz.webapp.control.LoginEventListener ControlServlet ControlServlet Main Control Servlet org.ofbiz.webapp.control.ControlServlet 1 ControlServlet /control/* 60 index.jsp index.html index.htm *** Ashish Nagar wrote: These look fine to me. Now i guess, i would need to see web.xml. Please post your web.xml here. Regards, -- Ashish Nagar su2 wrote: Hi Ashish, Following is my controller.xml. http://www.w3.org/2001/XMLSchema-instance"; xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/site-conf.xsd";> Practice Component Site Configuration File Copyright 2001-2008 The Apache Software Foundation class="org.ofbiz.widget.screen.ScreenWidgetViewHandler"/> And Following is my PracticeScreens.xml http://www.w3.org/2001/XMLSchema-instance"; xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/widget-screen.xsd";> Ashish Nagar wrote: Hi, What made you thinking that your component is not loaded? Also have you done request and view mapping in the controller.xml? If all is correct make sure that the screen name, you have mentioned in controller.xml is consistent with the one you defined in PracticeScreens.xml Thanks, -- Ashish Nagar su2 wrote: Hi All, I have added a new component under hot-deploy named practice. I added ofbiz-component.xml file with location="webapp/practice" and mount-point="/practice" I added practice>webapp>practice>WEB-INF>controller.xml & web.xml I added practice>widget>PracticeSreens.xml I started the server using java -Xmx256M -jar ofbiz.jar command. but I get following error message. * HTTP Status 404 - /practice/control/main type Status report message /practice/control/main description The requested resource (/practice/control/main) is not available. *** Some how my newly added component is not able to load. Does anybody have idea on this? I really appreciate your help. Thanks in advance.
Re: Component not loading
These look fine to me. Now i guess, i would need to see web.xml. Please post your web.xml here. Regards, -- Ashish Nagar su2 wrote: Hi Ashish, Following is my controller.xml. http://www.w3.org/2001/XMLSchema-instance"; xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/site-conf.xsd";> Practice Component Site Configuration File Copyright 2001-2008 The Apache Software Foundation class="org.ofbiz.widget.screen.ScreenWidgetViewHandler"/> And Following is my PracticeScreens.xml http://www.w3.org/2001/XMLSchema-instance"; xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/widget-screen.xsd";> Ashish Nagar wrote: Hi, What made you thinking that your component is not loaded? Also have you done request and view mapping in the controller.xml? If all is correct make sure that the screen name, you have mentioned in controller.xml is consistent with the one you defined in PracticeScreens.xml Thanks, -- Ashish Nagar su2 wrote: Hi All, I have added a new component under hot-deploy named practice. I added ofbiz-component.xml file with location="webapp/practice" and mount-point="/practice" I added practice>webapp>practice>WEB-INF>controller.xml & web.xml I added practice>widget>PracticeSreens.xml I started the server using java -Xmx256M -jar ofbiz.jar command. but I get following error message. * HTTP Status 404 - /practice/control/main type Status report message /practice/control/main description The requested resource (/practice/control/main) is not available. *** Some how my newly added component is not able to load. Does anybody have idea on this? I really appreciate your help. Thanks in advance.
Re: Component not loading
Hi, What made you thinking that your component is not loaded? Also have you done request and view mapping in the controller.xml? If all is correct make sure that the screen name, you have mentioned in controller.xml is consistent with the one you defined in PracticeScreens.xml Thanks, -- Ashish Nagar su2 wrote: Hi All, I have added a new component under hot-deploy named practice. I added ofbiz-component.xml file with location="webapp/practice" and mount-point="/practice" I added practice>webapp>practice>WEB-INF>controller.xml & web.xml I added practice>widget>PracticeSreens.xml I started the server using java -Xmx256M -jar ofbiz.jar command. but I get following error message. * HTTP Status 404 - /practice/control/main type Status report message /practice/control/main description The requested resource (/practice/control/main) is not available. *** Some how my newly added component is not able to load. Does anybody have idea on this? I really appreciate your help. Thanks in advance.
Re: render the select element as a list box in ftl
Please verify that the page source of the generated web page contains the desired dropdown code only once. You can check it using 'view page source' option. -- Ashish Nagar Jack Liu wrote: > Hi Ashish, > It works properly. > > -Original Message- > From: Ashish Nagar [mailto:ashish.na...@hotwaxmedia.com] > Sent: 2009年6月16日 13:20 > To: user@ofbiz.apache.org > Subject: Re: render the select element as a list box in ftl > > Hello Jack, > > Can you please check that can you make any option default selected using > b? > > Thanks & Regards, > -- > Ashish Nagar > > Jack Liu wrote: > >> But why does it render normally when I copy it from ftl page to htm page? >> It's the problem of ftl or OFBiz itself? >> >> -Original Message- >> From: Scott Gray [mailto:scott.g...@hotwaxmedia.com] >> Sent: 2009年6月16日 11:13 >> To: user@ofbiz.apache.org >> Subject: Re: render the select element as a list box in ftl >> >> Good question, I don't know but I'm sure google will. >> >> Regards >> Scott >> >> - Original Message - >> From: "Jack Liu" >> To: user@ofbiz.apache.org >> Sent: Tuesday, June 16, 2009 1:07:21 PM (GMT+1000) Auto-Detected >> Subject: RE: render the select element as a list box in ftl >> >> Scott, you are right. I can't see any list box in Quick Admin as rendered in >> my own page. >> I use ie7.0. How should I do with this browser? >> Thank you. >> >> -Original Message- >> From: Scott Gray [mailto:scott.g...@hotwaxmedia.com] >> Sent: 2009年6月16日 10:42 >> To: user@ofbiz.apache.org >> Subject: Re: render the select element as a list box in ftl >> >> Hrmm might be something specific to your browser, there's an example in this >> file: >> EditProductQuickAdmin.ftl >> Viewable by Catalog -> GZ-1000 -> Quick Admin >> >> If that doesn't display properly then you'll need to dig into why not for >> your browser. >> >> Regards >> Scott >> >> - Original Message - >> From: "Jack Liu" >> To: user@ofbiz.apache.org >> Sent: Tuesday, June 16, 2009 12:27:53 PM (GMT+1000) Auto-Detected >> Subject: RE: render the select element as a list box in ftl >> >> Neither of multiple="multiple" and multiple="true" works. >> >> -Original Message- >> From: Scott Gray [mailto:scott.g...@hotwaxmedia.com] >> Sent: 2009年6月16日 10:24 >> To: user@ofbiz.apache.org >> Subject: Re: render the select element as a list box in ftl >> >> Try multiple="multiple" >> >> Regards >> Scott >> >> HotWax Media >> http://www.hotwaxmedia.com >> 801.657.2909 >> >> - Original Message - >> From: "Jack Liu" >> To: user@ofbiz.apache.org >> Sent: Tuesday, June 16, 2009 12:20:10 PM (GMT+1000) Auto-Detected >> Subject: render the select element as a list box in ftl >> >> Hi, All >> I took me about 1 hour to solve the problem, but failed at last. >> To me, I think it's a simple question. I just want to render the select >> element as a list box in ftl page and allow users to make multiple >> selections from the list of options. >> Code lists below: >> >> TestMulti >> >> b >> a >> c >> >> >> >> But what I get is nothing but a little box with a horizontal line in it. >> When I copied it to html page, it works. >> >> Help me please, any suggestion is appreciated. >> >> Best Regards, >> >> Jack Liu >> >> >> > >
Re: render the select element as a list box in ftl
Hello Jack, Can you please check that can you make any option default selected using b? Thanks & Regards, -- Ashish Nagar Jack Liu wrote: > But why does it render normally when I copy it from ftl page to htm page? > It's the problem of ftl or OFBiz itself? > > -Original Message- > From: Scott Gray [mailto:scott.g...@hotwaxmedia.com] > Sent: 2009年6月16日 11:13 > To: user@ofbiz.apache.org > Subject: Re: render the select element as a list box in ftl > > Good question, I don't know but I'm sure google will. > > Regards > Scott > > - Original Message - > From: "Jack Liu" > To: user@ofbiz.apache.org > Sent: Tuesday, June 16, 2009 1:07:21 PM (GMT+1000) Auto-Detected > Subject: RE: render the select element as a list box in ftl > > Scott, you are right. I can't see any list box in Quick Admin as rendered in > my own page. > I use ie7.0. How should I do with this browser? > Thank you. > > -Original Message- > From: Scott Gray [mailto:scott.g...@hotwaxmedia.com] > Sent: 2009年6月16日 10:42 > To: user@ofbiz.apache.org > Subject: Re: render the select element as a list box in ftl > > Hrmm might be something specific to your browser, there's an example in this > file: > EditProductQuickAdmin.ftl > Viewable by Catalog -> GZ-1000 -> Quick Admin > > If that doesn't display properly then you'll need to dig into why not for > your browser. > > Regards > Scott > > - Original Message - > From: "Jack Liu" > To: user@ofbiz.apache.org > Sent: Tuesday, June 16, 2009 12:27:53 PM (GMT+1000) Auto-Detected > Subject: RE: render the select element as a list box in ftl > > Neither of multiple="multiple" and multiple="true" works. > > -Original Message- > From: Scott Gray [mailto:scott.g...@hotwaxmedia.com] > Sent: 2009年6月16日 10:24 > To: user@ofbiz.apache.org > Subject: Re: render the select element as a list box in ftl > > Try multiple="multiple" > > Regards > Scott > > HotWax Media > http://www.hotwaxmedia.com > 801.657.2909 > > - Original Message - > From: "Jack Liu" > To: user@ofbiz.apache.org > Sent: Tuesday, June 16, 2009 12:20:10 PM (GMT+1000) Auto-Detected > Subject: render the select element as a list box in ftl > > Hi, All > I took me about 1 hour to solve the problem, but failed at last. > To me, I think it's a simple question. I just want to render the select > element as a list box in ftl page and allow users to make multiple > selections from the list of options. > Code lists below: > > TestMulti > > b > a > c > > > > But what I get is nothing but a little box with a horizontal line in it. > When I copied it to html page, it works. > > Help me please, any suggestion is appreciated. > > Best Regards, > > Jack Liu > >
Re: Ofbiz Installation
Hello Shuchi, You can alter the status of any program, if accessing your port, from Computer Management --> Services and Computer Management-->Internet Information Services-->Web Sites. Regards, -- Ashish Nagar Cimballi wrote: Shuchi, once again, do this : netstat -abnv -p tcp And then look at the name of the program, and then look at the program that are started on your machine. You can look in the Task Manager and stop it here or in the Services and stop it there. Cimballi On Wed, Apr 22, 2009 at 1:50 PM, shuchi wrote: nope its not solved yet, still facing the same issue shuchi wrote: I have following error message in Desktop\ofbiz-trunk-current\ofbiz-trunk\runtime\logs\error.log It shows error dated 2009-04-14 - when I downloaded the ofbiz-trunk-current. *** 2009-04-14 14:45:06,500 (main) [ Http11Protocol.java:178:ERROR] Error initializing endpoint java.net.BindException: Address already in use: JVM_Bind:8080 at org.apache.tomcat.util.net.JIoEndpoint.init(JIoEndpoint.java:501) at org.apache.coyote.http11.Http11Protocol.init(Http11Protocol.java:176) at org.apache.catalina.connector.Connector.initialize(Connector.java:1058) at org.apache.catalina.core.StandardService.initialize(StandardService.java:677) at org.ofbiz.catalina.container.CatalinaContainer.init(CatalinaContainer.java:214) at org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.java:190) at org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:66) at org.ofbiz.base.start.Start.initStartLoaders(Start.java:250) at org.ofbiz.base.start.Start.init(Start.java:89) at org.ofbiz.base.start.Start.main(Start.java:398) *** -- View this message in context: http://www.nabble.com/Ofbiz-Installation-tp23101859p23175799.html Sent from the OFBiz - User mailing list archive at Nabble.com.
Error in BlueLight theme for ant target created admin user
Hello All, When I create admin user using command ant create-admin-user-login, I get my admin user with "FULLADMIN" security group. But when I login with this userLogin, I get error while applying BlueLight theme and the whole UI gets scattered. This is because of the reason as there creates no party for the admin user created by the above command and in /themes/bluelight/includes/header.ftl, userLogin.partyId is used as class="user">href="/partymgr/control/viewprofile?partyId=${userLogin.partyId}">${userName}. This issue should be fixed so as to make it accessible for ant target created admin user too. Thanks & Regards, -- Ashish Nagar
Re: demo site ordermgr does not work
Hello, The url http://demo.ofbiz.org/ordermgr is redirecting to https://demo.hotwaxmedia.com/ordermgr/control/main. But you can directly access url https://demo.ofbiz.org/ordermgr/control/main, while adding certificate exception. Thanks & Regards, -- Ashish Nagar -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 https://demo.ofbiz.com/ordermgr/control/main does go to the proper site but is not working right now. BJ Freeman sent the following on 3/30/2009 6:57 PM: try http://demo.ofbiz.org/ecommerce/ aswath narayana sent the following on 3/30/2009 6:47 PM: Hello, The following demo link http://demo.ofbiz.org/ecommerce/control/main works. However, http://demo.ofbiz.org/ordermgr will redirect to https://demo.hotwaxmedia.com/ordermgr/control/main with the following error - Secure Connection Failed An error occurred during a connection to demo.hotwaxmedia.com. SSL received a record that exceeded the maximum permissible length. (Error code: ssl_error_rx_record_too_long) --- -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFJ0XkqrP3NbaWWqE4RArS1AKCeiXKf8K2q5/a8arEsAJKpqSA/JgCZAVRB +ujAD0LvghDCCh2qD+2sb3w= =kncs -END PGP SIGNATURE-
Re: JPublishWrapper error in worldPay
Hello Nachi, I think you are looking for jpublish package. You can download it from this link http://sourceforge.net/project/showfiles.php?group_id=26450. You can use these jars & src files for your purpose. Thanks & Regards, -- Ashish Nagar nachi ... wrote: HI Ashish, What may be the reason for not compiling the JPublishwrapper.java file ...is there any jar file missing ... can u help me out in resolving this... i have to integrate worldpay to the application i have the installationid and the user name and password ..i will be expecting your guidance... thanks in advance.. On Sat, Mar 21, 2009 at 9:44 PM, Ashish Nagar mailto:ashish.na...@hotwaxmedia.com>> wrote: The reason is very same, JPublishWrapper.java needs some more java files to be compiled before. Some packages to be included is again a must, like jpublish. Thanks & Regards: -- Ashish Nagar nach...@gmail.com <mailto:nach...@gmail.com> wrote: Hi ashish, Ya even worldpayevents.java was also not compiling when i ant it.. later i modified in build.xml file then it compiled ... do u know why JPublishWrapper is not compiling... Ashish Nagar wrote: Hello Nachi, I think the JPublishWrapper.java is not getting compiled, so the symbol JPublishWrapper is undefined. I found that after running ant command this file is not compiled. Thanks & Regards, -- Ashish Nagar nachi19 wrote: Hi, I am integrating the world pay with the ofbiz application at the time of compiling i am getting these errors regarding the JPublishWrapper... Compiling 29 source files to E:\pradeep\ofbiz-trunk\applications\accounting\build\classes E:\pradeep\ofbiz-trunk\applications\accounting\src\org\ofbiz\accounting\thirdparty\worldpay\SelectRespServlet.java:62: cannot find symbol symbol : class JPublishWrapper location: class org.ofbiz.accounting.thirdparty.worldpay.SelectRespServlet protected JPublishWrapper jp = null; ^ E:\pradeep\ofbiz-trunk\applications\accounting\src\org\ofbiz\accounting\thirdparty\worldpay\SelectRespServlet.java:77: cannot find symbol symbol : class JPublishWrapper location: class org.ofbiz.accounting.thirdparty.worldpay.SelectRespServlet this.jp <http://this.jp> = (JPublishWrapper) context.getAttribute("jpublishWrapper"); ^ E:\pradeep\ofbiz-trunk\applications\accounting\src\org\ofbiz\accounting\thirdparty\worldpay\SelectRespServlet.java:79: cannot find symbol symbol : class JPublishWrapper location: class org.ofbiz.accounting.thirdparty.worldpay.SelectRespServlet this.jp <http://this.jp> = new JPublishWrapper(context); ^ E:\pradeep\ofbiz-trunk\applications\accounting\src\org\ofbiz\accounting\thirdparty\worldpay\SelectRespServlet.java:225: cannot find symbol symbol : variable UtilValidate location: class org.ofbiz.accounting.thirdparty.worldpay.SelectRespServlet if (UtilValidate.isNotEmpty(paymentPrefs)) { ^ Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 4 errors Can anyone tell me where is the problem... Quoted from: http://www.nabble.com/JPublishWrapper-error-in-worldPay-tp22628595p22632999.html -- Regards, nachi...
Re: attributes in .ftl file
Hello Lahmar, You can find the key "CommonUsername" and its corresponding value in CommonUiLabels.xml. UiLabels are mapped in the screens. Thanks & Regards, -- Ashish Nagar Olivier Michel wrote: Hello Lahmar ! I usually declare my property files in the action section of the decorator, so that every screen using this decorator has access to the property file: ... Then the file itself, EcommerceUiLabels.properties is in /ecommerce/ecommerce/config Hope this helps, Olivier Michel Cypoint AB http://www.cypoint.se On Tue, Mar 24, 2009 at 3:29 PM, lahmar wrote: Hi, I would like to know where we define the attributes of an entity in ftl file ex: ${uiLabelMap.CommonUsername} where "uiLabelMap" is a map-name but i don't know what the "CommonUsername". Any one has an idea? Thks & best regards. Lahmar. -- View this message in context: http://www.nabble.com/attributes-in-.ftl-file-tp22681626p22681626.html Sent from the OFBiz - User mailing list archive at Nabble.com.
Re: JPublishWrapper error in worldPay
The reason is very same, JPublishWrapper.java needs some more java files to be compiled before. Some packages to be included is again a must, like jpublish. Thanks & Regards: -- Ashish Nagar nach...@gmail.com wrote: Hi ashish, Ya even worldpayevents.java was also not compiling when i ant it.. later i modified in build.xml file then it compiled ... do u know why JPublishWrapper is not compiling... Ashish Nagar wrote: Hello Nachi, I think the JPublishWrapper.java is not getting compiled, so the symbol JPublishWrapper is undefined. I found that after running ant command this file is not compiled. Thanks & Regards, -- Ashish Nagar nachi19 wrote: Hi, I am integrating the world pay with the ofbiz application at the time of compiling i am getting these errors regarding the JPublishWrapper... Compiling 29 source files to E:\pradeep\ofbiz-trunk\applications\accounting\build\classes E:\pradeep\ofbiz-trunk\applications\accounting\src\org\ofbiz\accounting\thirdparty\worldpay\SelectRespServlet.java:62: cannot find symbol symbol : class JPublishWrapper location: class org.ofbiz.accounting.thirdparty.worldpay.SelectRespServlet protected JPublishWrapper jp = null; ^ E:\pradeep\ofbiz-trunk\applications\accounting\src\org\ofbiz\accounting\thirdparty\worldpay\SelectRespServlet.java:77: cannot find symbol symbol : class JPublishWrapper location: class org.ofbiz.accounting.thirdparty.worldpay.SelectRespServlet this.jp = (JPublishWrapper) context.getAttribute("jpublishWrapper"); ^ E:\pradeep\ofbiz-trunk\applications\accounting\src\org\ofbiz\accounting\thirdparty\worldpay\SelectRespServlet.java:79: cannot find symbol symbol : class JPublishWrapper location: class org.ofbiz.accounting.thirdparty.worldpay.SelectRespServlet this.jp = new JPublishWrapper(context); ^ E:\pradeep\ofbiz-trunk\applications\accounting\src\org\ofbiz\accounting\thirdparty\worldpay\SelectRespServlet.java:225: cannot find symbol symbol : variable UtilValidate location: class org.ofbiz.accounting.thirdparty.worldpay.SelectRespServlet if (UtilValidate.isNotEmpty(paymentPrefs)) { ^ Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 4 errors Can anyone tell me where is the problem... Quoted from: http://www.nabble.com/JPublishWrapper-error-in-worldPay-tp22628595p22632999.html
Re: JPublishWrapper error in worldPay
You can refer to /framework/webapp/build.xml file. name="org/ofbiz/webapp/view/JasperReportsPdfViewHandler.java"/> name="org/ofbiz/webapp/view/JasperReportsXmlViewHandler.java"/> name="org/ofbiz/webapp/view/JasperReportsJXlsViewHandler.java"/> name="org/ofbiz/webapp/view/JasperReportsPoiXlsViewHandler.java"/> You can compile JPublishWrapper.java, by removing it from , but that would again have dependencies on some more java files to be compiled, & packages to be included. For more information you can go through the error log. Thanks & Regards, -- Ashish Nagar Ashish Nagar wrote: Hello Nachi, I think the JPublishWrapper.java is not getting compiled, so the symbol JPublishWrapper is undefined. I found that after running ant command this file is not compiled. Thanks & Regards, -- Ashish Nagar nachi19 wrote: Hi, I am integrating the world pay with the ofbiz application at the time of compiling i am getting these errors regarding the JPublishWrapper... Compiling 29 source files to E:\pradeep\ofbiz-trunk\applications\accounting\build\classes E:\pradeep\ofbiz-trunk\applications\accounting\src\org\ofbiz\accounting\thirdparty\worldpay\SelectRespServlet.java:62: cannot find symbol symbol : class JPublishWrapper location: class org.ofbiz.accounting.thirdparty.worldpay.SelectRespServlet protected JPublishWrapper jp = null; ^ E:\pradeep\ofbiz-trunk\applications\accounting\src\org\ofbiz\accounting\thirdparty\worldpay\SelectRespServlet.java:77: cannot find symbol symbol : class JPublishWrapper location: class org.ofbiz.accounting.thirdparty.worldpay.SelectRespServlet this.jp = (JPublishWrapper) context.getAttribute("jpublishWrapper"); ^ E:\pradeep\ofbiz-trunk\applications\accounting\src\org\ofbiz\accounting\thirdparty\worldpay\SelectRespServlet.java:79: cannot find symbol symbol : class JPublishWrapper location: class org.ofbiz.accounting.thirdparty.worldpay.SelectRespServlet this.jp = new JPublishWrapper(context); ^ E:\pradeep\ofbiz-trunk\applications\accounting\src\org\ofbiz\accounting\thirdparty\worldpay\SelectRespServlet.java:225: cannot find symbol symbol : variable UtilValidate location: class org.ofbiz.accounting.thirdparty.worldpay.SelectRespServlet if (UtilValidate.isNotEmpty(paymentPrefs)) { ^ Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 4 errors Can anyone tell me where is the problem...
Re: JPublishWrapper error in worldPay
Hello Nachi, I think the JPublishWrapper.java is not getting compiled, so the symbol JPublishWrapper is undefined. I found that after running ant command this file is not compiled. Thanks & Regards, -- Ashish Nagar nachi19 wrote: Hi, I am integrating the world pay with the ofbiz application at the time of compiling i am getting these errors regarding the JPublishWrapper... Compiling 29 source files to E:\pradeep\ofbiz-trunk\applications\accounting\build\classes E:\pradeep\ofbiz-trunk\applications\accounting\src\org\ofbiz\accounting\thirdparty\worldpay\SelectRespServlet.java:62: cannot find symbol symbol : class JPublishWrapper location: class org.ofbiz.accounting.thirdparty.worldpay.SelectRespServlet protected JPublishWrapper jp = null; ^ E:\pradeep\ofbiz-trunk\applications\accounting\src\org\ofbiz\accounting\thirdparty\worldpay\SelectRespServlet.java:77: cannot find symbol symbol : class JPublishWrapper location: class org.ofbiz.accounting.thirdparty.worldpay.SelectRespServlet this.jp = (JPublishWrapper) context.getAttribute("jpublishWrapper"); ^ E:\pradeep\ofbiz-trunk\applications\accounting\src\org\ofbiz\accounting\thirdparty\worldpay\SelectRespServlet.java:79: cannot find symbol symbol : class JPublishWrapper location: class org.ofbiz.accounting.thirdparty.worldpay.SelectRespServlet this.jp = new JPublishWrapper(context); ^ E:\pradeep\ofbiz-trunk\applications\accounting\src\org\ofbiz\accounting\thirdparty\worldpay\SelectRespServlet.java:225: cannot find symbol symbol : variable UtilValidate location: class org.ofbiz.accounting.thirdparty.worldpay.SelectRespServlet if (UtilValidate.isNotEmpty(paymentPrefs)) { ^ Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 4 errors Can anyone tell me where is the problem...
Re: Error occuring while jsonsimple events are invoked
Thanks Bilgin, Now these events are working fine. I think this should be fixed in trunk as well. Thanks & Regards, -- Ashish Nagar Bilgin Ibryam wrote: Can you try with this change: Index: framework/webapp/src/org/ofbiz/webapp/event/AbstractJSONEventHandler.java === --- framework/webapp/src/org/ofbiz/webapp/event/AbstractJSONEventHandler.java (revision 754880) +++ framework/webapp/src/org/ofbiz/webapp/event/AbstractJSONEventHandler.java (working copy) @@ -45,7 +45,7 @@ public String invoke(Event event, RequestMap requestMap, HttpServletRequest request, HttpServletResponse response) throws EventHandlerException { // call into the java handler for parameters parsing and invocation -String respCode = service.invoke(null, requestMap, request, response); +String respCode = service.invoke(event, requestMap, request, response); // pull out the service response from the request attribute Map attrMap = UtilHttp.getJSONAttributeMap(request); Bilgin On Mar 16, 2009, at 1:01 PM, Ashish Nagar wrote: Hello all, I am facing problem while calling ajax requests in Checkout page. I think Ajax requests in which events of type="jsonsimple" are invoked, are not working properly. The requests like createUpdateShippingAddress, getShipOptions, createUpdateBillingAndPayment et.c. which invoke events of type= "jsonsimple" are breaking the process. I also tried putting security https="false" but then also error occurs. The error log i get is : 2009-03-16 16:10:59,360 (http-0.0.0.0-8443-1) [ ControlServlet.java:208:ERROR] runtime exception report -- Error in request handler: Exception: java.lang.NullPointerException Message: null stack trace --- java.lang.NullPointerException org.ofbiz.webapp.event.SimpleEventHandler.invoke(SimpleEventHandler.java:54) org.ofbiz.webapp.event.AbstractJSONEventHandler.invoke(AbstractJSONEventHandler.java:48) org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:538) org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:336) I tried to trace the source from where the error is coming then found that it is generated by statement, String eventReturn = eventHandler.invoke(event, requestMap, request, response); in RequestHandler.java. I think these requests are troubling after some security changes done for XSRF. I may be wrong, please provide suggestions, how this problem could be resolved. Thanks & Regards, -- Ashish Nagar
Error occuring while jsonsimple events are invoked
Hello all, I am facing problem while calling ajax requests in Checkout page. I think Ajax requests in which events of type="jsonsimple" are invoked, are not working properly. The requests like createUpdateShippingAddress, getShipOptions, createUpdateBillingAndPayment et.c. which invoke events of type= "jsonsimple" are breaking the process. I also tried putting security https="false" but then also error occurs. The error log i get is : 2009-03-16 16:10:59,360 (http-0.0.0.0-8443-1) [ ControlServlet.java:208:ERROR] runtime exception report -- Error in request handler: Exception: java.lang.NullPointerException Message: null stack trace --- java.lang.NullPointerException org.ofbiz.webapp.event.SimpleEventHandler.invoke(SimpleEventHandler.java:54) org.ofbiz.webapp.event.AbstractJSONEventHandler.invoke(AbstractJSONEventHandler.java:48) org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:538) org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:336) I tried to trace the source from where the error is coming then found that it is generated by statement, String eventReturn = eventHandler.invoke(event, requestMap, request, response); in RequestHandler.java. I think these requests are troubling after some security changes done for XSRF. I may be wrong, please provide suggestions, how this problem could be resolved. Thanks & Regards, -- Ashish Nagar
Re: Ecommerce application not working on Demo Site
Thanks Ashish, for the information. Surely, I could wait for this to be fixed. :-) Regards, -- Ashish Nagar Ashish Vijaywargiya wrote: Hello Ashish N., There is no need to ask Contegix for support. On demo server, OFBiz is running on 753477. (Look in the footer section of Back office application) Please have a look on the commit notification 754529 and I am sure you will get your answer. For this to come into effect we may need to wait for 24 hours. LMK if you have any confusion. Thanks ! -- Ashish Jacques Le Roux wrote: Just asked Contegix for support Jacques From: "Ashish Nagar" Hello all, Ecommerce application is not working on demo.hotwaxmedia.com. I hope this should be fixed soon. Thanks & Regards, -- Ashish Nagar
Ecommerce application not working on Demo Site
Hello all, Ecommerce application is not working on demo.hotwaxmedia.com. I hope this should be fixed soon. Thanks & Regards, -- Ashish Nagar
Re: Catalog
Could you tell what entries you have added in DemoProduct.xml.Had you done association between the needful entities ? Refer to DemoProduct.xml & tell where are you getting problem. Regards: -- Ashish Nagar vishnupr...@x-minds.info wrote: Hi, I have added some products in the product table and now I want to display that product in the e-commerce application.I have edited the demoProduct.xml file. But it is not displaying there.Do I make any further modification in other xml or any file for displaying that product.I added the product using createProduct service provided inside ofbiz. with thanks and regards vishnupriya
Re: OFBiz-unexpected result caused by submitted form
If you want to have those fields empty in the form , you can make change in ftl. For instance you can use this field as Then also if you wish to empty all fields in parameters you can use parameters.clear() in the bsh file. Let me know if you want something else. Regards: -- Ashish Nagar Jack Liu wrote: > Yes, you are right. > Now I don't hope this happen or I want remove some entry from map parameters. > In my screen > > > >
Re: OFBiz-unexpected result caused by submitted form
Hi Jack, The fields you fill get sets in the environment so that the next page can retrieve their values.Such values are retrieved from parameters map.You find the values against those fields are automatically filled,this is because the values are fetched as parameters.firstName etc. Thanks & Regards: - - Ashish Nagar Jack Liu wrote: > Hi all > I find map parameters hold all fields that submitted in the previous page. > How can I remove some key-value pair in the map parameters? > And I can't understand why ofbiz automatically set a field which has an entry > in the map parameters. > > I am new to OFBiz, Please help me,thanks. > > -Original Message- > From: Jack Liu [mailto:jack@aicent.com] > Sent: 2009年2月4日 23:42 > To: user@ofbiz.apache.org > Subject: OFBiz-unexpected result caused by submitted form > > Hi > I've encountered a problem when I am learning OFBiz. I submit a form to > create a customer and save it in database, then page navigates to > another page, in which i can get the customer's id by from-field="parameters.id"/> . Why? > I can get all the fields submitted in the previous page through map > parameters, and even more, automatically. Why? > For example, When I edit a form including a field "city", change city to > "Beijing" ,then submit the form page, then the second page also including a > field "city", the field "city" automatically get the value "Beijing", but the > tow fields with the same name city belongs to different entity . It's > very strange. > > Help me, Please! > > > Best Regards, > > Jack Liu > >
Re: want to change username and password
Thanks Divesh for pointing out this thing.I mistakenly wrote ant run-install-extseed to ant run-install. Ansh, Jacopo has made a recent change in revision no.739738. Now you should take another ofbiz update & try this command "create-admin-user-login -DuserLoginId=" instead of the command "create-admin-user-login". Using this command you will not be asked to enter username. You can just pass username as an argument using newer command. Regards: - - Ashish Nagar Divesh Dutta wrote: Hello Ansh, One amendment in Ashish's answer.When you run ant run-install command you dont need to run ant create-admin-user-login command because when you run ant run-install user login with "admin" and password with "ofbiz" will be created.When you install seed data or run ant run-install-extseed then you need to run ant create-admin-user-login command. Thanks Divesh Hello Ansh, Please follow these steps: 1) Take latest ofbiz update from svn using svn up command. 2) Run ant clean-all command to clean temporarily used files. 3) Run ant run-install command. 4) Run ant create-admin-user-login command & follow what i told earlier.The username you provide while using this command will only be the administrator for your project.(There will not be any else "admin" user than this) 5) Run webtools or other backoffice applications to change the password. Please do not create new threads & demolish previous replies. Let me know if any queries. Regards: - - Ashish Nagar ansh jain wrote: dear sir, i face this problem when i follow the ashish nagar sir's instruction that is The Following Errors Occurred: error following occurred during login: so please tell me how to solve this problem On Tue, Feb 3, 2009 at 12:09 PM, Deepesh Kapoor < deepesh.kap...@hotwaxmedia.com> wrote: Ansh , Please take ofbiz update before you follow the steps provided by Ashish earlier. Let me know if you still face any problem. Regards - - Deepesh Ashish Nagar wrote: Hello Ansh, Please refer to my previous reply. "ant create-admin-user-login" command creates new /admin /user.The name of this user will be same as what you provided while running this command. Now this user will have all privileges that admin user had before. Let me know if anything is not clear to you. Regards: -- Ashish Nagar ansh jain wrote: i want to change username from admin to other name, can any one help me for tht
Re: want to change username and password
Hello Ansh, Please follow these steps: 1) Take latest ofbiz update from svn using svn up command. 2) Run ant clean-all command to clean temporarily used files. 3) Run ant run-install command. 4) Run ant create-admin-user-login command & follow what i told earlier.The username you provide while using this command will only be the administrator for your project.(There will not be any else "admin" user than this) 5) Run webtools or other backoffice applications to change the password. Please do not create new threads & demolish previous replies. Let me know if any queries. Regards: - - Ashish Nagar ansh jain wrote: dear sir, i face this problem when i follow the ashish nagar sir's instruction that is The Following Errors Occurred: error following occurred during login: so please tell me how to solve this problem On Tue, Feb 3, 2009 at 12:09 PM, Deepesh Kapoor < deepesh.kap...@hotwaxmedia.com> wrote: Ansh , Please take ofbiz update before you follow the steps provided by Ashish earlier. Let me know if you still face any problem. Regards - - Deepesh Ashish Nagar wrote: Hello Ansh, Please refer to my previous reply. "ant create-admin-user-login" command creates new /admin /user.The name of this user will be same as what you provided while running this command. Now this user will have all privileges that admin user had before. Let me know if anything is not clear to you. Regards: -- Ashish Nagar ansh jain wrote: i want to change username from admin to other name, can any one help me for tht
Re: want to change username and password
Hello Ansh, Please refer to my previous reply. "ant create-admin-user-login" command creates new /admin /user.The name of this user will be same as what you provided while running this command. Now this user will have all privileges that admin user had before. Let me know if anything is not clear to you. Regards: -- Ashish Nagar ansh jain wrote: i want to change username from admin to other name, can any one help me for tht
Re: want to change username and password
Run "ant create-admin-user-login", you will be asked to enter new user-name . Then when you will try to run webtools application, you will be asked to change password. Thanks & Regards: -- Ashish Nagar ansh jain wrote: dear sir, Can any one tell me how 2 change the username and password of the Ofbiz project
Re: F5 ( refresh of browser ) causes another item to be added to the cart
I too faced this thing.However i think it should be considered as an issue.As if due to some browser specific problem, if a customer tries to refresh the browser, unnecessary one extra item will be added to the cart.Let me know if i am thinking wrong. Regards: -- Ashish Nagar Jacques Le Roux wrote: Should this be really considered an issue ? Jacques From: "Rees Watkins" Hi If I add an item to the shopping cart and then refresh the browser this causes the same item to be added to the cart again. I presume this is not correct. Is this a known issue? Cheers Rees
Re: Login often needed in Catalog
Are you facing this problem with specific browser? or problem persists in every browser? masionas wrote: Right, cookies are enabled. Should be something else. Vince Clark wrote: I really don't think this is a cookies issue. I get it frequently as well when switching from one application to another. - Original Message - From: "BJ Freeman" To: user@ofbiz.apache.org Sent: Monday, January 12, 2009 5:47:33 PM (GMT-0700) America/Denver Subject: Re: Login often needed in Catalog -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 sounds like cookies are not enabled. masionas sent the following on 1/12/2009 2:56 PM: Hey, Any idea why this is happenening? "externalLoginKey" param is passed but it requires to re-login anyway. Thanks in adance. masionas wrote: Hi, I have the similiar issue from time to time and not only in Catalog. Even if the externalLoginKey is passed to url it still requires re-login at some places through an app. How could I fix it? Revision I use is r722010. Thanks for any hints. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFJa+SlrP3NbaWWqE4RAuULAJ9BcLPNxU1b9cHqvhcoDTS6rzokTACdGGAn VpodwsYfEF5tqoErW2We3K8= =ZmMI -END PGP SIGNATURE-
Re: service..
Hi Adithi, prefResult is only the out map of the service getUserPreferenceGroup as you defined in first step. Regards: -- Ashish adithi agarwal wrote: HI Can some one please explain me these 3 lines.. its in globalscreens.xml-GlobalDecorator.. Thanks.
Re: use of web.xml?
arpit singh pandya wrote: purpose is that, its deployment descriptor file for the web application. kiran19 wrote: hi all, can any one tell me the actual purpose of web.xml file in ofbiz Hi Kiran, As Ofbiz is the project based on J2EE standards, so it uses web.xml as deployment descriptor. A deployment descriptor is used to define the welcome page,error-page,parameters used by filter and/or defined for whole application.Session timeout value, listener & Servlet-Mapping is also done in web.xml file. I think this will help you. Regards: Ashish Nagar