Commit Graph
51 Commits
Author SHA1 Message Date
Deepak Dixit 089321c65a Applied patch from jira issue OFBIZ-6397 : Survey : FTL error message when using Enumeration or Geo question type
Thanks Gil Portenseigne for reporting the issue and providing the fix.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1680840 13f79535-47bb-0310-9956-ffa450edef68
2015-05-21 12:10:57 +00:00
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
Jacopo Cappellato 672dc55f1e Moved the docbook distribution from applications/content to specialpurpose/cmssite, the only component that requires it. The Docbook schemas are still in the content component because they are required to render the online help screens of the applications.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1524112 13f79535-47bb-0310-9956-ffa450edef68
2013-09-17 16:11:00 +00:00
Jacques Le Roux 962091598a As a 1st step of "Proposal for a new help system" https://issues.apache.org/jira/browse/OFBIZ-4941, update docbook to version 1.77.1
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1395307 13f79535-47bb-0310-9956-ffa450edef68
2012-10-07 14:02:53 +00:00
Jacques Le Roux 1996cda067 Looks like somehow I missed a bunch of files at r1395296. To be sure I will remove all before re-adding all again
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1395300 13f79535-47bb-0310-9956-ffa450edef68
2012-10-07 13:42:48 +00:00
Jacques Le Roux 15bc749091 As a 1st step of "Proposal for a new help system" https://issues.apache.org/jira/browse/OFBIZ-4941, update docbook to version 1.77.1
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1395298 13f79535-47bb-0310-9956-ffa450edef68
2012-10-07 13:31:52 +00:00
Adam Heath 43efe66c75 DEPRECATION: applications/content: GenericValue.getRelated/getRelatedCache variants replaced with a single getRelated variant that takes a boolean useCache parameter.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1343511 13f79535-47bb-0310-9956-ffa450edef68
2012-05-29 04:17:44 +00:00
Adam Heath a92d79d341 DEPRECATION: applications/content: getRelatedOne variants replaced with a getRelatedOne variant that takes a boolean useCache parameter.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1343481 13f79535-47bb-0310-9956-ffa450edef68
2012-05-29 04:12:04 +00:00
Jacques Le Roux 87d84ea506 Adrian suggested to removes all class="tabletext": <<That style was removed from the stylesheet in 2007. All references to it should be removed.>>
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1340386 13f79535-47bb-0310-9956-ffa450edef68
2012-05-19 09:35:12 +00:00
Hans Bakker 28555029de fixed https problem when use <@renderSubContent> with image
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1203473 13f79535-47bb-0310-9956-ffa450edef68
2011-11-18 03:15:50 +00:00
Hans Bakker 5e7e7120f3 change @ofbizcontenturl to @ofbizurl. It is content but not static content and is in reality a request
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1140954 13f79535-47bb-0310-9956-ffa450edef68
2011-06-29 03:39:53 +00:00
Hans Bakker a8ade40815 replace hardcoded /content/control with @ofbizcontenturl to allow usage with virtual hosts
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1140919 13f79535-47bb-0310-9956-ffa450edef68
2011-06-29 00:25:45 +00:00
Erwan de Ferrieres 1ad6652d24 should be using the role attribute and not looking for a child element
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1092711 13f79535-47bb-0310-9956-ffa450edef68
2011-04-15 14:11:56 +00:00
Erwan de Ferrieres 5792b9aba4 Using <span/> for anchor instead of <a/>, resolving errors with firefox or chrome when using help
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1092503 13f79535-47bb-0310-9956-ffa450edef68
2011-04-14 20:31:14 +00:00
Erwan de Ferrieres 4aa687da9f manage anchor tag with xml:id attribute in title for docbook documentation
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1075138 13f79535-47bb-0310-9956-ffa450edef68
2011-02-27 20:31:42 +00:00
Erwan de Ferrieres f772ba7c63 Manage emphasis tag with a role attribute (generate a span class= and programlisting tag (HTML pre tag) for docbook documentation
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1075128 13f79535-47bb-0310-9956-ffa450edef68
2011-02-27 20:06:15 +00:00
Erwan de Ferrieres af56c858e8 Using the right syntax for caution, important, note, tip and warning in docbook documentation
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1075125 13f79535-47bb-0310-9956-ffa450edef68
2011-02-27 19:49:39 +00:00
Erwan de Ferrieres 51f8bdc022 Adding caution, important, note, tip, warning to docbook formatting possibilities. Those can be used inside a para element.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1071917 13f79535-47bb-0310-9956-ffa450edef68
2011-02-18 08:31:52 +00:00
Erwan de Ferrieres 7996d65d0b Allowing subsection in help to go deeper than h2
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1061187 13f79535-47bb-0310-9956-ffa450edef68
2011-01-20 10:02:04 +00:00
Jacques Le Roux c5193ecb5b A patch from BJ Freeman "Update Docbook files and give a nice look to doc" (https://issues.apache.org/jira/browse/OFBIZ-4052) - OFBIZ-4052
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
2010-12-17 13:58:42 +00:00
Jacques Le Roux d2d3552892 Generalizes by using countries.ftl
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1040440 13f79535-47bb-0310-9956-ffa450edef68
2010-11-30 09:01:51 +00:00
Adam Heath b273b52dad Finally created a script to find and fix tons of missing final newlines.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@982870 13f79535-47bb-0310-9956-ffa450edef68
2010-08-06 04:46:48 +00:00
Erwan de Ferrieres bd82937abb XHTML validation errors round 2++ (content) OFBIZ-3755 https://issues.apache.org/jira/browse/OFBIZ-3755
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@946322 13f79535-47bb-0310-9956-ffa450edef68
2010-05-19 18:15:46 +00:00
Bruno Busco 28e67b0349 A patch from Blas Rodriguez Somoza
OFBIZ-3688 - XHTML validation errors round 2 (content)
https://issues.apache.org/jira/browse/OFBIZ-3688
XHTML validation errors

    * Unclosed tags
    * attributes without values (checked, selected, disabled, etc)
    * attribute values without "
    * Uppercase tags or attributes.
    * Unencoded ampersands in urls.

Other errors:

ContentTreeLookupList.ftl
Line 20: tr with attribute colspan

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935263 13f79535-47bb-0310-9956-ffa450edef68
2010-04-17 22:02:54 +00:00
Bruno Busco 8c3b694494 A patch from Blas Rodriguez Somoza
OFBIZ-3611 - XHTML validation errors (content)
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:

AdminSearch.ftl (this template has several markup errors and it should be reviewed)
Wrong markup at line 32. Duplicated TR
<tr>
Wrong markup at line 49. Table directly inside tr, needs td. Also wrong attribute name wdith should be width.
<table border="0" wdith="100%">
Wrong markup at line 112. Unclosed previous table and td
<td width="20%" align="right">

CMSSites.ftl
Wrong attribute name at lines 42,66, 154, 211. mode should be method
mode="POST"
Lacks needed type attribute at lines 19, 265.
<SCRIPT language="javascript">

UserPermissions.ftl
Wrong attribute name at lines 60, 81. mode should be method
mode="POST"
Lacks needed type attribute at lines 19 .
<SCRIPT language="javascript">
Wrong markup at lines 115 to 120. Those closing tags have no matching open tags.
</td>
</tr>
</table>
</td>
</tr>
</table>

CMSMenus.xml
Duplicated id value "dflt" at lines 32,38,43
<link id="dflt"

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@929257 13f79535-47bb-0310-9956-ffa450edef68
2010-03-30 20:28:48 +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
Jacques Le Roux 98fe02257c A patch from Erwan de FERRIERES "Add the images in docbook help" (https://issues.apache.org/jira/browse/OFBIZ-3280) - OFBIZ-3280
In this new version, I :
    * removed the graphic tag
    * added the mediaobject tag
    * updated the selenium help page


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@886157 13f79535-47bb-0310-9956-ffa450edef68
2009-12-02 14:32:48 +00:00
Jacques Le Roux f0ba7b0e6f A slightly modified patch from Erwan de FERRIERES "Add the images in docbook help" (https://issues.apache.org/jira/browse/OFBIZ-3280) - OFBIZ-3280
this patch will allow to diplay images in the help system.
The help images will be located in framework/images/webapp/images/help (one is included in this issue)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@885748 13f79535-47bb-0310-9956-ffa450edef68
2009-12-01 12:03:51 +00:00
Hans Bakker bf3790cc50 ordered and itemized list now possible in the help screens and works in all three themes, see for an example in the example help screens: OFBIZ-3170 provided patch partly implemented
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@834823 13f79535-47bb-0310-9956-ffa450edef68
2009-11-11 09:50:01 +00:00
Hans Bakker ae7f709875 cleanup the help template file
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@826605 13f79535-47bb-0310-9956-ffa450edef68
2009-10-19 08:30:38 +00:00
Hans Bakker 4533720a3e docbook files now converted to html using a first (simple) visual scheme dependent css stylesheet. This css is now also used for the display of the help files
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@818780 13f79535-47bb-0310-9956-ffa450edef68
2009-09-25 09:16:26 +00:00
Hans Bakker e7e8ff14c6 unwanted change by the community
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@816193 13f79535-47bb-0310-9956-ffa450edef68
2009-09-17 13:57:14 +00:00
Hans Bakker 8c1458e97e make the help screens also display properly in the business theme
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@812477 13f79535-47bb-0310-9956-ffa450edef68
2009-09-08 12:13:50 +00:00
Hans Bakker fa4e7367bb added the possibility of assigning an existing account or lead to the logged user so it will show up on the screen, reused the contact/account profile realtionship screens from party, added placeholders for help screens in the sfa application.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@812383 13f79535-47bb-0310-9956-ffa450edef68
2009-09-08 08:28:24 +00:00
Hans Bakker d6a65c264a helpscreens placeholders now converted to the docbook V5 format inclusive of namespace support, updated the apache ofbiz document to explain how to create helpscreens, created an ftl template to display the docbook help screens, docbook pdf generation now almost working: it can create a local pdf file, but streaming to the browser does not work..if anybody interested to help me check modelscreenwidget.java line 1206
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@811787 13f79535-47bb-0310-9956-ffa450edef68
2009-09-06 09:39:20 +00:00
Hans Bakker 0de880f3ef adding docbook dtd/xsd, templates to generate html/pdf and more. Approval was obtained by email to Norman Walsh with the question: Is there any objections in including Docbook dtd/xsl/xsl files in Apache OFBiz, his answer: None at all. Share and enjoy! (Tue, 25 Aug 2009 07:27:51 -0400 (18:27 ICT)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@808410 13f79535-47bb-0310-9956-ffa450edef68
2009-08-27 13:29:07 +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
Jacques Le Roux 7befd1d25e no tabs but 4 spaces in code files (*.ftl, *.gro*, *.java, *.xml)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@804935 13f79535-47bb-0310-9956-ffa450edef68
2009-08-17 11:01:25 +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
Adrian Crum cd3a137731 Removed deprecated CSS style sepBar, removed unnecessary align="left" HTML element attributes.
I did a global search and replace for the align="left" aatribute - I didn't check each replacement because there were hundreds of them. This shouldn't break any layout. If you spot something wrong, post a message on the dev mailing list and I will fix it.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@684548 13f79535-47bb-0310-9956-ffa450edef68
2008-08-10 16:28:14 +00:00
Adrian Crum 68c1dbbaf9 Second sweep through the maincss.css style sheet. Changed the head1, head2, and head3 style names to h1, h2, and h3. Updated affected styles in ftl and xml files.
The ecommerce component is excluded from this commit.

These changes shouldn't break any layout. If you spot something wrong, let me know and I'll fix it.

I won't make any more maincss.css changes for a little while. I'll let the dust settle from these two commits, then I'll go through the file and physically remove the deprecated styles.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@627051 13f79535-47bb-0310-9956-ffa450edef68
2008-02-12 19:30:09 +00:00
Adrian Crum 83ece87409 First sweep through maincss.css style sheet. Made sure all deprecated styles are marked as deprecated. Eliminated a number of deprecated styles from ftl and xml files.
The ecommerce component is excluded in this commit.

These changes shouldn't break any layout. If you spot something wrong, let me know and I'll fix it.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@627034 13f79535-47bb-0310-9956-ffa450edef68
2008-02-12 18:55:41 +00:00
Andrew Zeneski a81553f655 implemented feature to allow setting default values for survey questions; response can be generated by setting v
alues (via a map) in the wrapper before rendering

implemented GEO and ENUMERATION types for Survey Questions; now ANY Geo Group or Enumeration Type can be listed
as survey option lists



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@582539 13f79535-47bb-0310-9956-ffa450edef68
2007-10-06 22:25:35 +00:00
David E. Jones 85613bb07a A couple of fixes/cleanup, and added support for state/province and country fields
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@578754 13f79535-47bb-0310-9956-ffa450edef68
2007-09-24 10:54:59 +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
Andrew Zeneski e63fc39ea4 implemented internal email notifications for service invocations; configure groups for notifications, setup templates, email addresses and assign services to groups (serviceengine.xml) all services belong to the default group, in case you want to monitor all errors, failures and/or success
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@523801 13f79535-47bb-0310-9956-ffa450edef68
2007-03-29 19:12:10 +00:00
Andrew Zeneski 639dc229e7 added style to the submit button
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@523414 13f79535-47bb-0310-9956-ffa450edef68
2007-03-28 17:20:04 +00:00
Andrew Zeneski 5f079c05b7 Big content rendering refactor; condensed methods used for rendering content into one, flagged to cache or not. This will make maintaining this much easier. Implemented new streaming event which will send all type of files not just images (deprecating the img event); added mime-type templates to remove the hard coded templates in DataResourceWorker; now supports additional types besides image/*; updated all code using the old methods; however left them in place (deprecated) until we are sure no BSH files use these old methods
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@513985 13f79535-47bb-0310-9956-ffa450edef68
2007-03-02 22:03:48 +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
Jacopo Cappellato 52bf25a34d License change from MIT to ASL2.0 for the files of the content component.
Thanks to Scott Gray for the patch (Apache OFBIZ-87).

git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@422885 13f79535-47bb-0310-9956-ffa450edef68
2006-07-17 21:29:38 +00:00