cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Morrison, John" <John.Morri...@uk.experian.com>
Subject RE: BUGS: <session:get-attribute> and <esql:query>
Date Thu, 28 Feb 2002 16:02:56 GMT
[Patches] appreciated :)

J.

> -----Original Message-----
> From: Paolo Scaffardi [mailto:lavoro@arsenio.net]
> Sent: Thursday, 28 February 2002 3:57 pm
> To: cocoon-dev@xml.apache.org
> Subject: BUGS: <session:get-attribute> and <esql:query>
> 
> 
> I recently updated to Cocoon 2.0.2dev, from an old project 
> running with
> the 2.0rc1, and i discovered many bugs that i reported many 
> months ago.
> 
> 1) <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.
> 
> 2) <esql:query> does not expands special java characters such 
> as " into
> equivalent sequence \". 
> 
> I have some other problems that i'll study before posting here.
> 
> Bye bye!
> 
> Cordiali saluti,
> Paolo Scaffardi
> AIRVENT SAM S.p.A.
> via Macanno 32 , 47900 Rimini (ITALY)
> Tel. 0541 383294 
> Fax. 0541 387086
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org
> 


=======================================================================
Information in this email and any attachments are confidential, and may
not be copied or used by anyone other than the addressee, nor disclosed
to any third party without our permission.  There is no intention to
create any legally binding contract or other commitment through the use
of this email.

Experian Limited (registration number 653331).  
Registered office: Talbot House, Talbot Street, Nottingham NG1 5HF

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message