I recently came across the nice "sap-accessibility=X" - feature in HTMLB Design 2003, that peope use to get additionaly accessibility features.
My problem: when users call pageA.htm and add "?sap-accessibility=x" manually, how do I pass the parameter to all the pages that are called. If i just call navigation->goto_page( 'pageX.htm' ), the parameter would be gone.
Of course, I could check at every page change if the parameter is set and pass the parameter to the next page, but isn't there an easier way? Furthermore, there are more parameters like sap_xxx=x, right?
The sap-accessibility is mangled into the url as parameter 'a'. Once set, it sticks. The important aspect is that you must (as always) start the application with an unmangled URL.
Given such an URL, you can use BSP application DECODE to see that the attribute is actually set on any page.
As long as your navigation is with relative URLs, it will stick.
This can also be set using the RUNTIME (IF_BSP_RUNTIME) object method SET_ACCESSIBILITY.
Write this before you call the goto_page() method:
navigation->set_parameter( name = 'sap-accessibility' value = 'X' ).
Upps sorry didn't read the whole post. But I didn't find some sort of global flag either.
Message was edited by: Thomas Ritter
<i>Furthermore, there are more parameters like sap_xxx=x, right?</i>
Yes, there are a number more. You can try sap-rtl for fun, and sap-send-us-cookies=BAC-G5.01 to improve the handling of your OSS messages.
Add a comment