[ALOY-445] Should be able to require inside a nav group declaration
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | Medium |
| Status | Closed |
| Resolution | Invalid |
| Resolution Date | 2012-12-22T19:54:11.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | n/a |
| Components | n/a |
| Labels | n/a |
| Reporter | Rick Blalock |
| Assignee | Tony Lukasavage |
| Created | 2012-12-22T19:16:18.000+0000 |
| Updated | 2014-06-22T13:23:16.000+0000 |
Description
This should not happen:
[ERROR] : [ERROR] Invalid NavigationGroup child "Alloy.Require"
[ERROR] : [ERROR] NavigationGroup must have only one child element, which must be a Window
[ERROR] : Alloy compiler failed
When doing this:
If that required controller's root is a window. There are scenarios where you'd want this separated out.
Kk just realized the problem. Marking this invalid. I had two parent elements inside the Alloy node (both Windows). This works in a lot of occasions for some things but obviously not for navgroups. Makes sense why it wouldn't work.