Hi,
Currently resources have no concept of the beginning or end of request
because most resources have no need for them. Problem is, if you have a
resource that is backed up by a DetachableModel there needs to be a way
to tell the model when to attach or detach itself. Currently the only
safe (but inefficient) way to do this seems to be to attach() at the
beginning of a method call and detach() at the end of it.
Ideally I'd like to give resources some sort of concept of the
beginning and end of a request so if Wicket knows it is about to query
the resource length, content-type and data I will only need to
attach/detach once across those three calls instead of three times. Is
such a thing possible or maybe you have a better idea? I can file a RFE
if needed.
Thank you,
Gili
--
http://www.desktopbeautifier.com/
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user