Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class NewTaskSchedulerController {
- public Event Event {get; set;}
- public NewTaskSchedulerController(){
- Event = new Event();
- }
- public PageReference save() {
- try{
- //Already getting null when I try to get the input value
- system.debug(Event.Activity_Location__c);
- }
- catch (Exception exc) {
- ApexPages.addMessages(exc);
- }
- return null;
- }
- }
- <apex:page controller="NewTaskSchedulerController">
- <apex:inputField value="{!event.Activity_Location__c}" id="loc"/>
- <apex:page>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement