• srikanth_k
  • 0 Points
  • Member since 2009

  • Chatter
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
  • 2

Hi All,


I have created one Apex Class. Class have a method which is called on "Save" button. Everything works well for System Administrator.


But same method are not executing for other profile. I have set access of particular Apex class to new profile "Agent".


Also method is public so I was expecting it to be accessible to other profile. Is there anything else that I'm missing?


Thanks in advance!!!




  • September 07, 2010
  • Like
  • 0



In my VisualForce page i have a select list whose values i want to pass to my Controller when the command button is pressed.

The select list  is defined as follows :


 <apex:selectList id="member_list" value="{!selectedMembers}" size="10" >
                 <apex:selectOptions value="{!memberNames}"/>

 The command button is defined as follows :


<apex:commandButton value="Save" action="{!move}" rerender="hiddenBlock">
              <apex:param name="selected" 

<apex:pageBlock id="hiddenBlock" rendered="false"></apex:pageBlock>

If im not mistaken, {!selectedMembers } is the set of all values in my select list.

Now, in my controller, how to define {!selectedOptions} as List <String> object ?


Please help

Thank You.






  • April 22, 2010
  • Like
  • 0