This content has been marked as final.
Show 4 replies
-
1. Re: Trouble with a4j:support and a4j:region use (newbie)
ilya_shaikovsky Jun 5, 2007 2:31 AM (in response to gwzoller)do not reRender conditionally rendered elements - surround them to some wrapper component (a4j:outputPanel) and reRender this wrapper.
-
2. Re: Trouble with a4j:support and a4j:region use (newbie)
gwzoller Jun 5, 2007 9:59 AM (in response to gwzoller)Beautiful, thanks! That did the trick.
-
3. Re: Trouble with a4j:support and a4j:region use (newbie)
amitdk Jun 25, 2007 2:32 PM (in response to gwzoller)I've had the same problem. However wrapping my inputText with an a4j outputPanel still does not refresh the value in the inputText. What am I doing wrong. Here's the code:
<a:region> <s:decorate template="layout/edit.xhtml"> <ui:define name="label">Timeline</ui:define> <h:selectOneMenu id="timeline" value="#{selectedTimeline}" required="false" immediate="true" valueChangeListener="#{task.timelineSelected}"> <s:selectItems id="timelinelst" value="#{timelineList}" var="timeline" label="#{timeline.description}" noSelectionLabel="Select..." hideNoSelectionLabel="false" /> <s:convertEntity /> <a:support event="onchange" reRender="test1234"/> </h:selectOneMenu> </s:decorate> <a:outputPanel id="test1234"> <h:inputText id="startdate" value="#{selectedTimeline.startDate}"> </h:inputText> <h:outputText value="#{selectedTimeline.startDate}"></h:outputText> </a:outputPanel> </a:region>
Thanks
Amit -
4. Re: Trouble with a4j:support and a4j:region use (newbie)
ilya_shaikovsky Jun 26, 2007 7:42 AM (in response to gwzoller)check please info from a4j log component to find info about rerendering results.