Previous | Next
WireHose Developers Guide

Adding a login panel

Now we'll add a login panel to Hello World. The panel will be added to the wrapper so it will show up on every page.

  1. Open Wrapper.wo in WebObjects Builder.
  2. Add a WOConditional, and set its value to helper.user.isGuest
  3. Select inside the conditional, and choose Custom WebObject from the WebObjects menu. For "WebObjects class to use:" type WHLoginBox, and click OK.

  4. If you haven't quit and relaunched Hello World, open this link in your browser to logout the current user:
  5. Now you can use the new login box to sign in to the account you created earlier.

Previous | Next