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
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