• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
[newbie-ish] sending message from a direct action
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[newbie-ish] sending message from a direct action


  • Subject: [newbie-ish] sending message from a direct action
  • From: Michael Warner <email@hidden>
  • Date: Sun, 9 Nov 2003 13:44:56 -0800

I am trying to implement a stateless (until successful login)
login prototype application.
I have a full component called Template.
Template contains 2 subcomponents:
	a partial component called ErrorMessage
	and a WOComponentContent.
I have a page (partial component) called LoginPage.
Inside the LoginPage a have a Template and inside
the WOComponentContent of the Template a have
a partial component called LoginForm.

I have a loginAction in a custom DirectAction class
that works if username and password
are correct. I have a badUsernameAction that take returns the user to the
same page, LoginPage.


Now, I have two questions, given that the app is currently sessionless.
1. How do I, from within badUsernameAction, to
the value of its String 'message' in the ErrorMessage partial component?
2. how do I, from within badUsernameAction, set the static field 'username' in LoginForm to be the same as the
username that the user originally entered?


Thanks,

Mike W.
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: index of WODisplayGroup.displayedObjects() array
  • Next by Date: Re: index of WODisplayGroup.displayedObjects() array
  • Previous by thread: Re: Filtering an array of EO objects in D2J (getting the data source)
  • Next by thread: Re: rawRowsForSql - appending a Number to the String [SOLVED]
  • Index(es):
    • Date
    • Thread