| @Scope(ScopeType.APPLICATION)
| @BypassInterceptors
| @Name("org.jboss.seam.navigation.pages")
| @Install(precedence = Install.APPLICATION)
| public class EpstarPages extends SeamPages {
|
| @Override
| public void initialize() {
| super.initialize();
|
| // å è½½ XXX.jar!/META-INF/pages.xml
| for (URL url : ResourcesUtils
| .findClassLoaderResources("/META-INF/pages.xml")) {
| try {
| InputStream stream = url.openStream();
| parse(stream);
| } catch (IOException e) {
| }
| }
| }
|
| }
|
as org.jboss.seam.navigation.Pages made "initialize" method with
"private", i just create new SeamPages class which extends
org.jboss.seam.navigation.Pages, by coping all Pages class's source, and make
"initialize" method with "public".
right?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125828#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...