Jacques Le Roux
e50ad56bb9
Improved: Adds the HTML <input> accept Attribute in form widgets and Freemaker templates (OFBIZ-12049)
...
As explained at
https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/accept
this is only an help for the users (ie not a security feature), but an
appreciable one easy to implement.
Here we start with website/WebSiteCMSContent.ftl
Also add some missing file extensions
2020-12-07 18:34:45 +01:00
Michael Brohl
b318f00d05
Fixed: CMS add content not working.
...
(OFBIZ-10833)
This fixes the mission content association and wrong update of the
parent content reported by Ingo Wolfmayr. Thanks Sebastian Berg for
providing the patch.
2020-02-18 21:29:26 +01:00
Jacques Le Roux
784a9a6d64
"Applied fix from trunk for revision: 1821115 "
...
------------------------------------------------------------------------
r1821115 | jleroux | 2018-01-14 19:43:49 +0100 (dim., 14 janv. 2018) | 16 lines
Fixed: Error on updating sub content of CMS webSIte
(OFBIZ-10096)
Steps to reproduce:
Get to
https://demo-trunk.ofbiz.apache.org/content/control/WebSiteCms?webSiteId=CmsSite
4. From WebSIteNav, click on Cms Site Demo Home page
Edit content in editor and click save button (available in editor)
It gives error:
The Following Errors Occurred:
The following required parameter is missing:
[IN] [updateContentAssoc.contentIdTo]
jleroux: the elrte internal button works but not the widget Save button
Thanks: Aditya
------------------------------------------------------------------------
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/branches/release17.12@1821116 13f79535-47bb-0310-9956-ffa450edef68
2018-01-14 18:44:38 +00:00
Deepak Dixit
7e19de9966
Improved: Replace all delegator findByAnd and findOne method calling by EntityQuery methods (OFBIZ-10029)
...
Applied slightly modified patch, rearrange import properly,
Thanks Suraj Khurana for your contribution
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1818003 13f79535-47bb-0310-9956-ffa450edef68
2017-12-13 12:03:17 +00:00
Deepak Dixit
63258e90f8
Reverted r#1817989, workign fine locally, reverted for now will check and commit again
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817998 13f79535-47bb-0310-9956-ffa450edef68
2017-12-13 10:42:32 +00:00
Deepak Dixit
d1f85a7e5d
Improved: Replace all delegator findByAnd and findOne method calling by EntityQuery methods (OFBIZ-10029)
...
Applied slightly modified patch, rearrange import properly,
Thanks Suraj Khurana for your contribution
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817989 13f79535-47bb-0310-9956-ffa450edef68
2017-12-13 09:21:33 +00:00
Deepak Dixit
c559bc00c8
Fixed: Corrected elseif tag closing in GenericSurvey.ftl file found this while working on OFBIZ-9254
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1812287 13f79535-47bb-0310-9956-ffa450edef68
2017-10-16 11:56:21 +00:00
Deepak Dixit
d310aaf2cd
Improved: Inconsistent String Comparisons, Applied patch for ftl file.
...
Thanks Devanshu Vyas for your contribution. (OFBIZ-9254)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1812285 13f79535-47bb-0310-9956-ffa450edef68
2017-10-16 11:31:40 +00:00
Jacques Le Roux
2382cd9cbd
No functional change, these files were missing the ASL2 header
...
I stop here, please help at https://ci.apache.org/projects/ofbiz/rat-output.html
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1812225 13f79535-47bb-0310-9956-ffa450edef68
2017-10-15 17:40:59 +00:00
Deepak Dixit
88493836bc
Improved: Moved jquery related js/plugins from images to common-theme webapp and made changes accordinlgy. (OFBIZ-5776)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1809389 13f79535-47bb-0310-9956-ffa450edef68
2017-09-23 10:41:28 +00:00
Deepak Dixit
dea31737ea
Fixed: Moved SurveyOptions.ftl in correct location.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1801364 13f79535-47bb-0310-9956-ffa450edef68
2017-07-09 10:03:41 +00:00
Arun Patidar
44c0caa799
Improved: Set autocomplete to off for all the password fields.(OFBIZ-9471)
...
Thanks Ritesh Kumar for your contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1801324 13f79535-47bb-0310-9956-ffa450edef68
2017-07-08 21:07:51 +00:00
Hans Bakker
3c15931494
missing </div> and reduce length of lines
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1774853 13f79535-47bb-0310-9956-ffa450edef68
2016-12-18 07:01:48 +00:00
Jacques Le Roux
a4cd270ca4
Fixed: You cannot edit an image in content
...
(OFBIZ-7000)
If you get to
content/control/EditLayout?drDataResourceId=NOCONTENTFOUND&contentId=NOCONTENTFOUND
When trying to editing you get an error
Mohammed Rehan Khan explored the issue and found that there is a condition in
DataResourceWorker method to render content of 'text' mime type only, for others
it returns exception.
We can fix this by setting up mimeTypeID as null in request param
Question: Why setting up mimeTypeTypeId as 'null' is fixing this issue?
Answer: As we don't have image specific worker method for rendering these type
of contents, so we are using DataResourceWorker.renderDataResourceAsText()
to render image type content as well. Due to following condition,
targetMimeTypeId is setting up as "text/html" if sent null and hence not
throwing the exception reported in the ticket.
Thanks: Mohammed Rehan Khan for the patch
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1765094 13f79535-47bb-0310-9956-ffa450edef68
2016-10-15 17:12:28 +00:00
Ashish Vijaywargiya
98af5e29e5
Applied patch from jira issue - OFBIZ-7872 - Clean up commented out code in Free Marker Template for Content.
...
Thanks Aman for the contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1758037 13f79535-47bb-0310-9956-ffa450edef68
2016-08-27 14:02:30 +00:00
Deepak Dixit
834691742b
(OFBIZ-6274) Renamed OFBiz artefacts from org.ofbiz.* to org.apache.ofbiz.*.Thanks to Taher for working on it.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1752920 13f79535-47bb-0310-9956-ffa450edef68
2016-07-16 10:30:49 +00:00
Ashish Vijaywargiya
86ec0749b9
Applied patch from jira issue - OFBIZ-6214 - Have overview of questions in EditSurveyQuestions.ftl paginate properly.
...
Thanks Pierre for creating the issue and thanks Yashwant for providing the patch.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1751483 13f79535-47bb-0310-9956-ffa450edef68
2016-07-05 14:07:47 +00:00
Divesh Dutta
dd1e7ee3d3
[OFBIZ-7578] Content component: Checkbox and Radio buttons should get selected on clicking upon their labels. Thanks Mohammad Kathawala for your patch
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1751341 13f79535-47bb-0310-9956-ffa450edef68
2016-07-04 16:46:51 +00:00
Ashish Vijaywargiya
2e30592be6
Applied patch from jira issue OFBIZ-7565 - Remove HtmlFormWrapper dependencies from Survey Question Screen.
...
Thanks Ravi for the contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1750306 13f79535-47bb-0310-9956-ffa450edef68
2016-06-27 08:14:21 +00:00
Ashish Vijaywargiya
2672c0d915
Applied patch from jira issue OFBIZ-7527 - Questions from category should not come to apply on survey when creating/editing any question.
...
Thanks Ravi for the contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1749845 13f79535-47bb-0310-9956-ffa450edef68
2016-06-23 06:45:28 +00:00
Pranay Pandey
90850d787f
[OFBIZ-7154] UI improvement, made question field read-only as not being edited with SurveyQuestionAppl and corrected button labels for Survey Question Create/Update form.
...
Thanks Swapnil M Mane for reporting the issue, thanks Vaibhav Jain for providing the patch.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1746779 13f79535-47bb-0310-9956-ffa450edef68
2016-06-04 05:48:55 +00:00
Deepak Dixit
09ca38b7f6
(OFBIZ-7164) Fix typo in freemarker else tag.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1746691 13f79535-47bb-0310-9956-ffa450edef68
2016-06-03 08:59:56 +00:00
Jacques Le Roux
be402d8a4e
A patch from Ingo Wolfmayr for "CMS does not store "Long text"" https://issues.apache.org/jira/browse/OFBIZ-7050
...
When you create content via CMS
(Content --> Websites --> [Select Website for example WebStore] --> CMS )
the text content does not get stored. No error message available.
TextData was not submitted. Additionally I corrected a Javascript call as the used function signature does not exist.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1743100 13f79535-47bb-0310-9956-ffa450edef68
2016-05-10 05:51:38 +00:00
Deepak Dixit
9f279ed58b
(OFBIZ-7043) Remove commented code labeled as "TO BE REMOVED" since 2008.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1742503 13f79535-47bb-0310-9956-ffa450edef68
2016-05-06 06:48:38 +00:00
Deepak Dixit
84ad66589e
(OFBIZ-7021) Renamed content component ftl file name from lower case to upper case pattern.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1742457 13f79535-47bb-0310-9956-ffa450edef68
2016-05-05 18:11:54 +00:00
Deepak Dixit
cee0263cef
(OFBIZ-6815) relocate .ftl files in the content component
...
Thanks Pierre for your contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1740446 13f79535-47bb-0310-9956-ffa450edef68
2016-04-22 06:12:08 +00:00
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