Note that if this is true for OFBiz-Neogia and OFBiz R4, it's not for OFBiz trunk where Beanshell (.bsh) have replaced by Groovy
(.groovy)
Jacques
From: "Larry.Liu" <[email protected]>
The bsh file is just like a bounch of codes run before the page been
processed, like to get the get request parameters, fetch accordingly data
from the database based on the request parameters and then set them into the
context or session attribute, by this, you can quote those data objects in
the freemarker page template.
Regards,
Liu Xiangqian
Wizitsoft Information Technology Ltd.
www.wizitsoft.com | (86) 010-62670653 ext 614
On Wed, Mar 25, 2009 at 4:40 PM, lahmar <[email protected]>wrote:
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.
--
View this message in context:
http://www.nabble.com/.bsh-file-tp22697197p22697197.html
Sent from the OFBiz - User mailing list archive at Nabble.com.