I wonder about the codes of the other parts of GBR. They don't exist in 3166. But they were already in GeoData.xml before the Apache era. Anyway they can't hurt and are not a problem, so far...
This also adds 3166 links to CountryCodeData.xml
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1517947 13f79535-47bb-0310-9956-ffa450edef68
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
"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
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
Replaces
if(!jQuery('#content-messages'))
by
if(jQuery('#content-messages').length==0)
in framework\images\webapp\images\selectall.js line #354.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1506274 13f79535-47bb-0310-9956-ffa450edef68
When I reverted r1311214 for "set different ports for testing in a CI environment (e.g. Jenkins)" https://issues.apache.org/jira/browse/OFBIZ-4794 I did not notice Jacopo's also changed some ports value at r1324614
This reverts r1324614 to have things consistent. I don't backport (only R12.04 is concerned) because as long as catalina/ofbiz-component.xml is consistent (port =+ 1) things are working
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1502121 13f79535-47bb-0310-9956-ffa450edef68
Application menu item should be link not hidden form. As if its hidden form then you can not open it in new tab.
Default menu item link type auto, and its create an hidden for for link if controller request call an event, but in menu item this should be link.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1500382 13f79535-47bb-0310-9956-ffa450edef68
OOTB, it's a non functional change, since the getServiceResult() function was not yet used with parameters
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1499477 13f79535-47bb-0310-9956-ffa450edef68
of having to deal with some kind of map/generic value. This makes it
simpler to use full-text-search queries thru the entity
engine(postgresql and oracle).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1497893 13f79535-47bb-0310-9956-ffa450edef68
allows other components to automatically insert themselves, without
having to modify any existing files. This can be used for integrating
with Jasig CAS, or with OpenID.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1497892 13f79535-47bb-0310-9956-ffa450edef68
registered. In some cases, however, the Date convertor would be used
instead of the more correct Timestamp convertor. This fix implements a
most-specific type algorithm to find the better convertor.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1497890 13f79535-47bb-0310-9956-ffa450edef68
field, then we need to be certain to remove the existing defined field
from the list of available fields. Otherwise, you'll end up with the
same field being queried in SELECT, and the same field being updated in
INSERT or UPDATE.
This issue was discovered when changing the type of a pre-existing
field(so that the length of the field could be increased).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1497889 13f79535-47bb-0310-9956-ffa450edef68