Commit Graph
240 Commits
Author SHA1 Message Date
Vikas Mayur c1a6159f64 Removed unnecessary occurrences of <or> tag enclosure in a singleton condition expression. in all of the lookup screens. Also removed few empty new lines.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@930252 13f79535-47bb-0310-9956-ffa450edef68
2010-04-02 12:05:17 +00:00
Erwan de Ferrieres fb5493bbaf Badly formed from-field values (mis-matched curly braces) OFBIZ-3631 (https://issues.apache.org/jira/browse/OFBIZ-3631)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@930202 13f79535-47bb-0310-9956-ffa450edef68
2010-04-02 09:21:53 +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
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
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
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
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
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
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
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
Bruno Busco 97162a6517 Content component
Moved TabBar Menus from the "body" decorator-section to the "pre-body" decorator section.
Fixed a wrong menu location

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@885342 13f79535-47bb-0310-9956-ffa450edef68
2009-11-30 07:26:45 +00:00
Bruno Busco 964588402b Content and Humanres component
Moved TabBar Menus from the "body" decorator-section to the "pre-body" decorator section.
This makes better the rendering of themes such as Dropping Crumbs.

Removed several redundant <section><widget> tags also

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@883769 13f79535-47bb-0310-9956-ffa450edef68
2009-11-24 16:30:31 +00:00
Hans Bakker 96d54615ca removed default-option='contains' because now set from widget.properties which is the current default
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@834379 13f79535-47bb-0310-9956-ffa450edef68
2009-11-10 08:12:45 +00:00
Bilgin Ismet Ibryam 8d98177970 Added missing permission check to an ajax screen.
Removed a wrong parameter name.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@832919 13f79535-47bb-0310-9956-ffa450edef68
2009-11-04 23:54:36 +00:00
Bruno Busco 1e39c7bd92 Part of OFBIZ-3067 - Menus and form widget files location
Content component
Moved menus from webapp to widget folder


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@828872 13f79535-47bb-0310-9956-ffa450edef68
2009-10-22 22:18:00 +00:00
Bruno Busco c30c24b95c Changed <container style="screenlet"> pattern to <screenlet...>.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@826269 13f79535-47bb-0310-9956-ffa450edef68
2009-10-17 15:11:32 +00:00
Bruno Busco 0cc834344c Removed the word "Application" from the Application menu title (OFBIZ-3016)
At this stage I did this for the primary applications only.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@823833 13f79535-47bb-0310-9956-ffa450edef68
2009-10-10 09:27:30 +00:00
Bruno Busco c6aad8c403 Ooops,
Removed a screenlet container that I wrongly left in a previous commit (container to screenlet change)
Thank you Patrick Antivackis for reporting this in ML.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@821907 13f79535-47bb-0310-9956-ffa450edef68
2009-10-05 16:31:14 +00:00
Bruno Busco 19463b758e Fixed markup for correct content list rendering
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@821498 13f79535-47bb-0310-9956-ffa450edef68
2009-10-04 10:19:45 +00:00
Bruno Busco 18e1e159cc Changed back from <screenlet> to <container style="screenlet"...> pattern since the first seems still not usable in multicolum screens :(
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@821280 13f79535-47bb-0310-9956-ffa450edef68
2009-10-03 09:26:23 +00:00
Bruno Busco 122bdc4154 Changed <container style="screenlet"> pattern to <screenlet...>.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@820887 13f79535-47bb-0310-9956-ffa450edef68
2009-10-02 05:20:03 +00:00
Hans Bakker 0b7fe13bb1 On request of adrian, put the VISUAL_THEME default record back in the database, however added the function that values in general properties can override this value. Combined the implementation with the definition of the defaultOrganizationPartyId
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@820178 13f79535-47bb-0310-9956-ffa450edef68
2009-09-30 05:16:17 +00:00
Marco Risaliti 40096417d8 Fix the content decorators and add some labelTitleProperty to various screens
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@816728 13f79535-47bb-0310-9956-ffa450edef68
2009-09-18 17:48:15 +00:00
Jacopo Cappellato b0818f9800 This should fix the issues related to the html editor box.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@816525 13f79535-47bb-0310-9956-ffa450edef68
2009-09-18 08:19:45 +00:00
Jacques Le Roux 0c9df22a34 A patch from Erwan de FERRIERES "still some references to smooth_feather" (https://issues.apache.org/jira/browse/OFBIZ-2952) - OFBIZ-2952
There was still some references to smooth_feather theme. This patch replaced them with a call to bizzness time

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@816125 13f79535-47bb-0310-9956-ffa450edef68
2009-09-17 10:18:55 +00:00
Hans Bakker d34dbebce8 all upload content screens (hopefully we did not forget any) can now also select an existing contentId which can be selected from a navigation tree. Added also the possibility when a file is uploaded to put it at a particular leave in the tree. Programmed by my employee Berm
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@815651 13f79535-47bb-0310-9956-ffa450edef68
2009-09-16 07:48:51 +00:00
Jacques Le Roux b7a941d4f6 Revert r813307 on Adrian's request
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@813893 13f79535-47bb-0310-9956-ffa450edef68
2009-09-11 16:02:01 +00:00
Jacques Le Roux a7430a2fc2 A modified patch from Erwan de FERRIERES '"Automatic" sortable table headers" (https://issues.apache.org/jira/browse/OFBIZ-2921) - OFBIZ-2921
I was planning to wait longer, but I can't wait more. I have added a lot of small trivial changes in this patch and they are blocking me to go further on other issues...

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@813307 13f79535-47bb-0310-9956-ffa450edef68
2009-09-10 08:41:19 +00:00
Scott Gray 12566c26b9 Wherever possible changed ELI queries to limit the result set to the actual rows required of the query, should improve time
and memory performance if a cursor isn't being used on large result sets quite a bit.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@808820 13f79535-47bb-0310-9956-ffa450edef68
2009-08-28 08:58:10 +00:00
Hans Bakker 59040b5ec8 Added the possibility of processing/displaying xml files in the docbook format in verious other formats like html pdf etc. To view the Example document in HTML format go to content -> content -> navigate -> documents -> 'apache ofbiz in html format' The HTML version is working however the pdf version does not work yet. If you want to help, have a look in ModelScreenWidget.java where at the moment the complete processing from xml to pdf is concentrated the problem is the empty pdf output document with the wrong mimetype.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@808744 13f79535-47bb-0310-9956-ffa450edef68
2009-08-28 03:40:33 +00:00
Hans Bakker d34ad96ab6 extended the help template, moved help xmlfiles for easy editing into the file system, started to look at docbook for ofbiz documents
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@805338 13f79535-47bb-0310-9956-ffa450edef68
2009-08-18 10:01:45 +00:00
Hans Bakker 10c481f5db added order directives to dropdowns
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@804913 13f79535-47bb-0310-9956-ffa450edef68
2009-08-17 09:54:19 +00:00
Hans Bakker 966b32d5af The 'new' help system
A new help system is implemented which is compatible with the current system which uses the ofboz.docs.org site to store the data.

The new help system has a number of advantages over the old version:
1. complete multilanguage without config xml files, using the locale.
2. Having an automatic multilevel index of all help pages using the ContentAssoc entity
3. Using the content manager for retrieval.
4. Template driven, aware of the different visual themes.
5. A first step towards the storage of OFBiz documentation within the OFBiz system itself.
6. Easy update via normal svn in seed data.
7. Aware of portlets on (userdefined) Portal pages.
8. Create awareness of the capabilities of the content component

The reason of this development was the requirement to provide user documents to the customers of Antwebsystems Co.Ltd

Some of the possible extensions could be:
1. a search function
2. print all or specific help files in PDF format
3. make the help screens work better with the business theme
4. Explain how help can be extended
5. In the help screen be able to send a message to the local support team
6. But most of all, create more help content!


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@804546 13f79535-47bb-0310-9956-ffa450edef68
2009-08-16 02:04:17 +00:00
Jacopo Cappellato 3143a3e27a The upload screen is now available to other binary data resource types, not only images. Tested also with PDF.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@801590 13f79535-47bb-0310-9956-ffa450edef68
2009-08-06 10:21:21 +00:00
Jacopo Cappellato 4dfc58d3b3 Added download link for binary data resources.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@801584 13f79535-47bb-0310-9956-ffa450edef68
2009-08-06 09:49:43 +00:00
Scott Gray ac08f09f2d In ListLookupContent disable the on-event-update-area element inherited from ListContent, completes OFBIZ-2661
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@791111 13f79535-47bb-0310-9956-ffa450edef68
2009-07-04 12:17:43 +00:00
Jacopo Cappellato 05261bc552 Fix to make the "Clone Layout" button to work again after recent security refactoring.
NB: the error was caused by the wrong way in which the link with parameters (that are now rendered as forms to post the parameters in a secure way) was implemented in the content application: it was a field of a form causing a nested <form> element in html. Unfortunately this pattern is used in other screens in the content application and sooner or later we will have to fix them in a similar way.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@783000 13f79535-47bb-0310-9956-ffa450edef68
2009-06-09 13:52:30 +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 999bd7c577 Fix following Chris Howe's message in dev ML
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@764195 13f79535-47bb-0310-9956-ffa450edef68
2009-04-11 13:00:24 +00:00
Jacques Le Roux c1e68e9eda A patch from Divesh Dutta "Some errors and bugs coming on console" https://issues.apache.org/jira/browse/OFBIZ-2280
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@763195 13f79535-47bb-0310-9956-ffa450edef68
2009-04-08 11:48:42 +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
Jacques Le Roux 32afd66679 I'm a bit fussy about details, but this has already proven to be useful, weird formating never...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@762853 13f79535-47bb-0310-9956-ffa450edef68
2009-04-07 17:03:35 +00:00
Vikas Mayur 82578372ef Fixed error in accessing Label Manager as elements in menu file were not placed correctly.
Applied patch from jira issue OFBIZ-2277 (https://issues.apache.org/jira/browse/OFBIZ-2277)
Thanks Arun Patidar for reporting and Divesh Dutta for the fix.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@762790 13f79535-47bb-0310-9956-ffa450edef68
2009-04-07 14:27:31 +00:00
Jacques Le Roux a5042291f7 1st part of an effort to remove trailing spaces
" +/> => "/>
Should be easier when dealing with Eclipse S/R regexp

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@762648 13f79535-47bb-0310-9956-ffa450edef68
2009-04-07 08:27:15 +00:00
Jacques Le Roux 76f5ca6638 Secure URLs, we don't need to duplicate in from-field when param-name is the same
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@762215 13f79535-47bb-0310-9956-ffa450edef68
2009-04-06 06:25:24 +00:00
Jacques Le Roux 1387b36824 Securing URLs : last non regular formattings
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@762097 13f79535-47bb-0310-9956-ffa450edef68
2009-04-05 14:46:47 +00:00
Jacques Le Roux 9fe85c7878 Securing URLs, link element in screens and menus : 32th set + tabs to 4 spaces
Begin to end with non regular formattings

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@762010 13f79535-47bb-0310-9956-ffa450edef68
2009-04-04 21:06:20 +00:00