On 11/20/06, Torsten Krah <[EMAIL PROTECTED]> wrote:

The @View annotation is there  - any other things i should look for?
@property, @view, @bean, phaselistener annotation are working fine,
@init too - but prerender, preprocess and destroy are ignored, maybe
other ones aren't working too, but i am using only these ones yet :-|

If the bean extends AbstractViewController, init and destroy are called
the others are still ignored - i am a little bit confused.


To assist in debugging scenarios like this, I have just modified the Shale
nightly build process to publish[1] a series of "system integration test"
web applications that are exercised by the Shale developers when we are
modifying the framework.  Although we typically run them in an automated
fashion as part of the build process ("mvn -Papps,itest clean install" from
the top level framework directory if you're building Shale from SVN
yoiurself), they can also be deployed individually and executed manually
with a browser -- each screen should contain enough information for users to
determine whether they work correctly or not.

For this particular case, the shale-test-view (no annotations) and
shale-test-tiger (with annotations) apps would be the most interesting for
Torsten to try.  Could you please:

* Download and deploy these two test apps, and deploy them to
 your servlet container or app server.

* Run through the various options on the menus to see if you
 get the expected results?  If not, there might be some issue
 with the container you are using.

* If the expected results are achieved, you can take a glance at
 the pretty simple source code (java and JSP) in these apps, and
 compare to what you're doing.  As far as the developers are
 concerned, these apps demonstrate that the corresponding
 features are working correctly, so maybe there is something we
 are doing different here from what you are doing.

* Whether you get the expected results or not, report back on anything
 you had to change in your own apps, so we can improve the documentation
:-).

Craig


[1] http://people.apache.org/builds/shale/nightly/tests/

Reply via email to