[jira] Commented: (OFBIZ-3153) Relation title not needed on Facility entity

2009-11-05 Thread Erwan de FERRIERES (JIRA)
[ https://issues.apache.org/jira/browse/OFBIZ-3153?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12774226#action_12774226 ] Erwan de FERRIERES commented on OFBIZ-3153: --- Thanks Jacques for commiting ! > R

Re: svn commit: r833294 - in /ofbiz: branches/addbirt/framework/ branches/addbirt/framework/birt/lib/ branches/addbirt/framework/birt/src/org/ofbiz/birt/report/context/ branches/addbirt/framework/birt

2009-11-05 Thread Scott Gray
No problem Hans, keep in mind you'll need to recommit the code I reverted, except in the branch this time :-) Regards Scott On 6/11/2009, at 7:25 PM, Hans Bakker wrote: Thank you scottvery strange to get the branches mixed with the trunk. regards, Hans On Fri, 2009-11-06 at 18:30 +1300

Re: How to retrieve the actually selected ApplicationMenuItem title?

2009-11-05 Thread Scott Gray
Ah okay, forget that code sample then, I thought you were after something else. I can't think of any way to do what you are attempting without changes to the framework. Regards Scott On 6/11/2009, at 7:22 PM, Bruno Busco wrote: Thank you Scott, I have tryied it but it results in error (s

Re: svn commit: r833294 - in /ofbiz: branches/addbirt/framework/ branches/addbirt/framework/birt/lib/ branches/addbirt/framework/birt/src/org/ofbiz/birt/report/context/ branches/addbirt/framework/birt

2009-11-05 Thread Hans Bakker
Thank you scottvery strange to get the branches mixed with the trunk. regards, Hans On Fri, 2009-11-06 at 18:30 +1300, Scott Gray wrote: > I've reverted the portion of the commit that affected the trunk in > r833303 > > Regards > Scott > > HotWax Media > http://www.hotwaxmedia.com > > On

Re: How to retrieve the actually selected ApplicationMenuItem title?

2009-11-05 Thread Bruno Busco
Thank you Scott, I have tryied it but it results in error (see below). What I am trying to do is to have the title of the actually selected xxxAppBar menu. So, for instance, if we are in the accounting application and the "Invoices" menu is selected (headerItem is equal to "invoices") I would lik

Re: svn commit: r833294 - in /ofbiz: branches/addbirt/framework/ branches/addbirt/framework/birt/lib/ branches/addbirt/framework/birt/src/org/ofbiz/birt/report/context/ branches/addbirt/framework/birt

2009-11-05 Thread Deepak Dixit
Thanks Scott :-) Regards -- Deepak Dixit HotWax Media Pvt. Ltd. Website :- www.hotwaxmedia.com Contact :- +91-98267-54548 Scott Gray wrote: I've reverted the portion of the commit that affected the trunk in r833303 Regards Scott HotWax Media http://www.hotwaxmedia.com On 6/11/2009, at 6:1

Re: svn commit: r833294 - in /ofbiz: branches/addbirt/framework/ branches/addbirt/framework/birt/lib/ branches/addbirt/framework/birt/src/org/ofbiz/birt/report/context/ branches/addbirt/framework/birt

2009-11-05 Thread Scott Gray
I've reverted the portion of the commit that affected the trunk in r833303 Regards Scott HotWax Media http://www.hotwaxmedia.com On 6/11/2009, at 6:14 PM, Deepak Dixit wrote: Hello Hans, comment inline: Modified: ofbiz/trunk/framework/base/config/ofbiz-containers.xml URL: http://svn.apac

Re: svn commit: r833294 - in /ofbiz: branches/addbirt/framework/ branches/addbirt/framework/birt/lib/ branches/addbirt/framework/birt/src/org/ofbiz/birt/report/context/ branches/addbirt/framework/birt

2009-11-05 Thread Deepak Dixit
Hello Hans, comment inline: Modified: ofbiz/trunk/framework/base/config/ofbiz-containers.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/base/config/ofbiz-containers.xml?rev=833294&r1=833293&r2=833294&view=diff

Re: Getting error while running server

2009-11-05 Thread Deepak Dixit
This is due to commit no 833294. == --- ofbiz/trunk/framework/base/config/ofbiz-containers.xml (original) +++ ofbiz/trunk/framework/base/config/ofbiz-containers.xml Fri Nov 6 03:55:56 2009 @@ -256,6 +256,14 @@

Re: Getting error while running server

2009-11-05 Thread Arpit Singh Pandya
I am also facing the same problem on latest revision. Thanks & Regards -- Arpit Singh Pandya Brajesh Patel wrote: Hello All, Not able to run server due to following: org.ofbiz.base.start.StartupException: Cannot locate container class (org.ofbiz.birt.container.BirtContainer) at org.ofbiz.

Getting error while running server

2009-11-05 Thread Brajesh Patel
Hello All, Not able to run server due to following: org.ofbiz.base.start.StartupException: Cannot locate container class (org.ofbiz.birt.container.BirtContainer) at org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.java:164) at org.ofbiz.base.container.ContainerLoade

Re: svn commit: r832581 - in /ofbiz/trunk/applications/workeffort/src/org/ofbiz/workeffort/workeffort: ICalConverter.java WorkEffortServices.java

2009-11-05 Thread Hans Bakker
Hi Adrian This commit breaks the calendar on the myportal main page with the message: exception report -- Service [getWorkEffortEventsByPeriod] threw an unexpected exception/error Exception: org.ofbiz.service.GenericServiceException Mess

Re: svn commit: r833114 - in /ofbiz/branches/release09.04: ./ applications/party/entitydef/entitymodel.xml applications/product/entitydef/entitymodel.xml

2009-11-05 Thread Scott Gray
Thanks for taking care of it Jacques. Regards Scott On 6/11/2009, at 1:43 PM, Jacques Le Roux wrote: Hi Scott, Sorry modelisation is the French word for design. You are right, I have reverted in both trunk and R9.04 and also removed the title as suggested Erwan. I updated https://issues.ap

Re: svn commit: r833114 - in /ofbiz/branches/release09.04: ./ applications/party/entitydef/entitymodel.xml applications/product/entitydef/entitymodel.xml

2009-11-05 Thread Jacques Le Roux
Hi Scott, Sorry modelisation is the French word for design. You are right, I have reverted in both trunk and R9.04 and also removed the title as suggested Erwan. I updated https://issues.apache.org/jira/browse/OFBIZ-3153 to reflect these changes I want to design the fact that we may have mult

[jira] Commented: (OFBIZ-3153) Relation title not needed on Facility entity

2009-11-05 Thread Jacques Le Roux (JIRA)
[ https://issues.apache.org/jira/browse/OFBIZ-3153?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12774158#action_12774158 ] Jacques Le Roux commented on OFBIZ-3153: Hi Erwan, I finally followed your advice

Re: How to retrieve the actually selected ApplicationMenuItem title?

2009-11-05 Thread Scott Gray
Hi Bruno, You could do something like: <#assign appTitle = Static ["org .ofbiz .base.component.ComponentConfig"].getWebAppInfo(parameters._serverId, parameters._CONTEXT_ROOT_).getTitle() /> That's all that comes to mind, there may be a better way. Regards Scott HotWax Media http://www.h

How to retrieve the actually selected ApplicationMenuItem title?

2009-11-05 Thread Bruno Busco
Hi devs, I need to retrieve, from a ftl file, the title of the actually selected item in the actual Application menu. Could someone give some pointer? Many thanks, -Bruno

Re: svn commit: r833114 - in /ofbiz/branches/release09.04: ./ applications/party/entitydef/entitymodel.xml applications/product/entitydef/entitymodel.xml

2009-11-05 Thread Scott Gray
I'm sorry I don't know what modelidation means. The elevation field doesn't allow a many relationship, it simply creates the possibility of having one. A design flaw is not in itself a bug unless it breaks some existing functionality which isn't the case here. Additionally the change is b

Re: svn commit: r833113 - in /ofbiz/trunk/applications: party/entitydef/entitymodel.xml product/entitydef/entitymodel.xml

2009-11-05 Thread Scott Gray
Please explain to me how the many relationship will be presented in the database. I was not suggesting that a contactMechId should be present on GeoPoint, I was trying to point out that you cannot simply change a relationship from one to many without making field changes. Your current rela

Re: svn commit: r833114 - in /ofbiz/branches/release09.04: ./ applications/party/entitydef/entitymodel.xml applications/product/entitydef/entitymodel.xml

2009-11-05 Thread Jacques Le Roux
Scott, Actually it's a bug in the modelidation as we forgot the elevation field which allows a many relationship betwen PostalAddress and GeoPoint (flats in building). Same for Facility as Adrian suggested. I may revert but we will then lose this ability in R9.04 Jacques From: "Scott Gray" H

Re: svn commit: r833113 - in /ofbiz/trunk/applications: party/entitydef/entitymodel.xml product/entitydef/entitymodel.xml

2009-11-05 Thread Jacques Le Roux
Hi Scott, Inline.. From: "Scott Gray" Hi Jacques, Have you tested this? Changing the relationship from one to many implies that there is a contactMechId on the GeoPoint entity but that isn't the case right? Why would we need contactMechId on GeoPoint ? The relation is established throu

New DB warnings

2009-11-05 Thread Jacques Le Roux
Hi devs, Some warnings while creating a new DB in postgres [java] | org.owasp.esapi.errors.IntrusionException.interval=1 [java] 2009-11-05 23:55:24,093 (main) [ModelViewEntity.java:527:WARN ] Conversion for complex-alias needs to be implemented for cache and in-memory eval stu

[jira] Updated: (OFBIZ-3168) Adding pagination icons to Bluelight theme

2009-11-05 Thread Bruno Busco (JIRA)
[ https://issues.apache.org/jira/browse/OFBIZ-3168?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bruno Busco updated OFBIZ-3168: --- Attachment: pag.JPG OFBIZ-3168 pagination.patch > Adding pagination icons to Blueligh

[jira] Created: (OFBIZ-3168) Adding pagination icons to Bluelight theme

2009-11-05 Thread Bruno Busco (JIRA)
Adding pagination icons to Bluelight theme -- Key: OFBIZ-3168 URL: https://issues.apache.org/jira/browse/OFBIZ-3168 Project: OFBiz Issue Type: Improvement Reporter: Bruno Busco

Re: Usage of @SuppressWarnings("serial")

2009-11-05 Thread Jacques Le Roux
Scott, From: "Scott Gray" Hi Jacques, I'm not going to sit here and pretend to be some sort of expert on the subject, I was merely correcting a statement which I knew to be false. I was not false but badly expressed :p. I wanted to speak about the peculiar case of versionning with seriali

Re: svn commit: r833114 - in /ofbiz/branches/release09.04: ./ applications/party/entitydef/entitymodel.xml applications/product/entitydef/entitymodel.xml

2009-11-05 Thread Scott Gray
Hi Jacques, I don't agree with back porting the data model change, I think changing the relationship title is fine but changing the relationship from one to many (which I don't think is right anyway) shouldn't be backported unless it is addressing a bug. Regards Scott HotWax Media http:/

Re: svn commit: r833113 - in /ofbiz/trunk/applications: party/entitydef/entitymodel.xml product/entitydef/entitymodel.xml

2009-11-05 Thread Scott Gray
Hi Jacques, Have you tested this? Changing the relationship from one to many implies that there is a contactMechId on the GeoPoint entity but that isn't the case right? Also was it your intention that the relationship name now becomes PointGeoPoint? Regards Scott HotWax Media http://w

Re: Discussion: Improved Java Object Type Conversion

2009-11-05 Thread Adrian Crum
You see it as forcing, I see it as enabling. The design enables developers to define and convert their own types. The goal is to be able to pass custom object types around the framework, instead of having to convert everything into java.* library types. Thank you for the Spring info. I thought

Re: Discussion: Improved Java Object Type Conversion

2009-11-05 Thread Harmeet Bedi
This forces users to have objects for everything they want to convert to and from causing large number of objects in system. Very OO, looks fine to me. PhoneNumber logic could be easily wrapped into object. convert signature seems nicer than 'to'. Looked a bit at spring. Maybe sharing some

[jira] Commented: (OFBIZ-3153) Relation title not needed on Facility entity

2009-11-05 Thread Jacques Le Roux (JIRA)
[ https://issues.apache.org/jira/browse/OFBIZ-3153?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12774039#action_12774039 ] Jacques Le Roux commented on OFBIZ-3153: Thanks Adrian, Convinced, changed to many

[jira] Commented: (OFBIZ-3153) Relation title not needed on Facility entity

2009-11-05 Thread Adrian Crum (JIRA)
[ https://issues.apache.org/jira/browse/OFBIZ-3153?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12774031#action_12774031 ] Adrian Crum commented on OFBIZ-3153: Facilities are not in heaps, but a multi-story bui

enctype="multipart/form-data" and POST method

2009-11-05 Thread S.Hage
Hi All, I have a very big freemarker FORM with many inputs, among them I have one " for uploading an image file, for this reason I set the enctype of the form to "multipart/form-data". The values of the inputs look like this: ${uiLabelMap.PartyFirstName} value="${reques