Hi,
I'm writing jsp iviews under EP6 SP2. The documentation says that the element hbj:link can contain the attribute 'onClientClick'.
But I get the following error when iview is executed:
Attribute 'onClientClick' not found in tag library 'HTMLB' for the tag link.
Any ideas?
Thanks
HI I cam accross the same issue
but you can do it in the JSP code
<hbj:link
id="PatientAdministrationLink"
text="<%=imgPatientSearchLink.getText() %>"
reference="<%=imgPatientSearchLink.getReference() %>"
target="<%=imgPatientSearchLink.getTarget() %>"
tooltip="<%=imgPatientSearchLink.getTooltip() %>"
linkDesign="<%=imgPatientSearchLink.getLinkDesign().toString() %>">
<%--- Set only onClick if the value is "LinkClick" --%>
<%
if (imgPatientSearchLink.getLinkClick().equals("LinkClick"))
{
PatientAdministrationLink.setOnClick(
imgPatientSearchLink.getLinkClick());
PatientAdministrationLink.setOnClientClick(
"doNavigatePatientSearch()");
}
PatientAdministrationLink.setFontSize(
imgPatientSearchLink.getFontSize());
%>
Hi Milton,
Patch level? Hotfix level?
Thanks
Detlev
Thanks for the answers.
I'm using EP 6.0.2.2.0.Enterprise_Portal_Service_Pack_2. All my libraries were downloaded from portal, so I hope, this is the correct version.
I don't use directly die class Link: in jsp the tag <hbj:link> is translated to
com.sapportals.htmlb.taglib.LinkTag and this class doesn't have a method like setOnClientClick().
Am i doing something wrong?
Add a comment