• 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
A method only refered to in the wod-file is called during invokeAction
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

A method only refered to in the wod-file is called during invokeAction


  • Subject: A method only refered to in the wod-file is called during invokeAction
  • From: Kaj Hejer <email@hidden>
  • Date: Tue, 10 May 2005 15:15:52 +0200

Hi!

We have a component with a WORepetition where list is bound to a method in the component (lets call it getMyListElements). This method is called during appendToResponse. This method is not refered to from ANY place except for in the wod-file for this component.

Everything is good so far :)

But... this method is also called during invokeAction when I click a link in the WORepetition that iterate over this array. The link is bound to a method where the currentItem for the repetition is accessed like

  public WOComponent doMyStuffWithCurrent() {
    ...
    nextPage.setSelectedIdem(currentItem);
    return nextPage;
  }

I noticed that this method was called twice (when looking at sql- debuginfo) and implemented invokeAction just calling super, but with a debugstatement before and after the call to super, and there... while beeing in super.invokeAction getMyListElements is called.

I have a debugstatement in doMyStuffWithCurrent too :) and I this method is called after super.invokeAction has finished.

Can the access to currentSporreundersokelse trigger a call to the method from which the array I iterate over?

I see this both with WO5.2.2 and WO5.2.4.

Has anybody here seen anything similar? Any ideas why the method is called during invokeAction?

TIA for any input!


-Kaj :) _______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: A method only refered to in the wod-file is called during invokeAction
      • From: Chuck Hill <email@hidden>
  • Prev by Date: UI features of Webobjects without webobjects application server
  • Next by Date: D2J Menu Bar and Application Name
  • Previous by thread: Re: UI features of Webobjects without webobjects application server
  • Next by thread: Re: A method only refered to in the wod-file is called during invokeAction
  • Index(es):
    • Date
    • Thread