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
vlotarevvlotarev 

Direct update of Map object from apex:inputField

I am wondering is it possible to update Map object directly from input field if key is known, writing something like {!map(key)} or whatever else ...

aballardaballard

Not currently.   You''d need to use a controller extension.

vlotarevvlotarev

That's not a problem to use controller extension (actually I am already using custom controller). Could you please give me a hint how to implement required behaviour in controller?

Jeremy.NottinghJeremy.Nottingh

Can you post some of your code, and give a description of what you're trying to do? It's hard for me to imagine how you would update a map when you only have 1 inputfield.

 

Thanks!

Jeremy