You are currently browsing the monthly archive for June 2010.

Probably you were very excited this week to see Chatter go GA. I know I was!

As of today, a library providing enhanced Visualforce components is also available!

Standard functionality works like so:

<c:enhancedText pageController="{!this}" fieldName="Text__c"  validateAs="name" />

Why would you want to use this library? Please take a look at this video:

To use this on a standard controller all you need is an extensions class that extends PageControllerBase, which includes all of the extra goodies.

public class myController extends PageControllerBase {

Default functionality includes automatic client side validation. All you need to do is add an action function to run the included save method:

       <apex:actionFunction action="{!pageController.ecSave}" name="saveMe"></apex:actionFunction>

Then include the validation code:

    <apex:outputText escape="false" value="{!pageController.completeJavascript}"/>

Yep, that’s all you need. Everything else is added automatically (see this article for an explanation of the architecture).

Please read the full instructions here.

A live demo is available here. Please use and contribute!

Complete source is available on Google Code (along with the soon to be launched Formation).

@fractastical updates

June 2010
M T W T F S S
« May   Jul »
 123456
78910111213
14151617181920
21222324252627
282930  
Follow

Get every new post delivered to your Inbox.

Join 951 other followers