Jacques Le Roux
bf4fba2def
This introduces changes that will be used soon (after some client tests) to refactor the Price Rules UI. They introduces any functional changes yet, all new things are optional.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@998305 13f79535-47bb-0310-9956-ffa450edef68
2010-09-17 20:33:40 +00:00
Ashish Vijaywargiya
58b5d276a6
Correcting the condition. Thanks Akash for the contribution.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@998061 13f79535-47bb-0310-9956-ffa450edef68
2010-09-17 10:40:20 +00:00
Ashish Vijaywargiya
04f5e317d5
Bug fix.
...
Purchase Order creation was not working from Quote if Parent Organization is being associated with the facility and the value passed from Quote is for Child Organisation. For this I had put a check on PartyRelationship, so that it will also check the relationship between parent & child organisation. If it exists then it will fetch companyId from there.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@997990 13f79535-47bb-0310-9956-ffa450edef68
2010-09-17 06:22:20 +00:00
Jacques Le Roux
ace6cf5af1
Reverts r991485 and adds a comment to avoid this in the future
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@997526 13f79535-47bb-0310-9956-ffa450edef68
2010-09-15 22:19:26 +00:00
Adam Heath
b1d875aeb9
Fix hidding of left/right columns in ordermgr views, while using
...
internet explorer. This happens when using the following themes:
bizznesstime, bluelight, droppingcdrumbs, or tomahawk.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@997470 13f79535-47bb-0310-9956-ffa450edef68
2010-09-15 19:26:35 +00:00
Adam Heath
d3ddc034ea
I misunderstood how prototype works, I thought it modified global
...
classes with it's new features, so I thought that getDimension would
always be available.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@997469 13f79535-47bb-0310-9956-ffa450edef68
2010-09-15 19:26:31 +00:00
Adam Heath
d2dd5753f4
Remove errantly commited debug, that always showed the spinner when the
...
document was loaded.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@997468 13f79535-47bb-0310-9956-ffa450edef68
2010-09-15 19:26:26 +00:00
David E. Jones
4ecf9a8959
Added deleteEnumeration service, changed to allow safe HTML in enum description field
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@997451 13f79535-47bb-0310-9956-ffa450edef68
2010-09-15 18:49:51 +00:00
Adam Heath
4b054e2d11
Missed some window->load document->dom:loaded changes.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@997440 13f79535-47bb-0310-9956-ffa450edef68
2010-09-15 18:20:42 +00:00
Jacques Le Roux
8bf826b12f
Re-apply r997397 without Nicolas's patch
...
Fix a bug reported by Wang Suozhu at "$ (Rp.event? Html) What do you mean?" (https://issues.apache.org/jira/browse/OFBIZ-3939 ) - OFBIZ-3939" D:/WorkspaceNew/vinopsTrunk/ofbiz/framework/widget/templates/htmlFormMacroLibrary.ftl
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@997431 13f79535-47bb-0310-9956-ffa450edef68
2010-09-15 18:01:38 +00:00
Jacques Le Roux
0fbfa9af7b
revert r997397, a patch from Nicolas from https://issues.apache.org/jira/browse/OFBIZ-3920 which I have not yet tested slipped in
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@997428 13f79535-47bb-0310-9956-ffa450edef68
2010-09-15 18:00:02 +00:00
Adam Heath
eca9a431da
Remove old unused ofbiz.mapping.default-file-system-id parameter.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@997426 13f79535-47bb-0310-9956-ffa450edef68
2010-09-15 17:57:11 +00:00
Adam Heath
7834f98099
Use a script instead of a class for <if>; no longer have to compile anything.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@997425 13f79535-47bb-0310-9956-ffa450edef68
2010-09-15 17:57:06 +00:00
Adam Heath
ea8732dc35
Add framework/base/lib/ant to ant's library path.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@997424 13f79535-47bb-0310-9956-ffa450edef68
2010-09-15 17:57:01 +00:00
Adam Heath
f6154d65f5
<if> no longer accepts conditions directly; instead, all conditions have to be placed underneath a <condition> element.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@997423 13f79535-47bb-0310-9956-ffa450edef68
2010-09-15 17:56:57 +00:00
Adam Heath
202204c9de
Use setServletContextForTemplateLoading instead of
...
setDirectoryForTemplateLoading, so that raw File access is no longer
used. This is to support webslinger, which uses an overlay filesystem
to merge multiple modules, and doesn't really have a single File view of
the webapp.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@997422 13f79535-47bb-0310-9956-ffa450edef68
2010-09-15 17:56:52 +00:00
Adam Heath
8bd26d1863
Display the ajax spinner absolutely in the center of the document,
...
instead of allocating static space in the control area. This takes the
width of the control area back to something sensible. With always
allocated space in the control area, there ends up being a blank
space(because of the use of visibility:hidden instead of display:none).
When the Person.name and Company.Name fields are then long, this control
area breaks the flow, and word-wraps in IE, or flows underneath the
breadcrumbs in firefox.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@997421 13f79535-47bb-0310-9956-ffa450edef68
2010-09-15 17:56:48 +00:00
Adam Heath
7ccf240393
Some places in ofbiz were doing dom manipulation without waiting for the
...
dom to be finished loading. Wrap such code with a dom:loaded observer.
Also, change all window->load calls to dom:loaded observers. The former
happens after all images have finished loading, while the later happens
just after the dom has finished parsing. This is better, as sometimes
the images may take a long time to finish downloading, and until they do,
none of the manipulation will take place.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@997420 13f79535-47bb-0310-9956-ffa450edef68
2010-09-15 17:56:37 +00:00
Adam Heath
bbcf039a6f
Remove empty window.load event observers.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@997419 13f79535-47bb-0310-9956-ffa450edef68
2010-09-15 17:56:26 +00:00
Adam Heath
472a6016b5
Fix incorrect id element values; change them back to what they used to
...
be, so they match up with the javascript. This was keeping the
addnewaddress form from popping up(it broke rather badly in IE).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@997418 13f79535-47bb-0310-9956-ffa450edef68
2010-09-15 17:56:20 +00:00
Jacques Le Roux
6bff0778cf
Fix a bug reported by Wang Suozhu at "$ (Rp.event? Html) What do you mean?" ( https://issues.apache.org/jira/browse/OFBIZ-3939 ) - OFBIZ-3939
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@997397 13f79535-47bb-0310-9956-ffa450edef68
2010-09-15 17:00:02 +00:00
Ashish Vijaywargiya
ebb19709be
Applied patch from jira issue OFBIZ-3940 - Adding an option to select shipment box type from pack order page.
...
Previously there wan not any option to select a shipment box type while packing. Selection of a box type is available only for "USPS" carrierPartyId.
Thanks Anurag for the contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@996892 13f79535-47bb-0310-9956-ffa450edef68
2010-09-14 13:32:49 +00:00
Jacques Le Roux
a5324b94c3
OK, my explanation at r996840 did not make sense. If I want GeoName and geoTypeId to create then I need them when updating as well. At least it's what I think....
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@996853 13f79535-47bb-0310-9956-ffa450edef68
2010-09-14 11:50:55 +00:00
Jacques Le Roux
4f8186bc3f
Oops, checking http://svn.apache.org/viewvc?rev=996789&view=rev I see that I confused geoId and geoTypeId. When creating a Geo we want geoTypeId to be mandatory (IMO to create a Geo we need at least GeoId, GeoName and geoTypeId). On the other hand update needs anything (it's already there)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@996840 13f79535-47bb-0310-9956-ffa450edef68
2010-09-14 11:10:03 +00:00
Jacques Le Roux
e8d5e8843e
No functional changes, simply remove redundant useless information
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@996789 13f79535-47bb-0310-9956-ffa450edef68
2010-09-14 08:31:09 +00:00
Jacques Le Roux
68ef437347
New simple Geo Management in Webtools. It still misses a Geo Assoc Find Screen.
...
For the moment in trunk the Link Geos screen use a standard multiple dropdown. It's not easy to use (see why at http://www.ryancramer.com/journal/entries/select_multiple ). In the jQuery branch I have used the asmselect plugin, much easier for end users. Actually I'm not totally satisfied by it either. It's a beta and seems to be freezed. Also the way the field is shown is not flexible enough. It's a fixed size area and I tried to work around. I could be done better though. I will have a look. Sascha thought we could use jQuery.ui.sortable but I don't think it exactly corresponds to the feature needed.
I have also changed some labels names and removed/grouped some requests (only in common now)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@996658 13f79535-47bb-0310-9956-ffa450edef68
2010-09-13 19:35:40 +00:00
Jacques Le Roux
de2a709e43
Fix a bug while working on future Webtools/Geo Management (soon coming). Working from a branch I really begin to think about using Git, though using Eclipse is flexible enough for now.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@996565 13f79535-47bb-0310-9956-ffa450edef68
2010-09-13 15:00:21 +00:00
Ashish Vijaywargiya
99a623be20
When I enter values in "New Password" and "Verify Password" fields without entering value in "Current Password" field then system is accepting new password without any error.
...
Correct flow should be : System should ask user to enter "Current Password".
Thanks Amit for the contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@996563 13f79535-47bb-0310-9956-ffa450edef68
2010-09-13 14:54:37 +00:00
Jacques Le Roux
71b5c1f8d3
Minor changes in the Example component.
...
Also changes from CommonPartyID to CommonPartyId (following our rules)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@996476 13f79535-47bb-0310-9956-ffa450edef68
2010-09-13 09:59:08 +00:00
Bruno Busco
63e4c236d0
Deleted requests and view-maps no longer used. (Fixes errors reported in logs using the ArtifactInfo screen)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@996323 13f79535-47bb-0310-9956-ffa450edef68
2010-09-12 14:46:20 +00:00
Jacques Le Roux
ce170647e1
Fix a wrong copy/paste from a custom application
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@996145 13f79535-47bb-0310-9956-ffa450edef68
2010-09-11 13:32:18 +00:00
Ashish Vijaywargiya
7126bb1f03
For now reverting my commit r995384 as it was creating issues for others.
...
Very soon I will get back here with better fix, till then I will maintain patch for my own work.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@996122 13f79535-47bb-0310-9956-ffa450edef68
2010-09-11 11:21:42 +00:00
Jacques Le Roux
303c7be08c
I missed this file in r993527 (1st pass on Example component clean-up)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@996121 13f79535-47bb-0310-9956-ffa450edef68
2010-09-11 11:20:27 +00:00
Bruno Busco
6aa252df3b
Added UiLabels resources loading in Porlets.
...
This fixes the missing portlet UILabels rendering when accessing the Portal Page Admin in WebTools.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@996090 13f79535-47bb-0310-9956-ffa450edef68
2010-09-11 07:10:50 +00:00
Scott Gray
f88b8cc2c3
Fix for OFBIZ-3434, rss feeds need any parameters to be included in the url and not posted in a form
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@996079 13f79535-47bb-0310-9956-ffa450edef68
2010-09-11 05:53:12 +00:00
Scott Gray
98198000c7
Fix target typo
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@996078 13f79535-47bb-0310-9956-ffa450edef68
2010-09-11 05:53:06 +00:00
Scott Gray
74097de4be
Fix for OFBIZ-3832, adding a forum entry causes an illegal argument exception. The problem was that one of the parameters passed to a Math.min(int, int) call was actually a String and the call-class-method doesn't attempt to convert arguments, it possibly should but I didn't change that here.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@996069 13f79535-47bb-0310-9956-ffa450edef68
2010-09-11 05:24:12 +00:00
Scott Gray
7521b01612
Content search execution code was incorrectly located within an if block, preventing the search from executing if no features were selected. Resolves OFBIZ-3927
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@996057 13f79535-47bb-0310-9956-ffa450edef68
2010-09-11 03:34:09 +00:00
Scott Gray
a8753bd854
Corrected usage of Lucene API to be compatible with our current version (2.4.1), partially resolves OFBIZ-3927
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@996056 13f79535-47bb-0310-9956-ffa450edef68
2010-09-11 03:34:02 +00:00
Scott Gray
424a7a1550
OFBIZ_FILE dataResourceType doesn't resolve component style locations, using LOCAL_FILE instead
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@996055 13f79535-47bb-0310-9956-ffa450edef68
2010-09-11 03:33:53 +00:00
Scott Gray
b06da51278
Remove the target mime check for text/plain when writing text, previously any target type other than text/html or text/plain would always receive an empty string as output
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@996054 13f79535-47bb-0310-9956-ffa450edef68
2010-09-11 03:33:48 +00:00
Scott Gray
e125415317
Generics markup
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@996053 13f79535-47bb-0310-9956-ffa450edef68
2010-09-11 03:33:40 +00:00
Scott Gray
d15f054082
Correct direction when searching for content to index, the direction is non-intuitive but I've left it as is for now
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@996052 13f79535-47bb-0310-9956-ffa450edef68
2010-09-11 03:33:31 +00:00
Scott Gray
d0cbebbd41
Add SUB_CONTENT to the list of contentAssocTypeIds to look for when indexing content
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@996051 13f79535-47bb-0310-9956-ffa450edef68
2010-09-11 03:33:16 +00:00
Bruno Busco
a31968aaf0
Ooops...swapped two lines in previous commit. Sorry...
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@995981 13f79535-47bb-0310-9956-ffa450edef68
2010-09-10 20:49:47 +00:00
Bruno Busco
dcfaf5e4d7
Added UiLabels resources loading in Porlets.
...
All Portlet screens should always load all needed UI resources since they can be rendered in different PortalPages that cannot be aware of what resources are needed.
This change will allow to eliminate all UI label resources loading in MyPortal decorators so that MyPortal will not depend on so many other components.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@995975 13f79535-47bb-0310-9956-ffa450edef68
2010-09-10 20:43:37 +00:00
David E. Jones
e5f21b084b
Commented out changes from Jacques in 993508, these assumed that the autocompleter field was a name which breaks all fields that are meant to be IDs; if that change is improved so use the description-field-name attribute this should not happen, but for now leaving this out
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@995846 13f79535-47bb-0310-9956-ffa450edef68
2010-09-10 16:14:29 +00:00
Jacques Le Roux
653f7d372d
To keep things consistent with r966202 and while at it I have also handled the action/event couple in HtmlFormRenderer.java.renderDateTimeField()
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@995771 13f79535-47bb-0310-9956-ffa450edef68
2010-09-10 12:30:11 +00:00
Scott Gray
d72ba2672d
Remove commented debug statements
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@995720 13f79535-47bb-0310-9956-ffa450edef68
2010-09-10 09:34:37 +00:00
Scott Gray
b0e084508a
Simplify method by passing a default value to UtilProperties.getPropertyValue(...)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@995719 13f79535-47bb-0310-9956-ffa450edef68
2010-09-10 09:34:29 +00:00