XPages Mobile テーマを使用する場合、リソースとしてページに追加する CSS ファイルは、IBM がモバイル テーマの一部として提供する CSS ファイルの前に追加されます。
例:
<xp:this.resources>
<xp:styleSheet href="css/font-awesome/css/font-awesome.css"></xp:styleSheet>
<xp:styleSheet href="/mobile.css"></xp:styleSheet>
</xp:this.resources>
次の HTML を生成します
<link rel="stylesheet" type="text/css" href="/redpill/graph.nsf/css/font-awesome/css/font-awesome.css">
<link rel="stylesheet" type="text/css" href="/redpill/graph.nsf/mobile.css">
<link rel="stylesheet" type="text/css" href="/xsp/.ibmxspres/dojoroot-1.8.1/dojox/mobile/themes/iphone/iphone.css">
<link rel="stylesheet" type="text/css" href="/xsp/.ibmxspres/.extlib/css/customMobile.css">
<link rel="stylesheet" type="text/css" href="/xsp/.ibmxspres/.extlib/css/customIphone.css">
IBM の後に独自のカスタム コントロールを強制的に追加する方法はありますか? 自分の CSS がチェーンの最初にリストされている場合、スタイルを制御するのはより困難です (ただし、不可能ではありません)。