struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Newton <>
Subject Re: S2 life cycle
Date Wed, 04 Apr 2007 02:47:52 GMT
--- tom tom <> wrote:
> How can I have a reference to the form class inside
> the action class. I did the following 
> 1) Wrote a action class which implements
> ScopedModelDriven interface, the argo is not null
> inside setModel(Object arg0)method in the action
> class but I cant cast into test.TestForm (pojo)

At the very least I believe you should implement
ScopedModelDriven<T>, not just ScopedModelDriven, and
provide typed accessors:


Don't get soaked.  Take a quick peek at the forecast
with the Yahoo! Search weather shortcut.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message