Hi,
Just a question around the subject.
What's happended to bsh used in field forms on ofbiz trunk ?
...
<set field="qtyToReceive" value="${bsh: (quantityOnHandTotal!=null) ?
quantityOrdered-quantityOnHandTotal:quantityOrdered }" type="Integer"/>
...
Charles.
BJ Freeman a écrit :
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Bsh files stopped being used as of release 4.0
groovy has replaced bsh files.
bsh files are used to marshal data before calling a UI.
the data marshalled is then used by the UI fof Display.
for Ftl's the bsh files are in the action folder and have the same name
as the ftl's
Please note:
there are considerable changes between ofbiz that uses bsh files and the
current trunk.
you might want to check out the trunk and compare against the code you
have to see how much has changed.
lahmar sent the following on 3/25/2009 1:40 AM:
Hello,
i would like to know the role of .bsh file.
this is the hierarchy of the tags in a MainScreens.xml where i found
login.bsh file:
<screen name="login">
<section>
<actions>
<property-map resource="BlogUiLabels"
map-name="uiLabelMap"></property-map>
<script
location="component://community/widget/community/login.bsh"/>
............
Thks & best regards.
Lahmar.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFJyh4OrP3NbaWWqE4RAiV1AKCkF15raoiO9orMM6OGBVbWeRVqoACgjkHX
7Uqznx/1Sdwy9iQqRrSpZ0Q=
=fOWR
-----END PGP SIGNATURE-----