問題タブ [selectonebutton]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
image - 画像付き
Primefaces で JSF を使用しています。画像のみのラジオボタンのボタンセットを使用したいのですが、うまくいきません。
コードは次のとおりです。
「escape」、「escapeItem」、さらには「itemEscaped」属性で文字をエスケープしようとしました。this other questionの最後のものについて読みました。その質問の解決策では<h:selectOneRadio>
、 ではなくを使用し<p:selectOneButton>
ます。
注: jQueryUIbuttonset()
メソッド(Primefacesはバックグラウンドで使用)を使用して動作することはわかっているため、スクリプトの問題ではありません..
それで、これを行うことは可能<p:selectOneButton>
ですか?
ありがとう!
jsf - f:selectItem itemEscaped=false p:selectOneButton ラベルの HTML のエスケープを解除しない
私は PrimeFaces 5.3 を使用しています。ap:selectOneButton に次の f:selectItem があります
このhtmlコードを直接示しています:
代わりにフォントの素晴らしいアイコンを表示します。
アイデアや提案はありますか?