-
Notifications
You must be signed in to change notification settings - Fork 36
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
Analyze ZK configuration files similar to Spring #15
Comments
all *.zul files in the directory structure should get considered
should be considered a dependency from the current file to the "x" @ref Elements in the file shoud be considered dependencies |
An example for included zul files tabbox.zul (reduced to minimum necessary information)
Option 1: The src path is a path relative to the web apps root folder. Option 2: The src path is composed of a root path and the filename 'tabpanel1.zul'. By convention the root path is the exact same directory where 'tabbox.zul' is located. Option 3: The src path is composed of a root path and a subdirectory/filename 'subdir/tabpanel2.zul'. By convention the root path is the exact same directory where 'tabbox.zul' is located. |
An example for dependent Java classes viewModel.zul
Option 1: Full qualified name to a dependent viewModel 'com.abc.def.XyzVM'. Option 2: The variable 'otherVM' points to the return value of 'XyzVM.getOther()' and is accessible in 'other.zul'. This class could be everywhere :( Option 3: A controller which gets injected via spring. You have to look up all spring conexts or scan all source files to resolve the dependency :( Option 4: A controller with a full qualified name. |
Sorry, currently I have no intention to make analysis pluggable |
This should probably done in a separate project, since ZK is somewhat obscure. But it could be a great example for a plugin like thin.
The text was updated successfully, but these errors were encountered: