Bilgin Ismet Ibryam
108bcc056e
Fixed rendering of image elements inside link elements.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@835081 13f79535-47bb-0310-9956-ffa450edef68
2009-11-11 21:38:16 +00:00
Anil Patel
ca9ba906dd
use has_content to check if text parameter has any value
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@834748 13f79535-47bb-0310-9956-ffa450edef68
2009-11-11 03:13:35 +00:00
Adrian Crum
6281f15b38
Improved screenlet-body handling, patch from Bruno Busco - https://issues.apache.org/jira/browse/OFBIZ-3012 .
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@826469 13f79535-47bb-0310-9956-ffa450edef68
2009-10-18 17:09:37 +00:00
Scott Gray
d243d7a1fe
More xhtml validation: onSubmit -> onsubmit
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@816859 13f79535-47bb-0310-9956-ffa450edef68
2009-09-19 06:33:42 +00:00
Anil Patel
e24a90645f
Oops, had little mistake in markup ending tags.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@814262 13f79535-47bb-0310-9956-ffa450edef68
2009-09-13 02:54:13 +00:00
Anil Patel
64c906feda
Using style attribute value to determine appropriate html element and render it. Idea is to render better markup.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@814260 13f79535-47bb-0310-9956-ffa450edef68
2009-09-13 02:03:46 +00:00
Jacques Le Roux
257a5b4d59
A replacing patch from Scott 'error to parse menu with " on screelet header' ( https://issues.apache.org/jira/browse/OFBIZ-2873 ) - OFBIZ-2873
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@812540 13f79535-47bb-0310-9956-ffa450edef68
2009-09-08 15:02:16 +00:00
Jacques Le Roux
f2016738d1
A patch from Nicolas Malin 'error whan parsing menu with " on screelet header' ( https://issues.apache.org/jira/browse/OFBIZ-2873 ) - OFBIZ-2873
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@810807 13f79535-47bb-0310-9956-ffa450edef68
2009-09-03 08:22:49 +00:00
Jacopo Cappellato
dcdffcc54e
Added missing arguments to widget renderer macro; thanks to Marco Risaliti for the fix.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@785509 13f79535-47bb-0310-9956-ffa450edef68
2009-06-17 08:43:28 +00:00
Scott Gray
d3bb5b5eb1
Fixed issue reported by Sascha Rodekamp on the user mailing list
...
enableEditValue was being treated like a boolean but was actually a String
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@770501 13f79535-47bb-0310-9956-ffa450edef68
2009-05-01 00:36:32 +00:00
Jacques Le Roux
ae10eaaed3
Fix a bug (seems a typo), see dev ML for more
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@768490 13f79535-47bb-0310-9956-ffa450edef68
2009-04-25 07:34:36 +00:00
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
Jacopo Cappellato
914bff7d5c
A series of fixes to the new macro widget renderers to better support nested calls to rendering methods; misc fixes to the screenlet pagination code for html. Part of issue OFBIZ-2337
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@767455 13f79535-47bb-0310-9956-ffa450edef68
2009-04-22 10:32:57 +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
Jacopo Cappellato
559e380427
Applied patch (with minor modifications) from Guo Weizhan for OFBIZ-1235 (new widget renderes based on Freemarker macros): note this is still a work in progress.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@759086 13f79535-47bb-0310-9956-ffa450edef68
2009-03-27 10:11:46 +00:00
Jacopo Cappellato
ceb610498a
This is a work in progress for a refactoring of the various screen and form widget renderers; the new renderer will create output by calling Fremarker macros defined in external (configurable) files; the work is still not complete, and for this reason it is not enabled yet. Part of task OFBIZ-1235
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@756369 13f79535-47bb-0310-9956-ffa450edef68
2009-03-20 08:21:11 +00:00