function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
joojoo 

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 .

ibtesamibtesam

Can you give your code for clarity?

sivaextsivaext

Hi 

 

Map declaration is like this

 

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