That would be excellent.

Regards,
-Andre Mermegas
 

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of
Rickard Öberg
Sent: Friday, February 07, 2003 3:49 AM
To: [EMAIL PROTECTED]
Subject: Re: [OS-webwork] Action Properties & HttpSession

Chris Nokleberg wrote:
>>I have an idea: how about adding an interface "Model" that has one 
>>method "Object getModel()". It would be implemented in ActionSupport
as:
>>public Object getModel() { return this; }
> 
> It is a good idea. Maverick does something similar, I think.
> 
> Might I suggest that the method be:
>    Object model()
> 
> "getModel" makes it a property, which then becomes part of the model 
> itself.

hm.. IIRC model() is also a property (both "getModel" and "model" is 
tested if the "model" property is accessed.

*If* I recall correctly we might as well use getModel(), since it looks 
cleaner.

/Rickard

-- 
Rickard Öberg
[EMAIL PROTECTED]
Senselogic

Got blog? I do. http://dreambean.com



-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld =omething 2 See!
http://www.vasoftware.com
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork




-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to