DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6778>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6778 <session:get-attribute> always expands with "default" parameter Summary: <session:get-attribute> always expands with "default" parameter Product: Cocoon 2 Version: Current CVS Platform: All OS/Version: All Status: NEW Severity: Normal Priority: Other Component: general components AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] <session:get-attribute> always expands into getAttribute (objectModel,name,default) prototype, even if you specify or not the "default" parameter. This is not correct, because of you cannot use the other prototype getAttribute(objectModel,name) that returns null when the attribute doesnt exist. This should be corrected by leaving blank the value-for-default template if the default parameter does not exist, and adding that parameter into the call to getAttribute, only if not blank. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]