Commit Graph
12 Commits
Author SHA1 Message Date
Adrian Crum 1a4496c172 Some work on the screen widgets:
1. Added renderScreenBegin and renderScreenEnd methods to ScreenStringRenderer.java.
2. Updated HtmlScreenRenderer.java and MacroScreenRenderer.java to emit the <DOCTYPE> element first - before any widget comments or template content.
3. Removed <DOCTYPE> elements from templates that no longer need them.
4. Added screen and section boundary comments to MacroScreenRenderer.java.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@767996 13f79535-47bb-0310-9956-ffa450edef68
2009-04-23 17:54:30 +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
David E. Jones a0d0a10ebc Resolved some more problems with the general html encoding, most of which are from funny code that should be cleaned up anyway so haven't run into any dilemmas so far; still looking though so could happen
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@742053 13f79535-47bb-0310-9956-ffa450edef68
2009-02-08 11:08:32 +00:00
Adrian Crum 1f1f2552c1 A basic implementation of a help system, based on work contributed by Bruno Busco - https://issues.apache.org/jira/browse/OFBIZ-1750.
There is an example of how it is used in the EditExample screen of the Example component.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@663378 13f79535-47bb-0310-9956-ffa450edef68
2008-06-04 21:49:38 +00:00
Jacopo Cappellato 15d63246d6 Added support for xsl-fo and xml templates to the platform-specific screen widget element. Now it is possible to define the same screen that can be rendered with different renderers. An example of this is the SimpleDecorator that is now used to render simple PDF report (xsl-fo), xml export and printer friendly html output. You can test it in the Edit Example screen (and some other screens as well): the PDF and Printer Friendly links in that page both share the same screen definition. Misc fixes to the widget FO and XML renderers, for issues found while testing.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@659935 13f79535-47bb-0310-9956-ffa450edef68
2008-05-25 08:00:10 +00:00
Jacopo Cappellato e98a175f77 Applied patch from Adrian Crum to enhance support for RTL languages: if the user has selected an rtl language, then the rtl style sheet will be cascaded. OFBIZ-998
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@585398 13f79535-47bb-0310-9956-ffa450edef68
2007-10-17 06:46:56 +00:00
Jacopo Cappellato 9b5204a797 Applied patch by Adrian Crum (OFBIZ-1129) to Add Shortcut Icon To The Simple Screen Decorator.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@553745 13f79535-47bb-0310-9956-ffa450edef68
2007-07-06 06:02:52 +00:00
Jacopo Cappellato dee12d81a6 Applied patch from Adrian Crum (OFBIZ-892) to refactor UI elements in the Common component.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@528925 13f79535-47bb-0310-9956-ffa450edef68
2007-04-15 04:26:12 +00:00
Jacopo Cappellato ca06b5e806 Applied patch from Adrian Crum (OFBIZ-740) to parametrize javascripts files in simple global template.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@509749 13f79535-47bb-0310-9956-ffa450edef68
2007-02-20 20:56:53 +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
David E. Jones f76433fd62 Applied patch from Adrian Crum in Jira #OFBIZ-605 to combine the maincss.css and tabstyles.css files; part of a larger effort to clean up the css and related style/formatting stuff in the OFBiz HTML
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@497718 13f79535-47bb-0310-9956-ffa450edef68
2007-01-19 06:56:36 +00:00
Jacopo Cappellato f4264ff60e Simple global decorator for printer friendly screens (no logo and no application bar, header and footer).
A print button is also available at the top of the screen.


git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@429344 13f79535-47bb-0310-9956-ffa450edef68
2006-08-07 14:06:57 +00:00