+ Start a Discussion

Public map is not setting value in controller

Hi pals,


I stuck in an issue .I have a map declaration  with


public mapParentToChildProduct<Id,List<OLIProduct>>{set;get;}


and i am trygin to access this map in page.What is happeing actually  is i am able to get Opportunity Line Item Product's field  value in page but when i give some value to OLIProduct's field then i could not find it in the controller after calling a action function.


please help me out .


Can you give your code for clarity?




Map declaration is like this


    public Map<id, List<OLIProduct>> mapParentToChildProduct {get;set;}