Ok, I did write a patch to LanguageShuntFactory. I attached the files in
this mail.
- LanguageShuntFactory.java is the new patched LanguageShuntFactory
- LanguageShuntFactory.java.old is the old LanguageShuntFactory (in
current CVS)
- LanguageShuntFactory.diff is diff file that can be applied to
#1 has to be addressed by a custom ShuntFactory. You can't have
multiple mode attributes, but the value of a mode attribute can be a
composite:
command name=runQuery
controller class=org.foo.Query/
view name=success mode=content:wap
path=wap/en/queryResults.jsp/
view name=success
The Maverick distribution includes an example LanguageShunt and a
trivial sample application that uses it.
The shunt mechanism can accommodate composition, but you will have to
build the composite yourself. ShuntFactory implementations are very
easy to build. Since everyone's defaulting logic