How to get list of Pages in the Portal using JPDK API
Hi All,
I have number of JSP Pages binded in to different different war files deployed in to
OAS server and also resides inthe portlet repository.Now problem is I would like to show that pages in the one Page as in links format should be in horizontal links using JPDK.
Please help me out and any related examples which class will be solve the above problem.
Thanks & Regards
Sridhar Sabbani.
Hi Sridhar,
Do you mean links to portlets dropped onto the portal page? Or do you wish to access the links directly (i.e., access the portlet directly) ?
thanks,
Harsha
Similar Messages
-
Hi,
Can anybody tell me how to get the list of all pages in the portal using.
Thanks in advance.To access the DesktopDefinitionManager EJB, look it up in JNDI such as:
import com.bea.netuix.application.manager.persistence.DesktopDefinitionManagerHome;
import com.bea.netuix.application.manager.IDesktopDefinitionManager;
import com.bea.p13n.management.ApplicationHelper;
import com.bea.netuix.application.manager.CustomizationContext;
import javax.naming.InitialContext;
import javax.rmi.PortableRemoteObject;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
// Access the DesktopDefinitionManager EJB
InitialContext context = new InitialContext();
String lookupName = DesktopDefinitionManagerHome.LOOKUP_NAME;
String applicationName = ApplicationHelper.getVersionedAppName();
if((applicationName != null) && (applicationName.length() > 0))
lookupName = applicationName + "." + lookupName;
Object home = context.lookup(lookupName);
home = PortableRemoteObject.narrow(home, DesktopDefinitionManagerHome.class)
IDesktopDefinitionManager portalManager = ((DesktopDefinitionManagerHome)home).create();
The DesktopInstanceManager is in the PortalCustomizationManager EJB-- this can be accessed using the same code as above, but replacing "DesktopDefinition" with "PortalCustomization" everywhere.
Kevin
Edited by: kfrender on Jun 5, 2009 9:08 AM -
How to get list of applied patches which applied using admrgpch
How to get list of applied patches which applied using admrgpch
You can't really get the individual patch IDs from a merged patch, unless you have the log file from the admrgpch run available.
You can, however, get the list of bugs fixed by a merged patch, and those bug numbers sometimes, but not always, correspond to a patch ID. Keep in mind, though, that individual patches often contain entries for multiple bug numbers.
Here's a query that I use to look at the contents of merged patches. It works best if the merged patches have been given unique names, instead of the default name 'merged' from admrgpch. If you run it and see that everything belongs to patch name 'merged,' you might want to change the selected column to ap.applied_patch_id instead of ap.patch_name.
select ap.patch_name
, ad.orig_patch_name
, ad.driver_file_name
, ad.merged_driver_flag
, ad.merge_date
, bug.bug_number
, cp.patch_abstract
from ad_applied_patches ap
join ad_patch_drivers ad using (applied_patch_id)
join ad_comprising_patches cp using (patch_driver_id)
join ad_bugs bug using (bug_id)
order by applied_patch_id;
Regards,
John P.
http://only4left.jpiwowar.com -
How to get list of users who reset password using FIM portal
How to get list of users who reset password using FIM portal
-Thanks Rakesh SawantHi Rakesh,
I think you are looking for something like this:
Using Powershell to list all users that had completed
a password reset within the last 30 days
If you found my post helpful, please give it a Helpful vote. If it answered your question, remember to mark it as an Answer. -
My dad has itunes on his PC. I don't have my own but I recently have an iPad mini and an iPod. I don't know how to get songs onto itunes on the PC, using a different account or at least private/ separate..
So how do I create a separate I tunes on a PC which already has itunes... Or if not can I plug my iPad to the PC and use itunes on my iPad, and drag mp3s from a computer.
I'm not sure what the equivalent of a desktop is on the iPad.. And I don't actually know how to use the icloud either...
Can anyone start me off, given it have a iPad and use of a PC - not mine with existing iplayer
I do have spotify soundcloud so I could potentially use these.. If there is a route of getting either mp3's etc to end up on my iPad or iPod.
Kind RegardsiTunes 11
If you have iTunes 11 turn on the Sidebar. Go to iTunes>View and click on Show Sidebar. You can also do a Crtl+S to show the sidebar. The sidebar is where Devices appears. and Control+B to show the Menu bar
To import music into your iTunes library on the computer go to iTunes>Help>iTunes Help>Add items to iTunes and follow the instructions
To sync to your iPod go to iTunes>Help>iTunes Help>Sync your iPod....>Sync You Device and follow the instructions. -
How to get Folder or document service permissions by using KM API's
Hi,
Any help how to get Folder or document service permissions by using KM API's
Any help or hint is greatly appreciated.
Thanks,
Costa.Hi,
I have tested it here and it works for me (this code lists the service permissions settings for folder /documents/temp/):
RID rid = RID.getRID("/documents/temp");
try {
IUser user = (IUser) request.getUser().getUser();
IResourceContext context = new ResourceContext(user);
IResource res = ResourceFactory.getInstance().getResource(rid, context);
IResourceFactory resourceFactory = ResourceFactory.getInstance();
IRepositoryServiceFactory serviceFactory = resourceFactory.getServiceFactory();
IAclService aclService = (IAclService) serviceFactory.getRepositoryService(res, IWcmConst.ACL_SERVICE);
IResourceAclManager aclResourceManager = aclService.getAclManager();
IResourceAcl resourceAcl = aclResourceManager.getAcl(res);
boolean inheritedAcl = false;
if (resourceAcl == null) {
resourceAcl = aclResourceManager.getInheritedAcl(res);
inheritedAcl = true;
response.write("<strong>SERVICE PERMISSION OWNERS</strong><br>");
IUMPrincipalList ownerList = resourceAcl.getOwners();
IUMPrincipalListIterator ownerListIt = ownerList.iterator();
while (ownerListIt.hasNext()) {
IUMPrincipal ownerPrincipal = ownerListIt.next();
String strPrincipal = ownerPrincipal.getId();
response.write(strPrincipal + "<br/>");
response.write("<br><strong>SERVICE PERMISSIONS</strong><br>");
IResourceAclEntryList el = resourceAcl.getEntries();
IResourceAclEntryListIterator it = el.iterator();
while (it.hasNext()) {
IResourceAclEntry entry = it.next();
String strEntryPerm = entry.getPermission().getDescription();
String strPrincipal = entry.getPrincipal().getId();
response.write("<strong>" + strEntryPerm + "</strong> - principal: " + strPrincipal + "<br/>");
IAclPermissionList plList = entry.getPermission().getMembers();
IAclPermissionListIterator plListIterator = plList.iterator();
while (plListIterator.hasNext()) {
IAclPermission perm = plListIterator.next();
response.write(perm.getDescription() + "<br/>");
} catch (Exception e) {
response.write(LogWriter.extractCallStack(e));
LogWriter.traceSevere(LogWrapper.trace, e, LogWriter.extractCallStack(e), true);
Romano -
How to get an RSS feed into the phone using Nokia ...
Is it possible to get an RSS feed into the phone using the Nokia PC Suite? RSS is mentioned in several places in the help files, but I can't find a place that describes how to set it up.
just as they said in the help:
"On the Bookmarks section, you can define bookmark and RSS feed synchronisation details. Bookmarks and RSS feeds can be synchronised between a Nokia mobile phone and a supported web browser. Note that bookmark and RSS feed synchronisation is not available for all phone models. "
What's the law of the jungle? -
How to get list of VMs running under SCVMM using SCORCH activities
hello,
I am in learning phase on SCORCH...I wants to know steps required to get list of VMs running under SCVMM using SCORCH activities.
Thanks
Richa KMHi,
Here is a list of activities:
System Center Virtual Machine Manager Activities
Integration Packs for System Center 2012 - Orchestrator
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected] -
How to get list of permissions for the PCD location
Hello Team,
I have group called "ABC". We have lots of roles created in PCD, and some of the roles are assigned to "ABC" group. I want to list out all the roles which is added to the group "ABC".
Can you please help me?
Thanks
Manoj KHi,
Thanks for the reply.
Yes, i would like to know what are all the PCD roles which are assigned to group "ABC".
Yes, you are right, that we can select the group in user Management and if we click on the "Assigned roles" and if we use the string * then we will get a list.
But if i do that, it is giving below information.
Last search returned 134 elements. This exceeded the defined max hits of 50. Narrow your search criteria and search again.
So,this information i got when i select the Search Recursive button, So, i want to know how to get these 134 list from User Management.
Thanks
Manoj K -
How to get list of groups and the users from OID
Hi,
Can someone please tell me how to get the list of GROUPS and all the USERS in each group in OID using Java. Need to recursively get all the Groups and Users in each group using Java any samples.
Thanksuse examples from OTN like
http://www.oracle.com/technology/sample_code/products/jdev/readmes/samples/ldapdatacontrol/ldapapplication/src/dc/ldap/model/LDAPSearch.java
and modify it to your needs
Bernhard -
How to get list of users assinged the same product catagory
Hi All ,
we have a requirement in which we need to get the list of users who are assigned the same product category.
ie if we give the prod category 14000000 then we need the list of users assigned the 14000000 prod category.
is any FM available.
please help.
Regards
Channappa SajjanarHi Chinnappa,
1) You can create a table query for tables HRT1222 and HRP1222 to get the org Id or Position Id assigned for the product category.
Then use FM BBP_OM_STRUC_GET_USER_FROM_POS to get the list of users for that org ID.
2) or if you want to check list of prod categories linked to user ID, then use FM BBP_READ_ATTRIBUTES
rgds,
Ravi -
How to get first 10 records from the database using JSP
i want ot get first 10 records from the database and then after clicking the next button in the page,it must show the next precceding 10 records from the database.i am getting the first 10 records .but how to post to the same page to get another preceeding 10 record.
Search the forums - this has been asked a lot. I usually recommend experimenting with tops and order bys until you're satisfied.
Kind regards,
Levi -
How To Insert List of Record To the Database Using Linq
Good day every one, Please i need little help, I have a list of record like this
lblID.Text = string.Join("<br/>", numbers);
gives the Numbers below...
6131
5241
3978
6824
3842//To Save to the database
int pin = int.parse(lblID.Text);
Now i want to insert those Numbers to the database
Persons ps = new Persons();
ps.Number = pin;
cdc.Persons.AddObject(ps);
cdc.SaveChanges();
it throws up error...
what i want to achieve on button insert
all Numbers will be inserted but before inserting the number it will check if those numbers exist first on the database
it should be like this on the database
ID Number
1 6131
2 5241
3 3978
4 6824
5 3842
thanks.. I do appreciate your time and effortHello,
>>Now i want to insert those Numbers to the database
For inserting a list of items to database, a loop statement is needed. I do not how you get these numbers, I assume they are stored in a collection and you could check below demo sample to insert these numbers and I assume your person table is identified:
using (DFDBEntities db = new DFDBEntities())
List<int> numbers = new List<int>() { 6131, 5241, 3978, 6824, 3842 };
for (int i = 0; i < numbers.Count; i++)
int number = numbers[i];
//Check if the local and database already contains this number
bool isRecordExist = db.Tables.Any(t => t.Number == number) || db.Tables.Local.Any(t => t.Number == number);
if (!isRecordExist)
Table t = new Table();
t.Number = number;
db.Tables.Add(t);
db.SaveChanges();
Regards.
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
How to get list of all sp farm solutions using powershell?
is there any powershell script can list down all solutions deployed on farm in txt or cvs file?
Thanks. but this is showing all features. I need only our custom developed features
Get-SPFeature >> c:\temp\feature.txt
Let me know how to get? -
How to get a week number for the year using oracle sql query?
hi everyone,
i have the requirement to find the week number for the calender..
so that week number should start with 01 when the year starts and it should end with week end date(that is first saturday of the january month).. so next week number starts with sunday and ends with saturday ,continously.. in the end date of the year it should not be 'saturday' but week number should end with last date of the year.. again in the next year it should start with '01'.
for example:
01-JAN-13 tuesday 01
02-JAN-13 wednesday 01
03-JAN-13 thursday 01
04-JAN-13 friday 01
05-JAN-13 saturday 01
06-JAN-13 sunday 02
07-JAN-13 monday 02
26-DEC-13 thursday 52
27-DEC-13 friday 52
28-DEC-13 saturday 52
29-DEC-13 sunday 53
30-DEC-13 monday 53
31-DEC-13 tuesday 53
01-JAN-14 wednesday 01
02-JAN-14 thursday 01
how can i achieve this, can anyone please help me out on this..
i have a query that starts with 01 when year starts but it gives problem in the end of the year .. described below with a query..
select mydate,
to_char(mydate,'day') as weekday,
to_char(next_day(mydate,'sunday'),'iw') as week_num
FROM ( SELECT TRUNC (SYSDATE, 'yy') - 1 + LEVEL AS mydate
FROM dual
CONNECT BY LEVEL <= (SELECT TRUNC (ADD_MONTHS (SYSDATE, 24), 'yy')
- TRUNC (SYSDATE, 'yy')
FROM DUAL))
this query gives date, weekday and week_num for 2 years 2013 and 2014,
when i run this query ,at the end of the 2013 it gives the result as,
26-DEC-13 thursday 52
27-DEC-13 friday 52
28-DEC-13 saturday 52
29-DEC-13 sunday 01
30-DEC-13 monday 01
31-DEC-13 tuesday 01
01-JAN-14 wednesday 01
02-JAN-14 thursday 01
for dates 29 ,30,31st it should give 53 .. how can i achieve that using this this query .. can any one help me out on this please...
thanks,
pradeepI tried with the IW ...
it is giving week_id for the year.
select
mydate,
to_char(mydate,'day'),
case when mydate between trunc(mydate,'yyyy') and next_day(trunc(mydate,'yyyy'),'saturday')
then to_number(to_char(mydate,'yyyy')||to_char(trunc(mydate,'yyyy'),'iw'))
when mydate between next_day(trunc(mydate,'yyyy'),'saturday') and trunc(add_months(trunc(mydate,'yyyy'),12)-1,'d')-1
then to_number(to_char(mydate,'yyyy')||to_char(next_day(mydate,'sunday'),'iw'))
when mydate between trunc(add_months(trunc(mydate,'yyyy'),12)-1,'d') and add_months(trunc(mydate,'yyyy'),12)-1
then to_number(to_char(mydate,'yyyy')||to_char(trunc(add_months(trunc(mydate,'yyyy'),12)-1,'d')-1,'iw')+1) end as WEEK_ID
FROM ( SELECT TRUNC (SYSDATE, 'yy') - 1 + LEVEL AS mydate
FROM dual
CONNECT BY LEVEL <= (SELECT TRUNC (ADD_MONTHS (SYSDATE, 24), 'yy')
- TRUNC (SYSDATE, 'yy')
FROM DUAL
))
Maybe you are looking for
-
Post Author: lkamesam CA Forum: Integrated Solutions Hi, I am running Crystal Reports version 10 from IBM Rational 6.0.1 build 20050725_1800 XML data source. When I try to run the report under WAS 6.0.1 I get the following error: Does any bo
-
[SOLVED] high CPU and freezing issues
Greetings, While I don't claim to be an expert at these things, I'm no newbie either... at least as far as computers go. I admit there are still many things I need to learn about linux, but that's all part of the fun. Anyways on to the point of this
-
4 ipods sharing music on ONE computer GET one UP the others GO DOWN
We run windows and have 4 ipods connected to the computer all with different log on accounts We share all our music with each other Problem when we search for a song and click on it (so we can get it in our individual itunes) seems when you log on to
-
How to create formula based on Sales for each week
Hi, I have a requirement to show Variance in Sales in a separate column. My data in the cube is like this. Week $Sales 1 80 2 100 3 120 Now I want the report output like this. Week $Sales
-
Dear All, I add two radio button in my form. And they work. One button for 'male' and another for 'female'. When i click male button then it sends '1' to database in the respective field and when i click female button then it sends '2' to database