on 12-17-2003 8:26 PM
Hi all,
i need some help with the code below wich i have in an jsp file:
<% if(a==1) { %>
show an tabstripitem
<% } else { %>
don't
<% } %>
I am trying to use this to turn a tab in an tabstrip on or off depending on what role the have in the portal. when i use this for a buttonRow which is outside the tabstrip i works fine, but inside it throws errors... for example
C:/usr/sap/POT1/j2ee/j2ee_00/cluster/server/services/servlet_jsp/work/jspTemp/irj/root/WEB-INF/portal/portalapps/WRCJSPDYN_1.0/work/pagelet/_sapportalsjsp_WRCGuiInt2.java:1952: while expected } finally { ^
I hope someone can help me,
Max
Hi Max,
If you are using this logic inside a <hbj:...> tag then you might want to check whether you can or not. I mean the best place to look is in the JAVA file generated by the J2EE engine from the JSP page you have written. The file is the one listed in the error: WRCGuiInt2.java, check out line 1952 and see what code has been generated. My guess is the HTMLB tag doesn't like having a scriplet embedded in it.
Rgds,
Simon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.