小编Mar*_*sol的帖子

如何从JavaScript中的ap:calendar组件获取Date值?

我不知道如何获得的日期值<p:calendar>在PrimeFaces使用组件的JavaScript

这是我的组成部分

<p:calendar id="calendarInicio"
            widgetVar="horaInicioSpin"
            value="#{hbean.horaInicial}" timeOnly="true" 
            pattern="HH:mm" required="true"/>
Run Code Online (Sandbox Code Playgroud)

我需要获取组件的小时值,因为我将<p:calendar>使用JavaScript将该值发送到其他组件.谁能给我一个想法?提前致谢...

javascript jsf calendar primefaces

2
推荐指数
1
解决办法
2723
查看次数

标签 统计

calendar ×1

javascript ×1

jsf ×1

primefaces ×1