jakarta-taglibs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike Cannon-Brookes" <mcan...@internet.com>
Subject <session:setattribute>
Date Fri, 08 Dec 2000 04:45:09 GMT
Am I right in thinking that this tag can only set String attributes?

Surely this is artificially limiting the usefulness of this tag? 

How about adding an optional value attribute:

<session:setattribute name="foo" value="<%= bar %>" />

This way you could set objects as well as just Strings? 

My $0.02 ;)

-mike

____________________________________________________________
Mike Cannon-Brookes - Technology Director, Asia Pacific
internet.com Corporation - The Internet Industry Portal 
Ph: (612) 9290 1088 - Mob: 0416 106090

- The Media Network @ http://australia.internet.com
- Meet A Guru @ http://www.breakfastforums.com.au
- Subscribe Online @ http://www.enewsletters.com.au
____________________________________________________________




Mime
View raw message