
We are Changing our Standard SFDC pages to Visual force pages(Using Standard Controllers) . Where we are modifying our Save and edit functionality. As we are going to modify all our standard pages we are facing a road block with validation rules.
We are looking for one time thing where we can add validations as in standard out of the box functionality (Errors popping up at top of page and at field level), to reflect directly in visual force build pages instead of adding apex errors or deploy it every time we add a new validation.
We tried using <apex:page messages and messages but didnt work out. Please suggest how can we accomplish this.Any samples codes are appreciated.
Thanks in advance.
답변 1개
Hi Keerthi,
When you have used the standard controller, then validation errors would react normally, there must be some other issue with you code.Please post your question along with code at developer boards as this community is not focused on programmatic questions
- https://developer.salesforce.com/forums/#!/feedtype=RECENT&criteria=ALLQUESTIONS
- http://salesforce.stackexchange.com
https://www.salesforce.com/docs/developer/pages/Content/pages_controller_std_actions.htm