Re: Marketing component documentation
Yes, sorry, was more a rant, not directed against you actually :D Could you elaborate your question then? I guess you want to send promotionals emails to subscribed users? Then I don't know how this relates to OFBiz user ML. Maybe others have opinions. ideas? Jacques From: Deepak Agarwal dagarwa...@gmail.com I still don't understand how is my posts are going in spam... On Sun, Jul 29, 2012 at 7:28 PM, Jacques Le Roux jacques.le.r...@les7arts.com wrote: I hate spam, any form. Tele marketing (phone) is the worse, the most intrusive, this should not be allowed. Jacques From: Deepak Agarwal dagarwa...@gmail.com Has anybody worked in marketing component. Is it a right choice to send promotional emails during festivals? -- Thanks, Deepak Agarwal, -- Thanks, Deepak Agarwal, Paxcel Technologies Pvt Ltd. Hartron Complex, Sector 18, Gurgaon, India. E-Mail: deepak.agar...@paxcel.net Mobile: +91 9910322604
Re: Problem with Primary Key String
The interesting thing is, that when I want to update (not delete) the attribute...it works fine, but when I want delet, than it does not work, cause of th +-signs. The only difference is, that there is a hyperlink used to send the parameter (for delete) to the service. By updating the data, there is a submit-button in use. what is the difference? Why in one case it add the + signs, and in the other case, it does not? Robert G. wrote Hello, I refer i.ex. to ProductCategoryAttribute There is a primary Key named attrName (id-long-ne, but I changed to id-ne). when I safe a as attrName a String like: This String it safes the value. But when I want to delete this attribute, I get an error, that it is not found. Now I realised, that when the service gets the value from database it makes this string: This*+*String, so it inserts a + instead of the whitespace -- of course now it cannot find the corresponding entityinstance. How can I work arround there? I tried sth like: set field=attrName from-field=${bsh:parameters.attrName.replaceAll('+',' '} / but it does not work. If this would work, I do not like this solution, cause when I have to handle lots of values, this is not a nice work around. Has PK Fields have to be a single string? Cause I wanted to name the attribute correctly, just as I show it in my eccommerce application, so if I have to use a single string, I need to add e new column to that entity. What would you do? Thanks -- View this message in context: http://ofbiz.135035.n4.nabble.com/Problem-with-Primary-Key-String-tp4635353p4635361.html Sent from the OFBiz - User mailing list archive at Nabble.com.
RE: Still getting started but question about 'startofbiz.sh'
-Original Message- From: Adrian Crum [mailto:adrian.c...@sandglass-software.com] Sent: July-29-12 9:06 PM To: user@ofbiz.apache.org Subject: Re: Still getting started but question about 'startofbiz.sh' It sounds to me like you have everything working properly. -Adrian Thanks Adrian. So this 'startofbiz.sh' is supposed to run forever? Is there a way to start ofbiz like a server, instead of creating a bash shell session and leaving that terminal open all the time ofbiz is to run? Thanks Ted
RE: Still getting started but question about 'startofbiz.sh'
Hi, Just do : sh startofbiz.sh Then you can exit the terminal. To stop, use the stopofbiz.sh script. Gil Le lundi 30 juillet 2012 à 08:15 -0400, Ted Byers a écrit : -Original Message- From: Adrian Crum [mailto:adrian.c...@sandglass-software.com] Sent: July-29-12 9:06 PM To: user@ofbiz.apache.org Subject: Re: Still getting started but question about 'startofbiz.sh' It sounds to me like you have everything working properly. -Adrian Thanks Adrian. So this 'startofbiz.sh' is supposed to run forever? Is there a way to start ofbiz like a server, instead of creating a bash shell session and leaving that terminal open all the time ofbiz is to run? Thanks Ted -- Gil Portenseigne gil.portensei...@nereide.fr
Re: Problem with Primary Key String
ok, it seems, that the form data is handled different when I use a submit button instead of a hyperlink with paramer: field name=submitButton title=${uiLabelMap.CommonUpdate} widget-style=smallSubmitsubmit button-type=button//field *-- this one sends the parameter from database as they are stored...* field name=deleteLink title=${uiLabelMap.CommonEmptyHeader} widget-style=buttontext hyperlink target=deleteProductCategoryAttribute description=${uiLabelMap.CommonDelete} parameter param-name=productCategoryId/ parameter param-name=attrName/ /hyperlink /field *-- this method replaces whitepacese in a string with a +-sign. That is bad, how do you handle it? Cause a database request on those values will not get a result...* -- View this message in context: http://ofbiz.135035.n4.nabble.com/Problem-with-Primary-Key-String-tp4635353p4635365.html Sent from the OFBiz - User mailing list archive at Nabble.com.
RE: Still getting started but question about 'startofbiz.sh'
-Original Message- From: Gil Portenseigne [mailto:gil.portensei...@nereide.fr] Sent: July-30-12 8:28 AM To: user@ofbiz.apache.org Subject: RE: Still getting started but question about 'startofbiz.sh' Hi, Just do : sh startofbiz.sh Then you can exit the terminal. To stop, use the stopofbiz.sh script. Thanks Gil Cheers Ted
Re: Still getting started but question about 'startofbiz.sh'
rather ./sh startofbiz.sh though You may also have a look at rc.ofbiz* files (in tools folder for trunk and R12.04, else in root folder) Jacques From: Gil Portenseigne gil.portensei...@nereide.fr Hi, Just do : sh startofbiz.sh Then you can exit the terminal. To stop, use the stopofbiz.sh script. Gil Le lundi 30 juillet 2012 à 08:15 -0400, Ted Byers a écrit : -Original Message- From: Adrian Crum [mailto:adrian.c...@sandglass-software.com] Sent: July-29-12 9:06 PM To: user@ofbiz.apache.org Subject: Re: Still getting started but question about 'startofbiz.sh' It sounds to me like you have everything working properly. -Adrian Thanks Adrian. So this 'startofbiz.sh' is supposed to run forever? Is there a way to start ofbiz like a server, instead of creating a bash shell session and leaving that terminal open all the time ofbiz is to run? Thanks Ted -- Gil Portenseigne gil.portensei...@nereide.fr
Re: Problem with Primary Key String
A just a bet here, because I have no time to look at it. I could be related to an old SEO mechanims which was using + in eCommerce urls prod categories and products. It's 100% a guess, and 1% sure Jacques From: Robert G. g...@mercon24.de ok, it seems, that the form data is handled different when I use a submit button instead of a hyperlink with paramer: field name=submitButton title=${uiLabelMap.CommonUpdate} widget-style=smallSubmitsubmit button-type=button//field *-- this one sends the parameter from database as they are stored...* field name=deleteLink title=${uiLabelMap.CommonEmptyHeader} widget-style=buttontext hyperlink target=deleteProductCategoryAttribute description=${uiLabelMap.CommonDelete} parameter param-name=productCategoryId/ parameter param-name=attrName/ /hyperlink /field *-- this method replaces whitepacese in a string with a +-sign. That is bad, how do you handle it? Cause a database request on those values will not get a result...* -- View this message in context: http://ofbiz.135035.n4.nabble.com/Problem-with-Primary-Key-String-tp4635353p4635365.html Sent from the OFBiz - User mailing list archive at Nabble.com.
Re: Problem with Primary Key String
mhh, I use CategoryScreens.xml ... it is a backend view, not the ecommerce. I talked about ecommerce, cause I show these values in ecommerce, but storing, updating, or deletion is done in backend...this function is allready ootb in ofbiz (on category -- attributes), so thats why i am wondering. this issue is also when I test here: https://demo-stable.ofbiz.apache.org/catalog/control/EditCategoryAttributes?productCategoryId=200 using a Attr Name which has whitespaces (like test test) than I cannot delete -- it adds the + So I think it has nothing todo with ecommerce URL handling. any more ideas? :) I get crazy, and I do not wana add an extra field for primary key, but I have to use names with whitespaces. -- View this message in context: http://ofbiz.135035.n4.nabble.com/Problem-with-Primary-Key-String-tp4635353p4635370.html Sent from the OFBiz - User mailing list archive at Nabble.com.
RE: Still getting started but question about 'startofbiz.sh'
-Original Message- From: Jacques Le Roux [mailto:jacques.le.r...@les7arts.com] Sent: July-30-12 9:18 AM To: user@ofbiz.apache.org Subject: Re: Still getting started but question about 'startofbiz.sh' rather ./sh startofbiz.sh though You may also have a look at rc.ofbiz* files (in tools folder for trunk and R12.04, else in root folder) Jacques Thanks Jacques I will. Cheers Ted
Re: Still getting started but question about 'startofbiz.sh'
Le lundi 30 juillet 2012 à 15:18 +0200, Jacques Le Roux a écrit : rather ./sh startofbiz.sh though Did you mean ./startofbiz.sh ? I do not understand the ./sh thing... :-) gil You may also have a look at rc.ofbiz* files (in tools folder for trunk and R12.04, else in root folder) Jacques From: Gil Portenseigne gil.portensei...@nereide.fr Hi, Just do : sh startofbiz.sh Then you can exit the terminal. To stop, use the stopofbiz.sh script. Gil Le lundi 30 juillet 2012 à 08:15 -0400, Ted Byers a écrit : -Original Message- From: Adrian Crum [mailto:adrian.c...@sandglass-software.com] Sent: July-29-12 9:06 PM To: user@ofbiz.apache.org Subject: Re: Still getting started but question about 'startofbiz.sh' It sounds to me like you have everything working properly. -Adrian Thanks Adrian. So this 'startofbiz.sh' is supposed to run forever? Is there a way to start ofbiz like a server, instead of creating a bash shell session and leaving that terminal open all the time ofbiz is to run? Thanks Ted -- Gil Portenseigne gil.portensei...@nereide.fr -- Gil Portenseigne gil.portensei...@nereide.fr
Re: Liferay and OFBiz
Hello, Thx Aakash for your rapide answer...I've seen this link, it is not clear! For example when I navigate with this URL: http://your_host_name/webtools/control/ServiceList (my host is localhost: 8443) I got this error 1 - in the browser org.ofbiz.webapp.control.RequestHandlerException: Unknown request [ServiceList]; this request does not exist or cannot be called directly. 2-in eclipse (or in the console of the command prompt of windows): exception report -- Error in request handler: Exception: org.ofbiz.webapp.control.RequestHandlerException Message: Unknown request [ServiceList]; this request does not exist or cannot be called directly. stack trace --- org.ofbiz.webapp.control.RequestHandlerException: Unknown request [ServiceList]; this request does not exist or cannot be called directly. org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:117) org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:178) javax.servlet.http.HttpServlet.service(HttpServlet.java:595) javax.servlet.http.HttpServlet.service(HttpServlet.java:688) org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:245) org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541) org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) java.lang.Thread.run(Unknown Source) Tip: I was as ofbiz :the project Ofbiz Neogia!! cheers. selma - Don't allow yourself to wake up with yesterday's issues troubling your mind.Refuse to live backwards,see everyday as a new chapter.Have the courage to follow your heart and intuition for they already know what you want to become.In your heart of heart's you know what needs to be done. -- View this message in context: http://ofbiz.135035.n4.nabble.com/Liferay-and-OFBiz-tp146626p4635374.html Sent from the OFBiz - User mailing list archive at Nabble.com.
Re: Still getting started but question about 'startofbiz.sh'
From: Gil Portenseigne gil.portensei...@nereide.fr Le lundi 30 juillet 2012 à 15:18 +0200, Jacques Le Roux a écrit : rather ./sh startofbiz.sh though Did you mean ./startofbiz.sh ? I do not understand the ./sh thing... :-) Right Gil, I meant of course: sh ./startofbiz.sh Sorry for the typo ;o) But anyway using rc.ofbiz* files in this case seems a better way to me (if you want automatic restart, which is a moot point) Jacques gil You may also have a look at rc.ofbiz* files (in tools folder for trunk and R12.04, else in root folder) Jacques From: Gil Portenseigne gil.portensei...@nereide.fr Hi, Just do : sh startofbiz.sh Then you can exit the terminal. To stop, use the stopofbiz.sh script. Gil Le lundi 30 juillet 2012 à 08:15 -0400, Ted Byers a écrit : -Original Message- From: Adrian Crum [mailto:adrian.c...@sandglass-software.com] Sent: July-29-12 9:06 PM To: user@ofbiz.apache.org Subject: Re: Still getting started but question about 'startofbiz.sh' It sounds to me like you have everything working properly. -Adrian Thanks Adrian. So this 'startofbiz.sh' is supposed to run forever? Is there a way to start ofbiz like a server, instead of creating a bash shell session and leaving that terminal open all the time ofbiz is to run? Thanks Ted -- Gil Portenseigne gil.portensei...@nereide.fr -- Gil Portenseigne gil.portensei...@nereide.fr
Re: Liferay and OFBiz
AFAIK Liferay is a Portal Server following JSR 168. OFBiz has it's own Portal capabilities outside this JSR. So I do doubt whether there is any meaningful and useful way to integrate Liferay as a OFBiz application in hot-deploy or convert all OFBiz applications into JSR-168 Portlets otherwise. I do suggest you investigate further on the Service-Layer integration using your own Liferay Portlets as a GUI. On the other hand: Why redevelop GUIs that you can find or easily extend on the OFBiz framework ? I honestly think you will have to review your requirements and see which path makes more sense in terms of development efforts. If you want, we could discuss further here, but without some more context on why you are looking to integrate the two platforms, this would be hard to do as well. Kind regards Carsten 2012/7/30 SelmaoO selma.e...@gmail.com Hello, Thx Aakash for your rapide answer...I've seen this link, it is not clear! For example when I navigate with this URL: http://your_host_name/webtools/control/ServiceList (my host is localhost: 8443) I got this error 1 - in the browser org.ofbiz.webapp.control.RequestHandlerException: Unknown request [ServiceList]; this request does not exist or cannot be called directly. 2-in eclipse (or in the console of the command prompt of windows): exception report -- Error in request handler: Exception: org.ofbiz.webapp.control.RequestHandlerException Message: Unknown request [ServiceList]; this request does not exist or cannot be called directly. stack trace --- org.ofbiz.webapp.control.RequestHandlerException: Unknown request [ServiceList]; this request does not exist or cannot be called directly. org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:117) org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:178) javax.servlet.http.HttpServlet.service(HttpServlet.java:595) javax.servlet.http.HttpServlet.service(HttpServlet.java:688) org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:245) org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541) org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) java.lang.Thread.run(Unknown Source) Tip: I was as ofbiz :the project Ofbiz Neogia!! cheers. selma - Don't allow yourself to wake up with yesterday's issues troubling your mind.Refuse to live backwards,see everyday as a new chapter.Have the courage to follow your heart and intuition for they already know what you want to become.In your heart of heart's you know what needs to be done. -- View this message in context: http://ofbiz.135035.n4.nabble.com/Liferay-and-OFBiz-tp146626p4635374.html Sent from the OFBiz - User mailing list archive at Nabble.com.
Re: Problem with Primary Key String
Just a comment. In all the years I've been dealing with databases, it was never considered good practice (and has always been avoided) to have a space character in any primary key, although technically it should work. It looks like you discovered an edge case in ofbiz. Even if you manage to initially get it to work, there may be other places where the problem will show up. Maybe use an underscore (_) instead, --or-- define another entity, maybe called 'attrDesc' that contains the spaced TEXT? On Sun, Jul 29, 2012 at 5:51 PM, Robert G. g...@mercon24.de wrote: Hello, I refer i.ex. to ProductCategoryAttribute There is a primary Key named attrName (id-long-ne, but I changed to id-ne). when I safe a as attrName a String like: This String it safes the value. But when I want to delete this attribute, I get an error, that it is not found. Now I realised, that when the service gets the value from database it makes this string: This*+*String, so it inserts a + instead of the whitespace -- of course now it cannot find the corresponding entityinstance. How can I work arround there? I tried sth like: set field=attrName from-field=${bsh:parameters.attrName.replaceAll('+',' '} / If this would work, I do not like this solution, cause when I have to handle lots of values, this is not a nice work around. Has PK Fields have to be a single string? Cause I wanted to name the attribute correctly, just as I show it in my eccommerce application, so if I have to use a single string, I need to add e new column to that entity. What would you do? Thanks -- View this message in context: http://ofbiz.135035.n4.nabble.com/Problem-with-Primary-Key-String-tp4635353.html Sent from the OFBiz - User mailing list archive at Nabble.com.
Re: Still getting started but question about 'startofbiz.sh'
Gil, go get some Linux basics for Server operations. ./sh will invoke a separate shell (runtime environment) for your ofbiz instance will send it to background processing Make sure, you have your logfiles under control before you start hiding things from a console. Basically you should keep + a running logfile that rolls over every day (or every x MBs), keep a series of them -- see the log4.xml configuration for this one + a session logfile, typically this is available at {OFBIZ_HOME}/runtim/logs/console.log In order to read and follow these while your ofbiz instance runs, you will need to familiarize with one of vi, cat, tail. @Jacques: Looks like these are some Run OFBiz in *ix environments Faq do we not have a basic cheat sheet in the wiki? Regards Carsten 2012/7/30 Gil Portenseigne gil.portensei...@nereide.fr Le lundi 30 juillet 2012 à 15:18 +0200, Jacques Le Roux a écrit : rather ./sh startofbiz.sh though Did you mean ./startofbiz.sh ? I do not understand the ./sh thing... :-) gil You may also have a look at rc.ofbiz* files (in tools folder for trunk and R12.04, else in root folder) Jacques From: Gil Portenseigne gil.portensei...@nereide.fr Hi, Just do : sh startofbiz.sh Then you can exit the terminal. To stop, use the stopofbiz.sh script. Gil Le lundi 30 juillet 2012 à 08:15 -0400, Ted Byers a écrit : -Original Message- From: Adrian Crum [mailto:adrian.c...@sandglass-software.com] Sent: July-29-12 9:06 PM To: user@ofbiz.apache.org Subject: Re: Still getting started but question about 'startofbiz.sh' It sounds to me like you have everything working properly. -Adrian Thanks Adrian. So this 'startofbiz.sh' is supposed to run forever? Is there a way to start ofbiz like a server, instead of creating a bash shell session and leaving that terminal open all the time ofbiz is to run? Thanks Ted -- Gil Portenseigne gil.portensei...@nereide.fr -- Gil Portenseigne gil.portensei...@nereide.fr
How to print SQL statement execute by Delegator
Hello everybody: Is there an option to print SQL statement executed by Delegator for debug ? thanks
Re: Liferay and OFBiz
Hello Carsten, you are right... so, we can create a portlet as a GUI of Ofbiz? In fact, my project concerns to find a way to make liferay (a portlet shopping) and ofbiz to communicate with each such a manner that ofbiz (its CRM module) takes some member information registred in liferay to treat them later. If you have any idea how we can create a such portlet with ofbiz ,thanks for showing it to me. Regards. selma. - Don't allow yourself to wake up with yesterday's issues troubling your mind.Refuse to live backwards,see everyday as a new chapter.Have the courage to follow your heart and intuition for they already know what you want to become.In your heart of heart's you know what needs to be done. -- View this message in context: http://ofbiz.135035.n4.nabble.com/Liferay-and-OFBiz-tp146626p4635382.html Sent from the OFBiz - User mailing list archive at Nabble.com.
Re: Problem with Primary Key String
Ok Thank you, I will follow this advice! -- View this message in context: http://ofbiz.135035.n4.nabble.com/Problem-with-Primary-Key-String-tp4635353p4635384.html Sent from the OFBiz - User mailing list archive at Nabble.com.
Re: Still getting started but question about 'startofbiz.sh'
Hi Le lundi 30 juillet 2012 à 16:46 +0200, Carsten Schinzer a écrit : Gil, go get some Linux basics for Server operations. ./sh will invoke a separate shell (runtime environment) for your ofbiz instance I do not agree with that, it will try to launch a script called sh in current directory... will send it to background processing agree, that was my advice ;) Make sure, you have your logfiles under control before you start hiding things from a console. +1, for that uncomment/comment the last lines of startofbiz.sh (or bat under windows) scripts... Basically you should keep + a running logfile that rolls over every day (or every x MBs), keep a series of them -- see the log4.xml configuration for this one + a session logfile, typically this is available at {OFBIZ_HOME}/runtim/logs/console.log In order to read and follow these while your ofbiz instance runs, you will need to familiarize with one of vi, cat, tail. I'm fully familiarized with all of these tools ;) ! Regards Gil @Jacques: Looks like these are some Run OFBiz in *ix environments Faq do we not have a basic cheat sheet in the wiki? Regards Carsten 2012/7/30 Gil Portenseigne gil.portensei...@nereide.fr Le lundi 30 juillet 2012 à 15:18 +0200, Jacques Le Roux a écrit : rather ./sh startofbiz.sh though Did you mean ./startofbiz.sh ? I do not understand the ./sh thing... :-) gil You may also have a look at rc.ofbiz* files (in tools folder for trunk and R12.04, else in root folder) Jacques From: Gil Portenseigne gil.portensei...@nereide.fr Hi, Just do : sh startofbiz.sh Then you can exit the terminal. To stop, use the stopofbiz.sh script. Gil Le lundi 30 juillet 2012 à 08:15 -0400, Ted Byers a écrit : -Original Message- From: Adrian Crum [mailto:adrian.c...@sandglass-software.com] Sent: July-29-12 9:06 PM To: user@ofbiz.apache.org Subject: Re: Still getting started but question about 'startofbiz.sh' It sounds to me like you have everything working properly. -Adrian Thanks Adrian. So this 'startofbiz.sh' is supposed to run forever? Is there a way to start ofbiz like a server, instead of creating a bash shell session and leaving that terminal open all the time ofbiz is to run? Thanks Ted -- Gil Portenseigne gil.portensei...@nereide.fr -- Gil Portenseigne gil.portensei...@nereide.fr -- Gil Portenseigne gil.portensei...@nereide.fr
Re: Still getting started but question about 'startofbiz.sh'
Carsten Schinzer wrote: Gil, go get some Linux basics for Server operations. ./sh will invoke a separate shell (runtime environment) for your ofbiz instance will send it to background processing Make sure, you have your logfiles under control before you start hiding things from a console. Basically you should keep + a running logfile that rolls over every day (or every x MBs), keep a series of them -- see the log4.xml configuration for this one + a session logfile, typically this is available at {OFBIZ_HOME}/runtim/logs/console.log In order to read and follow these while your ofbiz instance runs, you will need to familiarize with one of vi, cat, tail. @Jacques: Looks like these are some Run OFBiz in *ix environments Faq do we not have a basic cheat sheet in the wiki? I guess you think about https://cwiki.apache.org/confluence/display/OFBIZ/How+to+run+OFBiz+as+a+Service Jacques Regards Carsten 2012/7/30 Gil Portenseigne gil.portensei...@nereide.fr Le lundi 30 juillet 2012 à 15:18 +0200, Jacques Le Roux a écrit : rather ./sh startofbiz.sh though Did you mean ./startofbiz.sh ? I do not understand the ./sh thing... :-) gil You may also have a look at rc.ofbiz* files (in tools folder for trunk and R12.04, else in root folder) Jacques From: Gil Portenseigne gil.portensei...@nereide.fr Hi, Just do : sh startofbiz.sh Then you can exit the terminal. To stop, use the stopofbiz.sh script. Gil Le lundi 30 juillet 2012 à 08:15 -0400, Ted Byers a écrit : -Original Message- From: Adrian Crum [mailto:adrian.c...@sandglass-software.com] Sent: July-29-12 9:06 PM To: user@ofbiz.apache.org Subject: Re: Still getting started but question about 'startofbiz.sh' It sounds to me like you have everything working properly. -Adrian Thanks Adrian. So this 'startofbiz.sh' is supposed to run forever? Is there a way to start ofbiz like a server, instead of creating a bash shell session and leaving that terminal open all the time ofbiz is to run? Thanks Ted -- Gil Portenseigne gil.portensei...@nereide.fr -- Gil Portenseigne gil.portensei...@nereide.fr
Re: Still getting started but question about 'startofbiz.sh'
Apologies for this one. You are of course right with ./sh And my mail was damn arrogant. Blame on me. I will check the link Jacques sent over. 2012/7/30 Gil Portenseigne gil.portensei...@nereide.fr Hi Le lundi 30 juillet 2012 à 16:46 +0200, Carsten Schinzer a écrit : Gil, go get some Linux basics for Server operations. ./sh will invoke a separate shell (runtime environment) for your ofbiz instance I do not agree with that, it will try to launch a script called sh in current directory... will send it to background processing agree, that was my advice ;) Make sure, you have your logfiles under control before you start hiding things from a console. +1, for that uncomment/comment the last lines of startofbiz.sh (or bat under windows) scripts... Basically you should keep + a running logfile that rolls over every day (or every x MBs), keep a series of them -- see the log4.xml configuration for this one + a session logfile, typically this is available at {OFBIZ_HOME}/runtim/logs/console.log In order to read and follow these while your ofbiz instance runs, you will need to familiarize with one of vi, cat, tail. I'm fully familiarized with all of these tools ;) ! Regards Gil @Jacques: Looks like these are some Run OFBiz in *ix environments Faq do we not have a basic cheat sheet in the wiki? Regards Carsten 2012/7/30 Gil Portenseigne gil.portensei...@nereide.fr Le lundi 30 juillet 2012 à 15:18 +0200, Jacques Le Roux a écrit : rather ./sh startofbiz.sh though Did you mean ./startofbiz.sh ? I do not understand the ./sh thing... :-) gil You may also have a look at rc.ofbiz* files (in tools folder for trunk and R12.04, else in root folder) Jacques From: Gil Portenseigne gil.portensei...@nereide.fr Hi, Just do : sh startofbiz.sh Then you can exit the terminal. To stop, use the stopofbiz.sh script. Gil Le lundi 30 juillet 2012 à 08:15 -0400, Ted Byers a écrit : -Original Message- From: Adrian Crum [mailto:adrian.c...@sandglass-software.com] Sent: July-29-12 9:06 PM To: user@ofbiz.apache.org Subject: Re: Still getting started but question about 'startofbiz.sh' It sounds to me like you have everything working properly. -Adrian Thanks Adrian. So this 'startofbiz.sh' is supposed to run forever? Is there a way to start ofbiz like a server, instead of creating a bash shell session and leaving that terminal open all the time ofbiz is to run? Thanks Ted -- Gil Portenseigne gil.portensei...@nereide.fr -- Gil Portenseigne gil.portensei...@nereide.fr -- Gil Portenseigne gil.portensei...@nereide.fr
Re: Liferay and OFBiz
Well the advice would be: - you can check all the functionality you would want provided from the OFBiz system (assuming that will pre-exist ?). Maybe you do some research on the trunk version of ecommerce application ? - for all the functionality that you would want to use from Liferay you will need to identify the repsective service calls. The root calls for these are all available on the controler.xml file on the ecommerce component. From there you will need to dig deeper into the OFBiz system. I am not sure how internal service calls would be different from external web service calls, but I am sure someone else on the list can explain that. Just my 0.02 EUR, and for sure just a draft. Regards Carsten 2012/7/30 SelmaoO selma.e...@gmail.com Hello Carsten, you are right... so, we can create a portlet as a GUI of Ofbiz? In fact, my project concerns to find a way to make liferay (a portlet shopping) and ofbiz to communicate with each such a manner that ofbiz (its CRM module) takes some member information registred in liferay to treat them later. If you have any idea how we can create a such portlet with ofbiz ,thanks for showing it to me. Regards. selma. - Don't allow yourself to wake up with yesterday's issues troubling your mind.Refuse to live backwards,see everyday as a new chapter.Have the courage to follow your heart and intuition for they already know what you want to become.In your heart of heart's you know what needs to be done. -- View this message in context: http://ofbiz.135035.n4.nabble.com/Liferay-and-OFBiz-tp146626p4635382.html Sent from the OFBiz - User mailing list archive at Nabble.com.
RE: Liferay and OFBiz
I would be interested in portal integration with OFBiz.. As an aside, I am curious if anyone has pursued migrating UI to JSF 2 and/or providing an complete web service interface for all OFBiz features.. -Original Message- From: Carsten Schinzer [mailto:c.schin...@gmail.com] Sent: Monday, July 30, 2012 12:14 PM To: user@ofbiz.apache.org Subject: Re: Liferay and OFBiz Well the advice would be: - you can check all the functionality you would want provided from the OFBiz system (assuming that will pre-exist ?). Maybe you do some research on the trunk version of ecommerce application ? - for all the functionality that you would want to use from Liferay you will need to identify the repsective service calls. The root calls for these are all available on the controler.xml file on the ecommerce component. From there you will need to dig deeper into the OFBiz system. I am not sure how internal service calls would be different from external web service calls, but I am sure someone else on the list can explain that. Just my 0.02 EUR, and for sure just a draft. Regards Carsten 2012/7/30 SelmaoO selma.e...@gmail.com Hello Carsten, you are right... so, we can create a portlet as a GUI of Ofbiz? In fact, my project concerns to find a way to make liferay (a portlet shopping) and ofbiz to communicate with each such a manner that ofbiz (its CRM module) takes some member information registred in liferay to treat them later. If you have any idea how we can create a such portlet with ofbiz ,thanks for showing it to me. Regards. selma. - Don't allow yourself to wake up with yesterday's issues troubling your mind.Refuse to live backwards,see everyday as a new chapter.Have the courage to follow your heart and intuition for they already know what you want to become.In your heart of heart's you know what needs to be done. -- View this message in context: http://ofbiz.135035.n4.nabble.com/Liferay-and-OFBiz-tp146626p4635382.h tml Sent from the OFBiz - User mailing list archive at Nabble.com.
ant start start.properties on 12.04 on linux
Hi, I try to use configuration file introduce by issue OFBIZ-4793 https://issues.apache.org/jira/browse/OFBIZ-4793 and new build target start introduce by Jacopo. After load my configuration on framework/start/src/org/ofbiz/base/start/start.properties, when I run ant start my configuration has been ignored. I set admin socket port to 10555 and : start: [java] Start.java using configuration file org/ofbiz/base/start/start.properties [java] Set OFBIZ_HOME to - /usr/local/workspace/OFBiz.12.04/4-ofbiz [java] Admin socket configured on - /127.0.0.1:10523 To force the configuration load, I change this : svn diff framework/start/src/org/ofbiz/base/start/Config.java Index: framework/start/src/org/ofbiz/base/start/Config.java === --- framework/start/src/org/ofbiz/base/start/Config.java (révision 1362842) +++ framework/start/src/org/ofbiz/base/start/Config.java(copie de travail) @@ -48,14 +48,17 @@ } else if (command.equalsIgnoreCase(status)) { command = start; } -return org/ofbiz/base/start/ + command + .properties; +return framework/start/src/org/ofbiz/base/start/ + command + .properties; } Questions : 1. framework/start/src/org/ofbiz/base/start/start.properties is the good configuration file by default ? 2. Other operating system have the same problem or not ? thanks, Nicolas -- Nicolas MALIN Consultant Tél : 06.17.66.40.06 Site projet : http://www.neogia.org/ --- Société LibrenBerry Tél : 02.48.02.56.12 Site : http://www.librenberry.net/
Form Field show information from different entities
Hello, in a form widget I want to show information from *two* entities. in my screen definition I can call each entity like: /entity-condition entity-name=ProductCategoryAttribute list=categoryAttributes condition-expr field-name=productCategoryId from-field=productCategoryId/ order-by field-name=attrSequenceNum/ /entity-condition entity-condition entity-name=ProductCategoryFacet list=categoryFacets condition-expr field-name=productCategoryId from-field=productCategoryId/ /entity-condition/ The problem is, that I want in my form to show fields from both entities, and also want to order both entities by a field from one entity. So I would have to do sth. like a join (in SQL), but how can I handle it here without creating a view-entity. i.ex. fields in entity: entity 1: pk1 pk2 name1 description1 entity 2: pk1 pk2 name2 description2 now in the form I want to show (as list) selected entries (i.ex. name2) from entity 2 with sane vakue in pk1. But also I want to show field value name1 from the other entity. Cause they have the same field pl1, I need to get the relation to it, that I can show it in my form field. an Idea is to merge both lists, which I get from entity (lists: categoryAttributes and categoryFacets). But I do not really know how to put them together, that the relation between the keys is correct. can someone tell me how to handle it? Thank you in advance -- View this message in context: http://ofbiz.135035.n4.nabble.com/Form-Field-show-information-from-different-entities-tp4635391.html Sent from the OFBiz - User mailing list archive at Nabble.com.
Re: Form Field show information from different entities
Do you search to make an entity-view on your tow entites and after make your entity-condition on it ? view-entity entity-name=ProductCategoryAttributeAndFacetView member-alias .. ProductCategoryAttribute/ member-alias .. ProductCategoryFacet/ alias-all/ view link ... key-map field-name=productCategoryId / ... Nicolas Le 30/07/2012 20:58, Robert G. a écrit : Hello, in a form widget I want to show information from *two* entities. in my screen definition I can call each entity like: /entity-condition entity-name=ProductCategoryAttribute list=categoryAttributes condition-expr field-name=productCategoryId from-field=productCategoryId/ order-by field-name=attrSequenceNum/ /entity-condition entity-condition entity-name=ProductCategoryFacet list=categoryFacets condition-expr field-name=productCategoryId from-field=productCategoryId/ /entity-condition/ The problem is, that I want in my form to show fields from both entities, and also want to order both entities by a field from one entity. So I would have to do sth. like a join (in SQL), but how can I handle it here without creating a view-entity. i.ex. fields in entity: entity 1: pk1 pk2 name1 description1 entity 2: pk1 pk2 name2 description2 now in the form I want to show (as list) selected entries (i.ex. name2) from entity 2 with sane vakue in pk1. But also I want to show field value name1 from the other entity. Cause they have the same field pl1, I need to get the relation to it, that I can show it in my form field. an Idea is to merge both lists, which I get from entity (lists: categoryAttributes and categoryFacets). But I do not really know how to put them together, that the relation between the keys is correct. can someone tell me how to handle it? Thank you in advance -- View this message in context: http://ofbiz.135035.n4.nabble.com/Form-Field-show-information-from-different-entities-tp4635391.html Sent from the OFBiz - User mailing list archive at Nabble.com. -- Nicolas MALIN Consultant Tél : 06.17.66.40.06 Site projet : http://www.neogia.org/ --- Société LibrenBerry Tél : 02.48.02.56.12 Site : http://www.librenberry.net/
Re: Form Field show information from different entities
mhh, ok a view-entity looks easier as I thougt before :) thanks, I will try it this way. -- View this message in context: http://ofbiz.135035.n4.nabble.com/Form-Field-show-information-from-different-entities-tp4635391p4635393.html Sent from the OFBiz - User mailing list archive at Nabble.com.
Re: Form Field show information from different entities
Hey Robert, Could you please explain what facets are here. Like categoryFacets . What is the significance, I mean how should I think them as. On Tue, Jul 31, 2012 at 2:16 AM, Robert G. g...@mercon24.de wrote: mhh, ok a view-entity looks easier as I thougt before :) thanks, I will try it this way. -- View this message in context: http://ofbiz.135035.n4.nabble.com/Form-Field-show-information-from-different-entities-tp4635391p4635393.html Sent from the OFBiz - User mailing list archive at Nabble.com. -- Thanks, Deepak Agarwal, Paxcel Technologies Pvt Ltd. Hartron Complex, Sector 18, Gurgaon, India. E-Mail: deepak.agar...@paxcel.net Mobile: +91 9910322604
Re: Form Field show information from different entities
Its sth how Solr names a function. I just named it CategoryFacet, cause I show it in my category, but it is like a product filter. example: product 1 productspecification: resolution = XGA and size = 19 product 2 productspecification: resolution = WXGA and size = 20 product 3 productspecification: resolution = SXGA and size = 24 product 4 productspecification: resolution = SXGA and size = 17 Now in Solr the Facet is: Resoultion and the FacetValue is the value (XGA, WXGA etc.). Now i can do a filter like: *resulotion * XGA (1) WXGA (1) SXGA (2) *size* 17 (1) 19 (1) 20 (1) 24 (1) The (...) tells how many products are found. when I now i.ex. click on SXGA this changes to: resolution (just the headline) SXGA (2) *size* 17 (1) 24 (1) With that I can drill down my search results just with easy solr querys...hope I explained it well (difficult with just a few sentences) -- View this message in context: http://ofbiz.135035.n4.nabble.com/Form-Field-show-information-from-different-entities-tp4635391p4635395.html Sent from the OFBiz - User mailing list archive at Nabble.com.
Re: Form Field show information from different entities
Sorry I forgot to point out, that with a click on the filter (or doing a solr query), only the remaining products (not only the counter). It differs on your configuration, whcih product information you can get from solr. -- View this message in context: http://ofbiz.135035.n4.nabble.com/Form-Field-show-information-from-different-entities-tp4635391p4635396.html Sent from the OFBiz - User mailing list archive at Nabble.com.
Re: OfBiz Installation
Hello, I didn't install ofbiz with SVN(eg:TortoiseSVN) but from his officiel site http://ofbiz.apache.org/download.html; the last version 10.04.02but i didn't know how can i install it...can anyone show me the procedure. cheers. selma. - Don't allow yourself to wake up with yesterday's issues troubling your mind.Refuse to live backwards,see everyday as a new chapter.Have the courage to follow your heart and intuition for they already know what you want to become.In your heart of heart's you know what needs to be done. -- View this message in context: http://ofbiz.135035.n4.nabble.com/OfBiz-Installation-tp148360p4635397.html Sent from the OFBiz - User mailing list archive at Nabble.com.
Re: OfBiz Installation
Selma, You might have a look at: https://cwiki.apache.org/OFBTECH/apache-ofbiz-technical-production-setup-guide.html Regards, Pierre 2012/7/31 SelmaoO selma.e...@gmail.com Hello, I didn't install ofbiz with SVN(eg:TortoiseSVN) but from his officiel site http://ofbiz.apache.org/download.html; the last version 10.04.02but i didn't know how can i install it...can anyone show me the procedure. cheers. selma. - Don't allow yourself to wake up with yesterday's issues troubling your mind.Refuse to live backwards,see everyday as a new chapter.Have the courage to follow your heart and intuition for they already know what you want to become.In your heart of heart's you know what needs to be done. -- View this message in context: http://ofbiz.135035.n4.nabble.com/OfBiz-Installation-tp148360p4635397.html Sent from the OFBiz - User mailing list archive at Nabble.com.
Re: Form Field show information from different entities
@Malin Nicolas thank you, I just tried it, and it works how I wanted to. Thanks Malin Nicolas wrote Do you search to make an entity-view on your tow entites and after make your entity-condition on it ? view-entity entity-name=ProductCategoryAttributeAndFacetView member-alias .. ProductCategoryAttribute/ member-alias .. ProductCategoryFacet/ alias-all/ lt;view link ... lt;key-map field-name=quot;productCategoryIdquot; / ... Nicolas Le 30/07/2012 20:58, Robert G. a écrit : gt; Hello, in a form widget I want to show information from *two* entities. in my screen definition I can call each entity like: /entity-condition entity-name=ProductCategoryAttribute list=categoryAttributes condition-expr field-name=productCategoryId from-field=productCategoryId/ order-by field-name=attrSequenceNum/ /entity-condition entity-condition entity-name=ProductCategoryFacet list=categoryFacets condition-expr field-name=productCategoryId from-field=productCategoryId/ /entity-condition/ The problem is, that I want in my form to show fields from both entities, and also want to order both entities by a field from one entity. So I would have to do sth. like a join (in SQL), but how can I handle it here without creating a view-entity. i.ex. fields in entity: entity 1: pk1 pk2 name1 description1 entity 2: pk1 pk2 name2 description2 now in the form I want to show (as list) selected entries (i.ex. name2) from entity 2 with sane vakue in pk1. But also I want to show field value name1 from the other entity. Cause they have the same field pl1, I need to get the relation to it, that I can show it in my form field. an Idea is to merge both lists, which I get from entity (lists: categoryAttributes and categoryFacets). But I do not really know how to put them together, that the relation between the keys is correct. can someone tell me how to handle it? Thank you in advance -- View this message in context: http://ofbiz.135035.n4.nabble.com/Form-Field-show-information-from-different-entities-tp4635391.html Sent from the OFBiz - User mailing list archive at Nabble.com. -- Nicolas MALIN Consultant Tél : 06.17.66.40.06 Site projet : http://www.neogia.org/ --- Société LibrenBerry Tél : 02.48.02.56.12 Site : http://www.librenberry.net/ -- View this message in context: http://ofbiz.135035.n4.nabble.com/Form-Field-show-information-from-different-entities-tp4635391p4635399.html Sent from the OFBiz - User mailing list archive at Nabble.com.