On Mar 31, 2009, at 7:45 PM, Greg Hulands wrote:

Hi,
I've got a component with the following in it:

                <wo:AjaxTabbedPanel id="worksheetTabs" busyDiv="loading">
                        <wo:repeat list = "$session.worksheets" 
item="$worksheet">
<wo:AjaxTabbedPanelTab name = "$worksheet.title" isSelected="$isActiveWorksheet">
                                        <wo:Worksheet worksheet="$worksheet"/>
                                </wo:AjaxTabbedPanelTab>
                        </wo:repeat>
                </wo:AjaxTabbedPanel>

First off, I am not sure if you can use a TabbedPanelTab in a repetition. I know this did not work when I first wrote this. IIRC, it still does not work.


When it renders the page I have 1 worksheet that should display, but I get a tab with the title null. Stepping through it, I see that the worksheet gets set, but then it gets set again to null.

In the stack trace I see the oddly named ERXWORepetition._cleanupAfterIteration() which is causing the setting of null.

Does anyone know why this would be happening and how to rectify it?


Right now that sounds normal. WORepetition and ERXWORepetition set the item to null after the repetition finishes.

Chuck

--
Chuck Hill             Senior Consultant / VP Development

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      (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 arch...@mail-archive.com

Reply via email to