cancel
Showing results for 
Search instead for 
Did you mean: 

Pls help! Questions on iView manual...

Former Member
0 Kudos

Hi, this question is regarding manual named: <b>'Introduction to Custom Java iViews With the SAP Portal Development Kit'</b>

I have EP 6.0, PDK imported into EP 6.0, Eclipse 2.1 with SAP plugin v1.2. I have gone through this manual(address pasted below) and had no problems until I hit page 52. Here are my 3 questions:

<b>1.)</b> Regarding Pg. 52, step #2, I downloaded the libraries.zip file from my EP 6.0 (Java Development>Development>Downloads page) But there is no file called com.sap.portal.htmlbridge.jar. Where can I get this file?

<b>2.)</b> Is this causing the error that Eclipse cannot recognize these two imports inside file 'TemplateJSPDynPage.java'. This file automatically opend up with errors on Eclipse after I clicked 'Finish' on page 50. *I got templateJSPDynPage.par from Java Development>Documentation>Getting Started>Tutorials/JSP DynPage(on Getting Started Panel)> Inside article near page top is a link called 'download template'.

Errors with these two packages:

import com.sapportals.portal.htmlb.page.JSPDynPage;

import com.sapportals.portal.htmlb.page.PageProcessorComponent;

<b>3.</b> Regarding the HTMLB library page on EP 6.0 (Java Development --> Examples --> HTMLB Control Overview) Is this the entire HTMLB library listed here with links & examples? or is there other libraries?

<b>PDF Manual address:</b> https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/ep/introduction to custom java iviews with the sap portal development kit.pdf

Thank you so very much for any responses or suggestions!

Baggett

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Bagget,

1) If you can't find a specific jar file on libraries.zip, you can always find by searching inside \usr\sap\J2E\JC00\j2ee\cluster\server0\apps\sap.com\irj\servlet_jsp\irj\root\WEB-INF\portal\portalapps.

Note: Change J2E and JC00 in accordance with your installation.

2) To find a specific class or package, use this plugin http://www.alphaworks.ibm.com/tech/jarclassfinder

3) You can also find additional information in Java Development u00BB Documentation u00BB Services/HTMLB u00BB Reference

Regards,

John

Former Member
0 Kudos

Hi John, thanks so much for your response! I am currently searching for that jar using your method.

I was wondering if you can possibly provide detailed instructions and maybe some simple code so that I can develop a simple Java iView, maybe one that can just display a button on EP6.0 using HTMLB. I am having trouble doing that. It would be a super great help to me b/c I am running into so many issues with these manuals and tutorials. If you want, I can open a new question for this.

I have the PDK imported into EP 6.0 and using Eclipse2.1 with SAP plugin.

Thanks so much for your excellent help and responses,

Baggett

Message was edited by: Baggett Soran

Former Member
0 Kudos

H Baggett,

I would recomand on the following which is a plugin for eclipse developed by IBM and can find all the class and jar you are looking for:

http://www.alphaworks.ibm.com/tech/jarclassfinder

you'll have instructions there(but you have to register which is free).

hope it helps,

Yoav T.C

Former Member
0 Kudos

Hi, I just found where all these jar files are, and they are in the installation where my NetWeaver Developer Studio was installed. This means that the Eclipse SAP Plugin v1.2 did not include these files.

Regarding debugging, I was wondering where can I look at debug messages?, like if I do a System.out.println("Test Debug message");, where can I see this message, on the NetWeaver Web Application Server, or on the EP6.0? Can you please provide instructions?

Thanks,

Baggett

Former Member
0 Kudos

Hi Bagget,

If you print messages using Error System.err.println("....").

You can check the messages, after running the iView in the portal, in file C:\usr\sap\J2E\JC00\j2ee\cluster\server0\log\defaultTrace.<lastNumber>.trc

Regards,

John

Former Member
0 Kudos

Hi John, thank you so much for your response, so this means I would have to go to the computer that has the EP6.0 installed in order to access debug logs?

Thanks again for your help and if possible, can you take a look at my question posted: How to "put" iView onto my page...?

Regards,

Baggett

Former Member
0 Kudos

Hi, I was wondering if anyone can take a look at question:"Pls help! question on sample jsp... " on this board.

Thanks so much for your help!

Baggett

Answers (0)