Commit Graph
1959 Commits
Author SHA1 Message Date
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
Scott Gray c1c1bc92a2 Fix copy/paste bug, create service for SurveyTrigger was trying to create a SurveyQuestionType record
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@928970 13f79535-47bb-0310-9956-ffa450edef68
2010-03-30 04:03:28 +00:00
Ashish Vijaywargiya 2127f39c02 Corrected the condition.
Thanks Arun!

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@927739 13f79535-47bb-0310-9956-ffa450edef68
2010-03-26 09:04:06 +00:00
Ashish Vijaywargiya f323ee4dc3 Fixed two issues:
1) Wrong variable name used. "surveyResponse" should be used instead of "lookupRespMap".
2) Service should allow to update survey response when allowMultiple is set to "N" and allowUpdate="Y". Fixed this issue.

Thanks Arun!

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@927049 13f79535-47bb-0310-9956-ffa450edef68
2010-03-24 13:23:53 +00:00
Scott Gray edd1849adb Have the cms event use the current request's overrideViewUri (_CURRENT_CHAIN_VIEW_) if present instead of request.getPathInfo(), this allows you to go through a chain of requests before pushing back into cms.
So you can now have a request response push back to cms with something like this:
<response name="success" type="request" value="cms/contentId/mapKey"/>
basically anything that would have worked in the URL will work here, except for relying on the default-request mapping which chained requests ignore, so you have to prefix with cms/ (or whatever your cms uri is)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@926418 13f79535-47bb-0310-9956-ffa450edef68
2010-03-23 00:47:51 +00:00
Scott Gray 11576a1b0f Add some more cache usage when verifying the content to be rendered.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@926390 13f79535-47bb-0310-9956-ffa450edef68
2010-03-22 23:11:24 +00:00
Scott Gray 4219c2781f Use String.valueOf(int) instead of "" + int
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@926387 13f79535-47bb-0310-9956-ffa450edef68
2010-03-22 23:11:15 +00:00
Bruno Busco b0069a29ab Added a new "Show Content" Portlet.
This allows to show a content element in a portalPage.
A further improvement of this portlet will be to allow a content element list to be shown given the element's father.
Having the application's main page replaced with a portalPage will allow the user to edit this page using the CMS.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@926340 13f79535-47bb-0310-9956-ffa450edef68
2010-03-22 21:16:45 +00:00
Scott Gray 29c75f6fe2 Rename hasContent variable to hadContent which better reflects what it actually means.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@926201 13f79535-47bb-0310-9956-ffa450edef68
2010-03-22 17:15:16 +00:00
Scott Gray 53e42796c0 Remove pathInfo.indexOf(/) and just do the split regardless, the end result is the same.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@926200 13f79535-47bb-0310-9956-ffa450edef68
2010-03-22 17:15:12 +00:00
Scott Gray 6d6699a458 Remove unnecessary null and length check after a string.split(String) call that always returns at least an array of length 1
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@926199 13f79535-47bb-0310-9956-ffa450edef68
2010-03-22 17:15:07 +00:00
Scott Gray 3008619787 Use the cache when looking for a default content record
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@926198 13f79535-47bb-0310-9956-ffa450edef68
2010-03-22 17:15:02 +00:00
Scott Gray f33c311218 Fix null checks, pathInfo may be null but pathParsed won't be.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@926197 13f79535-47bb-0310-9956-ffa450edef68
2010-03-22 17:14:58 +00:00
Scott Gray 7703b69d73 Remove some commented code, keeping it around serves no purpose.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@926176 13f79535-47bb-0310-9956-ffa450edef68
2010-03-22 16:45:51 +00:00
Scott Gray 23508aa989 Access static fields of HttpServletResponse directly
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@926175 13f79535-47bb-0310-9956-ffa450edef68
2010-03-22 16:45:46 +00:00
Scott Gray 6d4fe06c5c Formatting tidy up, mostly adding missing spaces. No functional changes.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@926174 13f79535-47bb-0310-9956-ffa450edef68
2010-03-22 16:45:42 +00:00
Scott Gray c75bda5d7a OrderHeader isn't cached so there's no point in trying to do lookups via the cache
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@924575 13f79535-47bb-0310-9956-ffa450edef68
2010-03-18 00:56:54 +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 e185456966 I stumbled upon this while testing the layered lookups (there are no HelpScreens.xml in commonext/widget/ but in common/widget/).
Not sure it fix anything but at least it does not refer anymore to something that does not exist.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@918697 13f79535-47bb-0310-9956-ffa450edef68
2010-03-03 21:21:39 +00:00
Adam Heath f1c942842f Remove hard-coded BIZZNESS_TIME theme settings, so the default in
general.properties gets used.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@915651 13f79535-47bb-0310-9956-ffa450edef68
2010-02-24 03:32:26 +00:00
Scott Gray a830f3f436 Removed all uses of deprecated method ModelEntity.getField(int)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@912243 13f79535-47bb-0310-9956-ffa450edef68
2010-02-20 22:53:09 +00:00
Scott Gray cc9f9c40fc Applied patch from Vivek Mishra, alters the recently added ContentAssocAndContentPurpose view entity to remove the warning at startup regarding a duplicated field alias name. Explicity defines the fields required rather than including all fields from both entities.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@912081 13f79535-47bb-0310-9956-ffa450edef68
2010-02-20 06:59:27 +00:00
Ashish Vijaywargiya 62a47436c3 Applied patch from jira issue - OFBIZ-3487 - Improvement on CMS component.
1.  Adding sequenceNum field on ContentPurpose entity.
2. Adding ContentAssocAndContentPurpose view entity.
3. Fixed NPE issue on WebSiteCMSContent.ftl file.
4. Created ContentPurposeType data for "LANDING_PAGE_IMAGE".

Thanks Amit & Vivek for the contribution

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@911774 13f79535-47bb-0310-9956-ffa450edef68
2010-02-19 10:27:10 +00:00
Bilgin Ismet Ibryam fae378c0ce Added possibility to upload files and assign contents to facilities.
Created FacilityContent entity and FacilityContentDetail view entity. Added screen and forms in facility application for content upload and deletion.

Added a generic event in content application for file upload and content association which is used in facility application. The same event can be used in content creation processes in order manager and project manager applications in order to remove duplicating code.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@908602 13f79535-47bb-0310-9956-ffa450edef68
2010-02-10 17:52:50 +00:00
Bruno Busco d46461ef36 Merged multiple labels in one
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@904735 13f79535-47bb-0310-9956-ffa450edef68
2010-01-30 08:49:59 +00:00
Adam Heath 93d0182f49 Make all variables in ControllerConfig private, and add accessor
functions to them.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@904250 13f79535-47bb-0310-9956-ffa450edef68
2010-01-28 20:10:51 +00:00
Ashish Vijaywargiya e0dd935336 Avoid NPE.
Patch from Vivek.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@902752 13f79535-47bb-0310-9956-ffa450edef68
2010-01-25 09:40:15 +00:00
Bruno Busco b90e0394df Added several "button-bar" wrapping divs to have button bars rendered consistently.
Added several "create" class styles for create/new buttons.
All this will be used in a new theme me and Erik Schuessler are working on...


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@902175 13f79535-47bb-0310-9956-ffa450edef68
2010-01-22 17:00:55 +00:00
Bruno Busco 11c1256111 Added a "create" class to the buttontext for buttons that represents "Create New" operations.
This allows themes to style these buttons with additional "+" icons or whatever.
The idea is to add a "functional" class wherever needed so that the button-bar can be styled better by the theme.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@899899 13f79535-47bb-0310-9956-ffa450edef68
2010-01-16 08:19:35 +00:00
Adam Heath b17eb127ec Fix trailing whitespace, and mixed tab/space at the beginning of lines.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@899812 13f79535-47bb-0310-9956-ffa450edef68
2010-01-15 21:00:23 +00:00
Erwan de Ferrieres b451df6283 Corrections on french characters which wasn't well displayed
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@898283 13f79535-47bb-0310-9956-ffa450edef68
2010-01-12 11:31:50 +00:00
Bruno Busco 5430d8ed95 Moved TabBar Menus from the "body" decorator-section to the "pre-body" decorator section.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@897674 13f79535-47bb-0310-9956-ffa450edef68
2010-01-10 18:12:24 +00:00
Erwan de Ferrieres 594a20df32 Corrected XML end of lines (/>/> to />)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@897480 13f79535-47bb-0310-9956-ffa450edef68
2010-01-09 16:04:03 +00:00
Adam Heath 2eb8a5bdb5 Fix several 'no newline at end of file' warnings.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@897033 13f79535-47bb-0310-9956-ffa450edef68
2010-01-07 22:17:56 +00:00
Jacques Le Roux dae61fc2e3 Correct the comment, there are no CommunicationEventContent but CommEventContentAssoc
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@896862 13f79535-47bb-0310-9956-ffa450edef68
2010-01-07 12:40:37 +00:00
Jacques Le Roux b502dfcfa4 Typo in comment
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@896859 13f79535-47bb-0310-9956-ffa450edef68
2010-01-07 12:21:32 +00:00
Adam Heath 18d0ceeaf9 Remove most docs targets, they are all the same anyways.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@894031 13f79535-47bb-0310-9956-ffa450edef68
2009-12-26 22:28:48 +00:00
Adam Heath 56dac0bf9e Add a classes target to common.xml, and switch most build.xml to use it.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@894024 13f79535-47bb-0310-9956-ffa450edef68
2009-12-26 22:16:56 +00:00
Adam Heath 47b0a876ed Switch all javac15 to javac16.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@894022 13f79535-47bb-0310-9956-ffa450edef68
2009-12-26 22:12:04 +00:00
Scott Gray 78b784e80e Convert all uses of json event types to chained requests with the common json event at the end.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@892219 13f79535-47bb-0310-9956-ffa450edef68
2009-12-18 10:55:34 +00:00
Marco Risaliti 3426d6f83e Dutch ContentUiLabels patch (OFBIZ-3356)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@891433 13f79535-47bb-0310-9956-ffa450edef68
2009-12-16 21:35:08 +00:00
Marco Risaliti d3c28b6b72 Commented some unused requests
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@891018 13f79535-47bb-0310-9956-ffa450edef68
2009-12-15 21:51:44 +00:00
Hans Bakker dfaf58c0ff correct some content blog errors
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@890253 13f79535-47bb-0310-9956-ffa450edef68
2009-12-14 09:51:41 +00:00
Hans Bakker f9e1b11bde Merge birt branch 831204:886087 and 831209:885099. A contribution by Antwebsystems employee Chattree
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@890175 13f79535-47bb-0310-9956-ffa450edef68
2009-12-14 04:41:28 +00:00
Ashish Vijaywargiya 0507a954f6 Part of OFBIZ-3320 - Now you will see "Find" button on Lookup forms.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@889088 13f79535-47bb-0310-9956-ffa450edef68
2009-12-10 04:50:29 +00:00
Ashish Vijaywargiya 88a092d2f9 Applied patch from jira issue OFBIZ-3320 - improvement in Find screen.
Fix title of buttons to Find, for all the find screens to maintain consistency. 

Thanks Chandan for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@889084 13f79535-47bb-0310-9956-ffa450edef68
2009-12-10 04:29:19 +00:00
Scott Gray 84445caafe Fix typo
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@889043 13f79535-47bb-0310-9956-ffa450edef68
2009-12-10 01:02:37 +00:00
Scott Gray ced8fd1a54 Reverted previous temporary security fix for request parameters being directly inserted into survey forms and changed all SurveyWrapper instances using this method to instead store the parameter map in the session temporarily.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@889040 13f79535-47bb-0310-9956-ffa450edef68
2009-12-10 00:53:47 +00:00
Scott Gray bcaacf4fd1 Added new class SurveyEvents and event method that wraps a createSurveyResponse service call and additionally restores a previously stored request parameter map
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@889039 13f79535-47bb-0310-9956-ffa450edef68
2009-12-10 00:52:53 +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