on 05-04-2006 10:41 AM
Dear all
I was trying to do broadcasting of messages to logged on users in portal using Prakash singh weblog. Steps i have done...got some errors.
1. Created project called com.pradeep.broadcast
2.created a portal service called alertreceiver
-->In this i got errors...
import com.sapportals.portal.prt.service.notification.INotificationService;
import com.sapportals.portal.prt.service.notification.ITopicListener;
import com.sapportals.portal.prt.service.notification.TopicData;
import com.sapportals.portal.prt.service.notification.TopicDataContainer;
These imports canot be resolved.
Can u help me in this regard. Appreciate with points
rgds
pradeep
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Pradeep,
Right click your project -> Properties -> Java Build Path -> Libraries -> Add external jars. Add the jar. Check it out. I think there is some difference in both. Portal-inf -> Lib files will be available for runtime and build path files for designtime. Not sure of that.
Regards,
Harini S
Hi
Thank you so much...now its error free...i got few doubts after 4th step in that weblog.
4. Portal Application->Create a new portal application object ->com.pradeep.broadcast->portal component->JSPDynpage
In the JSPWizard...
Name : display
Location: Core
JSPdynpage Class name : display
JSPdynpage Package name : src.api or src.core
JSPfile name : displayalert
clicked on "next" button..
There i can get Bean information exchange
1.Do not generete any bean statements
2.Generate bean statements..
Can u please tell me which on i need to select.
Help appreciated
rgds
pradeep
hi,
You need to select 2.Generate bean statements because there is a separate java class for including those codes in .
Class Name : alertinfo
package com.ust.broadcast.bean;
public class alertinfo
{
public String url;
public String no_message;
public String geturl() {
return url;
}
public String no_message() {
return no_message;
}
}
Regards,
Ganesh N
Hi Pradeep,
That is the 3rd step. Here are the steps.
1)Portal Application->Create a new portal application object ->com.pradeep.broadcast->portal component->JSPDynpage
2)Name : display
Location: Core
JSPdynpage Class name : display
JSPdynpage Package name : com.ust.broadcast
JSPfile name : displayalert
clicked on "next" button..
2.Generate bean statements..
Bean name: myBean
Bean scope: application
Generate bean class
Location:Core
Class name:alertinfo
Package name:com.ust.broadcast.bean
Regards,
Harini S
Hi Harini
Thanks for ur inputs...
After that i created two iviews based on the par file..like publishmessage iview and displaymessage iview.
After that i copied the displaymessage iview to Defaultframework page ->desktop inner page -> In the desktop innerpage i was unable to move to workarea panel.
Its not dragging into that...
Kindly help me
rgds
pradeep
Hi Pradeep,
As Ganesh has told, open the desktop innerpage and rightclick the iViews and add them to the page. Desktop InnerPage is a 2 column layout page. So u can drag the iViews to any column. For that, click on Page Layout radio button of desktop innerpage and drag the iViews to the required workarea column. Refresh the browser window. U can see both the iViews added.
Hope this helps.
Close the thread if solved.
Regards,
Harini S
Hi Pradeep,
Ya.It will work if the iView is in the desktop innerpage. I thought u wanted it to be in the work area as per some requirement. Anyway, happy that it is working. Now What do u mean as user specific user level?
If u want broadcasting i.e., publishing to be done only by administrator or some specific user, then u can create a new portal desktop for that user alone and put the publish iView in the desktop innerpage of that new desktop's framework page. The display iView for the published message can be added to all desktop framework pages. No code change is required.
Hope that helps.
Regards,
Harini S
Hello,
I'm trying to aplly this blog to our system,but it shows error.
can anyone send me please the PAR file to mohamed373@gmail.com
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Pradeep,
It is available in 2 jars in these paths.Check out for the appropriate one.
1)eclipse/plugins/com.sap.ep.applicationDevelopment/prtcoreservice.jar
2)eclipse/plugins/com.sap.tc.ap/comp/SAP_JTECHS/DCs/sap.com/epbc.petapi_coreservice/_comp/gen/default/public/default/lib/java/prtcoreservice.jar
Regards,
Harini S
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Pradeep,
Include the <b>prtcoreservice.jar</b> in your project.
Hope it solves your problem.
Regards,
Saravanan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
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.