【发布时间】:2011-12-28 09:54:34
【问题描述】:
Tapestry 在语言环境之间切换时会自动为 URL 添加一个语言环境前缀:
http://host/en/home
http://host/es/home
http://host/fr/home
等等。 如何避免它;我在 Tapestry APi 中发现您应该向 AppModule 类添加额外的配置:
configuration.add(SymbolConstants.ENCODE_LOCALE_INTO_PATH, "false");
并自行使用 LinkCreationListener2 或 LinkCreationListener(对于 Tapestry
【问题讨论】:
标签: internationalization tapestry