private String getPathReplacementString ( Container container ) { String path = JS_PATH_REF ; if ( null != container . getBean ( DWR_OVERRIDEPATH_PARAM ) ) { path = ( String ) container . getBean ( DWR_OVERRIDEPATH_PARAM ) ; } else if ( null != container . getBean ( DWR_MAPPING_PARAM ) ) { path = JS_CTX_PATH + container . getBean ( DWR_MAPPING_PARAM ) ; } return path ; }
Gets the appropriate path replacement string for a DWR container