<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16481" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Verdana>I have a login form in which you enter your username and 
password. Once this information is validated, I want to go to another webpage. 
How do I do this?</FONT></DIV>
<DIV><FONT face=Verdana></FONT>&nbsp;</DIV>
<DIV><FONT face=Verdana>Here's my problem code...</FONT></DIV>
<DIV><FONT face=Verdana></FONT>&nbsp;</DIV>
<DIV><FONT face=Verdana>I render the login form in #renderContentOn: of my main 
page like so...</FONT></DIV>
<DIV><FONT face=Verdana></FONT>&nbsp;</DIV>
<DIV><FONT face=Verdana>&nbsp;&nbsp;&nbsp; html render: login.</FONT></DIV>
<DIV><FONT face=Verdana></FONT>&nbsp;</DIV>
<DIV><FONT face=Verdana>My login form has the following #renderContentOn: 
...</FONT></DIV>
<DIV><FONT face=Verdana></FONT>&nbsp;</DIV>
<DIV><FONT face=Verdana>renderContentOn: html<BR>&nbsp;html paragraph: 'Your 
email address is your username.'.<BR>&nbsp;self renderStatusMessageOn: 
html.<BR>&nbsp;<BR>&nbsp;html form:<BR>&nbsp;&nbsp;[html 
div<BR>&nbsp;&nbsp;&nbsp;class: 'row';<BR>&nbsp;&nbsp;&nbsp;with: 
<BR>&nbsp;&nbsp;&nbsp;&nbsp;[html span<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;class: 
'formlabel';<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;with: [html text: 'your 
username'].<BR>&nbsp;&nbsp;&nbsp;&nbsp;html 
span<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;class: 
'forminput';<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;with: [html textInput on: 
#emailAddress of: user]].<BR>&nbsp;&nbsp;html div<BR>&nbsp;&nbsp;&nbsp;class: 
'row';<BR>&nbsp;&nbsp;&nbsp;with: <BR>&nbsp;&nbsp;&nbsp;&nbsp;[html 
span<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;class: 
'formlabel';<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;with: [html text: 'your 
password'].<BR>&nbsp;&nbsp;&nbsp;&nbsp;html 
span<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;class: 
'forminput';<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;with: [(html textInput type: 
'password') on: #password of: user]].<BR>&nbsp;&nbsp;html 
div<BR>&nbsp;&nbsp;&nbsp;class: 'spacer';<BR>&nbsp;&nbsp;&nbsp;with: ' 
'.<BR>&nbsp;&nbsp;html div<BR>&nbsp;&nbsp;&nbsp;class: 
'row';<BR>&nbsp;&nbsp;&nbsp;with: <BR>&nbsp;&nbsp;&nbsp;&nbsp;[html 
span<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;class: 
'formlabel';<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;with: [html text: 
''].<BR>&nbsp;&nbsp;&nbsp;&nbsp;html 
span<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;class: 
'forminput';<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;with: 
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[((html 
submitButton<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;class: 'submit') on: 
#save of: self) text: 'submit']]]</FONT></DIV>
<DIV><FONT face=Verdana></FONT>&nbsp;</DIV>
<DIV><FONT face=Verdana></FONT>&nbsp;</DIV>
<DIV><FONT face=Verdana>On "save" I want to go to another page represented by 
class #GSServiceCentre. Right now, I have a test statement to verify that this 
GSServiceCentre page renders correctly:</FONT></DIV>
<DIV><FONT face=Verdana></FONT>&nbsp;</DIV>
<DIV><FONT face=Verdana>&nbsp;&nbsp;&nbsp; html anchor callback: [self call: 
GSServiceCentre new]; with: 'service centre']].</FONT></DIV>
<DIV><FONT face=Verdana></FONT>&nbsp;</DIV>
<DIV><FONT face=Verdana>I click on "service centre" and it brings me to my 
desired page. But I want to do this on "save" in my login form. I don't know how 
to do that. If I simply make a call to #GSServiceCentre like so:</FONT></DIV>
<DIV><FONT face=Verdana></FONT>&nbsp;</DIV>
<DIV><FONT face=Verdana>&nbsp;&nbsp;&nbsp; self call: GSServiceCentre 
new</FONT></DIV>
<DIV><FONT face=Verdana></FONT>&nbsp;</DIV>
<DIV><FONT face=Verdana>it renders the desired page as a component replacing the 
login form, which is not what I want.</FONT></DIV>
<DIV><FONT face=Verdana></FONT>&nbsp;</DIV>
<DIV><FONT face=Verdana>Anyway, I hope I made myself clear. Can anyone 
help?</FONT></DIV>
<DIV><FONT face=Verdana></FONT>&nbsp;</DIV>
<DIV><FONT face=Verdana>Thanks.</FONT></DIV>
<DIV><FONT face=Verdana></FONT>&nbsp;</DIV>
<DIV><FONT face=Verdana>Regards,</FONT></DIV>
<DIV><FONT face=Verdana>Richard</FONT></DIV></BODY></HTML>