[
https://issues.jboss.org/browse/GTNPORTAL-2329?page=com.atlassian.jira.pl...
]
Chris Laprun commented on GTNPORTAL-2329:
-----------------------------------------
GTNPORTAL-2305 was added to work around this new issue. The fix was improper, though. It
has been properly addressed in GTNPORTAL-2328. However, the issue still remains that
windows used to have names and don't anymore.
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