Commit Graph
3703 Commits
Author SHA1 Message Date
Bruno Busco 5035750bf2 VisualThemes for Ecommerce (https://issues.apache.org/jira/browse/OFBIZ-2106)
The ProductStore entity has now a visualThemeId that selects the VisualTheme to be used in the Ecommerce.
This can be set in the EditProductStore form selecting a theme between the themes that belong to the "ECOMMERCE" VisualThemeSet

To the following ProductStore fields has been applied the entity deprecation pattern:
<field name="oldStyleSheet" col-name="STYLE_SHEET" type="url"></field>
<field name="oldHeaderLogo" col-name="HEADER_LOGO" type="url"></field>
<field name="oldHeaderMiddleBackground" col-name="HEADER_MIDDLE_BACKGROUND" type="url"></field>
<field name="oldHeaderRightBackground" col-name="HEADER_RIGHT_BACKGROUND" type="url"></field>

The first part of the ecommerce header.ftl (the part defining the <HEAD> tag content) has been moved to a new headerHead.ftl file. This allows all the theme defined header.ftl to include this common part that is mainly inclusion of theme defined resources and should never change (code reuse).

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@746544 13f79535-47bb-0310-9956-ffa450edef68
2009-02-21 17:18:25 +00:00
Jacques Le Roux 434aa83db9 Oops (bad previous commit)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@746495 13f79535-47bb-0310-9956-ffa450edef68
2009-02-21 12:35:06 +00:00
Jacques Le Roux 37d964cf9f We need this since now ProductContentWrapper and categoryContentWrapper return a StringUtil.StringWrapper, else "Photo not available" image never shows
Certainly more to come...

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@746490 13f79535-47bb-0310-9956-ffa450edef68
2009-02-21 12:25:04 +00:00
Marco Risaliti 18be3df7c5 A lot of hardcoded labels cleaning and changes some wrong references
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@746406 13f79535-47bb-0310-9956-ffa450edef68
2009-02-20 22:53:32 +00:00
Marco Risaliti 4feaec188c A lot of hardcoded labels cleaning and changes some wrong references
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@746341 13f79535-47bb-0310-9956-ffa450edef68
2009-02-20 19:11:06 +00:00
Marco Risaliti d567b0a0ea A lot of hardcoded labels cleaning and changes some wrong references
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@746049 13f79535-47bb-0310-9956-ffa450edef68
2009-02-19 23:08:30 +00:00
Hans Bakker 72e3f958cd improvement with exception handling, double -> bigdecimal, error message improvement. Component now communicates with google again. Todo:google is complaining some data is missng...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@745399 13f79535-47bb-0310-9956-ffa450edef68
2009-02-18 07:42:59 +00:00
Marco Risaliti 18a994d2b6 A lot of hardcoded labels cleaning and changes some wrong references
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@745286 13f79535-47bb-0310-9956-ffa450edef68
2009-02-17 22:57:14 +00:00
Jacques Le Roux aa92abd526 BigDecimal in POS (complete). Integration of ofbiz-1945.patch changes (with some modifications) but still not used since it miss some features:
* AutoSave (automatically save current transaction)
* Add a saved sale to the current sale
* Remove a savec sale
* Replace current sale by a saved sale and remove simultaneously the saved sale

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@745257 13f79535-47bb-0310-9956-ffa450edef68
2009-02-17 21:16:33 +00:00
Marco Risaliti bf78f9f575 A lot of hardcoded labels cleaning and changes some wrong references
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@744755 13f79535-47bb-0310-9956-ffa450edef68
2009-02-15 21:14:57 +00:00
Hans Bakker d0ed51b793 small corrections on last commit
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@744679 13f79535-47bb-0310-9956-ffa450edef68
2009-02-15 15:36:59 +00:00
Hans Bakker 96ae27a019 improved menu widget for portal pages, reactivated menuitem override and various other improvements
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@744675 13f79535-47bb-0310-9956-ffa450edef68
2009-02-15 15:10:50 +00:00
Bruno Busco 2326ee656a Added seed data to have a WebSite entity for every webapp.
The new WebSite entity sets a relation to a VisualThemeSet so that when selecting a VisualTheme, only applicable VisualThemes are available in the VisualTheme Lookup screen.
More work is needed (i.e. move the OrderEntry WebSite from demo to seed) but I need to be sure this is a good direction.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@744518 13f79535-47bb-0310-9956-ffa450edef68
2009-02-14 16:42:49 +00:00
Bruno Busco a176f42935 Fixed MyPage webSiteId value
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@744503 13f79535-47bb-0310-9956-ffa450edef68
2009-02-14 14:40:00 +00:00
Bruno Busco 55a2ae8011 Added webSiteId definition for every webapp.
This will be used to link online help pages to OFBiz screens.
The webSiteId will also be used to associate VisualThemeSets to webapps.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@744502 13f79535-47bb-0310-9956-ffa450edef68
2009-02-14 14:35:56 +00:00
Marco Risaliti 4f92646507 A lot of hardcoded labels cleaning and changes some wrong references
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@744265 13f79535-47bb-0310-9956-ffa450edef68
2009-02-13 22:22:34 +00:00
Hans Bakker 62e5211b95 If the portalpage name is deleted the page does not show in the menu. This will enable the possibility to remove system pages
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@743248 13f79535-47bb-0310-9956-ffa450edef68
2009-02-11 06:45:41 +00:00
Hans Bakker e53b540c9b The MyPortal component has now at least the functionality of the old mypage component with the portal functions included. Mypage is now taken off the menu and will be removed the coming weeks when no big problems arise
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@743245 13f79535-47bb-0310-9956-ffa450edef68
2009-02-11 06:22:53 +00:00
Hans Bakker b3d5f9a399 update/display portlet sequence corrected, also seed data corrected
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@743000 13f79535-47bb-0310-9956-ffa450edef68
2009-02-10 15:48:08 +00:00
Hans Bakker 111a4bb729 add orginal hours to task and project and correct totals amount
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@742902 13f79535-47bb-0310-9956-ffa450edef68
2009-02-10 09:15:18 +00:00
Hans Bakker 6605b8d5a2 add task actual total column for all participants to timesheet
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@742892 13f79535-47bb-0310-9956-ffa450edef68
2009-02-10 08:46:22 +00:00
Hans Bakker 17e85474c1 some more demo data and descriptions
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@742874 13f79535-47bb-0310-9956-ffa450edef68
2009-02-10 07:36:12 +00:00
Marco Risaliti 550aa4850e A lot of hardcoded labels cleaning and changes some wrong references
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@742770 13f79535-47bb-0310-9956-ffa450edef68
2009-02-09 22:13:57 +00:00
Hans Bakker 9580ddbc50 some more fault fixes in myportal
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@742559 13f79535-47bb-0310-9956-ffa450edef68
2009-02-09 15:20:17 +00:00
Hans Bakker 4e7b11d9be in the project find list in the project manager only show projects to which the logged on user has access to. als correct small typo in portalSeed data
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@742330 13f79535-47bb-0310-9956-ffa450edef68
2009-02-09 08:38:01 +00:00
Hans Bakker e404ba53ec corrections of task sub buttons
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@742279 13f79535-47bb-0310-9956-ffa450edef68
2009-02-09 05:56:47 +00:00
Hans Bakker e26b2db0e3 some fault fixing and added check on ownership to portalPage services.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@742251 13f79535-47bb-0310-9956-ffa450edef68
2009-02-09 04:30:53 +00:00
David E. Jones 7737e8137b Fixed issue with general html encoding of String objects in FTL files being applied to dynamic JavaScript from groovy files by leaving them as StringBuffers, ie just removing the toString calls
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@742234 13f79535-47bb-0310-9956-ffa450edef68
2009-02-09 02:34:23 +00:00
David E. Jones fbccbf51ec Resolved some more problems with the general html encoding, most of which are from funny code that should be cleaned up anyway so haven't run into any dilemmas so far; still looking though so could happen
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@742053 13f79535-47bb-0310-9956-ffa450edef68
2009-02-08 11:08:32 +00:00
Hans Bakker 8522bad4bb cleanup of the portal pages, reduced number of screens, changed employee myportal, new user without securitygroups now also have his portal page with a profile portlet. only thing is missing is the usage of the sequence number in the portal page and portalpageportlet entity, probably completed next week
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@742018 13f79535-47bb-0310-9956-ffa450edef68
2009-02-08 08:33:36 +00:00
Hans Bakker d9a64b64f0 add screenlets to manageportal pages, add descriptions
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@741861 13f79535-47bb-0310-9956-ffa450edef68
2009-02-07 09:03:49 +00:00
Jacques Le Roux a610d4e8d9 Simple-method and alike tags cleanup. Not sure yet, but I guess there are no "Xerces errors" anymore.
I will post some other errors (of other types I guess) I found using Artifact Info in dev ML soon

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@741594 13f79535-47bb-0310-9956-ffa450edef68
2009-02-06 15:28:41 +00:00
Hans Bakker 8b91b2f9d1 some more fixes and adjustments for the portal page function
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@741502 13f79535-47bb-0310-9956-ffa450edef68
2009-02-06 10:19:45 +00:00
Hans Bakker 842fc45998 make example dashboard working again with the recent portal page changes and removed fulladmin pages from myportal because not required
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@741439 13f79535-47bb-0310-9956-ffa450edef68
2009-02-06 06:59:53 +00:00
Hans Bakker 00fad81b0d data files loaded in the wrong order
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@741418 13f79535-47bb-0310-9956-ffa450edef68
2009-02-06 05:43:46 +00:00
David E. Jones 64e0947e4e A few related changes:
Big refactor of ControlServlet, RequestManager, RequestHandler, and ConfigXMLReader so that simple objects are used instead of Maps within Maps within Maps for the data from the controller.xml file, which results in eliminating hundreds of lines of code including the entire RequestHandler class. I have tested this a lot with different apps that use the ControlServlet differently, but this is a very big change so there could still be issues. Based on this cleanup future issues and new features should be easier and less error prone, and that is why doing it now in order to help with a number of other improvements and bug fixes that are part of this commit.

Also added redirect-parameter element to go under the request-map -> response element which allows you to specify which parameters will be passed on in a redirect instead of using all of them. Also improved default there and in various places to only include parameters from the URL to avoid issues with form data, but if the ID to display (like following a crAlso added redirect-parameter element to go under the request-map -> response element which allows you to specify which parameters will be passed on in a redirect instead of using all of them. Also improved default there and in various places to only include parameters from the URL to avoid issues with form data, but if the ID to display (like following a crAlso added redirect-parameter element to go under the request-map -> response element which allows you to specify which parameters will be passed on in a redirect instead of using all of them. Also improved default there and in various places to only include parameters from the URL to avoid issues wd in and also going to the same page after login from auth=true or from clicking on the login link.

Related to cleaning up login URLs also changed how the request and parameters passed to a request before a login are saved and used after a login is successful so that it URL parameters go on the URL in a redirect to the original request to make it more transparent, and non-URL parameters just stay in the session and are used when the original request is run again to avoid putting sensitive information like passwords and big information like textarea data in the URL, which has been a problem before.

To see what some of these things combined can do try going to the example app, login, click on the New Example link, then logout in another tab or window, then go back to the New Example page and enter a name and a whole bunch of text in the long description then click Create, the system will show you the login page so enter username/password, and then after login you'll see a nice URL to EditExample with the correct exampleId parameter and all of the data entered before login successfully saved and never appearing in a URL.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@741374 13f79535-47bb-0310-9956-ffa450edef68
2009-02-06 02:14:19 +00:00
Hans Bakker 4bf5c675bb the myportal component is functionally complete now having also different page sets for different securitygroups.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@741129 13f79535-47bb-0310-9956-ffa450edef68
2009-02-05 15:18:47 +00:00
Hans Bakker dc974e2168 new registration in myportal now also creates a customer request why the registered person would like a userlogin
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@741062 13f79535-47bb-0310-9956-ffa450edef68
2009-02-05 10:20:39 +00:00
Bilgin Ismet Ibryam 832659c860 Changed Double parameters to BigDecimal in convertUom and convertUomCustom services.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@741049 13f79535-47bb-0310-9956-ffa450edef68
2009-02-05 08:52:24 +00:00
Jacques Le Roux 6686a3af1f 1) <field-to-result map-name="(.*)" field="(.*)" result-name="(.*)"/> => <field-to-result field="$1.$2" result-name="$3"/>
then
2) <field-to-result map.*="(.*)" field.*="(.*)"/> => <field-to-result field="$1.$2" result-name="$2"/>

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@740825 13f79535-47bb-0310-9956-ffa450edef68
2009-02-04 19:01:58 +00:00
Hans Bakker 5c8172be3b registration in myportal now requests a email address and sends a confirmation email
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@740630 13f79535-47bb-0310-9956-ffa450edef68
2009-02-04 06:47:16 +00:00
Hans Bakker 3881a73106 improved 'not yet billed project hours' form to better check before invoicing
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@740600 13f79535-47bb-0310-9956-ffa450edef68
2009-02-04 04:31:22 +00:00
Jacques Le Roux 89d5700211 Revert 740368
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@740530 13f79535-47bb-0310-9956-ffa450edef68
2009-02-04 00:22:04 +00:00
Jacques Le Roux e2c7a91290 Revert 740494
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@740505 13f79535-47bb-0310-9956-ffa450edef68
2009-02-03 23:14:57 +00:00
Jacques Le Roux 3c437edfdb Some more or less randow deprecated tags fixes
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@740494 13f79535-47bb-0310-9956-ffa450edef68
2009-02-03 22:42:46 +00:00
Jacques Le Roux 7cb0b591e6 Horrible (it takes a machine..., mine :/)
<field-to-request field="(.*)" request-name="(.*)" request-name="(.*)"/>
fixed by hand 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@740491 13f79535-47bb-0310-9956-ffa450edef68
2009-02-03 22:31:51 +00:00
Jacques Le Roux 267ab24d14 <field-to-result map-name="(.*)" field="(.*)"/> => <field-to-result field="$1.$2"/>
<field-to-request map-name="(.*)" field="(.*)"/> => <field-to-request field="$1.$2"/>

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@740368 13f79535-47bb-0310-9956-ffa450edef68
2009-02-03 18:18:49 +00:00
Jacques Le Roux a0e6b1a6a1 <field-to-request field="(.*)" map-name="(.*)"/> => <field-to-request field="$1" request-name="$2"/>
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@740011 13f79535-47bb-0310-9956-ffa450edef68
2009-02-02 15:39:53 +00:00
Hans Bakker a0d33fa179 small correction to move the title back under- and not next to the subtabbar
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@740000 13f79535-47bb-0310-9956-ffa450edef68
2009-02-02 15:21:51 +00:00
Jacques Le Roux f47b59a27c LabelsInfo14.patch from Marco "New tool to get labels information" (https://issues.apache.org/jira/browse/OFBIZ-2070) - OFBIZ-2070
+ some correct changes done with this update of Labels Manager (I updated some wrong ones by hand to keep going forward...)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@739955 13f79535-47bb-0310-9956-ffa450edef68
2009-02-02 10:17:34 +00:00