Commit Graph
14 Commits
Author SHA1 Message Date
Jacopo Cappellato 5b104d9938 Updated signature for renderSubmitField macro for text, xml, fo, csv
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@885252 13f79535-47bb-0310-9956-ffa450edef68
2009-11-29 18:15:18 +00:00
Jacopo Cappellato 0a94eb4edc Added missing macro renderer parameters. Thanks to Mridul Pathak for the (slightly modified) patch. OFBIZ-3147
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@833094 13f79535-47bb-0310-9956-ffa450edef68
2009-11-05 17:32:49 +00:00
Jacopo Cappellato b46bc41636 Added missing input parameters for widget renderer macros.
Fixed the xsl-fo code to display the text of an hyperlink field.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@833077 13f79535-47bb-0310-9956-ffa450edef68
2009-11-05 16:44:46 +00:00
Jacopo Cappellato d797f8fb8d Fixed issues with new renderers when a link was inserted in the form title. Thanks to Divesh Dutta for the bug report and partial fix.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@792470 13f79535-47bb-0310-9956-ffa450edef68
2009-07-09 09:20:07 +00:00
Jacopo Cappellato b2eb5fc5b1 Misc fixes for the text macro renderer's templates.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@791442 13f79535-47bb-0310-9956-ffa450edef68
2009-07-06 11:25:49 +00:00
Jacopo Cappellato 266bbababb Misc fixes for the templates of the text widget macro widget renderer. Thanks to Rishi Solanki for the bug report.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@790894 13f79535-47bb-0310-9956-ffa450edef68
2009-07-03 13:04:49 +00:00
Jacopo Cappellato 2d2e4870bf Migrated code, and adjusted to work with the new macro renderers, that implements the in-place editor for display fields.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@770243 13f79535-47bb-0310-9956-ffa450edef68
2009-04-30 14:32:45 +00:00
Jacopo Cappellato eb559a9539 Misc fixes to the macro renderers for widgets, including the fix (by encoding descriptions for the Uom) for the error reported by Ashish in OFBIZ-2337.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@767496 13f79535-47bb-0310-9956-ffa450edef68
2009-04-22 12:46:51 +00:00
Jacopo Cappellato af876f1aa0 Migrated to the form widget macro renderer the code that adds ajax support to submit buttons.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@765674 13f79535-47bb-0310-9956-ffa450edef68
2009-04-16 16:11:53 +00:00
Jacopo Cappellato 711a3b619d Mostly completed the implementation of widget macro renderers for xml and text output.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@763520 13f79535-47bb-0310-9956-ffa450edef68
2009-04-09 06:01:21 +00:00
Jacopo Cappellato a02c3abaa8 A bunch of fixes and enhancements to the new widget renderers based on Freemarker macros.
Converted to new technology the xsl-fo renderer and view handler.
Better handling of platform dependent templates included in screens: the proper one is now choosen according to the name of the renderer; the name is returned by a new method of the widget renderer interface.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@763511 13f79535-47bb-0310-9956-ffa450edef68
2009-04-09 04:14:38 +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 0c987ea969 Applied patch (second part of jis work) 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@759871 13f79535-47bb-0310-9956-ffa450edef68
2009-03-30 08:32:37 +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