Hi,

public WOActionResults printViewAction() {
   PrintViewComponent nextPage = 
pageWithName(PrintViewComponent.class.getName());
   nextpage.setWhatEver(foo);
   return nextPage;
}

Stefan


Theodore Petrosky schrieb:
I have a project with multiple components. in one of these components, I am 
creating a new 'window':

PrintViewLink : WOHyperlink {
        directActionName = "printView";
        target = "_blank";
}

In my directAction I have:

public WOActionResults printViewAction() {
    return pageWithName(PrintViewComponent.class.getName());
}

This window is basically a print view. click the print button on a modalContainer and you see a window of the current record ready to print.
How do I pass this new window an object? I was thinking somehow through the 
session. But then I thought 'there must be an easier way'...

Ted


_______________________________________________
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/stefan.klein%40buero-sde.de

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