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

Allow the user to use custom path to fxml files #249

Closed
manuel-mauky opened this issue May 21, 2015 · 3 comments
Closed

Allow the user to use custom path to fxml files #249

manuel-mauky opened this issue May 21, 2015 · 3 comments

Comments

@manuel-mauky
Copy link
Collaborator

manuel-mauky commented May 21, 2015

Using convention over configuration the fxml file has to be in the same package as the CodeBehind class. If this isn't working for a user we should provide a way to configure a custom path to the fxml file.

See this example:

package de.mycompany.myapp.MyView

@FxmlPath("/de/otherpath/OtherFilename.fxml")
public class MyView implements FxmlView<MyViewModel> {
}
@manuel-mauky
Copy link
Collaborator Author

reference #262

@rguillens
Copy link
Contributor

I've implemented an initial approach to support this feature, check my PR.

@manuel-mauky
Copy link
Collaborator Author

manuel-mauky commented Jun 9, 2017

This feature is implemented but still needs documentation in the wiki. For this reason I'm keeping this issue open for now.

manuel-mauky added a commit that referenced this issue Sep 25, 2017
Add example to show FxmlPath annotation for custom fxml paths #249
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants