开发者

create condition in <html:optionsCollection> tag in struts

I am displaying 3 values from a collection in a table of 3 rows i.e "aa,bb,cc" using <html:optionsCollection> tag in struts.

aa    can ed开发者_开发问答it
bb    cannot edit
cc    can edit

There is a condition that value bb is not editable. How to do that in struts?


I suggest using JSTL conditions <c:if> in your <html:optionsCollection> tag.


Problem is solved with <logic:notEqual> tag

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜