private boolean canOutcomeBeRendered ( Button button , String fragment , String outcome ) { boolean renderOutcome = true ; if ( null == outcome && button . getAttributes ( ) != null && button . getAttributes ( ) . containsKey ( "ng-click" ) ) { String ngClick = ( String ) button . getAttributes ( ) . get ( "ng-click" ) ; if ( null != ngClick && ( ngClick . length ( ) > 0 ) ) { if ( fragment == null ) { renderOutcome = false ; } } } return renderOutcome ; }
Do we have to suppress the target URL?