powered by simpleCommunicator - 2.0.61     © 2026 Programmizd 02
Целевая тема:
Создать новую тему:
Автор:
Закрыть
Цитировать
Форумы / Java [игнор отключен] [закрыт для гостей] / GWT Cell GWTP
2 сообщений из 2, страница 1 из 1
GWT Cell GWTP
    #39021518
Фотография -=Koba=-
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
Пытаюсь к CellList привязать range

C AbstractRagne все раьотает, но при по пытке переходе на SimpleRange


"Mon Aug 03 11:08:52 GMT+300 2015 ExpertPlaceManager
SEVERE: Exception caught: display must extend Widgetcom.google.web.bindery.event.shared.UmbrellaException: Exception caught: display must extend Widget
at Unknown.fillInStackTrace_0_g$(ExpertWeb-0.js)
at Unknown.Throwable_3_g$(ExpertWeb-0.js)
at Unknown.Exception_3_g$(ExpertWeb-0.js)
at Unknown.RuntimeException_3_g$(ExpertWeb-0.js)
at Unknown.UmbrellaException_3_g$(ExpertWeb-0.js)
at Unknown.doFire_0_g$(ExpertWeb-0.js)
at Unknown.fireEventFromSource_1_g$(ExpertWeb-0.js)
at Unknown.fireEvent_12_g$(ExpertWeb-0.js)
at Unknown.doRevealPlace_0_g$(ExpertWeb-0.js)
at Unknown.doRevealPlace_1_g$(ExpertWeb-0.js)
at Unknown.revealPlaceHierarchy_0_g$(ExpertWeb-0.js)
at Unknown.revealSearchRequest_0_g$(ExpertWeb-0.js)
at Unknown.revealRelativePlace_3_g$(ExpertWeb-0.js)
at Unknown.execute_110_g$(ExpertWeb-0.js)
at Unknown.$executeScheduled_0_g$(ExpertWeb-0.js)
at Unknown.runScheduledTasks_0_g$(ExpertWeb-0.js)
at Unknown.flushPostEventPumpCommands_0_g$(ExpertWeb-0.js)
at Unknown.execute_5_g$(ExpertWeb-0.js)
at Unknown.execute_4_g$(ExpertWeb-0.js)
at Unknown.apply_0_g$(ExpertWeb-0.js)
at Unknown.entry0_0_g$(ExpertWeb-0.js)
at Unknown.entry_1_g$/<(ExpertWeb-0.js)
at Unknown.callback_0_g$(ExpertWeb-0.js)
at Unknown.anonymous(Unknown)
Caused by: java.lang.AssertionError: display must extend Widget
at Unknown.fillInStackTrace_0_g$(ExpertWeb-0.js)
at Unknown.Throwable_3_g$(ExpertWeb-0.js)
at Unknown.Error_3_g$(ExpertWeb-0.js)
at Unknown.AssertionError_7_g$(ExpertWeb-0.js)
at Unknown.makeAssertionError_Object_0_g$(ExpertWeb-0.js)
at Unknown.setDisplay_4_g$(ExpertWeb-0.js)
at Unknown.SimplePager_5_g$(ExpertWeb-0.js)
at Unknown.SimplePager_4_g$(ExpertWeb-0.js)
at Unknown.SimplePager_3_g$(ExpertWeb-0.js)
at Unknown.SimplePager_2_g$(ExpertWeb-0.js)
at Unknown.SimplePager_1_g$(ExpertWeb-0.js)
at Unknown.RangeLabelPager_3_g$(ExpertWeb-0.js)
at Unknown.build_rangeLabelPager_1_g$(ExpertWeb-0.js)
at Unknown.get_rangeLabelPager_1_g$(ExpertWeb-0.js)
at Unknown.build_f_FlowPanel1_0_g$(ExpertWeb-0.js)
at Unknown.get_f_FlowPanel1_0_g$(ExpertWeb-0.js)
at Unknown.createAndBindUi_17_g$(ExpertWeb-0.js)
at Unknown.createAndBindUi_16_g$(ExpertWeb-0.js)
at Unknown.CwCellList_1_g$(ExpertWeb-0.js)
at Unknown.pro$redsoft$expert$client$components$searchresult$cellList$CwCellList_pro$redsoft$expert$client$components$searchresult$cellList$CwCellList_methodInjection_0_g$(ExpertWeb-0.js)
at Unknown.get_Key$type$pro$redsoft$expert$client$components$searchresult$cellList$CwCellList$_annotation$$none$$_0_g$(ExpertWeb-0.js)
at Unknown.get_Key$type$pro$redsoft$expert$client$components$searchresult$cellList$CellListPresenter$ICellListView$_annotation$$none$$_0_g$(ExpertWeb-0.js)
at Unknown.get_Key$type$pro$redsoft$expert$client$components$searchresult$cellList$CellListPresenterImpl$_annotation$$none$$_0_g$(ExpertWeb-0.js)
at Unknown.get_Key$type$pro$redsoft$expert$client$components$searchresult$cellList$CellListPresenter$_annotation$$none$$_0_g$(ExpertWeb-0.js)
at Unknown.get_228_g$(ExpertWeb-0.js)
at Unknown.get_227_g$(ExpertWeb-0.js)
at Unknown.SearchResultPresenterImpl_1_g$(ExpertWeb-0.js)
at Unknown.pro$redsoft$expert$client$components$searchresult$SearchResultPresenterImpl_pro$redsoft$expert$client$components$searchresult$SearchResultPresenterImpl_methodInjection_0_g$(ExpertWeb-0.js)
at Unknown.get_Key$type$pro$redsoft$expert$client$components$searchresult$SearchResultPresenterImpl$_annotation$$none$$_0_g$(ExpertWeb-0.js)
at Unknown.get_Key$type$pro$redsoft$expert$client$components$searchresult$SearchResultPresenter$_annotation$$none$$_0_g$(ExpertWeb-0.js)
at Unknown.get_234_g$(ExpertWeb-0.js)
at Unknown.get_233_g$(ExpertWeb-0.js)
at Unknown.get_60_g$(ExpertWeb-0.js)
at Unknown.getPresenter_1_g$(ExpertWeb-0.js)
at Unknown.handleRequest_0_g$(ExpertWeb-0.js)
at Unknown.onPlaceRequest_0_g$(ExpertWeb-0.js)
at Unknown.dispatch_122_g$(ExpertWeb-0.js)
at Unknown.dispatch_121_g$(ExpertWeb-0.js)
at Unknown.dispatch_0_g$(ExpertWeb-0.js)
at Unknown.dispatchEvent_2_g$(ExpertWeb-0.js)
at Unknown.doFire_0_g$(ExpertWeb-0.js)
at Unknown.fireEventFromSource_1_g$(ExpertWeb-0.js)
at Unknown.fireEvent_12_g$(ExpertWeb-0.js)
at Unknown.doRevealPlace_0_g$(ExpertWeb-0.js)
at Unknown.doRevealPlace_1_g$(ExpertWeb-0.js)
at Unknown.revealPlaceHierarchy_0_g$(ExpertWeb-0.js)
at Unknown.revealSearchRequest_0_g$(ExpertWeb-0.js)
at Unknown.revealRelativePlace_3_g$(ExpertWeb-0.js)
at Unknown.execute_110_g$(ExpertWeb-0.js)
at Unknown.$executeScheduled_0_g$(ExpertWeb-0.js)
at Unknown.runScheduledTasks_0_g$(ExpertWeb-0.js)
at Unknown.flushPostEventPumpCommands_0_g$(ExpertWeb-0.js)
at Unknown.execute_5_g$(ExpertWeb-0.js)
at Unknown.execute_4_g$(ExpertWeb-0.js)
at Unknown.apply_0_g$(ExpertWeb-0.js)
at Unknown.entry0_0_g$(ExpertWeb-0.js)
at Unknown.entry_1_g$/<(ExpertWeb-0.js)
at Unknown.callback_0_g$(ExpertWeb-0.js)
at Unknown.anonymous(Unknown)
" ExpertWeb-0.js:118430:2

"Mon Aug 03 11:08:52 GMT+300 2015 BootstrapperImpl
SEVERE: Ex caught!java.lang.AssertionError: display must extend Widget
at Unknown.fillInStackTrace_0_g$(ExpertWeb-0.js)
at Unknown.Throwable_3_g$(ExpertWeb-0.js)
at Unknown.Error_3_g$(ExpertWeb-0.js)
at Unknown.AssertionError_7_g$(ExpertWeb-0.js)
at Unknown.makeAssertionError_Object_0_g$(ExpertWeb-0.js)
at Unknown.setDisplay_4_g$(ExpertWeb-0.js)
at Unknown.SimplePager_5_g$(ExpertWeb-0.js)
at Unknown.SimplePager_4_g$(ExpertWeb-0.js)
at Unknown.SimplePager_3_g$(ExpertWeb-0.js)
at Unknown.SimplePager_2_g$(ExpertWeb-0.js)
at Unknown.SimplePager_1_g$(ExpertWeb-0.js)
at Unknown.RangeLabelPager_3_g$(ExpertWeb-0.js)
at Unknown.build_rangeLabelPager_1_g$(ExpertWeb-0.js)
at Unknown.get_rangeLabelPager_1_g$(ExpertWeb-0.js)
at Unknown.build_f_FlowPanel1_0_g$(ExpertWeb-0.js)
at Unknown.get_f_FlowPanel1_0_g$(ExpertWeb-0.js)
at Unknown.createAndBindUi_17_g$(ExpertWeb-0.js)
at Unknown.createAndBindUi_16_g$(ExpertWeb-0.js)
at Unknown.CwCellList_1_g$(ExpertWeb-0.js)
at Unknown.pro$redsoft$expert$client$components$searchresult$cellList$CwCellList_pro$redsoft$expert$client$components$searchresult$cellList$CwCellList_methodInjection_0_g$(ExpertWeb-0.js)
at Unknown.get_Key$type$pro$redsoft$expert$client$components$searchresult$cellList$CwCellList$_annotation$$none$$_0_g$(ExpertWeb-0.js)
at Unknown.get_Key$type$pro$redsoft$expert$client$components$searchresult$cellList$CellListPresenter$ICellListView$_annotation$$none$$_0_g$(ExpertWeb-0.js)
at Unknown.get_Key$type$pro$redsoft$expert$client$components$searchresult$cellList$CellListPresenterImpl$_annotation$$none$$_0_g$(ExpertWeb-0.js)
at Unknown.get_Key$type$pro$redsoft$expert$client$components$searchresult$cellList$CellListPresenter$_annotation$$none$$_0_g$(ExpertWeb-0.js)
at Unknown.get_228_g$(ExpertWeb-0.js)
at Unknown.get_227_g$(ExpertWeb-0.js)
at Unknown.SearchResultPresenterImpl_1_g$(ExpertWeb-0.js)
at Unknown.pro$redsoft$expert$client$components$searchresult$SearchResultPresenterImpl_pro$redsoft$expert$client$components$searchresult$SearchResultPresenterImpl_methodInjection_0_g$(ExpertWeb-0.js)
at Unknown.get_Key$type$pro$redsoft$expert$client$components$searchresult$SearchResultPresenterImpl$_annotation$$none$$_0_g$(ExpertWeb-0.js)
at Unknown.get_Key$type$pro$redsoft$expert$client$components$searchresult$SearchResultPresenter$_annotation$$none$$_0_g$(ExpertWeb-0.js)
at Unknown.get_234_g$(ExpertWeb-0.js)
at Unknown.get_233_g$(ExpertWeb-0.js)
at Unknown.onReveal_4_g$(ExpertWeb-0.js)
at Unknown.internalReveal_0_g$(ExpertWeb-0.js)
at Unknown.internalReveal_0_g$(ExpertWeb-0.js)
at Unknown.setInSlot_2_g$(ExpertWeb-0.js)
at Unknown.setInSlot_1_g$(ExpertWeb-0.js)
at Unknown.execute_36_g$(ExpertWeb-0.js)
at Unknown.$executeScheduled_0_g$(ExpertWeb-0.js)
at Unknown.runScheduledTasks_0_g$(ExpertWeb-0.js)
at Unknown.flushPostEventPumpCommands_0_g$(ExpertWeb-0.js)
at Unknown.execute_5_g$(ExpertWeb-0.js)
at Unknown.execute_4_g$(ExpertWeb-0.js)
at Unknown.apply_0_g$(ExpertWeb-0.js)
at Unknown.entry0_0_g$(ExpertWeb-0.js)
at Unknown.entry_1_g$/<(ExpertWeb-0.js)
at Unknown.callback_0_g$(ExpertWeb-0.js)
...
Рейтинг: 0 / 0
GWT Cell GWTP
    #39021520
Фотография -=Koba=-
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
автор
public RangeLabelPager() {
super();
panel.setWidth("100%");
appropriateList = new HTML(showAppropriateText);
curText = showAllText;
appropriateList.getElement().getStyle().setColor("gray");
panel.add(appropriateList);
panel.setCellWidth(appropriateList, "200px");
// panel.add(label);
label.getElement().getStyle().setColor("gray");

fullList = new HTML(showAllText);
fullList.addStyleName("pseudo");
panel.add(fullList);
panel.setCellWidth(fullList, "250px");
panel.setCellHorizontalAlignment(fullList, HasHorizontalAlignment.ALIGN_RIGHT);

fullList.addClickHandler(new ClickHandler() {
@Override
public void onClick(ClickEvent clickEvent) {

if (appropriateList.getText().equals(showAppropriateText)) {

// pageSize = 10 - полный список
if (pageSize != null) {
pageSize.onSuccess(UriConstants.SEARCH_ALL_PAGE_SIZE);
}
appropriateList.setHTML(showAllText);
fullList.setHTML(showAppropriateText);
curText = showAppropriateText;
leftMaxValue = total;
} else {
// pageSize = 50
if (pageSize != null) {
pageSize.onSuccess(UriConstants.SEARCH_PAGE_SIZE);
}

setDefault();
}

}
});

initWidget(panel);
}
...
Рейтинг: 0 / 0
2 сообщений из 2, страница 1 из 1
Форумы / Java [игнор отключен] [закрыт для гостей] / GWT Cell GWTP
Найденые пользователи ...
Разблокировать пользователей ...
Читали форум (0):
Пользователи онлайн (0):
x
x
Закрыть


Просмотр
0 / 0
Close
Debug Console [Select Text]