2009年4月7日星期二

maximo 控件修改。

  在Maximo6.2中,设计人员设计了Radiobuttongroup的排列方式,但实际代码并没有实现此功能,即Radiobuttongroup控件的orientation属性没有实现(或者说有BUG),现在我们来完成它吧。

实现方式:
修改\maximouiweb.war\webclient\controls\radiobuttongroup\control.jsp代码即可。

1、在194行插入变量定义。
String orientation = controlProperties.getString("orientation");
2、将243行进行修改
<tr>
修改为
<%if (!"HORIZONTAL".equalsIgnoreCase(orientation)) {%><tr><%}%>
3、将260行进行修改
</tr>
修改为
<%if (!"HORIZONTAL".equalsIgnoreCase(orientation)) {%></tr><%}%>
最终效果如下图:

0 comments:

发表评论

 
Friend JXKJ EAMPUB NIU-B China
CopyRight 2007-2009 WMZSOFT QQ