« [Article] How to create a weekly planner using html tags | Main | [Article] Making any progress? »
February 12, 2005
[Movies] Set font and replace
Building on a recent tip, Dean Westover brings us a demo movie illustrating how to format field objects globally. He also includes an interesting "replace" fuctionality.
View the movie here.
Once again, thank you Dean!
| Posted by David Workman on February 12, 2005 at 04:38 AM in Movies | Permalink
TrackBack
TrackBack URL for this entry:
http://www.typepad.com/services/trackback/6a00d8341c8d8153ef00d83442744853ef
Listed below are links to weblogs that reference [Movies] Set font and replace:
Comments
Thanks for the tutorial!
A couple of comments:
1) Is it necessary to set the field name into a global using onFocusGained on every field? Could you just capture the field name at the outset of the 'Set Field' or 'Replace' methods?
2) Is it really necessary that the element name matches the dataprovider name? Could you instead use something like forms[currentcontroller.getName()].elements[elementName].getDataProviderID() to get the name of the dataprovider based on the (possibly non-matching) element name?
Posted by: Cain | Feb 13, 2005 11:07:06 AM
AH! I see now. My mistake. As regards item 1 in my previous comment, I was thinking that the field itself was the trigger element, which is of course not the case.
Posted by: Cain | Feb 26, 2005 5:45:16 PM