
| Key: |
SHALE-255
|
| Type: |
Bug
|
| Status: |
Resolved
|
| Resolution: |
Fixed
|
| Priority: |
Major
|
| Assignee: |
Unassigned
|
| Reporter: |
Andrew Gilette
|
| Votes: |
0
|
| Watchers: |
0
|
|
If you were logged in you would be able to see more operations.
|
|
|
|
inputText components within a shale:subview are giving the following warning "There should always be a submitted value for an input if it is rendered, its form is submitted, and it is not disabled or read-only" when the components are first created(When navigating to a new page the components on the new page are giving the error).
I believe it is because of the following code in org.apache.shale.component.Subview
public void encodeBegin(FacesContext context) {
Object vc = getViewController(context, false);
if (vc != null) {
try {
getViewControllerCallbacks(context).prerender(vc);
} catch (Exception e) {
handleException(context, e);
}
}
super.processDecodes(context);
}
Shouldn't it be....
public void encodeBegin(FacesContext context) throws IOException{
Object vc = getViewController(context, false);
if (vc != null) {
try {
getViewControllerCallbacks(context).prerender(vc);
} catch (Exception e) {
handleException(context, e);
}
}
super.encodeBegin(context);
}
|
|
Description
|
inputText components within a shale:subview are giving the following warning "There should always be a submitted value for an input if it is rendered, its form is submitted, and it is not disabled or read-only" when the components are first created(When navigating to a new page the components on the new page are giving the error).
I believe it is because of the following code in org.apache.shale.component.Subview
public void encodeBegin(FacesContext context) {
Object vc = getViewController(context, false);
if (vc != null) {
try {
getViewControllerCallbacks(context).prerender(vc);
} catch (Exception e) {
handleException(context, e);
}
}
super.processDecodes(context);
}
Shouldn't it be....
public void encodeBegin(FacesContext context) throws IOException{
Object vc = getViewController(context, false);
if (vc != null) {
try {
getViewControllerCallbacks(context).prerender(vc);
} catch (Exception e) {
handleException(context, e);
}
}
super.encodeBegin(context);
} |
Show » |
|