-
1. Re: reRender not working (bug?)
sergeysmirnov Jun 8, 2007 10:47 AM (in response to przemjaskier)I am not sure, the idea to use a form inside the repeat component correct at all. Could you try to surround repeat with form but not vice versa
-
2. Re: reRender not working (bug?)
przemjaskier Jun 8, 2007 11:03 AM (in response to przemjaskier)I've just put h:form (not a4j:form) around ui:repeat and removed old form and it didn't help. Still outputext has id="j_id35:j_id36:0:itemActionMessage" and reponse comes with "j_id35:j_id36:itemActionMessage". Something's wrong here...
-
3. Re: reRender not working (bug?)
vh Jun 8, 2007 2:35 PM (in response to przemjaskier)try to use this to wrap the fields. I found it sometimes help.
<a4j:outputPanel ajaxRendered="true" -
4. Re: reRender not working (bug?)
przemjaskier Jun 8, 2007 5:20 PM (in response to przemjaskier)Thanks for answer, I've (somehow) forced it to work by adding
<a4j:ajaxListener type="org.ajax4jsf.ajax.ForceRender" />
inside <a4j:commandLink/>
Not that I'm satisfied with this solution, because I feel that original one should work. Can somebody comment on this hack?
One more thing. I've added <h:commandLink> with rendered="#{itemAction.cartLinkVisible}" attribute modified by the AJAX call presented above, Despite the fact that I' added it to cited commandLink's reRender attribute it is not rendered after this AJAX call (EL has value true after this call)... -
5. Re: reRender not working (bug?)
liuliu Jun 11, 2007 4:44 AM (in response to przemjaskier)hi,
in your post, i found something like action="#{itemAction.addToCartAction(item)}" ,
I dont know if we can pass the parameter like that. Does it works?or it is new in a4j? -
6. Re: reRender not working (bug?)
przemjaskier Jun 11, 2007 5:08 AM (in response to przemjaskier)it's possible thanks to the new Seam EL extensions. This should be done ages ago in the RI, I wonder why they didn't care...
-
7. Re: reRender not working (bug?)
ilya_shaikovsky Jun 11, 2007 7:41 AM (in response to przemjaskier)At present you need to have this listener to reRender concrete row inside a table. It's described in docs and there is examples present.