[英]ajax is not working from inside of datatable in JSF2
我正在调用ajax,在其中执行数据表之外的标签,但不起作用并且无法识别外部标签的ID。
Suppose both the table and the tag you want to execute are inside the <h:form id="myForm">
, you can try execute=":myForm:myTagID"
. 假设表和要执行的标签都在
<h:form id="myForm">
,则可以尝试execute=":myForm:myTagID"
。 If it doesn't work, open your page in Chrome then use the Inspect Element
feature of Chrome to find out the tag's ID to execute. 如果不起作用,请在Chrome中打开页面,然后使用Chrome的
Inspect Element
功能找出要执行的代码ID。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.