Skip to Content
author's profile photo Former Member
Former Member

[NEWBIE] What's IsaCoreBaseAction's isaPerform method bom param's value?

Hi Experts,

I'm new to the ISA Framework.

Can you please help me understand what will be the value of bom variable in isaPerform method?

Where does it gets the value? Will it get values in bom-config.xml? Or will it only load the available functions from ISA API ?

Please advise, thank you very much!

public ActionForward isaPerform(

ActionMapping mapping,

ActionForm form,

HttpServletRequest request,

HttpServletResponse response,

UserSessionData userSessionData,

RequestParser requestParser,

BusinessObjectManager bom,

IsaLocation log)

throws CommunicationException {

Edited by: jemaru on Feb 1, 2010 8:04 PM

Edited by: jemaru on Feb 1, 2010 8:59 PM

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Feb 01, 2010 at 08:19 PM

    Hi Jemaru,

    To access Business Objects (BO) you need Business Object Manager(BOM) main function of BOM is to access or get reference of Business Objects to use in your Action class. If you want to use any Business Object whether it is standard ISA BO or your custom BO you can access it or get reference of BO only through BOM.

    If you have custom BO then you have to create custom BOM and appropriate entry must be created in customer "bom-config.xml" file.

    Main object of BOM is to manage Business objects. When you try to access access any BO, Relevant BOM checks if there is already an object created. If so, a reference to this object is returned, otherwise a new object is created and a reference to the new object is returned.

    If you want to access custom BO then first you have to get Reference of your Custom BOM and then by using BOM reference you can get access or reference to your custom BO.

    Proper entry of custom BOM must be created in "bom-config.xml" file in customer space.

    In IsaCoreBaseAction class bom contains ISACORE-BOM object. i.e. standard BusinessObjectManager throught which

    you can get reference of Business Object like User, Shop, Basket etc....

    More detail and example you can find in Development and extension Guide which is available from service market place.

    I hope this little explanation will help you to understand the BOM functionality.


    eCommerce Developer

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.