Hi All,
I have been trying to take advantage of using the sup-apps capabilities of
Struts 1.1b1 and have come across some problems. I read a message from Craig
that stated if a sub-apps struts-config.xml had to be changed in order to
work as a sub-app that would be considered a bug. I have found the following
problems and please correct me if these issues have already been reported or
corrected in Struts 1.1b2. As far as I could tell from the archives and list
of known bugs these are not on the table.
1) A sub-apps message resources is not loaded. The only way I could get
the sub-apps resources to load was to place the <message-resources> into the
default
Struts app. I know that a initialization Servlet can do this but isn't
that what the <message-resources> are for?
2) The Validation framework only uses the Struts Resource bundle for
validation errors. This does not allow for a module to custom define its own
error messages and
not have them conflict with another module. I know this bug is minor
compared to the Validator not supporting sub-apps but maybe it could be
included in the fix.
I am very impressed with the Struts ability to support modular development
and I eagerly await its completion. It will greatly improve my application
development and If I don't run into any other bugs I will use it anyway and
patiently wait for the bug fixes.
Cheers,
Greg