cancel
Showing results for 
Search instead for 
Did you mean: 

Iviews Properties - Maximizing the Window

Former Member
0 Kudos

Hi All,

I have a Page which have a Webdynpro Iview. If an user clicks a button in that Page it will be open a Iview in a new window. The maximize option is not enabled in the new Window. How to enable that?

Regards,

Revathi Raju.

Accepted Solutions (1)

Accepted Solutions (1)

DeeptiChavare
Active Participant
0 Kudos

Hi Revathi,

If you are using WDPortalNavigation.navigateAbsolute() or WDPortalNavigation.navigateRelative() method to open new window, then these methods have a string parameter called window features.

To this parameter, pass string "Resizable=yes".

Regards,

Deepti

Former Member
0 Kudos

Hi Deepti,

I am not sure whether these two methods are used are not.

This is the code(method) for which the new window is opened I guess. I am using ESS/MSS implementation. Please let me know if there is any possibities?

public boolean startApplication( java.lang.String serviceKey, java.util.Properties applicationParameters )

{

LOGGER.traceEnter("startApplication");

boolean successful = false;

if (applicationParameters == null) {

applicationParameters = new java.util.Properties();

}

NavigationTarget serviceNavigationTarget =

wdThis.wdGetFcNavigationInterface().getNavigationTargetServiceWithKey1(serviceKey, applicationParameters);

if (serviceNavigationTarget.getApplication() != null) {

this.removeURLParametersFromNavigationTarget(serviceNavigationTarget, applicationParameters);

this.retainURLParametersInNavigationTarget(serviceNavigationTarget); // >>> OSS 855815 2007 - THX <<<

this.fpm.navigate(serviceNavigationTarget);

successful = true;

} else

{

wdComponentAPI.getMessageManager().reportMessage( IMessageFcTraUtils.ERROR__SERVICE__NOT__FOUND, new Object[] {serviceKey}, false);

LOGGER.logError(fpm, wdComponentAPI, "startApplication", "Service "serviceKey" not found.");

}

return LOGGER.traceExit("startApplication", successful);

}

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Check if the button creating the new window through coding? If yes you can enable the maximize button through java script.

Regards,

Kathiresan R