We have a winner!!

Thanks Chuck. Awesome solution!

David

On 24 May 2007, at 12:38 PM, Chuck Hill wrote:

    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();
    }

 _______________________________________________
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