You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Itun (JIRA)" <ji...@apache.org> on 2010/09/14 13:50:33 UTC
[jira] Created: (WICKET-3047) Unscheduled onClick
Unscheduled onClick
-------------------
Key: WICKET-3047
URL: https://issues.apache.org/jira/browse/WICKET-3047
Project: Wicket
Issue Type: Bug
Components: wicket
Affects Versions: 1.4.10
Reporter: Itun
public final class NewsListPanel extends Panel {
@SpringBean
NewsService service;
private List<News> NewsList;
private PageableListView PAListView;
public PageableListView getPAListView() {
return PAListView;
}
public NewsListPanel(String id, List<News> NewsList) {
super(id);
this.NewsList = NewsList;
PAListView = new PageableListView("NewsList", NewsList, 5) {
@Override
protected void populateItem(ListItem item) {
News news = (News) item.getModelObject();
item.add(new ActionLink("Delete", news) {
@Override
public void onClick() {
service.deleteNews(news);
setResponsePage(new NewsPage());
}
});
item.add(new Label("Time", DateUtils.timeFormatted(news.getTimestamp())));
item.add(new Label("Title", news.getTitle()));
item.add(new Label("Content", news.getContent()).setEscapeModelStrings(false));
}
};
add(PAListView);
}
private class ActionLink extends Link {
News news;
public ActionLink(String id, News news) {
super(id);
this.news = news;
}
@Override
public void onClick() {
throw new UnsupportedOperationException("Not supported yet.");
}
}
}
In this code, when there is an onClick processing, everything is going well. But when NewsPage(this panel is here) is generated after onClick event, suddenly Unscheduled onClick has appeared with News object which never existed.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (WICKET-3047) Unscheduled onClick
Posted by "Itun (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-3047?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Itun closed WICKET-3047.
------------------------
> Unscheduled onClick
> -------------------
>
> Key: WICKET-3047
> URL: https://issues.apache.org/jira/browse/WICKET-3047
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 1.4.10
> Reporter: Itun
> Assignee: Igor Vaynberg
>
> public final class NewsListPanel extends Panel {
> @SpringBean
> NewsService service;
> private List<News> NewsList;
> private PageableListView PAListView;
> public PageableListView getPAListView() {
> return PAListView;
> }
> public NewsListPanel(String id, List<News> NewsList) {
> super(id);
> this.NewsList = NewsList;
> PAListView = new PageableListView("NewsList", NewsList, 5) {
> @Override
> protected void populateItem(ListItem item) {
> News news = (News) item.getModelObject();
> item.add(new ActionLink("Delete", news) {
> @Override
> public void onClick() {
> service.deleteNews(news);
> setResponsePage(new NewsPage());
> }
> });
> item.add(new Label("Time", DateUtils.timeFormatted(news.getTimestamp())));
> item.add(new Label("Title", news.getTitle()));
> item.add(new Label("Content", news.getContent()).setEscapeModelStrings(false));
> }
> };
> add(PAListView);
> }
> private class ActionLink extends Link {
> News news;
> public ActionLink(String id, News news) {
> super(id);
> this.news = news;
> }
> @Override
> public void onClick() {
> throw new UnsupportedOperationException("Not supported yet.");
> }
> }
> }
> In this code, when there is an onClick processing, everything is going well. But when NewsPage(this panel is here) is generated after onClick event, suddenly Unscheduled onClick has appeared with News object which never existed.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (WICKET-3047) Unscheduled onClick
Posted by "Igor Vaynberg (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-3047?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Igor Vaynberg closed WICKET-3047.
---------------------------------
Resolution: Fixed
yes
> Unscheduled onClick
> -------------------
>
> Key: WICKET-3047
> URL: https://issues.apache.org/jira/browse/WICKET-3047
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 1.4.10
> Reporter: Itun
> Assignee: Igor Vaynberg
>
> public final class NewsListPanel extends Panel {
> @SpringBean
> NewsService service;
> private List<News> NewsList;
> private PageableListView PAListView;
> public PageableListView getPAListView() {
> return PAListView;
> }
> public NewsListPanel(String id, List<News> NewsList) {
> super(id);
> this.NewsList = NewsList;
> PAListView = new PageableListView("NewsList", NewsList, 5) {
> @Override
> protected void populateItem(ListItem item) {
> News news = (News) item.getModelObject();
> item.add(new ActionLink("Delete", news) {
> @Override
> public void onClick() {
> service.deleteNews(news);
> setResponsePage(new NewsPage());
> }
> });
> item.add(new Label("Time", DateUtils.timeFormatted(news.getTimestamp())));
> item.add(new Label("Title", news.getTitle()));
> item.add(new Label("Content", news.getContent()).setEscapeModelStrings(false));
> }
> };
> add(PAListView);
> }
> private class ActionLink extends Link {
> News news;
> public ActionLink(String id, News news) {
> super(id);
> this.news = news;
> }
> @Override
> public void onClick() {
> throw new UnsupportedOperationException("Not supported yet.");
> }
> }
> }
> In this code, when there is an onClick processing, everything is going well. But when NewsPage(this panel is here) is generated after onClick event, suddenly Unscheduled onClick has appeared with News object which never existed.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Issue Comment Edited: (WICKET-3047) Unscheduled onClick
Posted by "Itun (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-3047?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12909863#action_12909863 ]
Itun edited comment on WICKET-3047 at 9/15/10 4:03 PM:
-------------------------------------------------------
If I will be use <a wicket:id="link" href="#"><img src="..."/></a>, will it be working?
was (Author: itun):
If I will be use <a wicket:id="link" href="#"><img src="..."/></a>, will it be worcking?
> Unscheduled onClick
> -------------------
>
> Key: WICKET-3047
> URL: https://issues.apache.org/jira/browse/WICKET-3047
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 1.4.10
> Reporter: Itun
> Assignee: Igor Vaynberg
>
> public final class NewsListPanel extends Panel {
> @SpringBean
> NewsService service;
> private List<News> NewsList;
> private PageableListView PAListView;
> public PageableListView getPAListView() {
> return PAListView;
> }
> public NewsListPanel(String id, List<News> NewsList) {
> super(id);
> this.NewsList = NewsList;
> PAListView = new PageableListView("NewsList", NewsList, 5) {
> @Override
> protected void populateItem(ListItem item) {
> News news = (News) item.getModelObject();
> item.add(new ActionLink("Delete", news) {
> @Override
> public void onClick() {
> service.deleteNews(news);
> setResponsePage(new NewsPage());
> }
> });
> item.add(new Label("Time", DateUtils.timeFormatted(news.getTimestamp())));
> item.add(new Label("Title", news.getTitle()));
> item.add(new Label("Content", news.getContent()).setEscapeModelStrings(false));
> }
> };
> add(PAListView);
> }
> private class ActionLink extends Link {
> News news;
> public ActionLink(String id, News news) {
> super(id);
> this.news = news;
> }
> @Override
> public void onClick() {
> throw new UnsupportedOperationException("Not supported yet.");
> }
> }
> }
> In this code, when there is an onClick processing, everything is going well. But when NewsPage(this panel is here) is generated after onClick event, suddenly Unscheduled onClick has appeared with News object which never existed.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (WICKET-3047) Unscheduled onClick
Posted by "Martin Grigorov (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-3047?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12909203#action_12909203 ]
Martin Grigorov commented on WICKET-3047:
-----------------------------------------
Please provide fully working application that reproduces the problem.
> Unscheduled onClick
> -------------------
>
> Key: WICKET-3047
> URL: https://issues.apache.org/jira/browse/WICKET-3047
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 1.4.10
> Reporter: Itun
>
> public final class NewsListPanel extends Panel {
> @SpringBean
> NewsService service;
> private List<News> NewsList;
> private PageableListView PAListView;
> public PageableListView getPAListView() {
> return PAListView;
> }
> public NewsListPanel(String id, List<News> NewsList) {
> super(id);
> this.NewsList = NewsList;
> PAListView = new PageableListView("NewsList", NewsList, 5) {
> @Override
> protected void populateItem(ListItem item) {
> News news = (News) item.getModelObject();
> item.add(new ActionLink("Delete", news) {
> @Override
> public void onClick() {
> service.deleteNews(news);
> setResponsePage(new NewsPage());
> }
> });
> item.add(new Label("Time", DateUtils.timeFormatted(news.getTimestamp())));
> item.add(new Label("Title", news.getTitle()));
> item.add(new Label("Content", news.getContent()).setEscapeModelStrings(false));
> }
> };
> add(PAListView);
> }
> private class ActionLink extends Link {
> News news;
> public ActionLink(String id, News news) {
> super(id);
> this.news = news;
> }
> @Override
> public void onClick() {
> throw new UnsupportedOperationException("Not supported yet.");
> }
> }
> }
> In this code, when there is an onClick processing, everything is going well. But when NewsPage(this panel is here) is generated after onClick event, suddenly Unscheduled onClick has appeared with News object which never existed.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (WICKET-3047) Unscheduled onClick
Posted by "Igor Vaynberg (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-3047?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Igor Vaynberg resolved WICKET-3047.
-----------------------------------
Resolution: Incomplete
please provide a *quickstart* project. no one has time to replicate all the spring infrastructure, etc.
if you dont know what quickstart is please see our website.
reopen when you have attached the quickstart.
> Unscheduled onClick
> -------------------
>
> Key: WICKET-3047
> URL: https://issues.apache.org/jira/browse/WICKET-3047
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 1.4.10
> Reporter: Itun
>
> public final class NewsListPanel extends Panel {
> @SpringBean
> NewsService service;
> private List<News> NewsList;
> private PageableListView PAListView;
> public PageableListView getPAListView() {
> return PAListView;
> }
> public NewsListPanel(String id, List<News> NewsList) {
> super(id);
> this.NewsList = NewsList;
> PAListView = new PageableListView("NewsList", NewsList, 5) {
> @Override
> protected void populateItem(ListItem item) {
> News news = (News) item.getModelObject();
> item.add(new ActionLink("Delete", news) {
> @Override
> public void onClick() {
> service.deleteNews(news);
> setResponsePage(new NewsPage());
> }
> });
> item.add(new Label("Time", DateUtils.timeFormatted(news.getTimestamp())));
> item.add(new Label("Title", news.getTitle()));
> item.add(new Label("Content", news.getContent()).setEscapeModelStrings(false));
> }
> };
> add(PAListView);
> }
> private class ActionLink extends Link {
> News news;
> public ActionLink(String id, News news) {
> super(id);
> this.news = news;
> }
> @Override
> public void onClick() {
> throw new UnsupportedOperationException("Not supported yet.");
> }
> }
> }
> In this code, when there is an onClick processing, everything is going well. But when NewsPage(this panel is here) is generated after onClick event, suddenly Unscheduled onClick has appeared with News object which never existed.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (WICKET-3047) Unscheduled onClick
Posted by "Igor Vaynberg (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-3047?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Igor Vaynberg resolved WICKET-3047.
-----------------------------------
Assignee: Igor Vaynberg
Resolution: Invalid
that is invalid markup, cannot have <input> inside <a>
> Unscheduled onClick
> -------------------
>
> Key: WICKET-3047
> URL: https://issues.apache.org/jira/browse/WICKET-3047
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 1.4.10
> Reporter: Itun
> Assignee: Igor Vaynberg
>
> public final class NewsListPanel extends Panel {
> @SpringBean
> NewsService service;
> private List<News> NewsList;
> private PageableListView PAListView;
> public PageableListView getPAListView() {
> return PAListView;
> }
> public NewsListPanel(String id, List<News> NewsList) {
> super(id);
> this.NewsList = NewsList;
> PAListView = new PageableListView("NewsList", NewsList, 5) {
> @Override
> protected void populateItem(ListItem item) {
> News news = (News) item.getModelObject();
> item.add(new ActionLink("Delete", news) {
> @Override
> public void onClick() {
> service.deleteNews(news);
> setResponsePage(new NewsPage());
> }
> });
> item.add(new Label("Time", DateUtils.timeFormatted(news.getTimestamp())));
> item.add(new Label("Title", news.getTitle()));
> item.add(new Label("Content", news.getContent()).setEscapeModelStrings(false));
> }
> };
> add(PAListView);
> }
> private class ActionLink extends Link {
> News news;
> public ActionLink(String id, News news) {
> super(id);
> this.news = news;
> }
> @Override
> public void onClick() {
> throw new UnsupportedOperationException("Not supported yet.");
> }
> }
> }
> In this code, when there is an onClick processing, everything is going well. But when NewsPage(this panel is here) is generated after onClick event, suddenly Unscheduled onClick has appeared with News object which never existed.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (WICKET-3047) Unscheduled onClick
Posted by "Itun (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-3047?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Itun updated WICKET-3047:
-------------------------
public class NewsPage extends BasePage {
public NewsPage() {
add(new NewsPanel("Content"));
}
}
////////////////////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////////////
public final class NewsPanel extends Panel {
@SpringBean
NewsService service;
List<News> NewsList;
public NewsPanel(String id) {
super(id);
this.NewsList = service.findList();
NewsListPanel NewsPanel = new NewsListPanel("NewsList", NewsList);
add(NewsPanel);
add(new PagingNavigator("PagingNavigator", NewsPanel.getPAListView()));
}
}
////////////////////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////////////
public final class NewsListPanel extends Panel {
@SpringBean
NewsService service;
private List<News> NewsList;
private PageableListView PAListView;
public PageableListView getPAListView() {
return PAListView;
}
public NewsListPanel(String id, List<News> NewsList) {
super(id);
this.NewsList = NewsList;
PAListView = new PageableListView("NewsList", NewsList, 5) {
@Override
protected void populateItem(ListItem item) {
News news = (News) item.getModelObject();
item.add(new ActionLink("Delete", news) {
@Override
public void onClick() {
service.deleteNews(news);
setResponsePage(new NewsPage());
}
});
item.add(new Label("Time", DateUtils.timeFormatted(news.getTimestamp())));
item.add(new Label("Title", news.getTitle()));
item.add(new Label("Content", news.getContent()).setEscapeModelStrings(false));
}
};
add(PAListView);
}
private class ActionLink extends Link {
News news;
public ActionLink(String id, News news) {
super(id);
this.news = news;
}
@Override
public void onClick() {
throw new UnsupportedOperationException("Not supported yet.");
}
}
}
////////////////////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////////////
public class NewsServiceImp implements NewsService {
@Autowired
private NewsDAO dao;
@Override
public void createNews(News news) {
news.setTimestamp(DateUtils.now());
dao.create(news);
}
@Override
public void updateNews(News news) {
dao.update(news);
}
@Override
public void deleteNews(News news) {
dao.delete(news);
}
@Override
public News findNewsById(Long id) {
return dao.findById(id);
}
@Override
public List<News> findList() {
return dao.findList();
}
@Override
public void deleteNews(Long id) {
dao.delete(id);
}
}
////////////////////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////////////
@Repository
public class NewsDAOImp extends CustomHibernateDAOSupport<News> implements NewsDAO {
public NewsDAOImp() {
super(News.class);
}
@Override
public void create(News news) {
getHibernateTemplate().save(news);
}
@Override
public void update(News news) {
getHibernateTemplate().update(news);
}
@Override
public void delete(News news) {
getHibernateTemplate().delete(news);
}
@Override
public void delete(Long id) {
Transaction t = null;
Session s = null;
try {
s = this.getSession();
t = s.beginTransaction();
super.delete(id);
} finally {
t.commit();
s.flush();
}
}
@Override
public News findById(Long id) {
return super.load(id);
}
@Override
public List<News> findList() {
return getSession()
.getNamedQuery("news.getList")
.list();
}
}
////////////////////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////////////
public class News extends Entity {
private String Title;
private String Content;
private Date Timestamp;
private User user;
...........
}
I say: if you do not press the button all is well.
Debuger checked that when you click on the button: handler onClick processing, NewPage regenerating, than Unscheduled onClick ?).
> Unscheduled onClick
> -------------------
>
> Key: WICKET-3047
> URL: https://issues.apache.org/jira/browse/WICKET-3047
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 1.4.10
> Reporter: Itun
>
> public final class NewsListPanel extends Panel {
> @SpringBean
> NewsService service;
> private List<News> NewsList;
> private PageableListView PAListView;
> public PageableListView getPAListView() {
> return PAListView;
> }
> public NewsListPanel(String id, List<News> NewsList) {
> super(id);
> this.NewsList = NewsList;
> PAListView = new PageableListView("NewsList", NewsList, 5) {
> @Override
> protected void populateItem(ListItem item) {
> News news = (News) item.getModelObject();
> item.add(new ActionLink("Delete", news) {
> @Override
> public void onClick() {
> service.deleteNews(news);
> setResponsePage(new NewsPage());
> }
> });
> item.add(new Label("Time", DateUtils.timeFormatted(news.getTimestamp())));
> item.add(new Label("Title", news.getTitle()));
> item.add(new Label("Content", news.getContent()).setEscapeModelStrings(false));
> }
> };
> add(PAListView);
> }
> private class ActionLink extends Link {
> News news;
> public ActionLink(String id, News news) {
> super(id);
> this.news = news;
> }
> @Override
> public void onClick() {
> throw new UnsupportedOperationException("Not supported yet.");
> }
> }
> }
> In this code, when there is an onClick processing, everything is going well. But when NewsPage(this panel is here) is generated after onClick event, suddenly Unscheduled onClick has appeared with News object which never existed.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Reopened: (WICKET-3047) Unscheduled onClick
Posted by "Itun (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-3047?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Itun reopened WICKET-3047:
--------------------------
If I will be use <a wicket:id="link" href="#"><img src="..."/></a>, will it be worcking?
> Unscheduled onClick
> -------------------
>
> Key: WICKET-3047
> URL: https://issues.apache.org/jira/browse/WICKET-3047
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 1.4.10
> Reporter: Itun
> Assignee: Igor Vaynberg
>
> public final class NewsListPanel extends Panel {
> @SpringBean
> NewsService service;
> private List<News> NewsList;
> private PageableListView PAListView;
> public PageableListView getPAListView() {
> return PAListView;
> }
> public NewsListPanel(String id, List<News> NewsList) {
> super(id);
> this.NewsList = NewsList;
> PAListView = new PageableListView("NewsList", NewsList, 5) {
> @Override
> protected void populateItem(ListItem item) {
> News news = (News) item.getModelObject();
> item.add(new ActionLink("Delete", news) {
> @Override
> public void onClick() {
> service.deleteNews(news);
> setResponsePage(new NewsPage());
> }
> });
> item.add(new Label("Time", DateUtils.timeFormatted(news.getTimestamp())));
> item.add(new Label("Title", news.getTitle()));
> item.add(new Label("Content", news.getContent()).setEscapeModelStrings(false));
> }
> };
> add(PAListView);
> }
> private class ActionLink extends Link {
> News news;
> public ActionLink(String id, News news) {
> super(id);
> this.news = news;
> }
> @Override
> public void onClick() {
> throw new UnsupportedOperationException("Not supported yet.");
> }
> }
> }
> In this code, when there is an onClick processing, everything is going well. But when NewsPage(this panel is here) is generated after onClick event, suddenly Unscheduled onClick has appeared with News object which never existed.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Reopened: (WICKET-3047) Unscheduled onClick
Posted by "Itun (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-3047?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Itun reopened WICKET-3047:
--------------------------
I found the problem, do not understand why it work so.
<a wicket:id="ShowButton" href="#" ><input type="button" value="Show" /></a>
In this case link`s onClick handler is called twice.
<a wicket:id="ShowButton" href="#" >Show</a>
But in this case as it should be once.
> Unscheduled onClick
> -------------------
>
> Key: WICKET-3047
> URL: https://issues.apache.org/jira/browse/WICKET-3047
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 1.4.10
> Reporter: Itun
>
> public final class NewsListPanel extends Panel {
> @SpringBean
> NewsService service;
> private List<News> NewsList;
> private PageableListView PAListView;
> public PageableListView getPAListView() {
> return PAListView;
> }
> public NewsListPanel(String id, List<News> NewsList) {
> super(id);
> this.NewsList = NewsList;
> PAListView = new PageableListView("NewsList", NewsList, 5) {
> @Override
> protected void populateItem(ListItem item) {
> News news = (News) item.getModelObject();
> item.add(new ActionLink("Delete", news) {
> @Override
> public void onClick() {
> service.deleteNews(news);
> setResponsePage(new NewsPage());
> }
> });
> item.add(new Label("Time", DateUtils.timeFormatted(news.getTimestamp())));
> item.add(new Label("Title", news.getTitle()));
> item.add(new Label("Content", news.getContent()).setEscapeModelStrings(false));
> }
> };
> add(PAListView);
> }
> private class ActionLink extends Link {
> News news;
> public ActionLink(String id, News news) {
> super(id);
> this.news = news;
> }
> @Override
> public void onClick() {
> throw new UnsupportedOperationException("Not supported yet.");
> }
> }
> }
> In this code, when there is an onClick processing, everything is going well. But when NewsPage(this panel is here) is generated after onClick event, suddenly Unscheduled onClick has appeared with News object which never existed.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.