Commit Graph
293 Commits
Author SHA1 Message Date
Jacques Le Roux 84df06abef A patch from Sascha Rodekamp related to "Pagination in Layered Lookups" (https://issues.apache.org/jira/browse/OFBIZ-3726) - OFBIZ-3726
The pagination in the layered lookups was broken because of a previous patch. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935904 13f79535-47bb-0310-9956-ffa450edef68
2010-04-20 13:23:40 +00:00
Bilgin Ismet Ibryam 667e52e947 Fixed lookup descriptions, which got broken after changes in the generated html.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935644 13f79535-47bb-0310-9956-ffa450edef68
2010-04-19 16:04:30 +00:00
Jacques Le Roux 4cd873d37c A slightly modified "only one lookup decorator" patch from Sascha Rodekamp related to "Replace popup lookups by layer lookups" (https://issues.apache.org/jira/browse/OFBIZ-3442) - OFBIZ-3442
Merge the 2 lookup decorators in only one and dynamically adapt the rendered content

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935578 13f79535-47bb-0310-9956-ffa450edef68
2010-04-19 14:03:41 +00:00
Scott Gray b033379d37 class is a reserved javascript keyword so you have to wrap it in quotes if you want to refer to an elements class attribute (I don't think Firefox complains but Safari does)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935117 13f79535-47bb-0310-9956-ffa450edef68
2010-04-17 03:23:25 +00:00
Jacques Le Roux e9733780ce A patch from Sascha Rodekamp "Opening a lookup from a lookup in IE8 does not work", part of https://issues.apache.org/jira/browse/OFBIZ-3668 - OFBIZ-3668
The IE had problems with the variable 'item' ... maybe a reserved word ?!



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@933226 13f79535-47bb-0310-9956-ffa450edef68
2010-04-12 13:27:02 +00:00
Jacques Le Roux c9ae599f32 A patch from Sascha Rodekamp "Cross button does not work if you don't click on the layer before", part of https://issues.apache.org/jira/browse/OFBIZ-3446 - OFBIZ-3446
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@933170 13f79535-47bb-0310-9956-ffa450edef68
2010-04-12 10:09:13 +00:00
Jacques Le Roux cf77b5e6a0 A slightly modified patch from Atul Vani "Calendar rendered position too low when you scroll in a layered lookup" (https://issues.apache.org/jira/browse/OFBIZ-3667) - OFBIZ-3667
This patch attempts to fix the problem,calendar is now relatively positioned, and the parent element's height is set appropriately. 

I just added some "mod for OFBiz layered lookups" comments around changes as suggested Sascha

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@933169 13f79535-47bb-0310-9956-ffa450edef68
2010-04-12 10:04:39 +00:00
Bilgin Ismet Ibryam 82a5bf6b02 A patch from OFBIZ-3555 "Show lookup value descriptions". This enhancements allows displaying a description for the IDs in lookup fields. To enable this feature set widget.lookup.showDescription to Y in widget.properties
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@933130 13f79535-47bb-0310-9956-ffa450edef68
2010-04-12 07:54:10 +00:00
Jacques Le Roux 733cf6e562 Fix 2 comments,I commit because while I make some other changes during my tests I have to get this comments right again when reverting.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@932964 13f79535-47bb-0310-9956-ffa450edef68
2010-04-11 18:04:22 +00:00
Bruno Busco 5d5e489598 A patch from Blas Rodriguez Somoza
OFBIZ-3637 - XHTML validation errors (framework excluding widget) round 2
https://issues.apache.org/jira/browse/OFBIZ-3637

XHTML validation errors

    * Unclosed tags INPUT, IMG, BR...
    * attributes without values (checked, selected, disabled, etc)
    * attribute values without "
    * required attributes not included (alt in img, type in style, type in script etc)
    * Uppercase tags or attributes.
    * Unencoded entities (ampersands).

Other changes:

selectall.js
line 333. ajaxAutoCompleter must work with unenconded or encoded ampersands.

EntityRefMain.ftl
line 176. <div> must be </div>


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@932733 13f79535-47bb-0310-9956-ffa450edef68
2010-04-10 14:35:07 +00:00
Jacques Le Roux dc8327dbb9 A patch from Ankit Jain related to 'Allow to open a layered calendar from a layer lookup' https://issues.apache.org/jira/browse/OFBIZ-3580 - OFBIZ-3580
This patch mostly solves this issues and it's clearly a progress: it's operationnal with some drawbacks, so I don't close the issue for now
here are the issues:

    * some parts of the calendar are hidden (see screenshots in Jira issue)
    * if you 1st click on the button the position is OK (just below) but if you scroll before and then click the position is to low (seems to follow the scroll)


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@931523 13f79535-47bb-0310-9956-ffa450edef68
2010-04-07 12:32:11 +00:00
Jacques Le Roux 3dd53a86f1 A patch from Ankit Jain related to 'Allow to open a layer lookup from a layer lookup' https://issues.apache.org/jira/browse/OFBIZ-3446 - OFBIZ-3446
It fixes an issue found in Find survey

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@929508 13f79535-47bb-0310-9956-ffa450edef68
2010-03-31 12:45:19 +00:00
Jacques Le Roux 5a64b4b0da In order to fix issues after issues, I commit this patch from Sascha Rodekamp that fixes "Allow to open a layer lookup from a layer lookup" (https://issues.apache.org/jira/browse/OFBIZ-3446) - OFBIZ-3446
This patch does not fix an issue with calendar in layered lookups. So I will create a new Jira for that.
Also it introduces a small drawback: you can't no longer close a layered lookup with the right left cross button. But Esc. is still working, so it's not a blocker. I will have a look at this and if needed will create a new Jira 







git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@928292 13f79535-47bb-0310-9956-ffa450edef68
2010-03-27 21:56:24 +00:00
David E. Jones 8f1dbbb31d Fixed issue with calendar where PM times were ALWAYS treated as AM times, now populates the date/time text box with the proper 24 hour time format
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@927708 13f79535-47bb-0310-9956-ffa450edef68
2010-03-26 06:46:05 +00:00
Jacques Le Roux 33a61405e5 Fix a typo I introduced while verifying/testing the code at r920061 . I did not notice it because it was still working correctly, certainly not in all cases...
Thanks to Atul Vani at "fade-background property doesn't work (just a typo error)" (https://issues.apache.org/jira/browse/OFBIZ-3570) - OFBIZ-3570.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@925632 13f79535-47bb-0310-9956-ffa450edef68
2010-03-20 16:12:44 +00:00
Scott Gray 6109808c8a Tabs to spaces
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@924378 13f79535-47bb-0310-9956-ffa450edef68
2010-03-17 17:28:01 +00:00
Adam Heath 2eb1768f1d Fix lots of bad xhtml tags, need to have a space before the ending /.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@923545 13f79535-47bb-0310-9956-ffa450edef68
2010-03-16 01:56:41 +00:00
Jacques Le Roux 9014106755 A modified patch from Sascha Rodekamp "Some improvements for the layer lookup" (https://issues.apache.org/jira/browse/OFBIZ-3524) - OFBIZ-3524
A little fix for the faded background and make fading as default.
I have also refactored a bit the lookups examples fields

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@920061 13f79535-47bb-0310-9956-ffa450edef68
2010-03-07 19:23:42 +00:00
Erwan de Ferrieres bcd5e24034 Upgrading jsgantt.js so it will be possible to display milestones in a Gantt chart
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@918340 13f79535-47bb-0310-9956-ffa450edef68
2010-03-03 07:03:59 +00:00
Jacques Le Roux 423ce79a21 A slightly modified patch from Sascha Rodekamp " Some improvements for the layer lookup" (https://issues.apache.org/jira/browse/OFBIZ-3524) - OFBIZ-3524
A flag was added to fade the background behind the layered lookup (ie all the screen but the lookup) when a layer is opened.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@917940 13f79535-47bb-0310-9956-ffa450edef68
2010-03-02 10:02:04 +00:00
Jacques Le Roux b632244a4f A patch from Sascha Rodekamp "Refactor fieldlookup.js" (https://issues.apache.org/jira/browse/OFBIZ-3491) - OFBIZ-3491
Mostly changes in the fieldlookup.js to make the code a little bit smaller. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@917250 13f79535-47bb-0310-9956-ffa450edef68
2010-02-28 18:54:15 +00:00
Jacques Le Roux c2e23f819d Fix a typo I made in r912587
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@915332 13f79535-47bb-0310-9956-ffa450edef68
2010-02-23 13:26:37 +00:00
Jacques Le Roux dfcf76790c Fix a bug visible in IE8, reported by Koon Sang on user ML, fix suggested by James SG
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@912587 13f79535-47bb-0310-9956-ffa450edef68
2010-02-22 14:42:54 +00:00
Jacques Le Roux 4f74dcaa14 A patch from Sascha Rodekamp "Allow to quit a layered lookup with Esc key" (https://issues.apache.org/jira/browse/OFBIZ-3451) - OFBIZ-3451
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@909312 13f79535-47bb-0310-9956-ffa450edef68
2010-02-12 09:45:05 +00:00
Andrew Zeneski e5cae56b68 fix to call onchange events when the fieldlookup sets a field's value; same as in lookup.ftl
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@909186 13f79535-47bb-0310-9956-ffa450edef68
2010-02-12 00:20:19 +00:00
Jacques Le Roux cec7595120 A patch from Sascha Rodekamp "New Lookup Layer - Click and Close" (https://issues.apache.org/jira/browse/OFBIZ-3431) - OFBIZ-3431
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@906893 13f79535-47bb-0310-9956-ffa450edef68
2010-02-05 10:23:11 +00:00
Jacques Le Roux cfd736ae67 Few formatting changes, no functional changes
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@906834 13f79535-47bb-0310-9956-ffa450edef68
2010-02-05 07:47:28 +00:00
Jacques Le Roux 609898f9f6 A slightly modifief patch from Sascha Rodekamp "The positioning mechanism of the new lookups is only working with the bizznesstime theme" (https://issues.apache.org/jira/browse/OFBIZ-3430) - OFBIZ-3430
For the moment I only removed comments around an error which is useful. I guess Sascha was blocked by it during his tests and forgot to remove it. BTW I improved the error and one related (variables names explicit)

I will certainly do a review on the format later to avoid both in the same commit (if any changes are needed anyway)



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@906524 13f79535-47bb-0310-9956-ffa450edef68
2010-02-04 15:30:50 +00:00
Jacques Le Roux 84c1ca9272 Fix an issue when using the layer lookup with a fieldLookup3 style lookup (ie a lookup which shows name but uses an Id underneath).
This last fix allows to use the layer lookup in any cases already covert by OFBiz

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@904922 13f79535-47bb-0310-9956-ffa450edef68
2010-01-31 00:09:53 +00:00
Jacques Le Roux 4e78c6d974 A patch from Sascha Rodekamp "UI upgrade, new lookups" (https://issues.apache.org/jira/browse/OFBIZ-3374) - OFBIZ-3374
It's not perfect, but hopefully this time I will not have to revert it. I think it's time to introduce it, to let everybody have an idea and test.
Anyway, it can't hurt as it's only used in the Form Widget Examples screen for now. To test: https://localhost:8443/example/control/FormWidgetExamples

I find that the positioning mechanism is only working with the bizznesstime theme (at list centering, the only case I tried with all themes). But it should not be a big deal to fix since it works already in one theme.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@904047 13f79535-47bb-0310-9956-ffa450edef68
2010-01-28 11:57:12 +00:00
Hans Bakker bab1c5b36d function leave feedback and screen
- function auto relist item and screen
- Get  feedback data from ebay site and save into ofbiz.
- Add rate pictures into framework/images/webapp/images
- screen for show awaiting feedback and recent feedback from buyer
- help screens are provided

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@902716 13f79535-47bb-0310-9956-ffa450edef68
2010-01-25 06:26:23 +00:00
Scott Gray d5c9e99352 Fixed problem in calendar where single digit months were presented as a single digit instead of a double
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@901992 13f79535-47bb-0310-9956-ffa450edef68
2010-01-22 04:49:49 +00:00
Jacques Le Roux c58797b529 I revert r900950 because it introduces a bad side-effect when using a lookup by name, at least as far as I can tell.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@901197 13f79535-47bb-0310-9956-ffa450edef68
2010-01-20 13:36:25 +00:00
Jacques Le Roux 7e1e785844 A patch from Sascha Rodekamp "THanks" (https://issues.apache.org/jira/browse/OFBIZ-3374) - OFBIZ-3374
A great enhancement IMO (like the calendar some time ago)

The idea came from http://cwiki.apache.org/confluence/display/OFBADMIN/New+Features+Roadmap+-+Living+Document#NewFeaturesRoadmap-LivingDocument-Quickeranintuitiveaccesstobasicfunctionnalities
which can be summarized to <<having lookups poping up as fast as the calendar>>. Lookups open in a page layer instead of a separate windows, faster!


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@900950 13f79535-47bb-0310-9956-ffa450edef68
2010-01-19 20:48:13 +00:00
Andrew Zeneski 40f0f71955 found a few more bad error methods
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@894480 13f79535-47bb-0310-9956-ffa450edef68
2009-12-29 21:00:31 +00:00
Andrew Zeneski 92970a877d fixed bug in field lookup renderer which was preventing target2 (when using description-field-name); fixed bad method call in fieldlookup.js (cal_error) as well as a few typos in the error messages
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@894277 13f79535-47bb-0310-9956-ffa450edef68
2009-12-28 23:41:21 +00:00
Bilgin Ismet Ibryam bd19dc7e9f Applied a modified patch from jira issue OFBIZ-3211 - Ajaxifying lookup fields.
To add ajax support to a lookup screen, you have to add two fields: entityName and searchFields. As a reference please check LookupPartyName and LookupPerson screens in party manager. You can see ajaxed lookups in action in any screen using form widgets and the above lookup screens (findInvocies screen in accounting for example). 
This commit also fixes a bug in controls.js from scriptaculous library, but I reported it in its project list and I will track it further.
To hide the returned values (shown as [ID])from the autocompleter or change the number of items there, you have to modify widget.properties

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@894149 13f79535-47bb-0310-9956-ffa450edef68
2009-12-28 11:30:40 +00:00
Erwan de Ferrieres acb76c79d8 Corrected a wrong position of the ajax messages which were displayed in the menus. Now they are placed before the content-main-section
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@893459 13f79535-47bb-0310-9956-ffa450edef68
2009-12-23 10:30:06 +00:00
Jacques Le Roux 884cc9ce8f I forgot this file in r889014 - OFBIZ-3317 "Update and correction for the visual HTML editor"
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@889122 13f79535-47bb-0310-9956-ffa450edef68
2009-12-10 07:26:54 +00:00
Jacques Le Roux 1423f948ee A patch from Erwan de FERRIERES " Update and correction for the visual HTML editor" (https://issues.apache.org/jira/browse/OFBIZ-3317) - OFBIZ-3317
The visual editor is using this line to fix a minimum height for the textarea box.
if (!o(idTa).rows < 5) o(idTa).rows='15';//IE won't use % from style
No matter the size we give it, it stays at 15. So I commented the line in the .js file. While I was at it, I updated whizzywig.js to the last version (55i ->59) and put the new toolbar icons system

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@889014 13f79535-47bb-0310-9956-ffa450edef68
2009-12-09 23:07:02 +00:00
Bruno Busco d0d9384a6e Added a new feature that allows to save the screenlet collapsed/expanded status as a userPreference. (OFBIZ-3271)
By default screenlets status are saved. A new "save-collapsed" screenlet attribute (default=true) can be used to disable this feature for selected screenlets.
An userPreference with key = screenlet.id+"_collapsed" is used to save the status.
Screenlets that share the same ID, share the same saved status also (i.e. all searchOptions screenlets used in the FindScreenDecorator use the same status). In order to have them separated a different ID should be specified.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@888030 13f79535-47bb-0310-9956-ffa450edef68
2009-12-07 17:24:21 +00:00
Jacques Le Roux 3dd84d9f25 A patch from Sascha Rodekamp " Colors and localisation for the calendar" (https://issues.apache.org/jira/browse/OFBIZ-1825) - OFBIZ-1825
Simple and clear implementation!


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@886143 13f79535-47bb-0310-9956-ffa450edef68
2009-12-02 13:54:17 +00:00
Jacques Le Roux 7ff11fbede In r885748 I needed only to change the height and width sizes in HELP_WEBTOOLS_selenium.xml.
So here I keep original file from Erwan

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@885751 13f79535-47bb-0310-9956-ffa450edef68
2009-12-01 12:16:18 +00:00
Jacques Le Roux f0ba7b0e6f A slightly modified patch from Erwan de FERRIERES "Add the images in docbook help" (https://issues.apache.org/jira/browse/OFBIZ-3280) - OFBIZ-3280
this patch will allow to diplay images in the help system.
The help images will be located in framework/images/webapp/images/help (one is included in this issue)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@885748 13f79535-47bb-0310-9956-ffa450edef68
2009-12-01 12:03:51 +00:00
Ashish Vijaywargiya e4bcb3f3fe On Ecommerce after adding product to cart, button on the right side was not clickable. (Like View Cart, Checkout, Quick Checkout etc.).
Also reported this issue on dev list before few days.
Fix from Deepak Dixit (Thanks!).


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@885370 13f79535-47bb-0310-9956-ffa450edef68
2009-11-30 10:20:26 +00:00
Bruno Busco 884d5c0397 An additional patch from Sascha Rodekamp "Drag'n'Drop update - add directly in the my portal application"
(https://issues.apache.org/jira/browse/OFBIZ-3227) - OFBIZ-3227

I found a bug while using the IE


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@884891 13f79535-47bb-0310-9956-ffa450edef68
2009-11-27 15:04:45 +00:00
Bruno Busco 683f95cee3 A patch from Sascha Rodekamp "Drag'n'Drop update - add directly in the my portal application"
(https://issues.apache.org/jira/browse/OFBIZ-3227) - OFBIZ-3227


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@884864 13f79535-47bb-0310-9956-ffa450edef68
2009-11-27 12:52:11 +00:00
Bruno Busco 6a4aafa0ad Added license header
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@882935 13f79535-47bb-0310-9956-ffa450edef68
2009-11-21 15:57:34 +00:00
Bruno Busco 220705d2da A slightly modified patch from Sascha Rodekamp "Drag 'n' Drop for myPortal + update prototype and script.aculo.us"
(https://issues.apache.org/jira/browse/OFBIZ-3190) - OFBIZ-3190

- I changed some tabs to spaces
- It seems to me that everything works with the script.aculo.us version that is already present in the framework; so I did not commit the script.aculo.us update since could break some other thing

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@881999 13f79535-47bb-0310-9956-ffa450edef68
2009-11-18 23:31:59 +00:00
Ashish Vijaywargiya 76c426670d Applied patch from jira issue OFBIZ-2984 - HTML cleanup for Product Detail page.
In this patch table are removed for non tabular data and used div, and add CSS code for layout issue that created due to this cleanup.

Thanks Rohit for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@835861 13f79535-47bb-0310-9956-ffa450edef68
2009-11-13 14:38:35 +00:00