You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by bu...@apache.org on 2002/03/01 09:06:02 UTC
DO NOT REPLY [Bug 6778] New: -
always expands with "default" parameter
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: cocoon-dev@xml.apache.org
ReportedBy: lavoro@arsenio.net
<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: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org