I use something like this:

In the component holding the repetition:

        public WOComponent inspectProject() {   
                TOSUtilities.setProjectSessionInfo(((Session)session()),
                                (PortfolioProject)dg.currentObjectInIteration(),
                                "main");
WOComponent nextPage = (WOComponent) pageWithName(Session.DFLT_PROJECT_COMPONENT);
                return nextPage;
        }

and in the html my binding is like:

InspectProject: JSModalWindowFixed {
        isResizable = true;
        showScrollbars = true;
        height = session.projectWindowHeight;
        width = session.projectWindowWidth;
        windowName = "ProjectInspect";
        action = inspectProject;
        left = 10;
        top = 10;
}

HTH

-j-



On May 15, 2008, at 1:52 PM, Yury Peskin wrote:

List,
I'm using a JSModalWindow in a repition and I need to pass a specific EO to JSModalWindow, so that I can add notes to an EO.
Is there a way of doing this?
Thanks,
Yury Peskin

_______________________________________________
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/james%40jimijon.com

This email sent to [EMAIL PROTECTED]

 _______________________________________________
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