Re: contactMechId & partyId

2009-09-22 Thread Abdullah Shaikh
I am sure you must have got the difference between partyId & contactMechID, but still .. 1) partyId is a unique identity for a party 2) contactMechID is a unique identity for a contact of a party (its unique across all the contacts of all the parties) On Tue, Sep 22, 2009 at 10:40 PM, su2 wrote

Re: Load Balancing in OFbiz

2009-09-22 Thread Brett Palmer
and Yes, you need to replicate the same code on all the different machines. We have used subversion to do this as you only need to update each server to the version you want to run. Then manually modify some config files such as the jvm path that I indicated earlier and your up and running. Bre

Re: Load Balancing in OFbiz

2009-09-22 Thread Brett Palmer
1. We run one instance of ofbiz on a separate server but this is because we are running a single application and want to scale by adding more machines. 2. It is easier to use the embedded ofbiz version rather than a standalone tomcat with ofbiz placed as a standard WAR file. From the Apache Web

Re: Delivering .swf files via the serveObjectData object

2009-09-22 Thread Brett Palmer
Al, The only thing I see that stands out is the "chartset" setting for the non-working CMS url. charset=UTF-8 Maybe setting the chartset the flashplayer assumes it is text and not binary file. Brett On Tue, Sep 22, 2009 at 11:01 PM, Al Byers wrote: > These are the headers when coming for thi

Re: Delivering .swf files via the serveObjectData object

2009-09-22 Thread Al Byers
These are the headers when coming for this non-working url: https://localhost:8443/eng/control/stream?contentId=247658 ServerApache-Coyote/1.1 ExpiresWed, 23 Sep 2009 04:34:06 GMT Last-ModifiedWed, 23 Sep 2009 04:34:06 GMT Cache-Controlno-store, no-cache, must-revalidate, post-check=0, pre-check=0

Re: Load Balancing in OFbiz

2009-09-22 Thread Neha . Mehta
Hi Brett, Thanx for your generosity. I have to load balance OFBiz on multiple servers. For this do i need to have replica of my OFBiz code running on multiple servers and run embedded OFBiz tomcat on all these servers??? Or do i need to have multiple tomcat instances on a single server?? ALso p

Delivering .swf files via the serveObjectData object

2009-09-22 Thread Al Byers
Has anyone delivered a Flash movie using the streaming capability of the content management system? I am looking at it in the debugger and it seems to be delivering content, but I am wondering if there are headers or something that needs to be done to get a movie to display? Instead of displaying t

Re: View-entity with WHERE clause

2009-09-22 Thread David E Jones
In the OFBiz trunk there is an option for view-entity definitions to include an entity-condition element that is similar to the ones in simple-method and various widgets, and that will allow you to add a where condition to the view-entity def. -David On Sep 22, 2009, at 1:52 PM, su2 wro

Re: View-entity does not work with 3 member-Entities

2009-09-22 Thread Yoke Power
hi Su, Answers inline On Tue, Sep 22, 2009 at 5:07 PM, su2 wrote: > > Hello Friends, > > I am trying to create view-entity which works fine with 2 entities but does > not work with 3 entity-member. > > I have couple of questions. > > 1. Is there any restriction on entity-member while creating v

Re: View-entity with WHERE clause

2009-09-22 Thread Yoke Power
Hi Su, Just to give a back ground, Entity and View Entity work in the same fashion at runtime/query execution; the only difference being, entity is used for single entity and view-entity is used for combining multiple entities; that being said, entity OR view-entity query has two parts namely 1)

Re: Shipping Address for Order

2009-09-22 Thread Scott Gray
BJ, Please try and keep in mind that there are hundreds of subscribers on these mailing lists and sending junk responses such as this is really just a waste of everyones time. Thanks Su, Same as my last response, Orders and ContactMechs are tied together using OrderContactMech, the con

Re: View-entity with WHERE clause

2009-09-22 Thread BJ Freeman
findby can be used in minilanq, and java, which includes the bsh \framework\entity\dtd\entitymodel.xsd has all the current capablities. since your using 4.0 you will have to see since I don't use it any more. Shuchi Mehta sent the following on 9/22/2009 1:48 PM: > Thank you. And apologize for bein

View-entity does not work with 3 member-Entities

2009-09-22 Thread su2
Hello Friends, I am trying to create view-entity which works fine with 2 entities but does not work with 3 entity-member. I have couple of questions. 1. Is there any restriction on entity-member while creating view-entity ? 2. Is it possible to create view-entity using other view-entity instead

Re: View-entity with WHERE clause

2009-09-22 Thread Shuchi Mehta
Thank you. And apologize for being little impatient. I read the document, and what I understood is Finding (findByAnd) method is used in .bsh file. So, I just want to make sure that there is no way to specify "WHERE" clause while creating the . correct? Again, thanks for your help. Shuchi- B

Re: View-entity with WHERE clause

2009-09-22 Thread BJ Freeman
it is in the same document I gave a link to under Finding please read the whole document. Shuchi Mehta sent the following on 9/22/2009 1:32 PM: > Sorry I was not able to understand "find query" part. I got the "widget" > part. Where do we specify "find query"? > > Thank you for the help. > Su- >

Re: View-entity with WHERE clause

2009-09-22 Thread Shuchi Mehta
Sorry I was not able to understand "find query" part. I got the "widget" part. Where do we specify "find query"? Thank you for the help. Su- BJ Freeman wrote: http://ofbiz.apache.org/docs/entity.html#View_Entity_Modeling The where is in the find query. or conditionals in the widgets. su2 se

Re: contactMechId & partyId

2009-09-22 Thread BJ Freeman
look at the contact Mech Entity it tells you the relationships. su2 sent the following on 9/22/2009 10:10 AM: > Hello Friends, > > What is the difference between partyId & contactMechID ? Where can I find > the relation between them? > > Thanks for the help in advance. > > Su- -- BJ Freeman h

Re: Shipping Address for Order

2009-09-22 Thread BJ Freeman
a view entity that includes the type of address su2 sent the following on 9/22/2009 8:29 AM: > Hi Friends, > > Where/in which entity can I find shipping address(not the postal/billing > address) related to order. > > Thanks for the help in advance. > > Su- -- BJ Freeman http://www.businesses

Re: View-entity with WHERE clause

2009-09-22 Thread BJ Freeman
http://ofbiz.apache.org/docs/entity.html#View_Entity_Modeling The where is in the find query. or conditionals in the widgets. su2 sent the following on 9/22/2009 12:52 PM: > Hello Friends, > > I would like to create a view entity for entity "orderheader" and > "orderContactMech". I want to have t

View-entity with WHERE clause

2009-09-22 Thread su2
Hello Friends, I would like to create a view entity for entity "orderheader" and "orderContactMech". I want to have that to represent following SQL. --- SELECT orderheader.orderId, orderheader.orderDa

Re: Vaildations in OFBiz

2009-09-22 Thread masionas
Form what I see you will have to load zip code -> (country and telephone) data file into ofbiz entity. And write a simple code to make a lookup and match. naveen chanda wrote: > > Hi, > > I am new to ofbiz implementation and i got a requirement to validate the > zip code as per the country and

Re: contactMechId & partyId

2009-09-22 Thread S K Pradeep Kumar
The contactMechId is the primary key for each contact mechanisms that associate with particular party. You can see that in the contactMech table, there is one contact mech id for each and every contact mechanisms and their contact mech types . On Tue, Sep 22, 2009 at 10:53 PM, Shuchi Mehta wro

RE: contactMechId & partyId

2009-09-22 Thread Abhai Chaudhary
"ContactMechID" represents the primary mode of communication with a contact, possible Option could be "Phone", "Email" etc. You can always customize these options from entitydef.xml for "part" application. -Original Message- From: su2 [mailto:shu...@pexsupply.com] Sent: Tuesday, Sept

Re: contactMechId & partyId

2009-09-22 Thread Adrian Crum
Do you have a copy of The Data Model Resource book? http://docs.ofbiz.org/display/OFBADMIN/OFBiz+Related+Books -Adrian su2 wrote: Hello Friends, What is the difference between partyId & contactMechID ? Where can I find the relation between them? Thanks for the help in advance. Su-

Re: contactMechId & partyId

2009-09-22 Thread Erwan de FERRIERES
In the data model book vol 1, page 53 Le 22/09/2009 19:22, su2 a écrit : What is the significance of contactMechID? su2 wrote: Hello Friends, What is the difference between partyId& contactMechID ? Where can I find the relation between them? Thanks for the help in advance. Su- --

Re: contactMechId & partyId

2009-09-22 Thread su2
What is the significance of contactMechID? su2 wrote: > > Hello Friends, > > What is the difference between partyId & contactMechID ? Where can I find > the relation between them? > > Thanks for the help in advance. > > Su- > -- View this message in context: http://www.nabble.com/cont

Re: contactMechId & partyId

2009-09-22 Thread Shuchi Mehta
I can see the relation, but I still do not know the significance of contactMechId. S K Pradeep Kumar wrote: check the partyContactMech table On Tue, Sep 22, 2009 at 10:40 PM, su2 wrote: Hello Friends, What is the difference between partyId & contactMechID ? Where can I find the relation

Re: contactMechId & partyId

2009-09-22 Thread S K Pradeep Kumar
check the partyContactMech table On Tue, Sep 22, 2009 at 10:40 PM, su2 wrote: > > Hello Friends, > > What is the difference between partyId & contactMechID ? Where can I find > the relation between them? > > Thanks for the help in advance. > > Su- > -- > View this message in context: > http://ww

contactMechId & partyId

2009-09-22 Thread su2
Hello Friends, What is the difference between partyId & contactMechID ? Where can I find the relation between them? Thanks for the help in advance. Su- -- View this message in context: http://www.nabble.com/contactMechId---partyId-tp25530830p25530830.html Sent from the OFBiz - User mailing li

Squares in POS panel for Chinese

2009-09-22 Thread ngterry
Hi, How come the wording in the upper left of the POS panel for Chinese becoming squares? http://www.nabble.com/file/p25530826/screen.png Regards, Terence -- View this message in context: http://www.nabble.com/Squares-in-POS-panel-for-Chinese-tp25530826p25530826.html Sent from the OFBiz - User

How to run Ofbiz as guest

2009-09-22 Thread ngterry
Hi, How can I run Ofbiz in Windows XP as guest? Ofbiz will be closed automatically when I do not use my Administrator Account to run. How do I solve it? Regards, Terence -- View this message in context: http://www.nabble.com/How-to-run-Ofbiz-as-guest-tp25530824p25530824.html Sent from the OF

POS resolution 800x600

2009-09-22 Thread ngterry
Hi, I have just modified the hard code variables in /specialpurpose/pos/screens/default to fit 800x600 resolution by ratio. But the screen seems biased to the upper left. How can I adjust it to the center? Do I have to add several pixels to the top and left to orgin (0,0) to move it back to

Shipping Address for Order

2009-09-22 Thread su2
Hi Friends, Where/in which entity can I find shipping address(not the postal/billing address) related to order. Thanks for the help in advance. Su- -- View this message in context: http://www.nabble.com/Shipping-Address-for-Order-tp25530788p25530788.html Sent from the OFBiz - User mailing li

Re: Question related to GeronimoTransactionManager and JNDI

2009-09-22 Thread Jacopo Cappellato
ooops... of course this was not intended for this mailing list :-) sorry for the confusion... I probably need a coffee Jacopo On Sep 22, 2009, at 4:06 PM, Jacopo Cappellato wrote: Hi all, I am one of the committers of the Apache OFBiz project, and as you may know we are using Geronimo Tx Ma

Question related to GeronimoTransactionManager and JNDI

2009-09-22 Thread Jacopo Cappellato
Hi all, I am one of the committers of the Apache OFBiz project, and as you may know we are using Geronimo Tx Manager as the default JTA implementation. We have some code that is not working and I am wondering if you may give us some hints to fix it; the code below attempts to bind the Ger

Re: Vaildations in OFBiz

2009-09-22 Thread Sumit Pandit
Hello Naveen, You can find solution to your requirement at - demo.ofbiz.org, If you add few items to cart and then checkout via - https://demo.ofbiz.org/ecommerce/control/anonOnePageCheckout Thanks and Regards Sumit Pandit On 22-Sep-09, at 6:23 PM, naveen chanda wrote: Hi, I am new to of

Re: How to create new role in ofbiz

2009-09-22 Thread Vikas Mayur
Naveen, Follow this link - https://demo.ofbiz.org/partymgr/control/viewroles?partyId=DemoCustomer Vikas On Sep 22, 2009, at 6:19 PM, naveen chanda wrote: Hi All, Could any one explain me the steps to create a new role in ofbiz and how to add the roles to the user. Thanks, Naveen Chanda

Re: Vaildations in OFBiz

2009-09-22 Thread Vikas Mayur
Naveen, You may either want to use client side validation or server side validation or even both. For former you can use javascript and for latter you can use simple map-processor. For map-processor you can read from this link - http://ofbiz.apache.org/docs/minilang.html#Simple_Map_Proce

Vaildations in OFBiz

2009-09-22 Thread naveen chanda
Hi, I am new to ofbiz implementation and i got a requirement to validate the zip code as per the country and telephone numbers, could any one give me the steps to this. And, please provide me the steps to do validation for a simple text box, which is empty. Hope, you will provide me this. Tha

How to create new role in ofbiz

2009-09-22 Thread naveen chanda
Hi All, Could any one explain me the steps to create a new role in ofbiz and how to add the roles to the user. Thanks, Naveen Chanda -- View this message in context: http://www.nabble.com/How-to-create-new-role-in-ofbiz-tp25530705p25530705.html Sent from the OFBiz - User mailing list archive a

Re: Load Balancing in OFbiz

2009-09-22 Thread Scott Gray
OFBiz uses Tomcat v6 Regards Scott On 22/09/2009, at 9:35 PM, Hans Bakker wrote: Hi Neha, because OFBiz is using Tomcat V5 check on the internet how to load balance tomcat together with apache. there is a lot of text on that, an example: http://tomcat.apache.org/tomcat-5.5-doc/balancer-howto

Re: Load Balancing in OFbiz

2009-09-22 Thread Hans Bakker
Hi Neha, because OFBiz is using Tomcat V5 check on the internet how to load balance tomcat together with apache. there is a lot of text on that, an example: http://tomcat.apache.org/tomcat-5.5-doc/balancer-howto.html Regards, Hans On Tue, 2009-09-22 at 14:12 +0530, neha.me...@lntinfotech.com wr

Re: Load Balancing in OFbiz

2009-09-22 Thread Brett Palmer
Neha, Here is a configuration we use to do load balancing in ofbiz. Others may do something else. 1. One machine is running an Apache Web server with mod_jk setup to communicate with different instances of ofbiz. The mod_jk is setup to load balance between the different ofbiz instances. Here i

Re: Adding a custom date field to a product within a certain category

2009-09-22 Thread Scott Gray
Hi Simon, On 22/09/2009, at 8:05 PM, Simon Hutchinson wrote: Thanks Scott, This is looking like a possible approach. It will certainly work from the perspective of our eCommerce application for search and display on the product detail page. However I am still a little unsure from a back-of

Load Balancing in OFbiz

2009-09-22 Thread Neha . Mehta
Hi, I want to load balance OFBiz requests using multiple servers(server cluster). Do i need to use multiple tomcat instances for that?? Is there any other efficient way to go for the same.. I need to set up session replication using embedded tomcat but i am not able to get any concrete steps t

Re: Adding a custom date field to a product within a certain category

2009-09-22 Thread Simon Hutchinson
Thanks Scott, This is looking like a possible approach. It will certainly work from the perspective of our eCommerce application for search and display on the product detail page. However I am still a little unsure from a back-office perspective. The data model does not allow me to create Pr

Re: How to Create Own Store

2009-09-22 Thread Jacques Le Roux
http://freemarker.org/ Jacques From: "Jitender" what is the .ftl file in ofbiz how it works? wating for reply --- Chirag Manocha-2 wrote: Hi Kumar, As Sumit said you can refer DemoProducts.xml and if you want to do the setup from front end the

Re: How to Create Own Store

2009-09-22 Thread Jitender
what is the .ftl file in ofbiz how it works? wating for reply --- Chirag Manocha-2 wrote: > > Hi Kumar, > As Sumit said you can refer DemoProducts.xml and if you want to do the > setup from front end then you can refer > https://demo.ofbiz.org/cata

Re: IBM surepos and ofbiz

2009-09-22 Thread Jacques Le Roux
I meaned, if you want me too look at this IBM code please send it (I suggest Nabble attachment or direct email to me) Jacques From: "Jacques Le Roux" I may have a look at IBM code, but I have none of them (kbd msr and line display) on hand. Jacques From: On Tuesday, September 8th a user

Re: How to Create Own Store

2009-09-22 Thread Jacques Le Roux
Hi Kumar, http://docs.ofbiz.org/x/oR4 Jacques From: "Jitender" Hi Chirag and others ! how to call some some other API Methods wihich is available in WSDL file wating for reply : Thanks. Jitender - Chirag Manocha-2 wrote: Hi Kumar, As Sumit said you can

Re: Error trying to buy a Digital Good

2009-09-22 Thread Simon Hutchinson
Hi Jacques, Yes I will take a look. Simon On 21 Sep 2009, at 20:42, Jacques Le Roux wrote: Hi Simon, Could you please avec a look at OFBIZ-2929 ? Thanks Jacques From: "Simon Hutchinson" Hi Mario I am currently using 09.04 r813407 I have performed a clean build of the demo - ant clean-all