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