public void setAnItem(Item newAnItem)
    {   
                anItem = newAnItem;
    }

    public boolean isFirstItem()
    {
        // index() is bound to WORepetition index binding
        return index() == 0 ||
! anItem().batch_number().equals(((Item)items().objectAtIndex(index () - 1)).batch_number();
    }


On May 24, 2007, at 11:52 AM, Guido Neitzer wrote:

Am 24.05.2007 um 12:09 schrieb Chuck Hill:

I am feeling kind of stumped here. Are you sure that your representation (below) of the situation matches your real page? It seems that the repetition contents when the page is rendered are somehow different than when the link click is received. That is all that I can think of.

I thought of that two because it uses a boolean which might be false at the end of the request response loop and there for the action will not be triggered. He should use the item itself to determine the boolean value and not a boolean getter method.

cug
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/chill% 40global-village.net

This email sent to [EMAIL PROTECTED]


--

Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/products/practical_webobjects





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

This email sent to [EMAIL PROTECTED]

Reply via email to