Created
September 27, 2014 07:31
-
-
Save keirbowden/311b50ec0d23c6231da9 to your computer and use it in GitHub Desktop.
Action Region, Required Fields and HTML5 Controller
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public with sharing class RequiredCtrl | |
{ | |
public List<Row> rows {get; set;} | |
public String name {get; set;} | |
public Account acc {get; set;} | |
public RequiredCtrl() | |
{ | |
rows=new List<Row>(); | |
rows.add(new Row()); | |
} | |
public void addRow() | |
{ | |
rows.add(new Row()); | |
} | |
public void save() | |
{ | |
// fake save method - just returns to the page | |
} | |
public class Row | |
{ | |
public String val1 {get; set;} | |
public String val2 {get; set;} | |
public String val3 {get; set;} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment