JavaOne, anyone going?

2011-09-27 Thread David E Jones
Is anyone going to JavaOne next week? I won't be attending, but I am in the Bay Area (San Jose) on a contract right now. If anyone would like to meet up in the evenings during the week, or anytime this weekend or next, please let me know. It would be great to chat more with whoever is around

Re: svn commit: r1177789 - /ofbiz/branches/release10.04/framework/webapp/src/org/ofbiz/webapp/stats/ServerHitBin.java

2011-09-30 Thread David E Jones
Also, this introduces a bug: a hard-coded dependence on the default delegator. The delegator name for this should always comes from the webapp, which is configured in the web.xml file. -David Scott Gray wrote: What bug? On 1/10/2011, at 8:25 AM, jler...@apache.org wrote: Author:

Moqui/Mantle Update

2011-11-21 Thread David E Jones
The first production-ready/stable release of Moqui Framework (version 1.0.0) is now available through SourceForge: https://sourceforge.net/projects/moqui/files/ There is a download there that includes a preview of the Mantle project. Mantle is basically a data model and service library. The

Re: Discussion: Handling Security In Nested Services

2011-11-23 Thread David E Jones
Adrian, It sounds like you're starting to get the point of the run-time inheritable permission approach that I was trying to introduce into the project a while back. The general idea being the permission inheritance is based on screens/services/etc calling other artifacts, ie you keep track of a

Re: Discussion: Handling Security In Nested Services

2011-11-24 Thread David E Jones
What might be helpful for this is the allow, deny, always-allow pattern. Normally you'd just give users an inheritable allow permission, but if the code called/used anything with a deny permission associated with it, the user would be denied in spite of the inheritable allow permission. For

Re: Framework refactor (Moqui-/Mantle-specific)

2012-03-14 Thread David E Jones
I think the Moqui Framework is already to a point where migration of OFBiz business-level artifacts could begin immediately. Doing a migration like this would bring up other issues... including whether or not to clean up the data model and services while at it, especially rewriting messier parts

Re: Discussion: Mini-language Overhaul

2012-03-14 Thread David E Jones
If you translate the entire simple-method into a groovy script (perhaps using an FTL file) and then compile/cache/run that groovy script you can avoid these overhead problems... and also trim the size of the code to execute simple-methods by a LOT (ie all those Java objects per simple-method

Re: Discussion: Mini-language Overhaul

2012-03-15 Thread David E Jones
Some editors, like IntelliJ IDEA, do actually support scripts embedded in other files. I use this quite a bit for groovy scripts embedded in XML... but it doesn't work so well for groovy expressions because it only works when you define object types for variables and such. -David Adrian Crum

Re: Framework refactor (Moqui-/Mantle-specific)

2012-03-15 Thread David E Jones
(but important): is Moqui using (or there are plans to use) jars or external tools whose license would prevent us from bundling Moqui in an OFBiz release under the ASL 2.0? This would be a show stopper... Jacopo On Mar 15, 2012, at 6:08 AM, David E Jones wrote: This might actually

Re: Framework refactor (Moqui-/Mantle-specific)

2012-03-15 Thread David E Jones
NOTE: replying to this in multiple messages for better digestibility. :) Jacopo Cappellato wrote: Thank you David, please see inline: On Mar 15, 2012, at 6:08 AM, David E Jones wrote: I think the Moqui Framework is already to a point where migration of OFBiz business-level artifacts

Re: Framework refactor (Moqui-/Mantle-specific)

2012-03-15 Thread David E Jones
Jacopo Cappellato wrote: Doing a migration like this would bring up other issues... including whether or not to clean up the data model and services while at it, especially rewriting messier parts of OFBiz like the ShoppingCart* objects and order processing stuff in general. It will be

Re: Framework refactor (Moqui-/Mantle-specific)

2012-03-15 Thread David E Jones
Jacopo Cappellato wrote: 3. running in a single webapp: while this isn't necessary with Moqui, the Moqui Screens are a combination of the controller.xml entries for the particular screen and the OFBiz Screen Widget, and are hierarchical instead of being flat like the request-map URIs in

Re: Move AR and AP web applications our of Accounting into Extras

2012-04-07 Thread David E Jones
When I first saw the subject I was thinking this as well. I always wondered why those were created as separate applications, perhaps for permission reasons I suppose. In a way they make more sense as part of the accounting webapp instead of in separate ones. -David Pierre Smits wrote: - 1

Re: Component and Component Set Dependencies

2008-11-15 Thread David E Jones
From: David E Jones [EMAIL PROTECTED] This is a topic that came up at the conference, and has come up over time on the mailing lists. To help answer questions about this I've written up some details and put together a diagram which is now available on this page on the docs site: http

Re: Use of Open Standards in Open For Business

2008-11-15 Thread David E Jones
Freeman wrote: My favorite is Open Business UI standard. Not from a programming point of view but from a business use. 1) lowering Key strokes 2) lowering Learning Curve. 3) error processing (bullet proofing User Entry) David E Jones sent the following on 11/13/2008 7:03 PM: NOTE: This is part

Re: My Notes From OFBiz Symposium at ApacheCon US 2008 - Main Theme: Organizing Ourselves

2008-11-15 Thread David E Jones
On Nov 15, 2008, at 3:09 PM, Shi Yusen wrote: +1. The reason is simple: nobody takes the role of project manager in OFBiz. When Redhat aquired JBoss, I found almost every project had a new project manager who really helped the projects released more and more predictable. At the beginning

Re: My Notes From OFBiz Symposium at ApacheCon US 2008 - Main Theme: Organizing Ourselves

2008-11-15 Thread David E Jones
On Nov 15, 2008, at 4:27 PM, David E Jones wrote: On Nov 15, 2008, at 3:09 PM, Shi Yusen wrote: +1. The reason is simple: nobody takes the role of project manager in OFBiz. When Redhat aquired JBoss, I found almost every project had a new project manager who really helped the projects

Re: My Notes From OFBiz Symposium at ApacheCon US 2008 - Main Theme: Organizing Ourselves

2008-11-15 Thread David E Jones
On Nov 15, 2008, at 1:46 PM, Joe Eckard wrote: On Nov 14, 2008, at 3:41 PM, David E Jones wrote: On Nov 14, 2008, at 9:46 AM, Adrian Crum wrote: David E Jones wrote: I don't mean to dilute the framework release effort. But at the same time, it seems to me issues are coming up in R4

Re: Use of Open Standards in Open For Business

2008-11-15 Thread David E Jones
on this, but I have found that it is what most programming efforts miss. David E Jones sent the following on 11/15/2008 9:57 AM: This sounds interesting. What is the name of this standard? I tried searching for [Open Business UI] (ie with quotes) on google and it found no results, and without quotes

Re: OFBiz self-hosting

2008-11-16 Thread David E Jones
2008/11/13 David E Jones [EMAIL PROTECTED] Actually as we get OFBiz ready to run for OFBiz we'll have it hosted on ASF infra. The OFBiz resources that are not hosted on ASF infra are actually an issue right now that needs to be resolved at some point (ie confluence, nightly builds, demo site

[jira] Commented: (OFBIZ-796) WorkEffort Application aka Project Management Application

2008-11-16 Thread David E. Jones (JIRA)
[ https://issues.apache.org/jira/browse/OFBIZ-796?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12647975#action_12647975 ] David E. Jones commented on OFBIZ-796: -- It might good if Hans did this, but I'd say

Re: OFBiz self-hosting

2008-11-16 Thread David E Jones
should have it working as a CMS in a live site where we all have access and with contents that will then be moved into the Apache server. Is this possible? -Bruno 2008/11/13 David E Jones [EMAIL PROTECTED] Actually as we get OFBiz ready to run for OFBiz we'll have it hosted on ASF infra

Re: OFBiz self-hosting

2008-11-16 Thread David E Jones
integrated and into OFBiz officially, as it's the only interface I've seen on top of OFBiz that would be possible to replace something like Confluence. Cheers, Tim -- Tim Ruppert HotWax Media http://www.hotwaxmedia.com o:801.649.6594 f:801.649.6595 On Nov 16, 2008, at 6:45 AM, David E Jones wrote

[jira] Assigned: (OFBIZ-1999) A portal/portlet implementation

2008-11-16 Thread David E. Jones (JIRA)
[ https://issues.apache.org/jira/browse/OFBIZ-1999?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] David E. Jones reassigned OFBIZ-1999: - Assignee: David E. Jones A portal/portlet implementation

[jira] Commented: (OFBIZ-1999) A portal/portlet implementation

2008-11-16 Thread David E. Jones (JIRA)
[ https://issues.apache.org/jira/browse/OFBIZ-1999?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12647977#action_12647977 ] David E. Jones commented on OFBIZ-1999: --- I apologize for the delay on this Bruno. I

Re: OFBiz self-hosting

2008-11-16 Thread David E Jones
:801.649.6594 f:801.649.6595 On Nov 16, 2008, at 7:07 AM, David E Jones wrote: I'm sorry to be contradictory, but I don't think this statement is true: the ASF is not ready to host all of these things - nightly builds, demo sites, documentation management, etc The ASF infra certainly IS ready

[jira] Commented: (OFBIZ-796) WorkEffort Application aka Project Management Application

2008-11-16 Thread David E. Jones (JIRA)
[ https://issues.apache.org/jira/browse/OFBIZ-796?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12648013#action_12648013 ] David E. Jones commented on OFBIZ-796: -- When I mentioned others getting involved

[jira] Commented: (OFBIZ-1999) A portal/portlet implementation

2008-11-16 Thread David E. Jones (JIRA)
[ https://issues.apache.org/jira/browse/OFBIZ-1999?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12648072#action_12648072 ] David E. Jones commented on OFBIZ-1999: --- Just an FYI, I'm working on this now... so

[jira] Commented: (OFBIZ-1999) A portal/portlet implementation

2008-11-17 Thread David E. Jones (JIRA)
[ https://issues.apache.org/jira/browse/OFBIZ-1999?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12648106#action_12648106 ] David E. Jones commented on OFBIZ-1999: --- The bulk of this is now in SVN, rev 718185

Re: My Notes From OFBiz Symposium at ApacheCon US 2008 - Main Theme: Organizing Ourselves

2008-11-17 Thread David E Jones
enterprise software. You won't see the same issue with commercial open source like SugarCRM or Compiere or OpenBravo or the like, because they develop using a commercial model, and not an open source model. -David On Nov 17, 2008, at 9:25 AM, Markus Studer wrote: David E Jones wrote

Re: My Notes From OFBiz Symposium at ApacheCon US 2008 - Main Theme: Organizing Ourselves

2008-11-17 Thread David E Jones
On Nov 17, 2008, at 12:06 PM, Joe Eckard wrote: On Nov 15, 2008, at 4:37 PM, David E Jones wrote: (disclaimer: one guy's opinion, grain of salt, etc.) Speaking primarily as an end user, the never release approach that the project is currently taking encourages me to isolate my code

Re: My Notes From OFBiz Symposium at ApacheCon US 2008 - Main Theme: Organizing Ourselves

2008-11-17 Thread David E Jones
On Nov 17, 2008, at 2:14 PM, Shi Yusen wrote: 在 2008-11-17一的 12:06 -0500,Joe Eckard写道: Speaking to Shi Yusen's comment about a project / release manager, I don't think it would be fair to push this onto any one person when the individual committers have all of the information available

Re: My Notes From OFBiz Symposium at ApacheCon US 2008 - Main Theme: Organizing Ourselves

2008-11-18 Thread David E Jones
On Nov 18, 2008, at 3:34 AM, Markus Studer wrote: This document has been around for a while, but pretty clearly describes options available and which to take when: http://docs.ofbiz.org/display/OFBADMIN/Apache+OFBiz+Getting+Started yes, that document was the base for our decisions. This is

Re: OFBiz and postgres

2008-11-18 Thread David E Jones
We used to include the Postgres and certain other JDBC drivers in the trunk. There isn't a license issue (there is with MySQL, but not with Postgres). The issue that we ran into is that you have to have the right JDBC driver version for the database version you are using, and if they

[jira] Commented: (OFBIZ-1999) A portal/portlet implementation

2008-11-18 Thread David E. Jones (JIRA)
[ https://issues.apache.org/jira/browse/OFBIZ-1999?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12648890#action_12648890 ] David E. Jones commented on OFBIZ-1999: --- Thanks for your feedback and continued

[jira] Commented: (OFBIZ-1999) A portal/portlet implementation

2008-11-18 Thread David E. Jones (JIRA)
[ https://issues.apache.org/jira/browse/OFBIZ-1999?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12648899#action_12648899 ] David E. Jones commented on OFBIZ-1999: --- Actually, there are no CrUD service

Re: framework release, icky internal dep

2008-11-19 Thread David E Jones
We should probably just move the admin account data (the parts that are framework specific, ie the partyId and such should stay higher level) to the common component or something. In real life though, this is only useful for demonstration and technically no admin account should ever

[jira] Commented: (OFBIZ-1868) Move Security-Related UI Artifacts to the Common Component

2008-11-19 Thread David E. Jones (JIRA)
[ https://issues.apache.org/jira/browse/OFBIZ-1868?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12649255#action_12649255 ] David E. Jones commented on OFBIZ-1868: --- Did I say the common component? I suppose

Re: ASF Request for Functionality

2008-11-19 Thread David E Jones
I spoke with Tim about this and some clarification might be helpful. What the ASF is actually looking for, based on what I heard from people (and this seems to be consistent with what Tim heard when I spoke with him): 1. project management (replace Jira) 2. content management (replace the

Re: framework release, icky internal dep

2008-11-19 Thread David E Jones
On Nov 19, 2008, at 11:17 PM, Adrian Crum wrote: --- On Wed, 11/19/08, David E Jones [EMAIL PROTECTED] wrote: From: David E Jones [EMAIL PROTECTED] Subject: Re: framework release, icky internal dep To: dev@ofbiz.apache.org Date: Wednesday, November 19, 2008, 7:57 PM We should probably just

Re: framework release, icky internal dep

2008-11-19 Thread David E Jones
On Nov 19, 2008, at 11:31 PM, Adrian Crum wrote: From: David E Jones [EMAIL PROTECTED] Subject: Re: framework release, icky internal dep To: dev@ofbiz.apache.org Date: Wednesday, November 19, 2008, 8:23 PM On Nov 19, 2008, at 11:17 PM, Adrian Crum wrote: --- On Wed, 11/19/08, David E Jones

Re: ASF Request for Functionality

2008-11-22 Thread David E Jones
to coordinate efforts towards a common (to all developers) vertical end-user application. -Bruno 2008/11/20 David E Jones [EMAIL PROTECTED] I spoke with Tim about this and some clarification might be helpful. What the ASF is actually looking for, based on what I heard from people

Re: request to add missing jdbc jars, at least postgres.jar

2008-11-23 Thread David E Jones
We've actually been through all of this before. It's actually worse to have the jdbc drivers included. The problem is that people run and deploy with it and find weird problems if the version in ofbiz doesn't match the database version. The result is production down time and repeated

Re: Security UI

2008-11-23 Thread David E. Jones
I'm for changing them. I'm guessing (and it's just a guess... please complain if this affects you!) that there aren't many with dependencies on this sort of label, so updating within the project should take care of nearly all, if not all, use of these. Also, even if we don't now, we'll want

Re: complex ajax-based query filter builder example

2008-11-23 Thread David E. Jones
'twould be nice for the price and promotion rules. -David Adam Heath wrote: http://www.isomorphic.dreamhosters.com/?p=18 This might be useful to emulate for complex condition building.

Re: OFBiz youtube channel

2008-11-23 Thread David E. Jones
I actually looked at hosting these on YouTube or Google Video a while back, but both of those services reduce the video and audio quality SO much that the videos and things end up being somewhat less that useful. The conference recordings might be fine there (just a less pleasant viewing

Re: OFBiz youtube channel

2008-11-24 Thread David E Jones
, Sven Wesley wrote: Even now when HD-format is possible? 2008/11/24 David E. Jones [EMAIL PROTECTED] I actually looked at hosting these on YouTube or Google Video a while back, but both of those services reduce the video and audio quality SO much that the videos and things end up being

Re: Comment to : http://docs.ofbiz.org/display/OFBTECH/General+Entity+Overview

2008-11-24 Thread David E Jones
I have a pretty big problem with this actually. First: changes to pks should be pretty limited, and when done should be carefully reviewed. These are a significant difficulty when upgrading and should never be done lightly or without looking at other alternatives. Second: when we

Re: Crowded tabs

2008-11-24 Thread David E Jones
These tabs independent of other (especially base) applications are important. The general idea is that different users would have different permissions for the tabs, so it may be common that a user has access to AR but not to Accounting. This thread seems to have gone in the direction of

Re: OFBiz youtube channel

2008-11-24 Thread David E Jones
Of course if you guy think that the channel should not be there I will remove it. Just let me know. -Bruno 2008/11/24 David E Jones [EMAIL PROTECTED] I just peeked around to see about this and it looks like the highest resolution possible is 480x360. Is there any way to do more than that? That would

Re: Having a spot to Park/Publish components

2008-11-24 Thread David E Jones
On Nov 24, 2008, at 8:22 PM, Anil Patel wrote: Hi, I think it will be good to have a spot on Ofbiz site that acts as catalog of application available for deployment on ofbiz. There are various custom applications that people write that can be shared (they will like to) with community.

Re: svn commit: r720346 - /ofbiz/trunk/specialpurpose/assetmaint/ofbiz-component.xml

2008-11-25 Thread David E Jones
Why at the bottom? Are you saying that we should change the pattern of business apps at the top and technical/etc apps at the bottom? -David On Nov 25, 2008, at 4:45 AM, Jacques Le Roux wrote: Anil, you could put it at the bottom in the meantime Jacques From: [EMAIL PROTECTED]

Re: Selenium Presentation for OFBiz - Re: OOTB Unit Tests (was Re: Stable trunk?)

2008-11-25 Thread David E Jones
in Cruise Control. Let's talk more about this next week at the conference. Brett On Wed, Oct 29, 2008 at 2:34 PM, David E Jones [EMAIL PROTECTED] wrote: Erwan, It would be great to have some tests that go through the user interface, but we don't have tools for this yet that fit

[jira] Commented: (OFBIZ-2037) Re-organize RateType, rateAmount and rateCurrency organization in ofbiz.

2008-11-25 Thread David E. Jones (JIRA)
[ https://issues.apache.org/jira/browse/OFBIZ-2037?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12650862#action_12650862 ] David E. Jones commented on OFBIZ-2037: --- I hate to say it, because I can see

[jira] Commented: (OFBIZ-2020) Using one Ofbiz instance with multiple databases

2008-11-25 Thread David E. Jones (JIRA)
[ https://issues.apache.org/jira/browse/OFBIZ-2020?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12650865#action_12650865 ] David E. Jones commented on OFBIZ-2020: --- This patch must not be committed

Request to Committers

2008-11-25 Thread David E Jones
All OFBiz Committers, This is kind of a reminder, but more of a request: please do not commit or even consider committing a contributed patch (ie through Jira) that you do not fully understand or that changes parts of OFBiz that you do not fully understand. If you really want to work on

[jira] Commented: (OFBIZ-2037) Re-organize RateType, rateAmount and rateCurrency organization in ofbiz.

2008-11-25 Thread David E. Jones (JIRA)
[ https://issues.apache.org/jira/browse/OFBIZ-2037?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12650868#action_12650868 ] David E. Jones commented on OFBIZ-2037: --- Discussion without details just doesn't do

[jira] Commented: (OFBIZ-2037) Re-organize RateType, rateAmount and rateCurrency organization in ofbiz.

2008-11-25 Thread David E. Jones (JIRA)
[ https://issues.apache.org/jira/browse/OFBIZ-2037?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12650873#action_12650873 ] David E. Jones commented on OFBIZ-2037: --- I gave specifics, and it seems the only way

Re: Discussion: Screen Widget Java Code Cleanup

2008-11-26 Thread David E Jones
On Nov 26, 2008, at 9:05 PM, Adrian Crum wrote: I would like to work on cleaning up the screen widget Java code. Here are some of my ideas: 1. The screen widget model classes are trying to be too many things. As a result, they contain some messy and scary code. I'd like to see the model

Re: Discussion: Screen Widget Java Code Cleanup

2008-11-27 Thread David E Jones
On Nov 27, 2008, at 10:52 AM, Adrian Crum wrote: --- On Wed, 11/26/08, David E Jones [EMAIL PROTECTED] wrote: Do you have any specific bits of messy code in mind? I don't mean to imply that I don't believe this might help, but how does moving the code from one class to another clean up

Re: the bug using IN operator with FindServices.java

2008-11-29 Thread David E Jones
Which revision or version of OFBiz are you using? -David On Nov 29, 2008, at 10:36 AM, guo weizhan wrote: Do you guys use the FindServices? It's seems there is the problem in createCondition method when using the IN operator, the EntityCondition.makeCondition need a collection as the value

[jira] Commented: (OFBIZ-2066) ${env.ofbiz.home} in property files does not get resolved after FlexibleProperties class is deprecated

2008-12-01 Thread David E. Jones (JIRA)
[ https://issues.apache.org/jira/browse/OFBIZ-2066?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12652148#action_12652148 ] David E. Jones commented on OFBIZ-2066: --- On a semantic note... would this really

[jira] Commented: (OFBIZ-2066) ${env.ofbiz.home} in property files does not get resolved after FlexibleProperties class is deprecated

2008-12-01 Thread David E. Jones (JIRA)
[ https://issues.apache.org/jira/browse/OFBIZ-2066?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12652255#action_12652255 ] David E. Jones commented on OFBIZ-2066: --- I see. Thanks for taking care of this Adrian

Re: svn commit: r722753 - /ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/invoice/InvoiceServices.xml

2008-12-02 Thread David E Jones
Why do a remove and then create instead of a store/update? Did that not work for some reason? -David On Dec 2, 2008, at 9:23 PM, [EMAIL PROTECTED] wrote: Author: hansbak Date: Tue Dec 2 20:23:30 2008 New Revision: 722753 URL: http://svn.apache.org/viewvc?rev=722753view=rev Log: remove

Requirements Creation

2008-12-03 Thread David E Jones
Has anyone noticed that the requirement setting on the store is ignored, but if set on the product then it works (for the PRODRQM_ATP at least)? I just setup the store on demo.hotwaxmedia.com to have this setting and nothing happens. After setting the one on the Requirement Method Enum

Re: Discussion: Permissions Checking Enhancement

2008-12-03 Thread David E Jones
One option for this (or at least part of it), and one that I think has been discussed before, would be to introduce a convention for naming permissions (or more to the point, ID-ing permissions) based on screen names and locations. A few aspects of this: 1. We could configure specific

Re: Discussion: Adding the Unified Expression Language to the framework

2008-12-06 Thread David E Jones
Is there an AL2 version of the interfaces for javax.el around? Geronimo has a lot of these implemented, but for something like this another project may be better, perhaps even the Commons EL project. I know you mentioned Commons EL is based on an older version, but perhaps they have some

Re: Discussion: Adding the Unified Expression Language to the framework

2008-12-06 Thread David E Jones
I just took a peek and it appears that jar files that are CDDL 1.0 licensed are allowed: http://www.apache.org/legal/3party.html -David On Dec 7, 2008, at 12:22 AM, David E Jones wrote: Is there an AL2 version of the interfaces for javax.el around? Geronimo has a lot

Re: Discussion: Adding the Unified Expression Language to the framework

2008-12-06 Thread David E Jones
This looks pretty cool. The ${bsh: stuff may need to be pre-filtered. Also, I noticed that a pre-parse or cache plugin feature is supported, and for something like this it would make a big difference. -David On Dec 4, 2008, at 12:08 PM, Adrian Crum wrote: I'm considering integrating JUEL

Re: Save Search in database

2008-12-07 Thread David E Jones
What kind of search? If you mean a product search there is already a model to persist search parameters and a summary of results. See the ProductSearch* entities (if I remember right). -David On Dec 7, 2008, at 4:06 PM, Anil Patel wrote: Hi, Ability to save search (criteria) is

[jira] Commented: (OFBIZ-2037) Re-organize RateType, rateAmount and rateCurrency organization in ofbiz.

2008-12-08 Thread David E. Jones (JIRA)
[ https://issues.apache.org/jira/browse/OFBIZ-2037?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12654673#action_12654673 ] David E. Jones commented on OFBIZ-2037: --- My suggestion, and request, was to discuss

Opinions on the invoice detail page

2008-12-08 Thread David E Jones
I'm just reviewing some things, some of which I haven't looked at for a while. One that I find has some design and implementation issues is the invoice overview page in accounting: https://demo.hotwaxmedia.com/accounting/control/invoiceOverview?invoiceId=CI2 So, I have some complaints:

Re: Opinions on the invoice detail page

2008-12-09 Thread David E Jones
On Dec 9, 2008, at 3:49 AM, Bilgin Ibryam wrote: Inline On Dec 9, 2008, at 5:44 AM, David E Jones wrote: I'm just reviewing some things, some of which I haven't looked at for a while. One that I find has some design and implementation issues is the invoice overview page in accounting

Re: Discussion: Permissions Checking Enhancement

2008-12-10 Thread David E Jones
permission should be checked to render the menu item that takes to that screen (sub-screen). Is this what you mean? This could be done even without the getAllPermissions service proposed, am I right? -Bruno 2008/12/3 David E Jones [EMAIL PROTECTED] One option for this (or at least part

Re: Discussion: Permissions Checking Enhancement

2008-12-11 Thread David E Jones
not struck to it being roles. This was thought to be a generally useful feature others might be interested in hence we are trying to make it compatible for the community. Ray David E Jones wrote: Instead of attaching this to a Party RoleType, it would be better to attach

Re: Discussion: Permissions Checking Enhancement

2008-12-11 Thread David E Jones
for implementation to fit in with OFBiz practices then fine, I'm not struck to it being roles. This was thought to be a generally useful feature others might be interested in hence we are trying to make it compatible for the community. Ray David E Jones wrote: Instead of attaching

Re: Protect-view pre-processor

2008-12-12 Thread David E Jones
Why not keep it super-simple at just add a field to the SecurityGroupPermission entity with the limit of times per time period that a user in that group can access that permission. Then in the low- level permission checking code keep a count... That would probably total less than 100

Re: LocalizedMap.java - Do we really need it?

2008-12-12 Thread David E Jones
How do you plan to support the Entity Engine (through GenericEntity) feature of implicitly localized fields (currently used for StatusItem, Enumeration, various others)? What FlexibleMapAccessor is doing with LocalizedMap is seeing if the Map passed to it implements the interface, and if

Re: LocalizedMap.java - Do we really need it?

2008-12-12 Thread David E Jones
localized fields just fine. I will continue to look into it though. Thanks for the reply! -Adrian --- On Fri, 12/12/08, David E Jones david.jo...@hotwaxmedia.com wrote: From: David E Jones david.jo...@hotwaxmedia.com Subject: Re: LocalizedMap.java - Do we really need it? To: dev

Re: LocalizedMap.java - Do we really need it?

2008-12-12 Thread David E Jones
a utility class to hide the complexity of the underlying data model, which among other things supports localization? -David --- On Fri, 12/12/08, David E Jones david.jo...@hotwaxmedia.com wrote: From: David E Jones david.jo...@hotwaxmedia.com Subject: Re: LocalizedMap.java - Do we really

Re: Follow up on SeleniumXml Test framework for OFBiz

2008-12-12 Thread David E Jones
On Dec 11, 2008, at 3:27 PM, Brett Palmer wrote: *Proposed Solutions* 1. Create a custom ant target (e.g. install-selenium-xml) that downloads the selenium-server.jar from a non-Apache hosted website (e.g. SourceForge). For example, the Apache Velocity project does this with

Re: svn commit: r726260 - in /ofbiz/trunk/framework: base/src/org/ofbiz/base/util/collections/ entity/src/org/ofbiz/entity/finder/ widget/src/org/ofbiz/widget/menu/

2008-12-13 Thread David E Jones
Instead of deprecating, and hiding the warning about deprecation, you can just change the constructor to protected or private. In the slim chance that anyone outside of the main OFBiz code base is using it they'll get a compiler error and it will be easy to make the change to fix it.

Re: svn commit: r726377 - in /ofbiz/trunk: applications/accounting/script/org/ofbiz/accounting/invoice/ applications/accounting/webapp/accounting/invoice/ applications/order/script/org/ofbiz/order/ord

2008-12-14 Thread David E Jones
Looks very cool Adrian. -David On Dec 13, 2008, at 10:50 PM, adri...@apache.org wrote: Author: adrianc Date: Sat Dec 13 21:50:29 2008 New Revision: 726377 URL: http://svn.apache.org/viewvc?rev=726377view=rev Log: A smattering of Unified Expression Language conversions in mini language

Re: LocalizedMap.java - Do we really need it?

2008-12-14 Thread David E Jones
On Dec 13, 2008, at 8:46 AM, Adrian Crum wrote: --- On Fri, 12/12/08, David E Jones david.jo...@hotwaxmedia.com wrote: From: David E Jones david.jo...@hotwaxmedia.com Subject: Re: LocalizedMap.java - Do we really need it? To: dev@ofbiz.apache.org Date: Friday, December 12, 2008, 7:50 PM

Issue with expression evaluation (possibly UEL related?)

2008-12-15 Thread David E Jones
To reproduce, from latest OFBiz revision and fresh database with it: 1. in ecommerce (or Order Manager) place a sales order for 10 (anything more than 5) of product GZ-2644; this will cause an inventory reservation against a bulk facility location, therefore needing a stock move before

Board Report Dec 2008

2008-12-15 Thread David E Jones
Somehow the reminders I usually get for the board report didn't arrive, and I forgot about it until this morning, so If anyone is around feedback would be appreciated. I'll be submitting the report in a few minutes.

Re: Issue with expression evaluation (possibly UEL related?)

2008-12-15 Thread David E Jones
. Surrounding all of the type casts with try-catch blocks would be a worthwhile endeavor, but it is also a lot of work. Anyways, I've made the change to most of the classes and can commit them, but there are chances this exception might pop up elsewhere. What do you think? -Adrian David E

Re: Issue with expression evaluation (possibly UEL related?)

2008-12-15 Thread David E Jones
: The code already expects the possibility that the object doesn't exist and creates a new one if it's missing. The try-catch block just treats an invalid object type as a missing object and then everything runs the same as always. -Adrian David E Jones wrote: How exactly would that fix

Re: Issue with expression evaluation (possibly UEL related?)

2008-12-15 Thread David E Jones
are being suppressed instead of being thrown as exceptions... or at least logged? -David On Dec 15, 2008, at 2:14 PM, David E Jones wrote: But in this case it's not missing... there is actually a Map member (that is a List object) with the key GZ-2644 and the simple-method code is try

Re: Issue with expression evaluation (possibly UEL related?)

2008-12-15 Thread David E Jones
when we know there is a failure the better. -David On Dec 15, 2008, at 2:24 PM, David E Jones wrote: Also, is there any way to have UEL complain more? In this case what does it do when it sees the reference to orderItemShipGrpInvResAndItemLocation.GZ? Does it create a List object

Re: Issue with expression evaluation (possibly UEL related?)

2008-12-15 Thread David E Jones
David E Jones wrote: But in this case it's not missing... there is actually a Map member (that is a List object) with the key GZ-2644 and the simple- method code is try to access it, so we can't just treat it as missing when it comes back as the wrong type... In this case, and in many cases where

Re: Issue with expression evaluation (possibly UEL related?)

2008-12-15 Thread David E Jones
: Expected some type, got some other type... -Adrian David E Jones wrote: See my other message... it looks like there may be no way around changing existing code (and we'll have to use quotes AND square braces together for it, it appears anyway). However, whatever we do we can't hide errors

Re: svn commit: r726837 - /ofbiz/trunk/applications/product/script/org/ofbiz/product/inventory/StockMoveServices.xml

2008-12-15 Thread David E Jones
IFF you can find a fix in the Java code. Because of the way UEL interprets things I don't think that will be possible. Like I explained IGNORING the error doesn't make it go away, it just causes a bigger problem by hiding the problem. If there is a general way to actually handle this, ie

Re: XSD sync

2008-12-16 Thread David E Jones
Not that I know of, just the ant target to copy the dtd/xsd files (copy-dtds). -David On Dec 16, 2008, at 3:16 AM, Jacques Le Roux wrote: Hi, Have we a tool to verify synchronisation between all xsd in svn and site/dtds ? Thanks

Re: ServiceDispatcher does not rollback on failure

2008-12-16 Thread David E Jones
That is actually why the failure return was introduced. It is distinguished from error in that it does not cause a transaction rollback. -David On Dec 16, 2008, at 10:00 AM, Bob Morley wrote: In the runSync method on the ServiceDispatcher it looks like the finally block will only

[jira] Commented: (OFBIZ-1952) delegator.removeByAnd(entityName) fails with sql syntax error

2008-12-16 Thread David E. Jones (JIRA)
[ https://issues.apache.org/jira/browse/OFBIZ-1952?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12657109#action_12657109 ] David E. Jones commented on OFBIZ-1952: --- Looks good to me. delegator.removeByAnd

Re: I am getting an exception when I submitted order in ecommerce

2008-12-16 Thread David E Jones
That's a funny one, since the syntax used was not supported before UEL was introduced, and I mean the original line without your change Jacques. In other words this attribute would not work without UEL: value=${productCalculatedInfo.totalQuantityOrdered + parameters.quantity} I guess

Re: I am getting an exception when I submitted order in ecommerce

2008-12-17 Thread David E Jones
somebody would have the need for rational quantities. Do you want I put BigDecimal instead ? Jacques From: David E Jones david.jo...@hotwaxmedia.com That's a funny one, since the syntax used was not supported before UEL was introduced, and I mean the original line without your change Jacques

Re: I am getting an exception when I submitted order in ecommerce

2008-12-17 Thread David E Jones
guess At this stage BigDecimal or Double is the same (it will be sql-type=FLOAT8 anyway) Jacques From: David E Jones david.jo...@hotwaxmedia.com If that is the case then there must have been a different error message than the one quoted in the first message by Akash: DATABASE TYPE error

Re: Problem Using Ecommerce Controller

2008-12-18 Thread David E Jones
There are many things based on the webSiteId. The easiest way to get an intro to them is to look at the WebSite entity. In ecommerce the productStoreId (the default store for the web site) is an important value, but there are others as well. -David On Dec 17, 2008, at 1:31 AM, Harsha

  1   2   3   4   5   6   7   8   9   10   >