Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

datepicker ajax support #298

Closed
lyahim opened this issue Feb 18, 2016 · 5 comments
Closed

datepicker ajax support #298

lyahim opened this issue Feb 18, 2016 · 5 comments

Comments

@lyahim
Copy link
Contributor

lyahim commented Feb 18, 2016

Hello All,

Is it possible to add ajax support to datepicker?

Thanks,
Mihaly

@stephanrauh
Copy link
Collaborator

Sure. Currently, we've got so many open ticket that we have to start to prioritize things. How fast do you need the AJAX support?

@lyahim
Copy link
Contributor Author

lyahim commented Feb 18, 2016

The earlier the better :)
At now I can solve with Remotecommand.

<b:datepicker id="dateSelect" value="#{calendarBean.selectedDate}" placeholder="1900-01-01" 
                        dateFormat="#{appBean.defaultDatePattern}">
                        <p:remoteCommand name="rc" update="calendars" actionListener="#{calendarBean.changeDate}" />
                        </b:datepicker>
                        <script>
                            $("#calendarForm\\:dateSelect").attr('onchange','rc()');
                        </script>

@stephanrauh
Copy link
Collaborator

Hey, that's a pretty cool workaround! And a clear case for using PrimeFaces along with BootsFaces :).

Nonetheless, we won't forget your issue. It's just good to know we don't have to solve it today :).

@stephanrauh
Copy link
Collaborator

I'll close this ticket in favor of #572. BTW, we've called the component b:dataPicker deprecated because we'd like to get rid of the dependency to jQueryUI. You can use b:dataTimePicker instead. So I'm not sure we'll add AJAX to the deprecated component. The new component offers full support of AJAX.

@stephanrauh
Copy link
Collaborator

stephanrauh commented Apr 22, 2017 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants