Split java.util.Date over two h:inputText fields representing hour and minute with f:convertDateTime

前端 未结 2 461
清酒与你
清酒与你 2020-11-27 21:22

I would like to set up a Date field in my page like this

|hours| h |minutes|

where hours and minutes are in separated inputText.

Th

2条回答
  •  庸人自扰
    2020-11-27 21:46

    You need two separate setter methods in the bean, and then do the merge in the server.

    
                                                            
提交回复
热议问题