- Show/Hide stuff on VF page with AJAX
http://forums.sforce.com/t5/Visualforce-Development/Basic-Show-Hide-pageBlockSection-not-working/m-p/168722
Basically the rule is to always have the rerendered region bigger than the stuff that has conditional visibility. If they are the same size, you may have the problem of things unable to become visible, because the rerendering never works due to the id not being there the first place.
- Create checkbox list on the fly
http://blog.jeffdouglas.com/2009/01/13/apex-search-with-checkbox-results/
This is common for searching-then-processing. However the approach isn't necessary for simple situations where you just need simple labels. You can just use the built-in SelectOption class and <apex:selectCheckboxes>.
There must be a very good reason why we complicated our lives with all these technologies ... arguably that is freedom for something. Freedom might be a right but it is never free; so let me demonstrate how I earned it.
Tuesday, November 9, 2010
Two SFDC tips helpful for me today
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment