Commit Graph
17 Commits
Author SHA1 Message Date
Adrian Crum dcecdd25a4 Reorganized the screen widget src folder so classes are more organized.
This commit might break some Groovy scripts. There seemed to be a lot of C&P widget import statements, but there were no widget classes being used in the script, so I removed them. I might have overlooked something though.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1652852 13f79535-47bb-0310-9956-ffa450edef68
2015-01-18 21:03:40 +00:00
Jacopo Cappellato a67d04c2ee Removed deprecated methods in the widget API; cleaned up a bunch of old commented out code; fixed formatting issues; some minor code improvements (no functional changes).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1628361 13f79535-47bb-0310-9956-ffa450edef68
2014-09-30 06:20:29 +00:00
Ashish Vijaywargiya aff06fcbc6 Applied the patch OFBIZ-4902_specialpurpose.patch from OFBIZ-4902 - Replace in Freemarker templates the deprecated built-ins: default, exists, if_exists.
Thanks http://ofbiz.us team for providing the patch work. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1618313 13f79535-47bb-0310-9956-ffa450edef68
2014-08-16 08:40:28 +00:00
Jacques Le Roux 017010e346 A, directly sent to me, Olivier Heintz's patch which completes the work done by Adrian at r1546891:
>>> Moved web access authorization code from the Flat Grey visual
>>> theme to LoginWorker.java. This change needs to be copied to
>>> other visual themes as well.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1549981 13f79535-47bb-0310-9956-ffa450edef68
2013-12-10 21:52:57 +00:00
Adrian Crum a17298a06e Removed unused "authz" security code - https://issues.apache.org/jira/browse/OFBIZ-4839.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1360283 13f79535-47bb-0310-9956-ffa450edef68
2012-07-11 16:34:26 +00:00
Jacques Le Roux 7420e0b13c A patch from Leon "incorrect url of root webapp in menu" https://issues.apache.org/jira/browse/OFBIZ-4368
If I enable the "app-bar-display" for root webapp which is mounted to "/", the url of root webapp in menu is "https://control/main" and not the correct "https://localhost:8443/".

That's because, e.g. in themes/tomahawk/includes/appbarOpen.ftl, it uses expression  <#if thisApp != "/"> to judge whether the app is root or not, while the variable thisApp is java String and it'll be encoded as iso code "/", so the "if" expression mentioned above will always return false.

In the patch it use StringUtil.wrapString to wrap variable theApp to avoid encode.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1158124 13f79535-47bb-0310-9956-ffa450edef68
2011-08-16 06:24:26 +00:00
Bruno Busco d749f74d6e No functional changes, only clean-up for Tomahawk theme.
Changed some theme-defined style names so that now they describe items function and not how items appear on the screen.
Simplified the navigation tree structure.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1065243 13f79535-47bb-0310-9956-ffa450edef68
2011-01-30 10:14:01 +00:00
Hans Bakker e237fe0ba6 if menu and portalpage options are mixed, tomahawk did not display correctly in the example component and other places as reported by Bruno in the mailing list. should work now.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@928131 13f79535-47bb-0310-9956-ffa450edef68
2010-03-27 03:39:08 +00:00
Hans Bakker f02bdbf2f5 missed one change in last tomahawk update
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@926921 13f79535-47bb-0310-9956-ffa450edef68
2010-03-24 03:21:12 +00:00
Hans Bakker 92e4601342 show portal page names correctly in tomahawk theme
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@926908 13f79535-47bb-0310-9956-ffa450edef68
2010-03-24 02:59:07 +00:00
Hans Bakker 7135628833 remove dependency on commext component
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@926508 13f79535-47bb-0310-9956-ffa450edef68
2010-03-23 09:13:04 +00:00
Scott Gray ef9feace80 Remove some unnecessary spaces in the generated html for the tomahawk theme
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@920614 13f79535-47bb-0310-9956-ffa450edef68
2010-03-09 01:45:00 +00:00
Scott Gray 4d45f24d16 Fix funny encoding in the application menu links
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@920613 13f79535-47bb-0310-9956-ffa450edef68
2010-03-09 01:44:57 +00:00
Bruno Busco 65d1cf6ac0 Fixed soma <ul> <li> not closed tags.
Thank you Adrian for reporting this on the ML.

Removed "Application" label from the menu bar when not logged in.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@915808 13f79535-47bb-0310-9956-ffa450edef68
2010-02-24 14:44:30 +00:00
Bruno Busco 9161c80c5e Better dropdown menu handling in tomahawk theme.
The menus are not shown during page loading.
Replaced hide/show toggling with explicit hide/show commands so that the menu status cannot be accidentally swapped.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@912269 13f79535-47bb-0310-9956-ffa450edef68
2010-02-21 00:56:11 +00:00
Bruno Busco 00f6fee059 Removed framework dependency from tomahawk theme (same as rev. 908341)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@911170 13f79535-47bb-0310-9956-ffa450edef68
2010-02-17 20:44:40 +00:00
Adam Heath 1608935bd2 New theme, tomahawk, created by Bruno Busco and Erik Schuessler of
Brainfood.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@910652 13f79535-47bb-0310-9956-ffa450edef68
2010-02-16 19:08:04 +00:00