当我打开jsf页面时,Notice: iconv(): Detected an illegal character in input string in
会创建两次。那为什么会这样呢?
jsf页面:
catalog bean
豆:
<h:dataTable value="#{catalog.products}" var="p">
<h:column>
<h:form>
<h:commandLink action="detail?faces-redirect=true"
value="#{p.brand} #{p.model}">
<f:setPropertyActionListener value="#{p}"
target="#{ph.currentProduct}" />
</h:commandLink>
</h:form>
</h:column>
</h:dataTable>