Hi!
The showcase says that the pe:resetInput component can be applied to UICommand components.
Is there any way to get pe:resetInput work with UIData components too?
In my special case:
I have a master detail scenario with p:dataTable and with instant selection enabled.
I would like to reset the details panel on the p:dataTable rowSelect event.
Any ideas are appreciated.
pe:resetInput on p:dataTable
-
- PrimeFaces Core Developer
- Posts: 3979
- Joined: 03 Dec 2010, 14:11
- Location: Bavaria, DE
- Contact:
Hi,
<p:ajax event="rowSelect" .... >
<pe:resetInput event="rowSelect" ...>
<p:ajax event="rowSelect" .... >
<pe:resetInput event="rowSelect" ...>
Thomas Andraschko
PrimeFaces | PrimeFaces Extensions
Apache Member | OpenWebBeans, DeltaSpike, MyFaces, BVal, TomEE
Sponsor me: https://github.com/sponsors/tandraschko
Blog: http://tandraschko.blogspot.de/
Twitter: https://twitter.com/TAndraschko
PrimeFaces | PrimeFaces Extensions
Apache Member | OpenWebBeans, DeltaSpike, MyFaces, BVal, TomEE
Sponsor me: https://github.com/sponsors/tandraschko
Blog: http://tandraschko.blogspot.de/
Twitter: https://twitter.com/TAndraschko
Yes, the last release 0.5.1 supports p:ajax. I think I desribed this. See this example with p:selectOneMenu to see how it works with p:ajax. Where did you read about UICommand?
PrimeFaces Cookbook (2. edition): http://ova2.github.io/primefaces-cookbook/ Learning Angular UI Development with PrimeNG: https://github.com/ova2/angular-develop ... th-primeng Blog: https://medium.com/@OlegVaraksin
@zoigl
Thank you for your input, it worked!
@Oleg
Yeah I know that it should work with ajax, I read about the event option on the showcase. However on the same page pe:resetInput it also says that "ResetInput is a component which can be applied to any UICommand component like ...".
This is why I thought that there could be some limitations, but no, I just applied this component on UIData too.
Thank you for your input, it worked!
@Oleg
Yeah I know that it should work with ajax, I read about the event option on the showcase. However on the same page pe:resetInput it also says that "ResetInput is a component which can be applied to any UICommand component like ...".
This is why I thought that there could be some limitations, but no, I just applied this component on UIData too.
Quote from the showcase: "ResetInput is a component which can be applied to any UICommand component like CommandLink, CommandButton, MenuItem, RemoteCommand, HotKey and any ajaxified component with attached f:ajax / p:ajax."
PrimeFaces Cookbook (2. edition): http://ova2.github.io/primefaces-cookbook/ Learning Angular UI Development with PrimeNG: https://github.com/ova2/angular-develop ... th-primeng Blog: https://medium.com/@OlegVaraksin
My bad, thanks for pointing that out.Oleg wrote:Quote from the showcase: "ResetInput is a component which can be applied to any UICommand component like CommandLink, CommandButton, MenuItem, RemoteCommand, HotKey and any ajaxified component with attached f:ajax / p:ajax."
-
- Information
-
Who is online
Users browsing this forum: No registered users and 21 guests