-
1. Re: Calendar update cell does not updates after bean logic p
ilya_shaikovsky Sep 28, 2009 5:23 AM (in response to asmweb)hm.. you should fully revise the code.
<a4j:support event="onchanged" reRender="link2, link1"> <a4j:commandLink value="Delete" action="#{bean.delete}" > <a4j:support event="onclick" reRender="link2, link1, calendario"></a4j:support> </a4j:commandLink>
three! request will be fired on pressing link. first from support inner to the link, second from the link itself and third from support which is onchanged.
So you should 1) not to add unnesessary supports to ajax controls. 2) stop event bubling when the ajax controls inside already activated. -
2. Re: Calendar update cell does not updates after bean logic p
asmweb Sep 28, 2009 5:46 AM (in response to asmweb)I have those three supports because my page is divided in three areas, one is the calendar, one is the datatable and the third one is the form. So when I choose the date i get the datatable updated and the datafield updated as well. When I save the form fields I get the datatable updated but not the calendar. Actually I can not really get where should I remove the ajax support and stop the event bubbling?
-
3. Re: Calendar update cell does not updates after bean logic p
ilya_shaikovsky Sep 28, 2009 6:02 AM (in response to asmweb)sorry.. missed the closure calendar tag.. so the delete is outside..
but in any way - it should not ahave support inside. the attributes should be at the command link itself. -
4. Re: Calendar update cell does not updates after bean logic p
asmweb Sep 28, 2009 6:07 AM (in response to asmweb)Well i did remove the support from all the commandlink and just left it inside the caledar but things did not improve at all so far.
-
5. Re: Calendar update cell does not updates after bean logic p
asmweb Sep 28, 2009 11:50 AM (in response to asmweb)I tried to look at some log from ajax4jsf output and I've got the sensation that the calendar does not seem to be updated at all, it seems to me that it restores the view of the previously saved state.