Yes you can.

Almost every top level page in my application is stateful and almost every custom subcomponent in my app is stateless. This was just a design decision up front to help memory and in general I like the predictability of knowing that my subcomponents are reset before each phase of the RR loop. In stateless subcomponents, you can still bind up and fire component actions as normal.

If you are just getting into stateless subcomponents, the one thing that is a PITA is remembering to reset iVars, especially as you do iterative changes to the stateless subcomponents. After having a few bugs bite me from me forgetting to do this, I put together a generic reset that uses reflection to make the use of stateless components much more palatable. http://homepage.mac.com/kelleherk/iblog/C1133025376/E1146937278/ index.html

Also, some intro to stateless components:
http://homepage.mac.com/kelleherk/iblog/C1133025376/E1896801830/ index.html

HTH,

Regards, Kieran



On Sep 10, 2006, at 3:41 AM, Ute Hoffmann wrote:

Hallo,
Is it possible to have a component Action inside of a stateless component or are only direct Actions allowd/possible in Stateless components?

Regards

Ute

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/kieran_lists% 40mac.com

This email sent to [EMAIL PROTECTED]

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to archive@mail-archive.com

Reply via email to