cancel
Showing results for 
Search instead for 
Did you mean: 

cannot resolve symbol / hjb:TableView

Former Member
0 Kudos

Hello,

in one jsp file i have the following code.

<hbj:tableView
  id="srTV1" 
  design="ALTERNATING" 
  headerVisible="true" 
  footerVisible="true" 
  fillUpEmptyRows="true" 
  navigationMode="BYLINE" 
  selectionMode="NONE" 
  headerText="Bupa" 
  onNavigate="Navigate" 
  visisbleRowCount="3" >
<% 
  srTV1.setModel(bupaSearchBean.getModel());
  srTV1.setVisibleFirstRow(bupaSearchBean.getFirstVisibleRow());
%>
</hbj:tableView>

on execute in the Portal i get the following error:

symbol  : variable srTV1
location: class pagelet._sapportalsjsp_bupas
srTV1.setModel(bupaSearchBean.getModel());
                        ^
D:/usr/sap/CFT/JC00/j2ee/cluster/server0/apps/sap.com/irj/servlet_jsp/irj/root/web-inf/portal/portalapps/bapi_bupa_search/work/pagelet/_sapportalsjsp_bupas.java:99: cannot resolve symbol
symbol  : variable srTV1
location: class pagelet._sapportalsjsp_bupas
srTV1.setVisibleFirstRow(bupaSearchBean.getFirstVisibleRow());
                        ^
2 errors

The variable srTV1 (the ID from the hbj:TableView) is unknowd / can not resolved.

Why? Itu2019s enough to lose your sanity!

regards

Micha

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

HI

check this link

http://help.sap.com/saphelp_nw04/helpdata/EN/eb/220a415a47f06fe10000000a1550b0/content.htm

hope this should solve your problem .

Thanks

Former Member
0 Kudos

Hy,

sry. It doesn't resolve the problem.

Any other idears? Pls?

thx

regards

Former Member
0 Kudos

Problem is solved. I'd forgott

<%@ taglib uri="tagLib" prefix="hbj" %>

at the beginning of the jsp page

Answers (0)