Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement child component routes #6

Open
LeStegii opened this issue Oct 28, 2023 · 0 comments
Open

Implement child component routes #6

LeStegii opened this issue Oct 28, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request low-priority

Comments

@LeStegii
Copy link
Collaborator

LeStegii commented Oct 28, 2023

  • Routes should be able to define child routes which contain components to be displayed inside of the main component
  • Add a custom javafx element representing the location the child controller will be displayed

Example

  {
    path: ':course',
    component: CreateCourseSolutionsComponent,
    children: [
      {path: 'assignments/:assignment', component: CreateSolutionComponent}
    ]
  }
@Inject
@Route(route = "/course")
@Child(route = "/assignment/:assignment", controller = "createSolution")
CreateCourseSolutionsController createCourseSolutions;

@Inject
CreateSolutionController createSolution;
@LeStegii LeStegii self-assigned this Oct 28, 2023
@LeStegii LeStegii added the enhancement New feature or request label Oct 28, 2023
This was referenced Oct 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request low-priority
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant