Hi, Would an approach like that of http://dynclass.sourceforge.net/ work for MMBase? Ie having a proxy that follows the javabeans conventions? Michael
(Still looking for possibilities to hookup into EL evaluation to
evaluate things like MMBase nodes properly)
-----Oorspronkelijk bericht-----
Van: [EMAIL PROTECTED] namens Rob van Maris
Verzonden: za 29-1-2005 15:26
Aan: Michiel Meeuwissen; [email protected]
CC:
Onderwerp: Re: [Developers] Re: [MMBASE CVS]src/org/mmbase/bridge/util
MapNode.java
On Jan 29, 2005, at 2:29 PM, Michiel Meeuwissen wrote:
> Rob van Maris wrote:
>> In addition, using a wrapper class, the demands of (for instance) EL
>> can be met much better than by extending Node. E.g. with node
>> extending
>> Map it will be impossible to retreive a field named "cloud", since
>> ${node.cloud} always evaluates to node.getCloud() instead of
>> node.get("cloud").
>
> Really? Would El not firstly decide that it is a Map, and therefore
> conclude
> that it should use the second version?
You're right, I stand corrected.
According to the JSP2.0 specs, if node.get("cloud") exists, it takes
precedence over node.getCloud(). This is confusing and an even better
reason in favor of a wrapper class instead of Node implementing Map.
Regards,
Rob van Maris
_______________________________________________
Developers mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/developers
Disclaimer
Dit bericht met eventuele bijlagen is vertrouwelijk en uitsluitend bestemd voor
de geadresseerde. Indien u niet de bedoelde ontvanger bent, wordt u verzocht de
afzender te waarschuwen en dit bericht met eventuele bijlagen direct te
verwijderen en/of te vernietigen. Het is niet toegestaan dit bericht en
eventuele bijlagen te vermenigvuldigen, door te sturen, openbaar te maken, op
te slaan of op andere wijze te gebruiken. Ordina N.V. en/of haar
groepsmaatschappijen accepteren geen verantwoordelijkheid of aansprakelijkheid
voor schade die voortvloeit uit (de inhoud van) de verzending van dit bericht.
This e-mail and any attachments are confidential and is solely intended for the
addressee only. If you are not the intended recipient, please notify the sender
and delete and/or destroy this message and any attachments immediately. It is
prohibited to copy, to distribute, to disclose or to use this e-mail and any
attachments in any other way. Ordina N.V. and/or its group companies do not
accept any responsibility nor liability for any damage resulting from (the
content of) the transmission of this message.
<<winmail.dat>>
_______________________________________________ Developers mailing list [email protected] http://lists.mmbase.org/mailman/listinfo/developers
