cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 6778] New: - <session:get-attribute> always expands with "default" parameter
Date Fri, 01 Mar 2002 08:06:02 GMT
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


Mime
View raw message