Commit Graph
985 Commits
Author SHA1 Message Date
Jacques Le Roux 1956e731a3 No functional changes, only formatting.
While looking for other cases like r1459222 and r1509164 introduced by r1300812 and r1305309. I noticed there were a lot of wrong for loops formatting (miss a white space after for), this changes it

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1511742 13f79535-47bb-0310-9956-ffa450edef68
2013-08-08 12:28:01 +00:00
Jacques Le Roux 89c5b3e373 A patch from Leon for "slight patch to "other-field-size" of drop-down form element"" https://issues.apache.org/jira/browse/OFBIZ-5285
"other-field-size" of drop-down form element is a very nice feature, but it's crippled in current version.
attached a patch to make it works and added an example section for that into FormWidgetExample.

jleroux: Interesting, I did not know this feature existed, it was committed long ago by David (before ASF era) 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1511279 13f79535-47bb-0310-9956-ffa450edef68
2013-08-07 12:24:10 +00:00
Jacques Le Roux 26e2c7744a A slightly modified patch from Niclas Malin for "New elements auto-parameters-[entity/service] for link/hyperlink" https://issues.apache.org/jira/browse/OFBIZ-4472
When you want edit/remove an entity from link call it's needed to give all pk on parameter element as like :
{quote}         <field name="deleteLink">
            <hyperlink target="example_deleteExampleFeatureAppl">
                <parameter param-name="exampleId"/>
                <parameter param-name="exampleFeatureId"/>
                <parameter param-name="fromDate"/>
            <hyperlink/>
         </field>
{quote}

To simplify, I introduce auto-parameters-entity like this :
{quote}
         <field name="deleteLink">
            <hyperlink target="example_deleteExampleFeatureAppl">
                <auto-parameters-entity entity-name="ExampleFeatureAppl"/>
            <hyperlink/>
         </field>
{quote}
or 
{quote}
         <form name="ListExampleFeatureAppls" type="list" default-entity-name="ExampleFeatureAppl">
         <field name="deleteLink">
            <hyperlink target="example_deleteExampleFeatureAppl">
                <auto-parameters-entity/>
            <hyperlink/>
         </field>
{quote}
This method is inspired from auto-fields-entity and I homogenized on widget renderer screen (link), menu (link) and form (hyperlink, sub-link)

jleroux: I simply put returns in case of no dispatcher or delegator



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1506835 13f79535-47bb-0310-9956-ffa450edef68
2013-07-25 07:52:45 +00:00
Vikas Mayur 2d6b821a45 Removed redundant comment.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1504500 13f79535-47bb-0310-9956-ffa450edef68
2013-07-18 15:39:38 +00:00
Jacques Le Roux 1922c31b56 A patch from Petr Pytelka for "Czech localization (conditional.xml)" https://issues.apache.org/jira/browse/OFBIZ-5247
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1497341 13f79535-47bb-0310-9956-ffa450edef68
2013-06-27 13:13:18 +00:00
Adrian Crum b23cbb323e Fix for NPE introduced in rev 1494057, reported by Ankit Jain on the dev mailing list.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1494668 13f79535-47bb-0310-9956-ffa450edef68
2013-06-19 15:52:27 +00:00
Adrian Crum 129144e2bc Form widget sort field improvement - add the ability to specify help text on column headers.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1494057 13f79535-47bb-0310-9956-ffa450edef68
2013-06-18 07:58:25 +00:00
Jacques Le Roux 1c557fb0f7 Useless and possibly confusing
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1493479 13f79535-47bb-0310-9956-ffa450edef68
2013-06-16 09:23:04 +00:00
Jacques Le Roux a07f94c3a6 A patch from Olivier Heintz for "Portal page personalization is not working" https://issues.apache.org/jira/browse/OFBIZ-5189
Two simples errors after last change from FastList to standard java List :
1) go to example component / Dasboard 
1.1) click on edit for one page
Screen is blocked
reason : 
{code}
                    for (GenericValue portalPage : portalPages) {
                        cond = EntityCondition.makeCondition(UtilMisc.toList(
                                EntityCondition.makeCondition("ownerUserLoginId", EntityOperator.EQUALS, userLoginId),
                                EntityCondition.makeCondition("originalPortalPageId", EntityOperator.EQUALS, portalPage.getString("portalPageId"))),
                                EntityOperator.AND);
                        List <GenericValue> privatePortalPages = delegator.findList("PortalPage", cond, null, null, null, false);
                        if (UtilValidate.isNotEmpty(privatePortalPages)) {
                            portalPages.remove(portalPage);
                            portalPages.add(privatePortalPages.get(0));
                        }
                    }
{code}
code iterate on a list and modify it, I don't know how it could work before ;-)
I propose to use an other list on iterate 

2) on appbarclose.ftl for tomawak theme there is
{code}
    <#assign portalPage = delegator.findOne("PortalPage", findMap, true)>
{code}
when you click to "revert to original" in dasboard screen
{code}
Error on line 45, column 5 in component://tomahawk/includes/appbarClose.ftl delegator.findOne("PortalPage", findMap, true) is undefined. It cannot be assigned to portalPage The problematic instruction: ---------- ==> assignment: portalPage=delegator.findOne("PortalPage", findMap, true) [on line 45, column 5 in component://tomahawk/includes/appbarClose.ftl] -
{code}
2.1) to see the error, modify ExampleMenus.xml and change menu-item name from "Dasboard" to "Dasboard1" 
2.2) go to example / dashboard and edit one page
2.3) click to "revert to original"
I propose to add ?if_exists 

One other bug in portal page personalization.
When trying to delete portlet or column in portal page, there is an error because in delete service, cache is used to read data before remove.

Correction proposed is to remove use-cache="true"

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1493352 13f79535-47bb-0310-9956-ffa450edef68
2013-06-15 13:40:42 +00:00
Adrian Crum e6f6163b85 Fixed a bug in MacroFormRenderer.java where UEL expressions were not evaluated in Ajax elements.
https://issues.apache.org/jira/browse/OFBIZ-5227


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1493325 13f79535-47bb-0310-9956-ffa450edef68
2013-06-15 07:56:22 +00:00
Adrian Crum d26546e774 Fixed a bug introduced in revisions 1480407 and 1481287 - form widget fields were not translated.
https://issues.apache.org/jira/browse/OFBIZ-5219


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1492112 13f79535-47bb-0310-9956-ffa450edef68
2013-06-12 08:29:41 +00:00
Jacques Le Roux d46e6023a7 Better formatting for lookup documentation while at it
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1491945 13f79535-47bb-0310-9956-ffa450edef68
2013-06-11 20:30:19 +00:00
Jacques Le Roux f668e3f671 A slightly modified patch from Leon for <<Make "showDescription" of <lookup> filed configurable individually>> https://issues.apache.org/jira/browse/OFBIZ-5211
For now, It's configured globally through "widget.lookup.showDescription" in widget.properties. 
In some case, we want to disable this feature for particular <lookup> filed. So we try to make it enabled.

1. update the widget-form.xsd to add new attribute "show-description" to <lookup> filed
  * if set this attribute explicitly to true or false, then showDescription feature is enabled or disabled respectively
  * if this attribute is not set (default), then showDescription or not depends on the "widget.lookup.showDescription" setting
2. modify ModelFormField and MacroFormRenderer to make it works
3. Since we introduce individual "showDescription" configuration, the global "SHOW_DESCRIPTION" was unable to work properly. It has been replaced by dynamic values
4. Show description function depends on ajax-autocompleter, but not vice versa. That's why the condition [options.showDescription != ""] was removed from _createAjaxAutoComplete function.

jleroux: I formatted the XSD documentation and used 

showDescription = "Y".equals(UtilProperties.getPropertyValue("widget", "widget.lookup.showDescription", "Y"));
instead of
showDescription = "Y".equals(UtilProperties.getPropertyValue("widget", "widget.lookup.showDescription", "N"));

Because, in widget.properties, widget.lookup.showDescription is Y by default (and I know that well, since I made this description working correctly in all cases)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1491936 13f79535-47bb-0310-9956-ffa450edef68
2013-06-11 20:12:37 +00:00
Adrian Crum 6e88a24bcb Fixed some bugs in the form widget column sorting code:
1. URL parameters were being mangled by clunky string manipulation code.
2. The sort column logic was piggy-backed on the pagination event. I created a new choice for the form widget <on-event-update-area> element - "sort-column" - so column sort events can update their own areas.
3. The parameter name for the sort column was hard-coded, so column sorting in multiple lists on the same screen would not work. I added a new <form> attribute - "sort-field-parameter-name" - so each list can be sorted separately.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1488315 13f79535-47bb-0310-9956-ffa450edef68
2013-05-31 17:07:00 +00:00
Adrian Crum 9b0094f191 Small fix for screen widget <container> element - allow expressions in the auto-update-interval attribute.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1487966 13f79535-47bb-0310-9956-ffa450edef68
2013-05-30 18:48:28 +00:00
Adrian Crum 7d7407caba New feature - Column screen widgets. This enables easy layout of multi-column screens/reports. The columns are rendered as <table> elements - so no more broken layouts caused by unpredictable floats, etc.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1487587 13f79535-47bb-0310-9956-ffa450edef68
2013-05-29 18:17:46 +00:00
Adrian Crum c1cc2308b0 Updated the HTML DOCTYPE declaration - paving the way for HTML5.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1486831 13f79535-47bb-0310-9956-ffa450edef68
2013-05-28 09:21:36 +00:00
Adrian Crum 57205498d6 Fixed some FIXMEs in MacroFormRenderer.java.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1486828 13f79535-47bb-0310-9956-ffa450edef68
2013-05-28 09:14:42 +00:00
Adrian Crum a67fd498c1 Clean up code formatting in MacroFormRenderer. No functional change.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1486784 13f79535-47bb-0310-9956-ffa450edef68
2013-05-28 07:11:39 +00:00
Adrian Crum d24e90b7cc Copied the fix from revision 1480407 to the rest of the screen widgets.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1481287 13f79535-47bb-0310-9956-ffa450edef68
2013-05-11 10:34:57 +00:00
Adrian Crum 5639dec18e Fixed an exception in the form widget - reported by Jacques on the dev mailing list.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1480407 13f79535-47bb-0310-9956-ffa450edef68
2013-05-08 18:57:58 +00:00
Ashish Vijaywargiya 1ed8f39ed2 Applied bug fix from jira issue - OFBIZ-5165 - Broken renderLabel functionality of screenfop view handler.
If we use label inside widget tag then renderLabel macro skip the label rendering due to wrong condition check.
-- Corrected the conditions for label rendering.
-- Also replaced fo:inline with fo:block as fo:inline can't render directly.
Thanks Deepak.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1462257 13f79535-47bb-0310-9956-ffa450edef68
2013-03-28 18:51:26 +00:00
Jacques Le Roux 364b3cd1e6 A patch from Nicolas Malin for "fieldGroup will ignored if all contains fields are ignored" https://issues.apache.org/jira/browse/OFBIZ-5136
When you have a fieldGroup that contains fields with use-when attribute, if all fields aren't use, the fieldGroup is empty.
Improvment: to not display the field group



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1446847 13f79535-47bb-0310-9956-ffa450edef68
2013-02-16 07:49:28 +00:00
Ashish Vijaywargiya 54935d7db8 No functional changes, Formatted the file as per best practice that we follow in FTL files. Thanks Deepak!
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1442197 13f79535-47bb-0310-9956-ffa450edef68
2013-02-04 17:40:56 +00:00
Jacques Le Roux cd2c556b8b A patch from Sumit Pandit for "HTML Validation error - Duplicate DIV id is created in <screenlet title=...></screenlet> tag." https://issues.apache.org/jira/browse/OFBIZ-5121
When ID has not been provided in <screenlet title=.../> tag, The generated DIV has an ID="_col". Including multiple screenlet in a page get result in multiple DIVs with duplicate ID ("_col"). 

For reference find duplicate div id("_col") in following page -  
https://demo-trunk.ofbiz.apache.org/catalog/control/EditProdCatalogCategories?prodCatalogId=DemoCatalog 



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1435528 13f79535-47bb-0310-9956-ffa450edef68
2013-01-19 12:27:25 +00:00
Jacopo Cappellato 3f710e8113 CVE-2013-0177: The Image.alt is now escaped to prevent the risk of an XSS attack.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1432833 13f79535-47bb-0310-9956-ffa450edef68
2013-01-14 08:33:04 +00:00
Jacopo Cappellato 33ee8492a4 The content of the Screenlet title is now escaped to prevent the risk of an XSS attack.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1432392 13f79535-47bb-0310-9956-ffa450edef68
2013-01-12 07:49:20 +00:00
Jacques Le Roux 9422708785 A patch from Olivier Heintz for "My Portal Preferences error" https://issues.apache.org/jira/browse/OFBIZ-5073
Select My Portal > Preferences, displays bellow error.
org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen [component://common/widget/CommonScreens.xml#GlobalDecorator]: java.lang.NullPointerException (null)




git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1426734 13f79535-47bb-0310-9956-ffa450edef68
2012-12-29 10:02:15 +00:00
Jacques Le Roux e854399552 This was wrong since r759871 (reversed test)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1425662 13f79535-47bb-0310-9956-ffa450edef68
2012-12-24 16:09:50 +00:00
Jacques Le Roux 7b9ab76baf A patch from Naofumi Fukue for "javascript error in hidden form" https://issues.apache.org/jira/browse/OFBIZ-5098
HtmlMenuRenderer generates like bellow form tags. It generates double target="_BLANK" , then cause javascript error.

<li><form method="post" action="/ar/control/invoice.pdf" target="_BLANK" name="InvoiceSubTabBar_pdf_LF_8"><input name="invoiceId" value="8010" type="hidden"/></form><a target="_BLANK" href="javascript:document.InvoiceSubTabBar_pdf_LF_8.submit()">PDF</a></li>

document.InvoiceSubTabBar_pdf_LF_8 is undefined @ javascript:document.InvoiceSubTabBar_pdf_LF_8.submit()

jleroux: to reproduce 

For example, edit applications/accounting/webapp/accounting/WEB-INF/controller.xml like this.

<request-map uri="invoice.pdf">
<security https="true" auth="true"/>
<event name="test" type="java" path="org.ofbiz.webapp.event.TestEvent" invoke="test"/> <= add this
<response name="success" type="view" value="InvoicePDF"/>
</request-map>

And in invoice screen, click 'PDF' button. Exist or not exist above line, generated html is different.

As is 
~event: PDF rendered
<li><a target="_BLANK" href="/ar/control/invoice.pdf?invoiceId=8010">PDF</a></li>
event:  PDF not rendered
<li><form method="post" action="/ar/control/invoice.pdf" target="_BLANK" name="InvoiceSubTabBar_pdf_LF_8"><input name="invoiceId" value="8010" type="hidden"/></form><a target="_BLANK" href="javascript:document.InvoiceSubTabBar_pdf_LF_8.submit()">PDF</a></li>

patched
~event: PDF rendered
<li><a target="_BLANK" href="/ar/control/invoice.pdf?invoiceId=8010">PDF</a></li>
event: PDF rendered
<li><form method="post" action="/ar/control/invoice.pdf" target="_BLANK" name="InvoiceSubTabBar_pdf_LF_8"><input name="invoiceId" value="8010" type="hidden"/></form><a href="javascript:document.InvoiceSubTabBar_pdf_LF_8.submit()">PDF</a></li>


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1422207 13f79535-47bb-0310-9956-ffa450edef68
2012-12-15 09:15:37 +00:00
Jacopo Cappellato a17e2d812b Fixed code that was broken a lot of time ago by commit 883226; this prevented the (seldom used) screen.use-cache attribute to work properly. Thanks to K Sharad Bhushan for the patch (OFBIZ-5080).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1416497 13f79535-47bb-0310-9956-ffa450edef68
2012-12-03 13:05:39 +00:00
Sascha Rodekamp ce90d2929e Replace all getIdName() calls in the MacroFormRenderer class with the central method getCurrentContainerId from the ModelFormField class. This method uses now the FlexibleStringExpander that makes the form widgets able to interpret ${} variables in the id fields
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1413492 13f79535-47bb-0310-9956-ffa450edef68
2012-11-26 07:34:56 +00:00
Adrian Crum 417a8c1d4e Screen widget XML schema cleanup first pass: remove unnecessary attribute groups.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1407843 13f79535-47bb-0310-9956-ffa450edef68
2012-11-10 16:07:58 +00:00
Jacques Le Roux b46c7a2c06 A patch from Naofumi Fukue "Japanese patch" https://issues.apache.org/jira/browse/OFBIZ-5061
Got an issue merging GeoData_JP.xml with Subclipse, using Toirtoise solved it

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1403746 13f79535-47bb-0310-9956-ffa450edef68
2012-10-30 15:48:42 +00:00
Scott Gray 47abb49013 Replaced direct access to webSiteId from the servlet context attributes with calls to WebSiteWorker.getWebSiteId(request)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1400601 13f79535-47bb-0310-9956-ffa450edef68
2012-10-21 08:53:04 +00:00
Sascha Rodekamp 959321e0f1 Bug Fix: No Url encoding for get parameters (https://issues.apache.org/jira/browse/OFBIZ-2628). Thanks Wojciech Szymanowski for the hint. This Patch fixes the problems with parameters from hidden fields sending with POST method and parameters sending during "request-redirect" response type
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1392766 13f79535-47bb-0310-9956-ffa450edef68
2012-10-02 07:22:05 +00:00
Jacques Le Roux 73324f3b4a A patch from Daniel Riquelme " Improve Tree Widget to support Multiple PK Entities" https://issues.apache.org/jira/browse/OFBIZ-4971
The PKs are used to keep track of which nodes have been rendered when performing recursion inside Tree Widget rendering code.
Currently Multiple PKs Entities can't be used as nodes in a Tree Widget because the rendering code does not handle them.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1387884 13f79535-47bb-0310-9956-ffa450edef68
2012-09-20 07:06:17 +00:00
Jacques Le Roux 5cc959344a CVE-2012-3506: Unlike descriptions and values, tooltips were not encoded, thanks to Scott for spotting it (r1377382 was flawed)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1377388 13f79535-47bb-0310-9956-ffa450edef68
2012-08-26 08:35:34 +00:00
Jacques Le Roux 3b1205669c Revert r1377382, this was not complete
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1377386 13f79535-47bb-0310-9956-ffa450edef68
2012-08-26 08:32:46 +00:00
Jacques Le Roux 5016c7291f Unlike descriptions and values, tooltips were not encoded, thanks to Scott for spotting it
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1377382 13f79535-47bb-0310-9956-ffa450edef68
2012-08-26 08:21:05 +00:00
Jacques Le Roux efae3a2e7e No functional changes: removes now useless comments (since r1170125)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1377253 13f79535-47bb-0310-9956-ffa450edef68
2012-08-25 10:24:12 +00:00
Sascha Rodekamp 6ffa178bca js issue causes error when invalid dates are entered (https://issues.apache.org/jira/browse/OFBIZ-4982). A patch from Christoph Neuroth: Reproduce: Enter "123" in a DateField. This will trigger a JS exception and the invalid value will be sent to the server on form submission, probably causing server-side exceptions in badly written backend code, resulting in really bad error messages for the user.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1370123 13f79535-47bb-0310-9956-ffa450edef68
2012-08-07 05:51:10 +00:00
Jacques Le Roux 9b00fd0dce renderLookupField macro comments improvement
Simple formatting (tabs to 2 spaces)
Fixes a bug which prevented to show an i18n "clear" text when layered lookups were used in read only mode from FTL templates
Fixes a bug which prevented to clear the description (at right of button) when layered lookups were used in read only mode 


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1369561 13f79535-47bb-0310-9956-ffa450edef68
2012-08-05 11:48:44 +00:00
Jacques Le Roux 9fd4ddb462 Closes "correct "javascript:void();" to "javascript:void(0);" to make it syntax valid" reported by Leon https://issues.apache.org/jira/browse/OFBIZ-4970
Firefox will throw syntax error if you call javascript void function without parameter.

jleroux: I did not reproduce with FF14 on XP (modern browsers correct by themselves) but I agree it's a better syntax. So I changed all where it was needed.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1369555 13f79535-47bb-0310-9956-ffa450edef68
2012-08-05 11:27:20 +00:00
Adrian Crum a17298a06e Removed unused "authz" security code - https://issues.apache.org/jira/browse/OFBIZ-4839.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1360283 13f79535-47bb-0310-9956-ffa450edef68
2012-07-11 16:34:26 +00:00
Jacques Le Roux 88f88ba007 A patch from Daniel Riquelme "Not getting right behavior of use-when when using in multi" https://issues.apache.org/jira/browse/OFBIZ-4932
The problem is that on multi forms the bshInterpreter gets pushed to higher levels on the context stack when iterating the form rows.
What is intended in the code is to reset the bshInterpreter (this.resetBshInterpreter(context) for each row iteration, this reset translates into a key object being removed from context, this context is stored in a stack data structure. The removal assumes the value will always be at level 0, yet what happens is that the value resides at a higher level.
The fix is to perform the removal prior to context modification, this way the bshInterpereter object would be at level 0 upon removal.

jleroux: since the BshInterpreter is reseted just after with localContext this should not have any bad side effects

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1358735 13f79535-47bb-0310-9956-ffa450edef68
2012-07-08 13:15:56 +00:00
Sascha Rodekamp c46513daa0 Lookup filed with target-parameter attribute set cannot be displayed (https://issues.apache.org/jira/browse/OFBIZ-4950) A patch from Leon: if <lookup> field has attribute "target-parameter" set, then there's javascript error in front end and lookup icon disappears.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1357098 13f79535-47bb-0310-9956-ffa450edef68
2012-07-04 06:24:57 +00:00
Sascha Rodekamp d9de95aec9 Render checkbox field as same behavior as radiobox (https://issues.apache.org/jira/browse/OFBIZ-4948): A patch from Leon: when rendering a radio field in form widget, the generated html codes looks like: <span><input type="radio" ...>blahblah</span>. The radio box and its description are wrapped by <span> and it's easy to change css style for both of them (radio and description), not only for radio type input. But the check box is rendered in another way without <span> around.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1355291 13f79535-47bb-0310-9956-ffa450edef68
2012-06-29 09:31:22 +00:00
Jacopo Cappellato d7d999966c Fixed a few wrong attribute names: authorization --> authz
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1353686 13f79535-47bb-0310-9956-ffa450edef68
2012-06-25 18:00:01 +00:00
Sascha Rodekamp 38abbfc4c2 Refactoring fieldlookup.js - step one: restructuring the lookup object, encapsulate some methods in objects
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1352804 13f79535-47bb-0310-9956-ffa450edef68
2012-06-22 08:48:58 +00:00