Commit Graph
18 Commits
Author SHA1 Message Date
Ashish Vijaywargiya d0566c2968 Applied the patch OFBIZ-4902_application.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@1618336 13f79535-47bb-0310-9956-ffa450edef68
2014-08-16 11:34:57 +00:00
Jacques Le Roux 274a420596 Fixes an issue where externalKeyParam was not escaped in link so was useless (this is only in .ftl files)
Actually the right thing to do should be to work on migrating all freemarker templates in backend to widgets and using target-type="inter-app" for those. I know Adrian has opened a Jira for that, next task in my TODO list. 
Without this effort we will never be able to style the backend uniformly, notably in custom projects...

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1552149 13f79535-47bb-0310-9956-ffa450edef68
2013-12-18 23:00:57 +00:00
Adam Heath 26ed25cdea DEPRECATION: applications/order: getRelatedOne variants replaced with a getRelatedOne variant that takes a boolean useCache parameter.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1343485 13f79535-47bb-0310-9956-ffa450edef68
2012-05-29 04:13:04 +00:00
Jacopo Cappellato 82c68734f6 Removed incorrect usage of hasRolePermission method calls: using hasRolePermission in this way without passing the actual roles to be checked had as a consequence that the _ROLE permission was exactly the same of the main permission.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1294277 13f79535-47bb-0310-9956-ffa450edef68
2012-02-27 19:07:38 +00:00
Bruno Busco b9c1022e54 A patch from Blas Rodriguez Somoza
OFBIZ-3607 - XHTML validation errors (order)
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:

findOrders.ftl
Wrong markup on line 470. Unrecognized onsubmit attribute in input tag
<input type='submit' value='${uiLabelMap.CommonFind}' onsubmit="javascript:lookupOrders(true);"/>

Wrong markup on line 478. div must be before if and not after. Look at line 138 the if begins with <div><table> it should end with </table></div>
</table>
</#if>
</div>
</div>


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@931691 13f79535-47bb-0310-9956-ffa450edef68
2010-04-07 21:15:53 +00:00
Bruno Busco 62652236c1 Cleanup of the screenlet title in all FTL files.
Removed all occurrences of <div class="screenlet-header"><div class="boxhead"></div></div>
Replaced with the new
<div class="screenlet-title-bar"><div class="h3"></div></div>

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@821476 13f79535-47bb-0310-9956-ffa450edef68
2009-10-04 08:04:35 +00:00
Jacques Le Roux b9c3ddef08 2d part and end of an effort to remove trailing spaces
[ \t]+$ => "" (empty)
Should be easier to review when committing changes with trailing spaces removed automatically by anyedit or such tool (please refer to http://docs.ofbiz.org/x/mg)

Of course this effort to remove trailing spaces has no functional implications.

Actually, I was doing a 1st commit and as it's long to upload, I got conflicts with r763135
In the meantime I did some refactoring also in *.java and *.groovy files :
){ => ) {
if( => if (
while( => while (
}else => } else
else{ => else {
switch( => switch (
try{ => try {
}catch => } catch
catch( => catch (
}finally{ => } finally {

So these changes are also in this commit, should not be a problem anyway.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@763175 13f79535-47bb-0310-9956-ffa450edef68
2009-04-08 10:54:51 +00:00
Marco Risaliti ff720d540e A lot of hardcoded labels cleaning and changes some wrong references
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@746049 13f79535-47bb-0310-9956-ffa450edef68
2009-02-19 23:08:30 +00:00
Adrian Crum af7a0409c1 Removed deprecated CSS styles from the maincss.css file. I skipped the eCommerce component because it doesn't use that style sheet, and I also skipped the content component because it is used in eCommerce.
This shouldn't affect any layout. If it does, just post a message on the dev ml (with link please) and I'll fix it.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@675831 13f79535-47bb-0310-9956-ffa450edef68
2008-07-11 04:02:30 +00:00
Marco Risaliti 4b2039672c Order View forms & removed some deprecated styles (ftl/widgets screen) has now the same look and feel (Part of issue OFBIZ-1545)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@613672 13f79535-47bb-0310-9956-ffa450edef68
2008-01-20 20:28:45 +00:00
Marco Risaliti cf01bda67d Taks/Stats forms (ftl/widgets screen) has now the same look and feel (Part of issue OFBIZ-1545)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@613302 13f79535-47bb-0310-9956-ffa450edef68
2008-01-18 22:45:25 +00:00
Scott Gray a076dda3dd Removed deprecated getOrderGrandTotal() and renamed getOrderGrandTotalBd()
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@576013 13f79535-47bb-0310-9956-ffa450edef68
2007-09-16 00:48:08 +00:00
Scott Gray af99ce22cb Replaced all remaining calls to OrderReadHelper.getOrderGrandTotal() with it's BigDecimal equivalent, OFBIZ-880
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@560644 13f79535-47bb-0310-9956-ffa450edef68
2007-07-28 23:27:32 +00:00
Jacques Le Roux 0a9c7cc4db Usable part of Stefan Huehner's patch "Change all <div class="head1|head2|head3"> to <h1|h2|h3>" (https://issues.apache.org/jira/browse/OFBIZ-587)
110 files are modified
Before this patch was commited there were 
. 110 head1 occurences
. 132 head2 occurences
. 98 head3 occurences
Remain : 
. 52 head1  occurences
. 44 head2  occurences
. 48 head3  occurences



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@560530 13f79535-47bb-0310-9956-ffa450edef68
2007-07-28 11:47:08 +00:00
Jacques Le Roux dad67935f7 A (large) patch from Scott Gray "Update ASL header" (https://issues.apache.org/jira/browse/OFBIZ-637).
I put also some svn:ignore for shark build and lib diretories and assetmaint/build 

I did some by hand lately, too much to remember. They were files with old header but without copyright. A 1st attempt I suppose, will have to check this after this commit.

I add some problems to commit this patch in one piece because it's so huge (specially with Eclipse I had to turn to Tortoise) !

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@499486 13f79535-47bb-0310-9956-ffa450edef68
2007-01-24 17:15:54 +00:00
Jacques Le Roux fad4cbcd6b This closes issue https://issues.apache.org/jira/browse/OFBIZ-335 : "<NOBR> is not approved by the W3C"
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@474173 13f79535-47bb-0310-9956-ffa450edef68
2006-11-13 06:53:08 +00:00
Jacopo Cappellato 03c3265865 License change from MIT to ASL2.0 for the files of the order component.
Thanks to Ashish Vijaywargiya for the patch (Apache OFBIZ-87).


git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@422746 13f79535-47bb-0310-9956-ffa450edef68
2006-07-17 15:49:22 +00:00
David E. Jones 94fe6d1cda Initial OFBiz import from revision 7923 of the old svn.ofbiz.org SVN repository.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@418498 13f79535-47bb-0310-9956-ffa450edef68
2006-07-01 19:05:20 +00:00