
|
If you were logged in you would be able to see more operations.
|
|
|
|
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 » |
|