Re: hidden input not refreshed

2015-01-02 Thread Romain Manni-Bucau
issue solved! content type header was misread! sorry for the noise Romain Manni-Bucau @rmannibucau http://www.tomitribe.com http://rmannibucau.wordpress.com https://github.com/rmannibucau 2015-01-02 12:54 GMT+01:00 Ludovic Pénet : > You can also give your input hidden an id and request its upd

Re: hidden input not refreshed

2015-01-02 Thread Ludovic Pénet
You can also give your input hidden an id and request its update this way. Avoids re-sendind all form... Best regards, Le 2 janvier 2015 11:21:10 UTC+01:00, Romain Manni-Bucau a écrit : >@this will just refresh the commandButton no? so it is really @form >(goal would be to refresh the conversa

Re: hidden input not refreshed

2015-01-02 Thread Romain Manni-Bucau
@this will just refresh the commandButton no? so it is really @form (goal would be to refresh the conversation id). Could it be a difference between MF and Mojarra - it is taken from CDI TCKs so I guess it was passed using mojarra? Romain Manni-Bucau @rmannibucau http://www.tomitribe.com http://

Re: hidden input not refreshed

2015-01-02 Thread Thomas Andraschko
I see Romain. It should work for the first button... You could try to add execute="@this" but it should work without, too. 2015-01-02 11:01 GMT+01:00 Mert ÇALIŞKAN : > Yes, default value of f:ajax is @none. > But also by default the element that triggers the request, which is > in your case, wil

Re: hidden input not refreshed

2015-01-02 Thread Mert ÇALIŞKAN
Yes, default value of f:ajax is @none. But also by default the element that triggers the request, which is in your case, will get re-rendered (refreshed with your statement). so your inputHidden will not be updated unless specified. Cheers, M. Oracle Java Champion Developer (http://www.t2

Re: hidden input not refreshed

2015-01-02 Thread Romain Manni-Bucau
that's what is done (beginConversationButton): Romain Manni-Bucau @rmannibucau http://www.tomitribe.com http://rmannibucau.wordpress.com https://github.com/rmannibucau 2015-01-02 10:51 GMT+01:00 Thomas Andraschko : > Hey Romain, > > AFAIR the default for the render attribute of f:ajax is @n

Re: hidden input not refreshed

2015-01-02 Thread Thomas Andraschko
Hey Romain, AFAIR the default for the render attribute of f:ajax is @none, so therefore it's expected. You would need to set it to e.g. render="@form" 2015-01-02 10:33 GMT+01:00 Romain Manni-Bucau : > Hi guys, > > > in cdi tcks there is: > > > id="conversationId" /> > > value="Begin con

hidden input not refreshed

2015-01-02 Thread Romain Manni-Bucau
Hi guys, in cdi tcks there is: seems when ajax rendering is triggered h:inputHidden is not refresh, is it expected? Romain Manni-Bucau @rmannibucau http://www.tomitribe.com http://rmannibucau.wordpress.com https://github.com/rmannibucau