public static String fixDisplayURL ( String strURL , boolean bHelp , boolean bNoNav , boolean bLanguage , PropertyOwner propertyOwner ) { if ( ( strURL == null ) || ( strURL . length ( ) == 0 ) ) return strURL ; Map < String , Object > properties = UrlUtil . parseArgs ( null , strURL ) ; if ( bHelp ) properties . put ( Params . HELP , Constants . BLANK ) ; if ( bNoNav ) { properties . put ( Params . MENUBARS , "No" ) ; properties . put ( Params . NAVMENUS , "No" ) ; properties . put ( Params . LOGOS , "No" ) ; properties . put ( Params . TRAILERS , "No" ) ; // Don't need outside frame stuff in a window } if ( bLanguage ) { String strLanguage = null ; if ( propertyOwner != null ) strLanguage = propertyOwner . getProperty ( "helplanguage" ) ; if ( ( strLanguage == null ) || ( strLanguage . length ( ) == 0 ) ) if ( propertyOwner != null ) strLanguage = propertyOwner . getProperty ( Params . LANGUAGE ) ; if ( ( strLanguage != null ) && ( strLanguage . length ( ) > 0 ) ) properties . put ( Params . LANGUAGE , strLanguage ) ; } return UrlUtil . propertiesToUrl ( properties ) ; }
Get this URL minus the nav bars