
|
If you were logged in you would be able to see more operations.
|
|
|
Struts 1
Created: 23/Mar/06 04:49 PM
Updated: 03/Jul/07 08:36 PM
|
|
| Component/s: |
Tiles 1 Plugin
|
| Affects Version/s: |
1.2.8
|
| Fix Version/s: |
1.3.3
|
|
|
Environment:
|
Operating System: other
Platform: Other
Operating System: other
Platform: Other
|
|
|
If we have a list of attribute and a null value is encountered SKIP_BODY is
returned and other attributes are not imported into the pageContext.
I think we need to take out the else clause?
public int doStartTag() throws JspException
....
....
if( value == null ) {
if(!isErrorIgnored)
throw new JspException ( "Error - tag importAttribute : property '"+
name + "' has a value of 'null'" );
else
return SKIP_BODY;
}
should become
if( value == null ) {
if(!isErrorIgnored)
throw new JspException ( "Error - tag importAttribute : property '"+
name + "' has a value of 'null'" );
}
|
|
Description
|
If we have a list of attribute and a null value is encountered SKIP_BODY is
returned and other attributes are not imported into the pageContext.
I think we need to take out the else clause?
public int doStartTag() throws JspException
....
....
if( value == null ) {
if(!isErrorIgnored)
throw new JspException ( "Error - tag importAttribute : property '"+
name + "' has a value of 'null'" );
else
return SKIP_BODY;
}
should become
if( value == null ) {
if(!isErrorIgnored)
throw new JspException ( "Error - tag importAttribute : property '"+
name + "' has a value of 'null'" );
} |
Show » |
|