I see a usecase for an annotation coming up (mind you Wicket 2.0!):

   @readonly

Martijn

Eelco Hillenius wrote:

To my taste we have too many models allready. But as we also have AbstractReadOnlyDetachableModel, I think for the sake of being complete, we could get AbstractReadOnlyModel in there too.

Eelco

Igor Vaynberg wrote:

The only nifty thing is that restrited setobject which should fail if you
call it by mistake.

-Igor


-----Original Message-----
From: Igor Vaynberg [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 02, 2005 12:43 AM
To: '[email protected]'
Subject: RE: [Wicket-develop] [ wicket-Patches-1250030 ] AbstractReadOnlyModel

Yeah, this just seems like a light-weight approach to the same thing. It wont hurt anything, but it wont hurt me either if it doesn't go in, so up to you.
-Igor


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On

Behalf Of Eelco
Hillenius
Sent: Tuesday, August 02, 2005 12:33 AM
To: [email protected]
Subject: Re: [Wicket-develop] [ wicket-Patches-1250030 ] AbstractReadOnlyModel

You can do that with a normal model though. Model holds a

reference to
an object when it is set. But if you never set it, it

doesn't matter.
Eelco

SourceForge.net wrote:

Patches item #1250030, was opened at 2005-08-02 07:25

Message generated
for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=684977&aid=

1250030&gr
oup_id=119783

Please note that this message will contain a full copy of

the comment
thread, including the initial issue submission, for this

request, not
just the latest update.
Category: core
Group: 1.1
Status: Open
Resolution: None
Priority: 5
Submitted By: Igor Vaynberg (ivaynberg) Assigned to:

Nobody/Anonymous
(nobody)
Summary: AbstractReadOnlyModel

Initial Comment:
this is an impl of a simple convinience imodel adapter.
extenders only need to implement getObject(..). this is more light-weight then the Model class which carries a reference to an object. this class is great for inlining models that

return dynamic
objects.

-------------------------------------------------------------

---------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=684977&aid=

1250030&gr
oup_id=119783


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration

Strategies

from IBM. Find simple to follow Roadmaps, straightforward


articles,
informative Webcasts and more! Get everything you need to

get up to
speed, fast.

http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Wicket-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-develop




-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration

Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast.
http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Wicket-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-develop








-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user




-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to