Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个链接可以让我访问 kosz.xhtml?id=3; 我如何在 kosz.xhtml 中接收 id 并保存到 bean? <c:set>不要为<f:param>我工作
<c:set>
<f:param>
为此,<f:viewParam>打算使用。把它放在模板客户端中:
<f:viewParam>
<f:metadata> <f:viewParam name="id" value="#{bean.id}" /> </f:metadata>