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
No needs to over-engineering things there. A bit more smart than before though
This reverts r1625006 and r1624886 and adds CommonBuiltOn and better svninfo and gitinfo targets
I just regret that I lose the formatting effort I did in footer.ftl files, but I have not the guts to do it again.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1625907 13f79535-47bb-0310-9956-ffa450edef68
Still in discussion in dev ML, notably if we should backport
Put back the CommonDepth label inadvertently removed, thanks to Scott's review
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1625006 13f79535-47bb-0310-9956-ffa450edef68
Puts a check on svinfo and gitinfo (only used if it's a local copy)
Adds and uses CommonDeployedThe label in footer.ftl with the new deployed-date-time target
Uses CommonPoweredBy in bizznesstime footer.ftl
Minor changes and formatting in the footer.ftl files
Better French label for CommonPoweredBy
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1624886 13f79535-47bb-0310-9956-ffa450edef68
When you replace the Freemarker if_exists built-in with the ! operator, when the ! is followed by a + you need to evaluate the expression conditioned by the ! 1st. Else the following chars are used as default value. In other words, you need to put parenthesis around the expression including the ! operator
I tested with tomahawk/includes/appbarClose.ftl and header.ftl files of bluelight and droppingcrumbs themes
I then applied the same scheme on catalog/categorydetail.ftl, party/editShoppingList.ftl, ebaystore/store/returnPolicy.ftl and party/findparty.ftl w/o testing. I guess it's ok
I did not find the same scheme elsewhere
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1624876 13f79535-47bb-0310-9956-ffa450edef68
Uses the new runtime/gitinfo.ftl in footers (all themes) like is the runtime/ftlinfo.ftl one
Actually both are shown (if you have a mix of repos, like I do) or one or the other
Adds the runtime/gitinfo.ftl file in both .gitignore and svn ignore
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1597615 13f79535-47bb-0310-9956-ffa450edef68
>>> 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
Two simples errors after last change from FastList to standard java List :
1) go to example component / Dasboard
1.1) click on edit for one page
Screen is blocked
reason :
{code}
for (GenericValue portalPage : portalPages) {
cond = EntityCondition.makeCondition(UtilMisc.toList(
EntityCondition.makeCondition("ownerUserLoginId", EntityOperator.EQUALS, userLoginId),
EntityCondition.makeCondition("originalPortalPageId", EntityOperator.EQUALS, portalPage.getString("portalPageId"))),
EntityOperator.AND);
List <GenericValue> privatePortalPages = delegator.findList("PortalPage", cond, null, null, null, false);
if (UtilValidate.isNotEmpty(privatePortalPages)) {
portalPages.remove(portalPage);
portalPages.add(privatePortalPages.get(0));
}
}
{code}
code iterate on a list and modify it, I don't know how it could work before ;-)
I propose to use an other list on iterate
2) on appbarclose.ftl for tomawak theme there is
{code}
<#assign portalPage = delegator.findOne("PortalPage", findMap, true)>
{code}
when you click to "revert to original" in dasboard screen
{code}
Error on line 45, column 5 in component://tomahawk/includes/appbarClose.ftl delegator.findOne("PortalPage", findMap, true) is undefined. It cannot be assigned to portalPage The problematic instruction: ---------- ==> assignment: portalPage=delegator.findOne("PortalPage", findMap, true) [on line 45, column 5 in component://tomahawk/includes/appbarClose.ftl] -
{code}
2.1) to see the error, modify ExampleMenus.xml and change menu-item name from "Dasboard" to "Dasboard1"
2.2) go to example / dashboard and edit one page
2.3) click to "revert to original"
I propose to add ?if_exists
One other bug in portal page personalization.
When trying to delete portlet or column in portal page, there is an error because in delete service, cache is used to read data before remove.
Correction proposed is to remove use-cache="true"
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1493352 13f79535-47bb-0310-9956-ffa450edef68
Help button is not working, currently it's a lookup-popup2 which is called and this method has not the same number of parameters than the call.
In lookup.js, I have see that lookup-popup1 has the correct number of parameters, so in the join patch I have change the lookup-popup2 to lookup-popup1
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1360711 13f79535-47bb-0310-9956-ffa450edef68
If you use tomahawk as default theme and open the Root application (mounted to '/'), the "passwordChange" link is wrong.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1240835 13f79535-47bb-0310-9956-ffa450edef68
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
This is a first proposal to have the password change screen handy for any user regardless of its permissions to update parties.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1090858 13f79535-47bb-0310-9956-ffa450edef68
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
Updates all the docbook.css in themes. Remove tags from the <body>
JLR: + Revert r1044062+1044053 (was: Deactivates temporarily the online help. It's currently not working and slowing down too much the demo server)
Actually it was not the real reason (UtilIO.java was)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1050385 13f79535-47bb-0310-9956-ffa450edef68
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
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
OFBIZ-3621 - XHTML validation errors (themes)
XHTML validation errors
* Unclosed INPUT
* attributes without values (checked, selected, disabled, etc)
* attribute values without "
* Uppercase tags or attributes.
* Unencoded ampersands in urls.
Other errors:
Header.ftl (tomahawk & droppingcrumbs)
Line 108. Wrong markup. Div can't be inside <a>
<a href="<@ofbizUrl>${logoLinkURL}</@ofbizUrl>" title="${layoutSettings.companyName}"><div> </div></a>
Style.css (tomahawk & droppingcrumbs)
Line 945. The logo is used as the background of the logo area, but because the size of the background image means nothing for dimensioning, it will be clipped.
background: url(../images/ofbiz_logo.png) no-repeat;
Solution: This is a hack to put the logo in the style sheet as the background. If the logo is only in the stylesheet without any trick, the logo will be clipped and disappears.
The logo can be loaded as an image directly in header.ftl and it will appear without clip and without any hack in header.ftl.
appbarOpen.ftl (droppingcrumbs)
Line 99, unclosed <li> and <ul>
header.ftl (bizznesstime)
Line 111. div can't be inside span.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@931665 13f79535-47bb-0310-9956-ffa450edef68
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