joe-ferraro.com: Latest post

lookup –> picklist

I’ve had several clients “voice concerns” about Salesforce.com’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. In the [live Visualforce] example below, the user is [...]

recent comments

    Alex: This is a really nice solution to the lookup problem. One enhancement that might be important for lookups that could eventually contain larger datasets would be a limit on the query (say 50 or 100)...
    arun pandey: where joe ,u have written see source at the bottom but their is nothing there ,pls help me i am feeling helpless pls .u have done a wonderful work but pls help by posting the solution of my problem...
    joe: sorry for the delay, see source at the bottom of the post...
    arun pandey: Nice work. Can you post the full pages for this example. I tried to recreate this example but can?t get it to display any records. The Json_test page retrieves records and displays the Json as expecte...
    joe: see the updated source... ...
    Toryvald: Looks nice. I'm having a similar problem as Matt when I try to recreate. Namely, the page fails with this error: System.NullPointerException: Argument 1 cannot be null. Class.Json_File.: li...
    Matt Ammer: Joe, Nice work. Can you post the full pages for this example. I tried to recreate this example but can't get it to display any records. The Json_test page retrieves records and displays the Json ...
    Rich Waters: Looks Nice, glad to see the integration of Ext JS coming along. Wish I were more familiar with Visual Force. Is there any slick way to get remote grids set up? Perhaps one page that grabs any count...
    joe: Jon: I totally agree re: the construction of the data string, which is why I'm looking for alternative methods. Using apex:repeat tags (as mentioned here: http://techblog.appirio.com/2008/07/extendin...
    Jon Mountjoy: Interesting! And that looks pretty cool. Your code is a lot less pretty though - instead of returning objects to render you're having to construct a string from the data. I guess that's the price y...