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      (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