-
1. Re: a4j:jsFunction question
gregoryl Dec 8, 2008 3:32 AM (in response to gregoryl)one more thing:
i have looked inside ajax response and i see that value from bean is properly fetched and elements for hintDiv element Body replacement have been successfully prepared in response. But when requested elements are indeed present in ajax response, resulting html element is not updated. I don't know why -
2. Re: a4j:jsFunction question
gregoryl Dec 8, 2008 9:22 AM (in response to gregoryl)Does anybody have any idea what is wrong ?
-
3. Re: a4j:jsFunction question
shadowcreeper Dec 8, 2008 12:55 PM (in response to gregoryl)Can't really tell, but maybe try putting hintDiv inside another div (which is always rendered) and reRender that new outside div instead.
If a div was not rendered do to the rendered attribute, you cannot reRender it. This has been stated multiple times in past threads. -
4. Re: a4j:jsFunction question
ilya_shaikovsky Dec 9, 2008 5:54 AM (in response to gregoryl)reRender of conditionally rendered elements not allowed (nothing to update in DOM if the element isn't rendered initially). Define wrapper (outputPanel) and update just the wrapper component.