Commit Graph
67 Commits
Author SHA1 Message Date
Jacques Le Roux f2fbad78d5 Improvement on r960336. Fix a problem reported by Scott on dev ML.
I tested locally, and I think I have done it right this time


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@960491 13f79535-47bb-0310-9956-ffa450edef68
2010-07-05 09:10:19 +00:00
Jacques Le Roux 82aba53fa5 Improvement on r960336 (should fix a problem reported by Scott on dev ML.)
I tested locally, but I'm not quite sure it's sufficient


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@960401 13f79535-47bb-0310-9956-ffa450edef68
2010-07-04 21:23:47 +00:00
Ashish Vijaywargiya 9712434557 Applied patch from jira issue: OFBIZ-3719 - Include DOCTYPE at the begining of CMS driven html page.
Description of work:
Include DOCTYPE at the begining of html pages, that are render through cms.
Currently DOCTYPE is included in HtmlHead.ftl for cms.
By doing so the DOCT YPE is always included on the top of the page before rendering single HTML statement.

Thanks Deepak & Rishi for the contribution and Scott for the comments.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935886 13f79535-47bb-0310-9956-ffa450edef68
2010-04-20 12:03:21 +00:00
Bruno Busco 845361b235 A patch from Blas Rodriguez Somoza
OFBIZ-3612 - XHTML validation errors (specialpurpose_cmssite)
XHTML validation errors
- Unencoded ampersands in urls.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@929286 13f79535-47bb-0310-9956-ffa450edef68
2010-03-30 21:04:26 +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
David E. Jones e3044736e7 Some permissions changes so that webpos and myportal have base permissions like all other applications except cmssite, which is more like ecommerce as it is public facing so it is no longer in the Applications menu
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@899088 13f79535-47bb-0310-9956-ffa450edef68
2010-01-14 07:47:32 +00:00
Hans Bakker 5893eb5f78 Public documents not showing when not logged in
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@893399 13f79535-47bb-0310-9956-ffa450edef68
2009-12-23 04:00:34 +00:00
Jacques Le Roux 47c9613346 Some easy documentation (cwiki) links changes following r888510
I have found a way to fix tinylinks :D http://confluence.atlassian.com/pages/viewpage.action?pageId=162988142

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@888559 13f79535-47bb-0310-9956-ffa450edef68
2009-12-08 20:23:23 +00:00
Hans Bakker ec4fb752a2 remove the old ofbiz website from within cmssite, add a dutch and thai version of the official ofbiz website as a new component in special purpose currently in use as http://ofbiz.nl, http://ofbiz.be and http://ofbiz.in.th, mount this website as the root, Obviously he english version needs to be added and a link to the demoshop (ecommerce component) and a link to the backend myportal. Erwan can now add his french version by simply supplying a patch to the trunk, another contribution of Antwebsystems.com, this time employee 'Tor'
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@887652 13f79535-47bb-0310-9956-ffa450edef68
2009-12-06 09:56:41 +00:00
Jacques Le Roux 88e6b9481b I realized that in some cases it's better to keep the country part of locale, so this is better than r887164 (Fix a calendar i18n initialization issue in lookup.ftl)
And generalized to all FTL files where needed.
I only tested for lookups, but should be ok, since the same trick is used in other FTL files.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@887166 13f79535-47bb-0310-9956-ffa450edef68
2009-12-04 12:07:48 +00:00
Jacques Le Roux 059cf20ff9 Fix a bug introduced with r886143 (when a language.js was missing no default was given)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@886723 13f79535-47bb-0310-9956-ffa450edef68
2009-12-03 09:45:33 +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
Bruno Busco 40a72014a1 A patch from Patrick Antivackis "Addind Error Pages (404 - 410) possibilities for the Content app" (https://issues.apache.org/jira/browse/OFBIZ-3022) - OFBIZ-3022
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@826205 13f79535-47bb-0310-9956-ffa450edef68
2009-10-17 09:12:39 +00:00
Hans Bakker 51f0e40922 put a littlebit more explanation at the cms demo site, adjusted the setup documents
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@818382 13f79535-47bb-0310-9956-ffa450edef68
2009-09-24 06:58:54 +00:00
Hans Bakker 796107bdc2 show a list of public documents within cmssite
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@810374 13f79535-47bb-0310-9956-ffa450edef68
2009-09-02 06:25:24 +00:00
Hans Bakker 4e04c1a1a5 correction on r809257
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@809452 13f79535-47bb-0310-9956-ffa450edef68
2009-08-31 02:41:00 +00:00
Hans Bakker 8b0b780de9 make the apache ofbiz docbook document available without loggin in from wihtin cmssite: try the url: http://localhost:8080/cmssite/cms/APACHE_OFBIZ_HTML
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@809257 13f79535-47bb-0310-9956-ffa450edef68
2009-08-30 07:26:10 +00:00
Jacques Le Roux bc0c9ef519 git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@806127 13f79535-47bb-0310-9956-ffa450edef68 2009-08-20 11:24:07 +00:00
Jacopo Cappellato 1e816f13d2 Fix for typo.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@788009 13f79535-47bb-0310-9956-ffa450edef68
2009-06-24 12:59:06 +00:00
Anil Patel 27fc78694b Improved html markup in demo data.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@786404 13f79535-47bb-0310-9956-ffa450edef68
2009-06-19 07:41:27 +00:00
Hans Bakker f5e00352e3 corrections to re-enable the xml file with a ftl template applied to it requested by Jacques
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@782562 13f79535-47bb-0310-9956-ffa450edef68
2009-06-08 08:51:46 +00:00
Jacques Le Roux 00e40aa31f Typo in contentName
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@779517 13f79535-47bb-0310-9956-ffa450edef68
2009-05-28 09:58:48 +00:00
Jacques Le Roux cbaa2ca78d Last line commented and $ removed for now : not working -->
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@776236 13f79535-47bb-0310-9956-ffa450edef68
2009-05-19 08:32:35 +00:00
Jacques Le Roux ad558f23ec No need to escape in CDATA http://www.w3.org/TR/REC-xml/#dt-chardata. Trying to fix an issue with CMSS_DEMO_TPL_DATA when rendering, exactly:
Error rendering FTL template (Expression thisContent.content.CMSS_DEMO_TPL_DATA is undefined on line 9, column 33 in DataResource:CMSS_DEMO_HOME.)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@773346 13f79535-47bb-0310-9956-ffa450edef68
2009-05-10 14:44:43 +00:00
Jacques Le Roux 468c7d0a6a To be consistent with r773211
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@773216 13f79535-47bb-0310-9956-ffa450edef68
2009-05-09 12:23:28 +00:00
Jacques Le Roux 058d6aed57 A patch from Ashish Vijaywargiya "Change Copyright Year" (https://issues.apache.org/jira/browse/OFBIZ-2346) - OFBIZ-2346
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@772936 13f79535-47bb-0310-9956-ffa450edef68
2009-05-08 10:56:14 +00:00
Adrian Crum 26c4787ec3 Updated the xsd URIs in XML files.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@769576 13f79535-47bb-0310-9956-ffa450edef68
2009-04-28 22:34:47 +00:00
David E. Jones 70f8da92bb Moved logo and icon images back to images component and removed from everywhere else; all references to these should be to there only now; fixes issue with logo in ecommerce and other little things
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@766426 13f79535-47bb-0310-9956-ffa450edef68
2009-04-19 06:12:55 +00:00
Hans Bakker cde952f0db improve form, remove debug messages and show with demo data how to render an xml datResourceId using an ftl dataResourceId as template
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@766217 13f79535-47bb-0310-9956-ffa450edef68
2009-04-18 05:33:50 +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
Bilgin Ismet Ibryam 7e7c1f375a Added an optional "name" attribute to event element in controller.xml This attribute is used only (also required) in events inside
firstvisit, after-login, before-logout, preprocessor and postprocessor elements. Events with same name will be overridden and only the last one will be executed. Overriding works also in cases when a controller.xml includes other controller files.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@761220 13f79535-47bb-0310-9956-ffa450edef68
2009-04-02 09:47:48 +00:00
Bruno Busco a36cb4dd3e Changed WebSiteId parameter description to be more general
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@751214 13f79535-47bb-0310-9956-ffa450edef68
2009-03-07 07:19:07 +00:00
Hans Bakker cdca97259f with the last change in the request handler and this change cmssite and ofbiz site working again
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@748456 13f79535-47bb-0310-9956-ffa450edef68
2009-02-27 09:24:13 +00:00
Hans Bakker 041ccc0a7d rename applicationext component to commonext
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@748388 13f79535-47bb-0310-9956-ffa450edef68
2009-02-27 04:05:47 +00:00
Marco Risaliti ab496554ff Artifact cleaning on various components after recent changes on xsd files (OFBIZ-2137)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@739849 13f79535-47bb-0310-9956-ffa450edef68
2009-02-01 21:40:35 +00:00
Jacques Le Roux fb9d3a2e18 <entity-condition(.*) list-name= => <entity-condition$1 list=
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@739740 13f79535-47bb-0310-9956-ffa450edef68
2009-02-01 11:08:49 +00:00
Hans Bakker e398a24e96 running the ofbiz site under the ofbiz websitecms system (make sure you load the demo data)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@737311 13f79535-47bb-0310-9956-ffa450edef68
2009-01-24 07:08:25 +00:00
Hans Bakker 88a78d6e53 just a quick import of the ofbiz site into svn. if we can redirect the ofbiz.apache.org site to this site at localhost:8080/ofbiz we have the ofbiz site running under ofbiz..and update the site in the normal ofbiz svn......next step is to make use of the ofbiz content facilities
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@736967 13f79535-47bb-0310-9956-ffa450edef68
2009-01-23 07:17:44 +00:00
Hans Bakker 33b973ccc5 show example of a blog in cmssite
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@733595 13f79535-47bb-0310-9956-ffa450edef68
2009-01-12 03:36:38 +00:00
Hans Bakker c1baa3025f inserted demo data to show the usage of screen widgets in cmssite
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@733410 13f79535-47bb-0310-9956-ffa450edef68
2009-01-11 02:26:26 +00:00
Hans Bakker 8cd81c4f9b /cmssite did not start this component, only cmssite/control/main and cmssite/cms did
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@729735 13f79535-47bb-0310-9956-ffa450edef68
2008-12-28 13:38:45 +00:00
Marco Risaliti c393203343 Various cleanup on special purpose components (Part of issue OFBIZ-1982)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@702273 13f79535-47bb-0310-9956-ffa450edef68
2008-10-06 21:26:25 +00:00
Jacopo Cappellato e7d5c9d6ab Fixed an issue in my last commit.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@685572 13f79535-47bb-0310-9956-ffa450edef68
2008-08-13 14:32:43 +00:00
Jacopo Cappellato c6fc070655 Example of how a content base page can decorate a region of a decorator with a custom content/data-resource pair.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@685568 13f79535-47bb-0310-9956-ffa450edef68
2008-08-13 14:25:40 +00:00
Jacopo Cappellato 4b79877c9b Improved template decorator resource: now it searches for the htmlHead/header/footer sub contents associated to the Content that is going to be decorated before using (if they are not found) the ones associated to the Content record of the decorator.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@685564 13f79535-47bb-0310-9956-ffa450edef68
2008-08-13 14:17:36 +00:00
Jacopo Cappellato 728cbfcbb8 Small enhancement to the demo data of the demo CMS site to show a way to use the Sub-Content Pattern to reach content using the publish point and the mapKey.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@684563 13f79535-47bb-0310-9956-ffa450edef68
2008-08-10 17:55:35 +00:00
Jacopo Cappellato fc2e3cef20 Minor changes to the demo data (just renamed a few ids to improve readability) and added some notes to better describe the structure of the data.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@684277 13f79535-47bb-0310-9956-ffa450edef68
2008-08-09 15:36:59 +00:00
Scott Gray 536c813d8c Got the CMS Site app displaying again
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@680090 13f79535-47bb-0310-9956-ffa450edef68
2008-07-27 11:08:52 +00:00
David E. Jones 93ec2900c9 A few little cleanups, moved the ftl demo files to the database and simplified the controller file quite a bit
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@677645 13f79535-47bb-0310-9956-ffa450edef68
2008-07-17 17:37:02 +00:00
Scott Gray 31f94919b7 Replaced the Tigra calendar with Calendar Date Select (http://code.google.com/p/calendardateselect/) - OFBIZ-1808
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@663501 13f79535-47bb-0310-9956-ffa450edef68
2008-06-05 08:45:10 +00:00