on 05-23-2006 4:55 AM
Hi all,
I am involved with customisation of the portal logon screens. I am working with the com.sap.portal.runtime.logon.par file. I have added a new JSP to this par. On click of the Submit button on this JSP page, for doing the processing, I created a JSP Dynpage component. But I am unable to add hbj tags to my JSP page, though I have added -
<%@taglib uri="tagLib" prefix="hbj" %> in my JSP page
I have also made the <b>application-config</b> entry in the Portal-app.xml-
<property name="PrivateSharingReference" value="com.sap.portal.htmlb"/>
And in the component that I created, I have added the following code to the component profile tags-
<component-profile>
<property name="tagLib" value="/SERVICE/htmlb/taglib/htmlb.tld"/>
</component-profile>
It gives me the error:
Portal Runtime Error
An exception occurred while processing a request for :
iView : mylogon.default
Component Name : mylogon.default
Error in parsing taglib 'tagLib' tag in web.xml or .tld file of the taglib library..
Can anyone please suggest what could this be due to?
Is there any other way in which I can implement my submit logic of the new JSP that I have added to the logon PAR (Because the processing of existing pages happens in the SAPlogonLogic.java which exists in umelogonbase.jar)
- Regards,
Ashwini.
HI Ashwini,
Apart from what yoga said,if the problem still exists
may be the tld file got corrupted. Try to paste it once again and then try deploying. It worked for us. It might work for you too.
Hope it helps.
Regards,
Vivekanandan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ashwini,
Check if htmlb.jar and com.sap.portal.htmlb_api.jar are added to the project.
If not, add them manually to ur project.
The tld file will be in this location.
usr\sap\J2e\Jc00\j2ee\cluster\server0\apps\sap.com\irj\servlet_jsp\irj\root\portalapps\com.sap.portal.htmlb\taglib\htmlb.tld
Try taking a backup copy of this file and replace this file from another server. It may help.
Regards,
Harini S
Hi,
Pls try application-config tag like this
<application-config>
<property name="PrivateSharingReference" value="com.sap.portal.htmlb">
</property>
<property name="SharingReference" value="com.sap.portal.runtime.application.soap">
</property>
</application-config>
Also check component tag is in this order
<component name="AddAccounts">
<component-config>
<property name="ClassName" value="Test">
</property>
<property name="JSP" value="pagelet/test.jsp">
</property>
</component-config>
<component-profile>
<property name="tagLib" value="/SERVICE/htmlb/taglib/htmlb.tld">
</property>
</component-profile>
</component>
regards,
Sujesh
Hi Ashwini
Change PrivateSharingReference in component-config to SharingReference and try.
<b><property name="SharingReference" value="com.sap.portal.htmlb"/></b>
Also check whether you have deleted the below specified lines in component-config of portalapp.xml file.
<property name="ComponentType" value="jspnative"/>
<property name="JSP" value="pagelet/xxx.jsp"/>
Let me know the results.
Regards
Yoga
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi yoga,
I tried the option as you suggested, But i get the same error i was previously getting:
Portal Runtime Error
An exception occurred while processing a request for :
iView : mylogon.default
Component Name : mylogon.default
Error in parsing taglib 'tagLib' tag in web.xml or .tld file of the taglib library..
-Ashwini.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.