Skip to content

Instantly share code, notes, and snippets.

@fmpwizard
Created June 15, 2011 18:48
Show Gist options
  • Save fmpwizard/1027796 to your computer and use it in GitHub Desktop.
Save fmpwizard/1027796 to your computer and use it in GitHub Desktop.
Update the UI using two partialUpdate calls
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