1
2
3
4 package org.rcfaces.core.internal.component;
5
6 import javax.faces.component.UIComponent;
7 import javax.faces.component.html.HtmlOutputText;
8
9 import org.rcfaces.core.internal.capability.IAsyncRenderComponent;
10
11
12
13
14
15
16 public class AsyncHtmlOutputText extends HtmlOutputText {
17 private static final String REVISION = "$Revision: 1.2 $";
18
19 public boolean isTransient() {
20 if (super.isTransient() == false) {
21 return false;
22 }
23
24 for (UIComponent parent = getParent(); parent != null; parent = parent
25 .getParent()) {
26 if (parent instanceof IAsyncRenderComponent) {
27
28 setTransient(false);
29 return false;
30 }
31 }
32
33 return true;
34 }
35 }