Given this code,
<rich:dataTable id="list" value="#{testBeen.dataModel}" var="test" rows="#{testBeen.dataModel.pageSize}">
...
<h:outputText value="#{test.WEEK}" />
I need to manipulate the #{test.WEEK}
and replace character )
with ]
, how can I do this?
I tried the following, but it does not work:
<%String a = test.WEEK; a.replace("a", "b"); %>
<%=a %>
How can I get the string from JSF and pass it back to JSF?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…