• 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
Re: WODisplayGroup advice needed
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: WODisplayGroup advice needed


  • Subject: Re: WODisplayGroup advice needed
  • From: Rick Innis <email@hidden>
  • Date: Thu, 24 Nov 2005 12:43:02 -0500


On Nov 24, 2005, at 12:19, David LeBer wrote:

Because you are using a WORepetion you really don't need to worry about he WODisplayGroup at all at this point. You should already have a reference to the Object you need.

Assuming the 'item' binding of your WORepetition is bound to 'recordItem'

Wrap a WOHyper link around some attribute in the WORepetition (ie: recordItem.recordNumber) and bind it's action binding to something like this:

public WOComponent editInFullForm() {
    FullForm nextPage = (FullForm)pageWithName("FullForm");
    nextPage.setRecord(recordItem);
    return nextPage;
}


That's something I expected would work, but the item binding was null when the action method is called.

That apparently was happening because I was refetching the objects in awake() to ensure that the group was properly redisplayed when the user came back it after reviewing the form, because when I take that code out of awake this approach works. Thanks.

And I guess I now need to know how to properly refresh a display group :-)

    --Rick.

_______________________________________________
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: WODisplayGroup advice needed
      • From: David LeBer <email@hidden>
References: 
 >WODisplayGroup advice needed (From: Rick Innis <email@hidden>)
 >Re: WODisplayGroup advice needed (From: David LeBer <email@hidden>)

  • Prev by Date: Re: WODisplayGroup advice needed
  • Next by Date: Re: WODisplayGroup advice needed
  • Previous by thread: Re: WODisplayGroup advice needed
  • Next by thread: Re: WODisplayGroup advice needed
  • Index(es):
    • Date
    • Thread