Created
June 15, 2011 18:48
-
-
Save fmpwizard/1027796 to your computer and use it in GitHub Desktop.
Update the UI using two partialUpdate calls
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
case CityStateUpdate(cometName, city, state) => { | |
info("Comet Actor %s will do a partial update".format(this)) | |
/** | |
* You can have many partialUpdate() calls here. | |
*/ | |
partialUpdate( | |
SetHtml("city", Text(city)) | |
) | |
partialUpdate( | |
SetHtml("state", Text(state)) | |
) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment