The Artima Developer Community
Sponsored Link

Agile Buzz Forum
How do I set the page title in a Seaside App

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
James Robertson

Posts: 29924
Nickname: jarober61
Registered: Jun, 2003

David Buck, Smalltalker at large
How do I set the page title in a Seaside App Posted: Jan 28, 2009 11:45 AM
Reply to this message Reply

This post originated from an RSS feed registered with Agile Buzz by James Robertson.
Original Post: How do I set the page title in a Seaside App
Feed Title: Cincom Smalltalk Blog - Smalltalk with Rants
Feed URL: http://www.cincomsmalltalk.com/rssBlog/rssBlogView.xml
Feed Description: James Robertson comments on Cincom Smalltalk, the Smalltalk development community, and IT trends and issues in general.
Latest Agile Buzz Posts
Latest Agile Buzz Posts by James Robertson
Latest Posts From Cincom Smalltalk Blog - Smalltalk with Rants

Advertisement

I had that question come by this morning, and I wasn't sure what the answer was. I asked Randal, and he got me pointed in the direction of #updateRoot:. Just to show a stupidly simple example, fire up a Seaside image, and add this method to WACounter - then launch that from examples:


updateRoot: anHtmlRoot
	super updateRoot: anHtmlRoot.
	anHtmlRoot title: 'Counter Demo'

After you launch the app, you should see this in the browser:

Read: How do I set the page title in a Seaside App

Topic: Smalltalk Daily 1/27/09: Learning ObjectStudio Previous Topic   Next Topic Topic: A Fine Day for Home Improvement

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use