ste*_*vey 2 jsp struts2 radio-button
我已经使用 Struts2 标签创建了单选按钮,并且我知道最简单的用法,例如:
<s:radio id="radiobutton" name="myRadioButton"
list="#{'1' : 'label1', '2' : 'label2', '3' : 'label3'}"
Run Code Online (Sandbox Code Playgroud)
但我想要的是为每个标签添加提示,当鼠标移动到单选按钮上时显示文本。
我怎样才能用Struts2做到这一点?
用这个
<s:radio id="radiobutton" name="myRadioButton" title="label1" list="#{'1' : 'label1'}"/>
<s:radio id="radiobutton" name="myRadioButton" title="label2" list="#{ '2' : 'label2'}"/>
<s:radio id="radiobutton" name="myRadioButton" title="label3" list="#{ '3' : 'label3'}"/>
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
14018 次 |
| 最近记录: |