[gatein-issues] [JBoss JIRA] (GTNPORTAL-2329) Window names are not available anymore when a page is added
Boleslaw Dawidowicz (JIRA)
jira-events at lists.jboss.org
Mon Feb 6 07:31:49 EST 2012
[ https://issues.jboss.org/browse/GTNPORTAL-2329?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Boleslaw Dawidowicz updated GTNPORTAL-2329:
-------------------------------------------
Fix Version/s: 3.2.0-GA
(was: 3.2.0-CR01)
> Window names are not available anymore when a page is added
> -----------------------------------------------------------
>
> Key: GTNPORTAL-2329
> URL: https://issues.jboss.org/browse/GTNPORTAL-2329
> Project: GateIn Portal
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: WebUI
> Affects Versions: 3.2.0-Beta01
> Reporter: Chris Laprun
> Fix For: 3.2.0-GA
>
>
> I have code that reacts to page event creation to find out what was added:
> {code}
> List<UIComponent> components = container.getComponents();
> for (UIComponent component : components)
> {
> ObjectType<? extends UIComponent> type = component.getObjectType();
> if (ObjectType.WINDOW.equals(type))
> {
> Described described = component.adapt(Described.class);
> String name = described.getName();
> pageInfo.addWindow(name, component.getObjectId());
> }
> }
> {code}
> In the code above, if the page has just been created in the UI, name is now null. This wasn't previously the case.
>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the gatein-issues
mailing list