相关疑难解决方法(0)

如何使commandButton不能完全刷新页面?如何使用f:ajax?

我必须流式传输网络摄像头视频,所以我使用ustream来做这个,它为我生成一个flash嵌入代码,我有一个关闭/打开灯的按钮,但是当我按下按钮时它会刷新整个页面,所以flash组件.

有一些方法不刷新页面仍然发送到命令?那么现在就是这样:

        <h:form id="form_supervisory">
            <h:panelGrid>
                <h:column>
                    <iframe width="480" height="296" src="http://www.ustream.tv/embed/9599890" scrolling="no" frameborder="0" style="border: 0px none transparent;">    </iframe>
                    <h:commandButton value="Lâmpada" action="#{supervisoryc.invertBo}" />
                    <h:graphicImage value="#{supervisoryc.imageBo}" />
                </h:column>
            </h:panelGrid>
        </h:form>
Run Code Online (Sandbox Code Playgroud)

jsf refresh jsf-2 commandbutton

13
推荐指数
1
解决办法
3万
查看次数

标签 统计

commandbutton ×1

jsf ×1

jsf-2 ×1

refresh ×1