Comments (1)
@liebehentze I've been struggling to get content shown of my FXMLView based component, when it's included via FXML. I've found a solution (and, after then I have actually discovered this issue and #29) to just add view in constructor:
import com.airhacks.afterburner.views.FXMLView;
public class MyComponentView extends FXMLView {
public MyComponentView() {
this.getChildren().setAll(getView());
}
}
It's somewhat simpler than one suggested in #29.
from afterburner.fx.
Related Issues (20)
- Topgun 1.6.3 Release HOT 5
- How to use dagger2 as a dependency injection? HOT 1
- in r1.7.0, why is there a package "topgun" and "lifecycle"
- set different ResourceBundle for different Views HOT 4
- Dependency-Injection for superclasses..... HOT 2
- groovy compatibility
- System.err.println("File: " + name + " not found, attempting with camel case"); HOT 4
- How to navigate between scenes / nested scenes? HOT 1
- Injection context ignored for presenter members at first HOT 3
- afterburner.fx not working with java 9 HOT 3
- @Inject can not works in method call of task thread
- Creation before injection
- Provide additional information about injecting fields
- inject ObservableList HOT 1
- [Advice] CSS not loading
- IllegalStateException: while synchronous loading of fxml
- Inject ints? HOT 1
- Leading slash in getResource() HOT 1
- Maven artifact for this project is a shaded jar, which breaks modules HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from afterburner.fx.