!--a11y-->
Use
The GET_DEFAULT_ACTION_DESIGN method specifies which preferred type of interface element is to be used for displaying actions.
The following are actions:
These interface elements include buttons, links and soft keys. The latter are specifically for WAP-enabled devices. The selection of a specific interface element for executing functions depends on the requesting mobile device. For HTML markup, mainly buttons and links are used to execute these functions, while links and soft keys are normally used for WAP-enabled devices.
Values
|
Values |
Short Description |
|
link |
The action appears as a link. |
|
button |
The action can be triggered by choosing a button. |
|
softkey |
The action appears as a Soft Key. |
|
linkAndSoftkey |
The action appears as a link or a soft key. |
Example
<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN"
"http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<card id="main" title="link or softkey">
<p>
Action should be rendered as
<%= client_info->get_default_action_design( ) %>
<br/>
<% if client_info->get_default_action_design( ) = 'softkey'.
</card>
<card id="c2" title="Page 2">
<do type="prev"><prev/></do>
<p>This is page 2</p>
</card>
</wml>
Interface IF_CLIENT_INFO