I have went through a tutorial about a webwork. it gives me a compilation error:
[ERROR] /C:/Users/Olivera.Tancheva/olivera19/webwork-soy-require-backbone/src/main/java/ru/matveev/alexey/jira/tutorial/webworkui/jira/webwork/ConfigWebwork.java:[32,3] cannot find symbol
[ERROR] symbol: class ActionViewData
I have imported the following packages:
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.atlassian.jira.web.action.JiraWebActionSupport;
import ru.matveev.alexey.jira.tutorial.webworkui.api.PluginSettingService;
import com.atlassian.jira.web.action;
but it still gives an error. Do you have an idea?
Hello,
I am not sure why it is not working for you. I just checked it. The code compiles without errors.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Could you provide the text of your class?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ths the same as in the tutorial:
@ActionViewData
public String getConfigJson() {
return pluginSettingService.getConfigJson().isEmpty()?"{}":pluginSettingService.getConfigJson();
}
public void setConfigJson(String json) {
this.configJson = json;
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Could you please provide your pom file so i can try with it?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Here is the source code. You can find the pom.xml there
https://bitbucket.org/alex1mmm/webwork-soy-require-backbone/src/master/
You can download this source code and run it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you. It works now. I want to add two web-items of type buttons and dynamically load the urls from the parameters fields. Do you have any idea how to apply this?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.