error reading ofbiz-containers.xml nested '--'

2007-12-04 Thread bummerhan
I checked out a recent ofbiz build. which had the below ofbiz-containers.xml it may be peculiar to my javax xml parsers, but I had to remove the nested comment before it could run ... !-- load BeanShell remote telnet server container name=beanshell-container

Re: Simple method question, checking duplicate primary key

2007-12-04 Thread Vikas Mayur
entity-one entity-name=MasterIncentive value-name=masterIncentive/ if-empty field-name=masterIncentive make-value entity-name=MasterIncentive value-name=newEntity/ set-nonpk-fields map-name=parameters value-name=newEntity/ set-pk-fields map-name=parameters value-name=newEntity/ !--

RE: Any plan to allow field widgets like drop-down inside screen?

2007-12-04 Thread [EMAIL PROTECTED]
Widgets in FTL is the only way currently to get some things done if you want to use widgets. Skip -Original Message- From: Jonathon -- Improov [mailto:[EMAIL PROTECTED] Sent: Monday, December 03, 2007 5:36 PM To: user@ofbiz.apache.org Subject: Re: Any plan to allow field widgets like

RE: all of a sudden, java.lang.OutOfMemoryError

2007-12-04 Thread [EMAIL PROTECTED]
I am running a version a couple of months old and java is only using 100 megs (300megs total including paged memory). This server has been running for weeks and stable. Skip -Original Message- From: Case Torres [mailto:[EMAIL PROTECTED] Sent: Monday, December 03, 2007 3:58 PM To:

Re: error reading ofbiz-containers.xml nested '--'

2007-12-04 Thread Vikas Mayur
I do not see any nested comment in ofbiz-containers.xml in the latest version. Can you please mention which version are you talking about. If I am correct, We can not nest comments in xml. On Dec 4, 2007 1:43 PM, bummerhan [EMAIL PROTECTED] wrote: I checked out a recent ofbiz build. which

Re: error reading ofbiz-containers.xml nested '--'

2007-12-04 Thread bummerhan
this appeared in the regular ofbiz build which I downloaded yesterday if its not in the latest version, then its okay the attached lines was there and made noise when i booted ofbiz.jar no frets now, thks... Han Boon Kiat, Bummer BummerWare Pte Ltd 20 Maxwell Road #09-17 Maxwell House

Re: connection with the database. (new connection from the pool)

2007-12-04 Thread Vikas Mayur
Did you cross check that these entities are created in postgres datasources after doing changes to entityengine config file. On Dec 2, 2007 5:27 AM, pmacdee [EMAIL PROTECTED] wrote: Here is the section out of my ./framework/entity/config/entityengine.xml delegator name=default

Re: error reading ofbiz-containers.xml nested '--'

2007-12-04 Thread Jonathon -- Improov
That's right. We cannot nest comments. The 1st !-- will start the comment. The 2nd !-- does nothing. The 1st -- closes the comment. The 2nd one is an error. Jonathon Vikas Mayur wrote: I do not see any nested comment in ofbiz-containers.xml in the latest version. Can you please mention which

Re: error reading ofbiz-containers.xml nested '--'

2007-12-04 Thread bummerhan
i did not draw from svn, this from the bundled zip on sourceforge (http://sourceforge.net/project/showfiles.php?group_id=145855) this has to go down as a strange one for me anyway:- an XML learning point for all of us (thanks jonathon) - Original Message From: Jacques Le Roux [EMAIL

Re: Entity engine, many relations, foreign keys

2007-12-04 Thread Jonathon -- Improov
I found this from David Jones: Foreign keys are done for type one relationships, not type many. A type many relationship is usually just the reverse direction of a type one relationship so the FK covers both. What would it mean to have a foreign key on a type many relationship? Then a

Re: all of a sudden, java.lang.OutOfMemoryError

2007-12-04 Thread BJ Freeman
have you added any code to this. modified any containers? Case Torres sent the following on 12/1/2007 3:36 PM: Hi, OFBiz used to run like a champ on my XP Pro computer. Now, I'm getting the following errors from ofbiz and everything on my computer comes to a screeching halt. I think my

Re: error reading ofbiz-containers.xml nested '--'

2007-12-04 Thread Jacques Le Roux
This is OpenTaps not OFBiz. Please use rather their forum. Jacques De : bummerhan [EMAIL PROTECTED] i did not draw from svn, this from the bundled zip on sourceforge (http://sourceforge.net/project/showfiles.php?group_id=145855) this has to go down as a strange one for me anyway:- an

Re: Lookups inside a Lookup

2007-12-04 Thread BJ Freeman
take a look at the product lookup They do partial lookups and case sensitive also drop down selects applications/product/webapp/catalog/lookup Vikas Mayur sent the following on 12/4/2007 3:22 AM: I see Party (partyId) lookups in Invoice (InvoiceId) and Payment (paymentId). Could not figure out

Re: connection with the database. (new connection from the pool)

2007-12-04 Thread pmacdee
No, I didn't. How do I do that? Vikas Mayur-2 wrote: Did you cross check that these entities are created in postgres datasources after doing changes to entityengine config file. On Dec 2, 2007 5:27 AM, pmacdee [EMAIL PROTECTED] wrote: Here is the section out of my

Re: connection with the database. (new connection from the pool)

2007-12-04 Thread Vikas Mayur
Every time you do changes to entityengine.xml, you need to restart the application server. This will create the entities that was in group org.ofbiz.olap in your database, Since this is the first time you associate this group to a different datasource. If there is any seed - demo data associated

Re: Entity engine, many relations, foreign keys

2007-12-04 Thread Jonathon -- Improov
More thoughts aloud. Of course, that would mean we cannot easily change the fromDate field in PartyContactMech (unless we do EECA). Correction. With foreign key constraint in place, it is not possible to use EECA to do a pseudo ON UPDATE CASCADE. I can't find any turn off foreign key checks

Re: Payment during web checkout

2007-12-04 Thread Vince M. Clark
All payment settings are set to Y for Apply to All Products. Still doesn't show up as available payment setting in order entry. - Original Message - From: BJ Freeman [EMAIL PROTECTED] To: user@ofbiz.apache.org Sent: Monday, December 3, 2007 6:43:27 PM (GMT-0700) America/Denver

Opentaps tutorials

2007-12-04 Thread V. Sunder Anand
Just wanted to drop a thank note to Si Chen for the 'hello world' series of tutorials. Those really helped me to get started on OFbiz. Needless to say about the docs available on mailing list and wiki (oldnew). Rgds. v.sunderanand

Bug? in Demo Site on adding a Payment Method

2007-12-04 Thread Joel Blouin
Has something changed in how to add a payment method to a store? In the Hotwax Demo site I login in as flexadmin go to the catalog manager select the retail store 9100 select Payments and the current payment methods are displayed. But there is no way to add additional payment methods. Is this a

RE: all of a sudden, java.lang.OutOfMemoryError

2007-12-04 Thread Case Torres
No, I haven't. I'll start anew. :-( Case Torres [EMAIL PROTECTED] -Original Message- From: BJ Freeman [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 04, 2007 2:45 AM To: user@ofbiz.apache.org Subject: Re: all of a sudden, java.lang.OutOfMemoryError have you added any code to

Re: Is this Possible with OFBiz?

2007-12-04 Thread BJ Freeman
possible, but would need programming Brendan Vogt sent the following on 12/4/2007 3:56 AM: Hi, Is this Possible with OFBiz? http://shopping.aol.com/eee-pc-4g-notebook/53769671? http://shopping.aol.com/eee-pc-4g-notebook/53769671?tot=200sid=2id=127r

Re: Is this Possible with OFBiz?

2007-12-04 Thread v. sunder anand
Is there any public sites powered by OFbiz that I can take a look. I have visited graciousstyle.com. Thx. -Original Message- From: BJ Freeman [EMAIL PROTECTED] Date: Tue, 04 Dec 2007 09:04:45 To:user@ofbiz.apache.org Subject: Re: Is this Possible with OFBiz? possible, but would need

Re: Is this Possible with OFBiz?

2007-12-04 Thread David E Jones
As for most things, start here: http://ofbiz.apache.org/ And from the Who is Using Apache OFBiz section see the link to additional info here: http://docs.ofbiz.org/display/OFBIZ/Apache+OFBiz+User+List -David On Dec 4, 2007, at 10:12 AM, v. sunder anand wrote: Is there any public sites

Re: Bug? in Demo Site on adding a Payment Method

2007-12-04 Thread David E Jones
Try logging in as admin. -David On Dec 4, 2007, at 9:11 AM, Joel Blouin wrote: Has something changed in how to add a payment method to a store? In the Hotwax Demo site I login in as flexadmin go to the catalog manager select the retail store 9100 select Payments and the current payment

Re: Bug? in Demo Site on adding a Payment Method

2007-12-04 Thread Raj Saini
I have experienced this problem as well. Though one can edit existing payment, adding new payment method gives error. As a workaround, you can use XML import to add a new method. Thanks, Raj Joel Blouin wrote: Has something changed in how to add a payment method to a store? In the Hotwax

Re: Is this Possible with OFBiz?

2007-12-04 Thread Raj Saini
You can have a look on http://www.ibaazar.com/eshop/control/main. This is not yet complete though. Thanks, Raj v. sunder anand wrote: Is there any public sites powered by OFbiz that I can take a look. I have visited graciousstyle.com. Thx. -Original Message- From: BJ Freeman [EMAIL

Re: Bug? in Demo Site on adding a Payment Method

2007-12-04 Thread Raj Saini
I faced this problem with Admin user as well. Thanks, Raj David E Jones wrote: Try logging in as admin. -David On Dec 4, 2007, at 9:11 AM, Joel Blouin wrote: Has something changed in how to add a payment method to a store? In the Hotwax Demo site I login in as flexadmin go to the

RE: Is this Possible with OFBiz?

2007-12-04 Thread Brendan Vogt
Nice work. Did you much Java programming on this site? And how easy was it to implement your own design? Have you been working long on OfBiz? -Original Message- From: Raj Saini [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 04, 2007 7:25 PM To: user@ofbiz.apache.org Subject: Re: Is

Re: Payment during web checkout

2007-12-04 Thread BJ Freeman
Ok did some digging the paymentoptions.flt does not have a place for external payments so some coding is necessary in the bsh and ftl. maybe time to move it to a widget form. Vince M. Clark sent the following on 12/4/2007 7:22 AM: All payment settings are set to Y for Apply to All Products.

Re: Is this Possible with OFBiz?

2007-12-04 Thread Raj Saini
Yes, I did a bit of programming. Most of it is in Freemarker templates and bsh files. Easy and difficult are relative to skills. It was difficult for me in the beginning and a lot easy now. I did it wrong couple of times. Integration should be fairly easy. Generally, I let my designer create

Re: Bug? in Demo Site on adding a Payment Method

2007-12-04 Thread BJ Freeman
I am currently logged in as admin and it shows. https://demo.hotwaxmedia.com/catalog/control/EditProductStorePaySetup?productStoreId=9000 Raj Saini sent the following on 12/4/2007 9:25 AM: I faced this problem with Admin user as well. Thanks, Raj David E Jones wrote: Try logging in

RE: Bug? in Demo Site on adding a Payment Method

2007-12-04 Thread Joel Blouin
BJ it reappeared after adding the security group of CatalogAdmin to both admin and flexadmin. Maybe someone changed the permissions on the demosite. Now when I try to add a payment method I get this error message: The Following Errors Occurred: In set-nonpk-fields a value was not found with

Re: Bug? in Demo Site on adding a Payment Method

2007-12-04 Thread Raj Saini
Try deleting a credit card processor service and adding it again. I get the following error: The Following Errors Occurred: In set-nonpk-fields a value was not found with the specified valueAcsr: setting, not setting fields Raj BJ Freeman wrote: I am currently logged in as admin and it

Re: Bug? in Demo Site on adding a Payment Method

2007-12-04 Thread BJ Freeman
maybe two definitions for new here. 1) brand new to ofbiz, which mean should be in seed data along with the coding to support it. 2) already loaded in the database but not listed on order payments page. this can be done with a drop down, if you have the right permissions. Raj Saini sent the

Re: Bug? in Demo Site on adding a Payment Method

2007-12-04 Thread BJ Freeman
actually admin should be Fulladmin flexadmin should be flexadmin looks like someone is playing with security Joel Blouin sent the following on 12/4/2007 9:58 AM: BJ it reappeared after adding the security group of CatalogAdmin to both admin and flexadmin. Maybe someone changed the permissions

Re: Bug? in Demo Site on adding a Payment Method

2007-12-04 Thread Raj Saini
I know what you mean BJ. What I mean is a service already defined and loaded in the DB and not in the store. Refer my previous mail and the error message. It should work the way you said, but it is not. Thanks, Raj BJ Freeman wrote: maybe two definitions for new here. 1) brand new to

Re: Bug? in Demo Site on adding a Payment Method

2007-12-04 Thread BJ Freeman
all bets are off till the logins are straighten out. best to use a download from the SVN and run localhost. Raj Saini sent the following on 12/4/2007 10:03 AM: Try deleting a credit card processor service and adding it again. I get the following error: The Following Errors Occurred: In

Re: Bug? in Demo Site on adding a Payment Method

2007-12-04 Thread Raj Saini
I have latest SVN checkout and I experience this when login with admin user. Strangely, It works when I do the import through webtools. Thanks, Raj BJ Freeman wrote: all bets are off till the logins are straighten out. best to use a download from the SVN and run localhost. Raj Saini sent the

Re: Bug? in Demo Site on adding a Payment Method

2007-12-04 Thread BJ Freeman
I just ran it against the ver4.0 branch and it works. Raj Saini sent the following on 12/4/2007 10:14 AM: I know what you mean BJ. What I mean is a service already defined and loaded in the DB and not in the store. Refer my previous mail and the error message. It should work the way you

Re: Bug? in Demo Site on adding a Payment Method

2007-12-04 Thread BJ Freeman
might use the webtools to verify the demo data was loaded on the install. you can do this by doing a clean then install, if your using the default derby db. Raj Saini sent the following on 12/4/2007 10:24 AM: I have latest SVN checkout and I experience this when login with admin user.

RE: Any plan to allow field widgets like drop-down inside screen?

2007-12-04 Thread [EMAIL PROTECTED]
Yep, you can already do it, check out the screens.render line #if collectionSummary?has_content div class=screenlet-body table width=100% border=0 cellspacing=5 tr td width=50% ${screens.render(component://ar/widget/opentaps/collections/screens/Collect

RE: Entity engine, many relations, foreign keys

2007-12-04 Thread [EMAIL PROTECTED]
It would be nice to have the foreign key checks as well as ways to creating indexes on non-key fields. There is a great performance increase having an index in some tables. Now I have to do in manually inside of the DB which is fine. Skip -Original Message- From: Jonathon -- Improov

Re: Any plan to allow field widgets like drop-down inside screen?

2007-12-04 Thread BJ Freeman
skip that is opentaps code, if I am not mistaken. does the ftl code in ofbiz trunk support this? [EMAIL PROTECTED] sent the following on 12/4/2007 10:55 AM: Yep, you can already do it, check out the screens.render line #if collectionSummary?has_content div class=screenlet-body table

RE: Entity engine, many relations, foreign keys

2007-12-04 Thread [EMAIL PROTECTED]
Can someone point me to an example or some document? I find no reference here http://ofbiz.apache.org/docs/entity.html Skip -Original Message- From: David E Jones [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 04, 2007 11:06 AM To: user@ofbiz.apache.org Subject: Re: Entity engine,

RE: Entity engine, many relations, foreign keys

2007-12-04 Thread [EMAIL PROTECTED]
Ya BJ, seen that. What I want to do is create an index that is simply used for speed lookups. I do this now in postgres after install has been done. It would just be nice to be able to specify it in the entitydef file. But, it aint a big deal. Easily done manually in postgres. Skip

Re: Entity engine, many relations, foreign keys

2007-12-04 Thread Adrian Crum
Why won't the index element work? [EMAIL PROTECTED] wrote: Ya BJ, seen that. What I want to do is create an index that is simply used for speed lookups. I do this now in postgres after install has been done. It would just be nice to be able to specify it in the entitydef file. But, it aint a

Re: Any plan to allow field widgets like drop-down inside screen?

2007-12-04 Thread BJ Freeman
yes, what I meant is it was dependent on opentaps modifications. not in the obiz trunk, yet. [EMAIL PROTECTED] sent the following on 12/4/2007 11:33 AM: This is not opentaps code, it is MY code, but I did copy the screens.rennder() technique from Leon. It is however done on an opentaps

RE: Bug? in Demo Site on adding a Payment Method

2007-12-04 Thread Joel Blouin
Thanks Raj import via webtools worked for me also -Original Message- From: Raj Saini [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 04, 2007 10:25 AM To: user@ofbiz.apache.org Subject: Re: Bug? in Demo Site on adding a Payment Method I have latest SVN checkout and I experience this

Re: Bug? in Demo Site on adding a Payment Method

2007-12-04 Thread BJ Freeman
wonder what is wrong with the install procedure if you have to import via the webtools? Joel Blouin sent the following on 12/4/2007 12:27 PM: Thanks Raj import via webtools worked for me also -Original Message- From: Raj Saini [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 04,

RE: Entity engine, many relations, foreign keys

2007-12-04 Thread [EMAIL PROTECTED]
Gads Adrian. I never knew of the existence of this tag. Thanks. It is perfect. Someone needs to document it in the entity engine guide or at least somewhere prominent. I just did a search for this tag and found dozens of uses, but somehow, I missed it even though I looked at OrderHeader's

Re: Bug? in Demo Site on adding a Payment Method

2007-12-04 Thread Vince M. Clark
What does this error mean? I don't think it has to do with install procedure. Looks more like a bug. The error occurs whenever you attempt to create a payment setting thru the Catalog-Store-Payments window. The Following Errors Occurred: In set-nonpk-fields a value was not found with the

Re: Entity engine, many relations, foreign keys

2007-12-04 Thread David E Jones
On Dec 4, 2007, at 1:57 PM, [EMAIL PROTECTED] wrote: Gads Adrian. I never knew of the existence of this tag. Thanks. It is perfect. Someone needs to document it in the entity engine guide or at least somewhere prominent. I just did a search for this tag and found dozens of uses, but

managing the size of console.log

2007-12-04 Thread Vince M. Clark
There are two startup options in startofbiz.sh # start ofbiz $JAVA $VMARGS -jar ofbiz.jar $* $OFBIZ_LOG 2$OFBIZ_LOG #exec $JAVA $VMARGS -jar ofbiz.jar $@ We are using the first option, which logs everything to console.log. This appears to be redundant with ofbiz.log. console.log is not

Re: managing the size of console.log

2007-12-04 Thread BJ Freeman
just comment out the redirect to the log. there are plenty of other logs to look at. rem $JAVA $VMARGS -jar ofbiz.jar $* $OFBIZ_LOG 2$OFBIZ_LOG $JAVA $VMARGS -jar ofbiz.jar Vince M. Clark sent the following on 12/4/2007 12:58 PM: There are two startup options in startofbiz.sh # start ofbiz

Re: Bug? in Demo Site on adding a Payment Method

2007-12-04 Thread BJ Freeman
Not sure what is causing it. I tested on the latest trunk and version 4.0 and could not reproduce it. I did see it on the demo site but a lot of people seem to be doing a lot of things, like changing permissions and security so can't tell what is real and what is caused by people messing around.

Re: Entity engine, many relations, foreign keys

2007-12-04 Thread BJ Freeman
skip the webtools link I gave you showed indexes, not sure why you did not pick up on it. also if you have looked a any of then entities you would see them also. [EMAIL PROTECTED] sent the following on 12/4/2007 12:57 PM: Gads Adrian. I never knew of the existence of this tag. Thanks. It is

Re: Bug? in Demo Site on adding a Payment Method

2007-12-04 Thread Scott Gray
Yeah it's some sort of bug, the form looks to be doing updates only hence the error if the method doesn't already exist. Regards Scott On 05/12/2007, BJ Freeman [EMAIL PROTECTED] wrote: Not sure what is causing it. I tested on the latest trunk and version 4.0 and could not reproduce it. I

Re: Bug? in Demo Site on adding a Payment Method

2007-12-04 Thread BJ Freeman
Ok that was what I was missing. I was adding services already available. Scott Gray sent the following on 12/4/2007 1:40 PM: Yeah it's some sort of bug, the form looks to be doing updates only hence the error if the method doesn't already exist. Regards Scott On 05/12/2007, BJ Freeman

Re: managing the size of console.log

2007-12-04 Thread Jacques Le Roux
You may also have a look at the colored log in webtools Jacques De : BJ Freeman [EMAIL PROTECTED] just comment out the redirect to the log. there are plenty of other logs to look at. rem $JAVA $VMARGS -jar ofbiz.jar $* $OFBIZ_LOG 2$OFBIZ_LOG $JAVA $VMARGS -jar ofbiz.jar Vince M. Clark sent

RE: Entity engine, many relations, foreign keys

2007-12-04 Thread [EMAIL PROTECTED]
Ah well, undocumented is probably not the right word given that we all have the source. Perhaps hidden might be better? But no, that would imply the intent to hide something which is surely not the case. Perhaps unpublished? This is all tongue-in-cheek David. My point is that here is a really

Unsubscribe

2007-12-04 Thread Canh Phan
Looking for last minute shopping deals? Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping

RE: managing the size of console.log

2007-12-04 Thread [EMAIL PROTECTED]
Vince It is my view that a production server of any sort should never redirect stdout and stderr to a log file because you have no control over it. If you want stdout and stderr, it's fairly simple in java to catch it and write it to a rotating log file. In Ofbiz's case, not everything that

RE: Entity engine, many relations, foreign keys

2007-12-04 Thread [EMAIL PROTECTED]
Ya BJ, I saw those index fields, but why could I not have interpreted that as the indexes created with the primary key?. As mentioned, I have looked countless times at OrderHeader which contains this index tag and it did not get noticed. I think in my case it was because I saw a naggle post that

Re: Entity engine, many relations, foreign keys

2007-12-04 Thread David E Jones
On Dec 4, 2007, at 3:07 PM, [EMAIL PROTECTED] wrote: Ah well, undocumented is probably not the right word given that we all have the source. Perhaps hidden might be better? But no, that would imply the intent to hide something which is surely not the case. Perhaps unpublished? This

RE: Entity engine, many relations, foreign keys

2007-12-04 Thread [EMAIL PROTECTED]
David I seem to have hit a sore spot. That was not my intent and I apologize. I will limit my response to a few comments. First, I have read EVERY document I can get my hands on concerning Ofbiz including all the ones in your link below. I even downloaded and printed the more informative ones

In Search Of: Theory of product catalog composition

2007-12-04 Thread jason_lunn
Hello OFBiz-Users, I'm just getting started with OFBiz and I am looking for a thread, wiki entry, document, or video that gives an in depth treatment to the different ways one could conceivably design one's product catalog. The best series of documents I have found on the subject so far have

Re: In Search Of: Theory of product catalog composition

2007-12-04 Thread BJ Freeman
first I suggest you get the The Data Model Resource Book, Revised Edition, Volumes 1 2 books referred here http://docs.ofbiz.org/display/OFBADMIN/OFBiz+Related+Books this will let you know the abilities of ofbiz. then read http://docs.ofbiz.org/display/OFBENDUSER/Catalog Your questions would be

Re: In Search Of: Theory of product catalog composition

2007-12-04 Thread jason_lunn
BJ Freeman wrote: first I suggest you get the The Data Model Resource Book, Revised Edition, Volumes 1 2 books referred here http://docs.ofbiz.org/display/OFBADMIN/OFBiz+Related+Books this will let you know the abilities of ofbiz. then read

Re: In Search Of: Theory of product catalog composition

2007-12-04 Thread v. sunder anand
Data model resource book version-1 precisely describes this situation in the chapter 'products#products and parts' In my opinion, You may be better off referencing the book and ofbiz data (entity) schema in parallel since you are sure about your needs. -Original Message- From:

Re: Unsubscribe

2007-12-04 Thread Vikas Mayur
Check out this link for the address to unsubscribe http://docs.ofbiz.org/display/OFBADMIN/Mailing+Lists On Dec 5, 2007 3:41 AM, Canh Phan [EMAIL PROTECTED] wrote: Looking for last minute shopping

Re: Entity engine, many relations, foreign keys

2007-12-04 Thread Jonathon -- Improov
Skip, Use index in entity. Check out PostalAddress in ${component:party}/entitydef/entitymodel.xml . Jonathon [EMAIL PROTECTED] wrote: It would be nice to have the foreign key checks as well as ways to creating indexes on non-key fields. There is a great performance increase having an index

Re: Entity engine, many relations, foreign keys

2007-12-04 Thread Jonathon -- Improov
Skip, Read the DTDs. See ${component:entity}/dtd/entitymodel.xsd . For an entity, there are field, prim-key, relation, index. Jonathon [EMAIL PROTECTED] wrote: Gads Adrian. I never knew of the existence of this tag. Thanks. It is perfect. Someone needs to document it in the entity engine

Re: Entity engine, many relations, foreign keys

2007-12-04 Thread Jonathon -- Improov
Skip, Ah well, undocumented is probably not the right word given that we all have the source. Perhaps hidden might be better? But no, that would imply the intent to hide something which is surely not the case. Perhaps unpublished? Actually, for open source and free software, as is is the

Re: Entity engine, many relations, foreign keys

2007-12-04 Thread Jonathon -- Improov
Skip, First, I have read EVERY document I can get my hands on concerning Ofbiz ... nowhere in them is the index tag mentioned and I am betting many other equally cool features. There's was a remark by Andy some years back, kind of apologizing for lack of documentation. Reason given was that

Re: Entity engine, many relations, foreign keys

2007-12-04 Thread Jonathon -- Improov
None of the responses pertain to this thread? :( Help? Anyone? Jonathon Jonathon -- Improov wrote: Ah sheesh, too late to correct my own thoughts. Responses came in. Anyway, notes to self here. - Foreign keys must point to UNIQUE or PRIMARY indexes I don't see a point in having a relation

Re: managing the size of console.log

2007-12-04 Thread Jonathon -- Improov
Skip, Agreed. I usually redirect console.log to dev null (discard). Log4J in OFBiz does capture output in rotated logs, so the console.log is just extra. Moreover, debug messages shouldn't be done with System.out.println. Jonathon [EMAIL PROTECTED] wrote: Vince It is my view that a

Re: Any plan to allow field widgets like drop-down inside screen?

2007-12-04 Thread Jonathon -- Improov
Skip, Yes, I knew we can include screen widgets in FTL. I told you screens as building blocks, remember? Also, check out ${sections.render('section_name')}, by the way. My problem is that I can't add less than a screen in FTL. Consider that you have in FTL a HTML form. Somewhere inside that

Re: Any plan to allow field widgets like drop-down inside screen?

2007-12-04 Thread Jonathon -- Improov
Sorry, it should be this: field name=stateProvinceGeoId drop-down entity-options entity-name=Geo description=${geoName} combine=or key-field-name=geoId entity-constraint name=geoTypeId value=STATE entity-constraint name=geoTypeId value=PROVINCE entity-order-by

Re: In Search Of: Theory of product catalog composition

2007-12-04 Thread BJ Freeman
then it is best to look at the demo data that comes with ofbiz. the PC001 is a configurable item. you can also do a BOM in manufacturing that is built of an item. the trick is to combine the two if you want to capture the manufacturing in to the configuration. jason_lunn sent the following on

Re: Any plan to allow field widgets like drop-down inside screen?

2007-12-04 Thread Jacopo Cappellato
Jonathon, I agree that this would be a nice feature to have. Jacopo Jonathon -- Improov wrote: Sorry, it should be this: field name=stateProvinceGeoId drop-down entity-options entity-name=Geo description=${geoName} combine=or key-field-name=geoId entity-constraint

Re: Any plan to allow field widgets like drop-down inside screen?

2007-12-04 Thread BJ Freeman
ignorant question. if you can include a screen and a screen can include a form. what am I missing. Jonathon -- Improov sent the following on 12/4/2007 9:49 PM: Skip, Yes, I knew we can include screen widgets in FTL. I told you screens as building blocks, remember? Also, check out

Re: Any plan to allow field widgets like drop-down inside screen?

2007-12-04 Thread Jonathon -- Improov
Forms can be written in total widget or total FTL, not a combination. That's the problem. See the editcontactmech.ftl example I gave. Also, see the skip-start and skip-end attributes discussion I gave on element form. Note also the inability to remove the table wrapper for form. Jonathon

Re: Entity engine, many relations, foreign keys

2007-12-04 Thread Jacques Le Roux
Or even better read and then add annotations/documentations that others will read and maybe complete/enhance... https://issues.apache.org/jira/browse/OFBIZ-1398 This part of the work, as for code, benefits to all but is more neglicted. Because most people just read the DTD as Jonathon

Re: Any plan to allow field widgets like drop-down inside screen?

2007-12-04 Thread Jacopo Cappellato
Jonathon -- Improov wrote: Forms can be written in total widget or total FTL, not a combination. That's the problem. See the editcontactmech.ftl example I gave. Also, see the skip-start and skip-end attributes discussion I gave on element form. Note also the inability to remove the table

Re: Any plan to allow field widgets like drop-down inside screen?

2007-12-04 Thread Jacques Le Roux
This discussion sounds interesting and should be rather done on the dev list, suggesting... Jacques De : Jonathon -- Improov [EMAIL PROTECTED] Forms can be written in total widget or total FTL, not a combination. That's the problem. See the editcontactmech.ftl example I gave. Also, see

Re: Any plan to allow field widgets like drop-down inside screen?

2007-12-04 Thread Jonathon -- Improov
only use tables for list forms and just use divs for single forms But how will we neatly arrange the form labels and form fields? Currently, we use this (generated from form widget): tr tdForm label:/td tdForm field/td /tr In editcontactmech.ftl, the same strategy is used. If we