cast list to string in writerhelper
Called by:Michiel Meeuwissen
Total tally on this call : +8
YEA (8) : Nico Klasens, Rob Vermeulen, Pierre van Rooden, Rico Jansen, Kees Jongenburger, Gerard van Enk, Wilbert Hengst, Rob van Maris
ABSTAIN (1) : Eduard Witteveen
NAY (0) :
VETO (0) :
No votes, assumed abstained (6): Daniel Ockeloen, Marcel Maatkamp, David van Zeventer, Mark Huijser, Johannes Verelst, Jaco de Groot
Call result:
Call succeeded, code can be changed.
Michiel Meeuwissen wrote:
Rico Jansen <[EMAIL PROTECTED]> wrote: > As far as I can see this resolves the problem in a far more elegant manner.I will revoke my call. And if nobody has objected tomorrow I (or maybee Michiel) can make a Call.
So, since nothing happened, I do the call myself.
I have changed the proposal a little. My original proposal did take
the last entry of a list always if not explicitily request a list. I
think this is too much.
It is for example possible to make function on nodes which return a
list. We see this in the media-project:
<mm:field name="urls()" />
Which would now require to be:
<mm:field name="urls()" vartype="list" />
This is of course mainly used for debugging (depending toString of
list) because in actual use the followwing will be common anyway:
<mm:field name="urls()" vartype="list" jspvar="list">
<% bla bla %>
</mm:field>
But also this stays possible (in contradiction to the orignal proposal):
<mm:field name="urls()" jspvar="list">
<% List a = (List) list; bla bla %>
</mm:field>
(but who likes to do the cast, if 'vartype' would do it more elegantly)
So, I decided that it is nicer to make it optional in WriterHelper.
The diffs are attached.
For more information about this hack, I refer to this thread.
I think the impact will now be so little that a vote is hardly required, but anyway.
START OF CALL: 2003-02-16
END OF CALL: 2003-02-19
-- Pierre van Rooden Mediapark, C 107 tel. +31 (0)35 6772815 "Never summon anything bigger than your head."
