[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-3398) To extend seam's Pages component to override "pages.xml" loading strategy
Alex Sun (JIRA)
jira-events at lists.jboss.org
Tue Sep 9 01:14:38 EDT 2008
[ https://jira.jboss.org/jira/browse/JBSEAM-3398?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12428676#action_12428676 ]
Alex Sun commented on JBSEAM-3398:
----------------------------------
so, would you please add this functionality , that may be like:
...
// TODO:zjsun fix here
protected void parseJarPagesXml() {
}
// TODO:zjsun fix here
protected void parsePagesXml(InputStream is) {
parse(is);
}
...
public void initialize() {
pagesByViewId = Collections
.synchronizedMap(new HashMap<String, Page>());
pageStacksByViewId = Collections
.synchronizedMap(new HashMap<String, List<Page>>());
conversations = Collections
.synchronizedMap(new HashMap<String, ConversationIdParameter>());
for (String resource : resources) {
InputStream stream = ResourceLoader.instance().getResourceAsStream(
resource);
if (stream == null) {
log.info("no pages.xml file found: " + resource);
} else {
log.debug("reading pages.xml file: " + resource);
parse(stream);
}
}
parseJarPagesXml();
parsePages(hotDotPageDotXmlFileNames, dotPageDotXmlFileNames);
}
...
> To extend seam's Pages component to override "pages.xml" loading strategy
> -------------------------------------------------------------------------
>
> Key: JBSEAM-3398
> URL: https://jira.jboss.org/jira/browse/JBSEAM-3398
> Project: Seam
> Issue Type: Feature Request
> Components: Core
> Affects Versions: 2.1.0.BETA1
> Reporter: Alex Sun
> Fix For: 2.1.0.CR1
>
>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the seam-issues
mailing list