Chris Laprun created GTNPORTAL-2329:
---------------------------------------
Summary: 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-CR01
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