lookup –> picklist

Posted by in apex, salesforce, visualforce

I’ve had several clients “voice concerns” about’s lookup functionality relative to user acceptance. Well, if you’re dealing with a relatively simple lookup table, you can override an object’s new/edit page with a Visualforce page and display the lookup field to the user as a picklist.


extjs & visualforce (part 2), JSON this time

Posted by in apex, salesforce, visualforce

Let me preface this post by stating that the following is merely a proof of concept and should not necessarily be implemented into a production org. The pagination demonstrated below is not fit for large datasets and may result in unexpected behavior! Rich Waters’ comment on my first post re: Ext JS & visualforce got me thinking about the possibilities of leveraging JSON in Ext JS components within Visualforce, so I implemented a paging grid, similar to this example provided by Ext JS. OK, enough of the formalities, I suppose…read more


extjs & visualforce

Posted by in salesforce, visualforce

I’m interested to hear how people are utilizing extjs in their visualforce pages. I’ve found it very helpful to use Apex to generate the store on the server side, then pass it along to the Visualforce page via a hidden input to be handled on the client side (rather than use the apex:repeat tags). Note: once again, the grid below is a live Visualforce page from my developer site embedded into this post public class Grid_Controller { public string store {get;set;} public list<QueueItem> queueitems {get;set;} string userId = UserInfo.getUserId();…read more


wrapper class and sites

Posted by in apex, salesforce, visualforce Sites was announced last week at Dreamforce ‘08 and what a game changing announcement it was. Here’s my foray into Sites development, with nifty sample code…


visualforce autocomplete component

Posted by in apex, salesforce, visualforce

I saw this on the boards and I wanted to make sure everyone knew it was out there.