Rules are not getting fired - urgent

Hello
I am a newbie to the oracle rules engine (10.1.3) and introducing the rules engine in our architecture.
I have started to fire a simple rule but looks like the rules are not getting fired.
Here is my code snipped: I am setting a value in the fact if another value is null.
==========
RuleDictionary rDict = RuleFactory.getRuleDictionary(RadiusConstants.RADIUS_REPOSITORY, RadiusConstants.RADIUS_DICTIONARY, RadiusConstants.DICTIONARY_VERSION);
RuleSession ruleSession = new RuleSession();
ruleSession.executeRuleset(rDict.dataModelRL());
ruleSession.executeRuleset(rDict.ruleSetRL(taskName));
RuleMessage ruleMessage = new RuleMessage();
ruleSession.callFunctionWithArgument("assert", moduleVo);
ruleSession.callFunction("run");
ruleSession.callFunctionWithArgument("assert", moduleVo);
// ruleSession.callFunctionWithArgument("assert", moduleVo);
System.out.println(" Module Status " + moduleVo.getStatus());
========
Any help is greatly appreciated. I am not sure if I am missing. I am suing rule author to create the rules.
I am asserting the fact in the rules engine. Here is the RL file generated from the rule author.
==================
ruleset MODULE_CREATE
2.
3. {
4.
5. rule ModuleId_Null
6. {
7. priority = 0;
8. if
9. (
10. (
11. fact gov.sec.radius.admin.service.module.vo.ModuleVO v0_ModuleVO && (
12. (v0_ModuleVO.moduleId == null)))
13. )
14.
15. {
16. v0_ModuleVO.status = "P";
17. assert(v0_ModuleVO);
18. }
19. } //end rule ModuleId_Null;
20. }// end ruleset MODULE_CREATE
=================
thanks very much in advance
Yugandhar

You need to specify the ruleset or rulesets that should be run. If there is only one, you can do:
ruleSesion.callFunctionWithArgument("run", taskName);
or
ruleSesion.callFunctionWithArgument("pushRuleset", taskName);
ruleSession.callFunction("run");
If there are multiple rulesets you want to run in order, then call pushRuleset in stack-order that you want their actions executed.

Similar Messages

  • 0PS_C02 update rules are not getting activated when i install 4rm BI conten

    Hi All,
    In BI Dev. sys for PS module-  Project System - Dates 0PS_C02 cube-  update rules are not getting activated when i install from the business content and its giving the error  " IC=0PS_C02 IS=0PS_DAT_PRJ error when checking the update rules                Message no. RSAU461" .
    I deleted the inactive update rules(6 nos) and installed again from BI Content, then the same issue raising.
    Can anyone help me out as i stuck up with this to move to go-live.
    Thanks,
    Sakali

    Hi Vassu,
    here are some of the reasons for getting error in update rules activation.
    1. Check the formula or routines that are used in Update rules and check is there any syntax errors.
    2. check whether the mappings are correct or not.
    3. check the info objects which ur used for mapping are in active or not..
    (or) if the info object may be deleted which ur using for mappings.
    Thanks
    Sai Chand.

  • Values are not getting updated(urgent)

    Hi,
    Iam trying to change the net-price of outline agreement using BAPI_AGREEMENT_MAINTAIN.The code is as follows.Still the price is not getting updated.The function module which im using is the right one or i have to use another one.
    data: PO_NUMBER like BAPIMEPOHEADER-PO_NUMBER.
    data: PO_HEADER like BAPIMEPOHEADER.
    data: PO_ITEM like BAPIMEPOITEM occurs 0 with header line.
    data: PO_ITEMX like BAPIMEPOITEMX occurs 0 with header line.
    data: RETURN like BAPIRET2 occurs 0 with header line.
    *data: PO_NUMBER like BAPIMEPOHEADER-PO_NUMBER.
    data: IM_AGREEMENT_HEADER like BAPIOAHEAD occurs 0 with header line.
    data: IM_AGREEMENT_HEADER_X like BAPIOAHEAX occurs 0 with header line.
    data: IM_AGREEMENT_ITEMS like BAPIOAITEM occurs 0 with header line.
    data: IM_AGREEMENT_ITEMS_X like BAPIOAITEX occurs 0 with header line.
    data : i_ekko like ekko occurs 0 with header line.
    SELECT * FROM ekko into table i_ekko WHERE ebeln = '4600000633'.
    *endselect.
    IM_AGREEMENT_HEADER-AGMT_NO = i_ekko-ebeln.
    IM_AGREEMENT_HEADER-LANGU = i_ekko-SPRAS. "Language
    IM_AGREEMENT_HEADER-VAT_CNTRY = i_ekko-STCEG_L. "country id code
    IM_AGREEMENT_HEADER-CURRENCY = i_ekko-WAERS. "currency
    IM_AGREEMENT_HEADER-DOC_CAT = i_ekko-bstyp. "Pur doc categary
    IM_AGREEMENT_HEADER-DOC_TYPE = i_ekko-bsart. "Pur doc type
    IM_AGREEMENT_HEADER-TELEPHONE = i_ekko-TELF1.
    Append IM_AGREEMENT_HEADER.
    IM_AGREEMENT_HEADER_X-AGMT_NO = 'X'.
    Append IM_AGREEMENT_HEADER_X.
    IM_AGREEMENT_ITEMS-AGRMT_ITEM = '10001'.
    IM_AGREEMENT_ITEMS-NET_PRICE = '20'.
    Append IM_AGREEMENT_ITEMS.
    IM_AGREEMENT_ITEMS_X-AGRMT_ITEM = '10001'.
    IM_AGREEMENT_ITEMS_X-NET_PRICE = 'X'.
    append IM_AGREEMENT_ITEMS_X.
    CALL FUNCTION 'BAPI_AGREEMENT_MAINTAIN'
    EXPORTING
    IM_AGREEMENT_HEADER = IM_AGREEMENT_HEADER
    TABLES
    EXT_RETURN = RETURN
    IMT_AGREEMENT_ITEMS = IM_AGREEMENT_ITEMS
    IMT_AGREEMENT_ITEMS_X = IM_AGREEMENT_ITEMS_X.
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
    EXPORTING
    wait = 'X'.
    LOOP AT RETURN.
    WRITE: RETURN-MESSAGE.
    ENDLOOP.

    Hi,
    do like this:
    CALL FUNCTION 'BAPI_AGREEMENT_MAINTAIN'
    EXPORTING
    IM_AGREEMENT_HEADER = IM_AGREEMENT_HEADER
    TABLES
    EXT_RETURN = RETURN
    IMT_AGREEMENT_ITEMS = IM_AGREEMENT_ITEMS
    IMT_AGREEMENT_ITEMS_X = IM_AGREEMENT_ITEMS_X.
    if sy-subrc = 0.
            read table RETURN
                  into lwa_RETURN
              with key type = 'E'.                                " if there is an error message
            if sy-subrc = 0.
       <b>       do error processing or whatever required.</b>
            else.
              call function 'BAPI_TRANSACTION_COMMIT'
                exporting
                  wait = 'X'.
              if sy-subrc = 0.
              endif.
    endif.
    Regards,
    Sooness

  • Why h:commandlink action not get fired after upgrading to JSF-1.2_12?

    Hi,
    One strange behavior that I'm facing right now after upgrading to JSF version1.2_12, is that the action method for hidden commandlink which should get fired on changing the value of a comboBox are not getting fired. Note that I was initially using the JSF1.2_07 version and it worked fine.
    Any help would be much appreciated.
    Here is a sample code of what I have in my app.
    <h:panelGroup>
                   <h:selectOneMenu id="nav-menu" value="#{customBean.rowName}"
                   onchange="submitOnMenuChange(this.form,'id-link', 'nav-menu');">
                   <f:selectItem itemLabel="Select:" itemValue="" />
                   <f:selectItem itemLabel="rowName1" itemValue="rowName1"/>
                   <f:selectItem itemLabel="rowName2" itemValue="rowName2"/>
                   </h:selectOneMenu>
                   <h:commandLink id="id-link" value=" " action="#{customBean.updateAction}" style="display: none;"/>
    </h:panelGroup>
    Inside submitOnMenuChange() I'm using below technique to submit the form
    var idclValue = formId + JSF_ID_SEPARATOR + elementId;
    jsfcljs(document.forms[formId],idclValue+','+idclValue,'');
    So, ideally on changing the value from above comboBox it should invoke the updateAction method, bit it doesn't.
    Thanks,
    Umesh
    Edited by: Umesh_S on Oct 7, 2009 4:47 AM

    Here is a small simple example which could help replicate the problem
    There are mainly three files: 1. displayPage.jsp 2. CustomBean.java 3. faces-Config.xml
    1. displayPage.jsp (content)
    <%@ page session="true" contentType="text/html;charset=utf-8"%>
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
    <f:view>
    <html>
    <head>
    <script language="javascript">
    function submitLinkAction(formId, elementId) {
         if (document.forms[formId] != null) {
              var idclValue = formId + ":" + elementId;
    jsfcljs(document.forms[formId],idclValue+','+idclValue,'');
         } else {
              throw "Form with id [" + formId + "] is null.";
         return false;
    function submitOnMenuChange(thisForm, linkId, menuId) {
         var fullMenuId = thisForm.id + ":" + menuId;
         var menu = document.forms[thisForm.id][fullMenuId];
         var selectedValue = menu.options[menu.selectedIndex].value;
         if (selectedValue.length > 0) {
              try {
                   return submitLinkAction(thisForm.id, linkId);
              } catch (errorMsg) {
                   alert("Error occurred: " + errorMsg);
         return false;
    </script>
    </head>
    <body>
    <h:form id="edit-form">
                             <h:panelGroup>
                                  <%-- show select drop-down--%>
                                       <h:selectOneMenu id="nav-menu" value="#{customBean.rowName}"
                                            enabledClass="grid"
                                            onchange="submitOnMenuChange(this.form,'nav-link', 'nav-menu');">
                                            <f:selectItem itemLabel="Select:" itemValue="" />
                                            <f:selectItem itemLabel="Row1" itemValue="Row1"/>
                                            <f:selectItem itemLabel="Row2" itemValue="Row2"/>
                                       </h:selectOneMenu>
                                       <h:commandLink id="nav-link" value=" " action="#{customBean.updateAction}" style="display: none;"/>
                             </h:panelGroup>
    </h:form>
    </body>
    </html>
    </f:view>
    2. CustomBean.java
    public class CustomBean {
    private String rowName;
         public CustomBean() {
         public String getRowName() {
              return this.rowName;
         public void setRowName(String value) {
              System.out.println("** Inside set row name**");
              this.rowName = value;
         public void updateAction() {
              System.out.println("************This is action method for hidden command link************* ");
    3. faces-config.xml (content)
    <!DOCTYPE faces-config PUBLIC
    "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.1//EN"
    "http://java.sun.com/dtd/web-facesconfig_1_1.dtd">
    <faces-config xmlns="http://java.sun.com/JSF/Configuration">
         <managed-bean>
         <managed-bean-name>customBean</managed-bean-name>
         <managed-bean-class>com.examples.CustomBean</managed-bean-class>
         <managed-bean-scope>request</managed-bean-scope>
         </managed-bean>
    </faces-config>
    So, if we run above example on JSF 1.2_07, on changing the value of nav-menu, it should submit the form and the action method (updateAction()) defined for commandlink "nav-link" should get fired (one could see the System.out coming on the console) but the moment the JSF jars are upgraded to 1.2_12 the action method no more gets invoked.
    Thanks,
    Umesh

  • Events not getting fired for templated controls.

    Hi,
    I have an asp.net custom server control, in which I have given template support. The template controls render fine. But, the events of template controls are not getting fired. For example, If I added an asp dropdownlist as a template in my custom control
    and select any item from dropdownlist and raised the postback, the selected item did not get updated in dropdownlist ( i.e selectedIndex, selectedText of the control remains the same as like initial rendering.), also I am not able to trigger the SelectedIndexChanged
    server side event of dropdownlist.
    I have used NamingContainer for rendering the template controls. The codes are as follows,
    <code>
    This is my source:
         private
    ITemplate fileTemplate =
    null;
     [TemplateContainer(typeof(ContentContainer)),
    PersistenceMode(PersistenceMode.InnerProperty),
    DesignerSerializationVisibility(DesignerSerializationVisibility.Content),
    TemplateInstance(TemplateInstance.Single)]
    public ITemplate FileTemplate
    get
       return fileTemplate;
    set
    fileTemplate = value;
    public class
    ContentContainer :
    WebControl, INamingContainer
    internal ContentContainer()
    protected override
    void CreateChildControls()
    this.Controls.Clear();
    ContentContainer container =
    new ContentContainer();
    this.FileTemplate.InstantiateIn(container);
    this.Controls.Add(container);
    base.CreateChildControls();
          public
    override ControlCollection Controls
    get
    this.EnsureChildControls();
           return
    base.Controls;
    Whereas in my application, I have rendered the custom control with template as below,
    [ASPX]
    <mycustom control>
    <FileTemplate>
    <asp:DropDownList
    ID="ddc1"
    runat="server"
    AutoPostBack="true"
    OnSelectedIndexChanged="ddc1_SelectedIndexChanged"
    >
    <asp:ListItem
    Text="Item1"
    Value="one"></asp:ListItem>
    <asp:ListItem
    Text="Item2"
    Value="two"></asp:ListItem>
    <asp:ListItem
    Text="Item3"
    Value="three"></asp:ListItem>
    <asp:ListItem
    Text="Item4"
    Value="four"></asp:ListItem>
    </asp:DropDownList>
    </FileTemplate>
    </mycustom control>
    [Code Behind]
    This event is not getting raised.
    protected
    void ddc1_SelectedIndexChanged(object sender,
    EventArgs e)
     I can get the template control's details here using "FindControl("templateID")". But not able to get the updated details.
    protected void btn_Click1(object sender,
    EventArgs e)
    var template= this.CustomControl.Controls[0].FindControl("ddc1");
    </code>
    Where I am going wrong? Kindly help me on this.
    Thanks in advance.
    Regards,
    Meena

    This is a Windows Phone forum, not a web development forum. Please ask this question at the forums at
    http://asp.net.
    Matt Small - Microsoft Escalation Engineer - Forum Moderator
    If my reply answers your question, please mark this post as answered.
    NOTE: If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with undefined
    objects and unknown namespaces.

  • Material Number and Serial Number are not getting filled...Very very urgent

    I have my code in the badi...CRM_EQUI_LOAD...method PERFORM_LOAD.In this i try to to create a component for the ibase using the function module... CRM_ICSS_CREATE_COMPONENT...The component gets created but the material and serial number are not getting updated...It is very very urgent..please help....

    I am not sure what information you are passing in given FM.
    But in my case I have used FM 'CRM_CREATE_IBASE_FROM_EQUI' to create Ibase and component. It creates IBase and Component along with other details like material number and serial number.
    you may refer the below code for the same >
    Call the standard handling for crm equi load.
      call function 'CRM_CREATE_IBASE_FROM_EQUI'
        exporting
          is_header         = is_header
          it_equi_dmbdoc    = it_equi_dmbdoc
        changing
          et_error_segments = ct_error_segment
        exceptions
          technical_error   = 1
          others            = 2.
      if sy-subrc <> 0.
        raise equi_load_badi_error.
      endif.
    Cheers,
    Ashish

  • Potential & Development Forms are not getting displayed

    Hi Gurus,
    Here goes another problem which I am facing regarding Forms, I created Potential & Developemt forms in Talent Assessment in DEV-100(golden client) & copied it to DEV-300,via SCC1 (another client to which portal is linked), but still the forms are not updated in 300, though 1node & table V_T77TMC_P_V got updated in 300 after i copied the req.
    The complete customization is done in the TR , including the manual transport of the Forms,still they are not getting displayed in 300, kindly help!!!!!!!! its urgent
    Regards
    Bharti Sood

    Hi Bharti Sood,
    It appears that all elements were not transported. Did you go through these customizing tasks in IMG > Talent Management and Talent Development > Talent Assessment:
    - Transport Forms
    - Transport Process Form Assignments
    - Transport Scales
    These elements do not get transported automatically.
    Best regards,
    Luke

  • Buss.Area not getting transferred to invoice list

    Hi Gurus,
    hope u all r doin good outhere, i have an issue with bussiness area not getting populated or transferrred for Invoice list that are released to accounting .
    the scenario here is: in the accounting overview under the Billing Invoice(VF03) we are able to see the buss area against the customer acct line item and the GL acctline item, but when we go into the Accounting overview under Invoice List (VF23), the Buss area is not getting populated against the Customer lineitem..., we are not able to figure out what is missing...is it in the configuration...,
    we are on 4.6 , and we have an OSS note 69499 (given below) on this issue which says
    Summary
    Symptom
    Business areas are not transferred for invoice lists that are released to financial accounting.
    Additional key words
    GSBER TVTA VF21 SAPMV62S factoring discount
    Cause and prerequisites
    This was not programmed
    Solution
    A solution is only available in the standard system as of Release 3.0D.
    You can make the attached advance correction that uses a user exit.
    In this solution, the business area is copied from the sales area table (TVTA) for the sales area of the invoice list header. A business area determination on plant/division level (T134G) is not possible because the item information of the individual billing documents is no longer available in the invoice list.
    Source code corrections
    and we have contacted SAP , some one from SAP side told that the program is existing in that userexit already with our 4.6c,
    someone has suggested that in OB65 the check box is not activated against the comp code i use, but i have found that to be the check mark for the financial statements at the buss area level..will that make any diff to my issue... is it something with the FI part or SD part which do you think is incorrect ....any kind of suggestions pertaining to this issue .here would be helpful.
    some body please throw some light on it, i would be very much grateful.
    Thanks in advance
    Jay

    Hi Laxmipathi sir,
    as you said i went in the bussiness area account assignment and checked it and foound that the Sales area, distributin channel and division are assiogned to rule called 003 -Buss Area Det.from sales org/dist.channel item div.
    but there are other two.which were not assigned.
    001-buss area det.from plant/dividion(T134G)
    002-buss area det.from Sales area (TVTA).
    so do you think this is the reason it is not picking it up in the invoice list,
    i have discussed with one of the SD person here he said even though you don't assign them it shoudn't bother because the buss area is getting picked in invoice
    so could you please tell me what should i ask that person or what i have to tell them about this.
    thanks
    Jay

  • Valid from and Valid to are not getting copied to follow up document.

    Hi Experts,
    I am creating job quote as a follow up document from master quote.All are getting copied from the master quote to job quote,but valid from and valid to dates are not getting copied from master quote,instead it is calculating the date from date profile rules.
    But I need to transport the dates from Master Quote to Job Quote.
    Please advice.
    Thanks,
    Adi.

    Hi,
    You need to implement CRM_COPY_BADY for that. Please refer to:
    Re: create a new follow up complaint to the earlier completed complaint
    Regards,
    Nicolas.

  • COPA Derivation Rules are not assigning the correct values

    COPA Derivation Rules are not assigning the correct values when we process billing documents in batch.  We currently have derivation rules defined to take the ship to country and refer to custom tables were we identify custom geographic groups (INT/DOM and EAM, AP, etc.).  The derivation rules work accurately when the billing documents are created individually, and more than 75% of them are accurate when generated in batch, but in some circumstances, it populates the derived values with the wrong field and we can not identify where or why that's happening.  It looks like it may have something to do when the ship to customer number account group is different, but that's not consistent..  Does anyone know how or where these values get populated, or have any ideas why incorrect values are appearing sporadically throughout the billing run?  Thanks!!!

    Leigh,
    Apparently the function module is changing the values for some billing docs. Check one of the following user exits, if it gets triggered and the values are changed:
    COPA0001  Enhancement for derivation in Profitability Analysis (CO-PA)
    Function Module: EXIT_SAPLKEDRCOPA_001
    COPA0002  Enhancement for valuation in Profitability Analysis (CO-PA)
    Function Module: EXIT_SAPLKEAB_001
    COPA0003  Enhancement for assignment to profitability segment (CO-PA)
    Function Module: EXIT_SAPLKEAK_001
    COPA0005  Enhancement for actual data update (CO-PA)
    Function Module: EXIT_SAPLKEII_001
    Function Module: EXIT_SAPLKEII_002
    Award suitable points if the above helps. You can also reach me at [email protected]
    Thanks
    Ajay

  • Rules are not allowed for jobs with set 'archive edited messages only' flag.

    Hi,
    We are on AEX 7.4 and have enabled user defined search and also setup archiving. Even though the retention period has expired but still the messages are not being
    archived.
    We see following issues:
    1. Unable to setup archiving rule in Runtime Work Bench, we are getting following error:
    Rules are not allowed for jobs with set 'archive edited messages only flag.
    2. Unable to set the expiration of messages using the following link.Each time we specify the number days it shows the same number of
    messages expired.
    http://XXXXX:50000/MessagingSystem/job/reorgdb.jsp
    3. However if we click on "remove messages" button the messages are getting deleted which tells me that the messages are not matching any
    archiving rule hence are being removed.
    Any pointers to the above issue are appreciated!!!
    Thanks,
    Rajeev

    Hi,
    Please check the [link|http://www.****************/Tutorials/XI/Archiving/Index.htm]
    Also check this
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/402fae48-0601-0010-3088-85c46a236f50?quicklink=index&overridelayout=true
    http://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=147266890
    Regards,
    Naveen.

  • We are not getting email for any of the two new profiles in Production environment

    We are not getting email for any of the two new profiles.
    The new rules for sending e-mail work when using the initial profile.
    Only works for F9 and choose manually the profile is being sent.
    But siebel writes the log of both the \ BIN \ sent as if it had sent.
    operation:
    Standards (Policies) were created in the Activities (S_EVT_ACT) and Contacts table (S_CONTACT). When Standards (Policies) are reached trigger actions (Actions). These actions are linked to sending emails.

    The SMTP Adapter don't just "through away" messages. If your Tracked Service Instances shows that a message was sent through the Port, I am pretty sure that a mail was indeed sent. 
    -Are you using Static- or Dynamic Port?
    Can you try to set the Send Port in "Stopped" state, and then send a message to it. Examine the message suspended in BizTalk, and if everything looks ok, then start the Port again and check that the message has disappeared from both suspended and running
    instances in the Group Hub.
    If so, quickly check the mail box, make sure that no spam-filters etc. are messing up your test.
    Morten la Cour

  • Form load rules are not working on display and edit forms

    Hi
    I have customized SharePoint 2013 list form using InfoPath 2013. I want to hide certain fields based on user group. I created rules on form load for that. These rules are working fine on New Form but are not working on display and edit form.
    What can I do?

    It could be because the value might have not changed ie, you might be checking for a particular value, the values might have got overwritten when the new form is saved, see if that value is blank or overwritten in display and edit forms.
    I would first check the form load rules and check those values again in Display form and edit form, if the values are not getting cleared/overwritten.
    It would be better if you could upload the screenprint.
    Hope this helps!
    Ram - SharePoint Architect
    Blog - SharePointDeveloper.in
    Please vote or mark your question answered, if my reply helps you

  • Portal Forms are not getting displayed in the new oracle environment.

    Hi All,
    The Forms in our Portal applications are not getting displayed after we have done the upgradation of Database in Unix from 8i to 9i. The reports are working fine.The forms that were added as portlets are not getting displayed and other forms that are called thorough links returns error when it is run. The Newly created forms are also not running but returns error. The Portal Version is 3.0.9.8.3. Pls help.
    Regards,
    Tom

    Hi ,
    Based on the requirement , check whether the customer contact has been done carried out for the invoice  , then possibility it must have gone out of the worklist , chekc whether the Invoice posted in the AR has been transferred to FSCM collection .

  • Whenever a record is Edited the rows are not getting displayed in the repor

    Hi all,
    When a new record is added or edited, It is physically getting added or edited according to the process, but those records are not getting displayed in the report..
    Please Any body faced this situation...
    Help me to identify what error i am doing........
    thanks in advance
    kavitha L

    Hi KChamarti,
    I am also trying to display images insid the datagrid but i get a weird broken image(all silver gray).
    My item renderer is:
              <mx:DataGridColumn headerText="Type">
                   <mx:itemRenderer>
                     <mx:Component>
                      <mx:HBox verticalGap="2">
                          <mx:Image id="dgImage" source="\assets\images\{toLowerCase(data.type)}.jpg" />
                          <mx:Label text="{data.type}"/>
                        </mx:HBox>
                     </mx:Component>
                   </mx:itemRenderer>
                </mx:DataGridColumn>
    Am i mentioning the source of the image in the right way?

Maybe you are looking for