Displaying vertical pages in the portal
Hi ,
I am creating a portal file and want to render the pages in the book vertically
rather than horizontal alignment.
Pls. help me on this .
Nidhi
There is an optional attribute on the book called "orientation"
you may set this to "top", "left", "right", "bottom". However it is up to the
skeletons: book.jsp and singlelevelmenu.jsp (or multilevelmenu.jsp) to honor that
property. Currently none of the skeletons do. You can write your own though, start
by copying one of ours, and create a new look and feel that refers to your skeletons.
"Nidhi" <[email protected]> wrote:
>
Hi ,
I am creating a portal file and want to render the pages in the book
vertically
rather than horizontal alignment.
Pls. help me on this .
Nidhi
Similar Messages
-
SharePoint Foundation 2010 - Display Site Pages on the Quick Launch
how do you display site pages on the quick launch?
sukaiTry below:
http://sharepoint.stackexchange.com/questions/28056/how-to-display-subsites-and-their-sitepages-via-the-quick-launch-navigation-menu
http://office.microsoft.com/en-in/sharepoint-server-help/configure-the-quick-launch-for-site-navigation-HA102130960.aspx
http://stackoverflow.com/questions/3636366/display-quicklaunch-on-webpartpage-in-sharepoint-2010 -
How to delete a Page in the portal
Hello gurus,
Could you please tell me how to delete a Page in the portal?
Thanks in advance for any helps.
Regards,
Niki NguyenI've tried that procedure, but it keeps giving me a message below, so it won't allow me to delete the Page, what is the next step? Please advice.
MESSAGE:
An error occurred. Objects could not be deleted.
Objects in the selected folder or object are currently locked
Thanks in advance for any helps.
Regards,
Niki -
Bug or feature : Using portlets with edit mode on a page in the portal
Hi,
i am using Workshop 8.1 (GA release july) and i have discovered a bug (or a
feature) with respect to the beta version.
i have created a simple portlet with a view mode and an edit mode. When i
place the portlet on the very first page of a one book portal, it works
perfectly. However, i have a book with three pages and placed the portlet on
the second page. Now when i put the portlet in edit mode, by clicking the
edit button, i am directed to the first page of the portal and the portlet
will not show.
Inspection learned that the URL generated for the edit button, didn't
contain the _pagelabel parameter. When i added the parameter manually it
works fine.
A final remark is that the buttons in the titlebar have no icons the browser
can load.
hope someone can help me out,
LodewijkCan you please post this question to weblogic.developer.interest.portal
newsgroup.
Thanks
"Lodewijk Spijker" <[email protected]> wrote in message
news:3f165945$[email protected]..
Hi,
i am using Workshop 8.1 (GA release july) and i have discovered a bug (ora
feature) with respect to the beta version.
i have created a simple portlet with a view mode and an edit mode. When i
place the portlet on the very first page of a one book portal, it works
perfectly. However, i have a book with three pages and placed the portleton
the second page. Now when i put the portlet in edit mode, by clicking the
edit button, i am directed to the first page of the portal and the portlet
will not show.
Inspection learned that the URL generated for the edit button, didn't
contain the _pagelabel parameter. When i added the parameter manually it
works fine.
A final remark is that the buttons in the titlebar have no icons thebrowser
can load.
hope someone can help me out,
Lodewijk -
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 -
Using a custom login page for the portal
Hi all,
I'm currently doing a migration from Plumtree 4.5WS to Plumtree 5.0.4. In the current 4.5WS portal, I'm catering to 3 different login mechanisms due to time-lags in migration of my users' workstations. The 3 mechanisms are:
1) Smart Card Reader on Windows 95 using TLS (uses a client side ActiveX)
2) Smart Card Reader on Windows XP using SSL (uses client side ActiveX)
3) Java PKI Card on Windows XP using SSL (uses server side scripting)
To cater to the above, we've made customisations to login.asp and dologin.asp and also added a few scripts of our own.
I now need to migrate these over to Plumtree 5.0 as well. I've thought of 2 ways to do this:
1) Doing a custom view replacement of the Login View. This however has limitations as I'm not sure how the codes for the above 3 mechanisms will come in, especially 3), which involves server side scripting.
2) Creating a custom login and exit page. This is probably a much more feasible solution in my case as it allows me to freely create my login pages and exit pages accordingly to cater for the above. However to do this, I need to be able to customize the Log In and Log Off links on the Portal Banner in order to point these to my own login and exit pages.
Any ideas what is the best (or correct) way to do this?
Thanks!
Weng Kong LeeAFAIK only one login.jsp is called.
But you can include logic into that one JSP file.
If referer = portal.company.com THEN
else
This way you can create different look and feel for different virtual hosts.
Login portlets have the disadvantage that https is not supported
Ton -
Changes to the welcome / login page of the portal
Dear SAP Gurus,
I've read all possible material on sdn, and I am still struggling with this. We have SP16 on our java server. The Basis team has provided me with the par file from the location
<J2EE_Engine_Instance>\j2ee\cluster\server<X>\apps\sap.com\irj\servlet_jsp\irj\root\WEB-INF\deployment\pcd.
com.sap.portal.runtime.logon.par.bak.
. When i unzip the par file, I can see the two folders portal-inf & meta-inf. Now I am trying to open the par file in nwds and I get the following error message.
The plugin "com.sap.portal.plugins.config-archiver" caused an exception during the "unpack" operation.
See the log for more details.
Invalid CEN header (bad signature) Reason: Sorry an error occured creating the new project.
I am using a standalone version of nwds which is not connected to the the java server yet.
1) How do i see the log file in nwds?
2) SP14 on nwds and SP16 on java server is that what is causing the conflict?
3) Do I need to upgrade and how do i upgrade
Points for useful answers and any help is appreciated.
~ThanksHi Gattaca,
Try do this.
1) Copy the file com.sap.portal.runtime.logon.par.bak
<J2EE_Engine_Instance>\j2ee\cluster\server<X>\apps\sap.com\irj\servlet_jsp\irj\root\WEB-INF\deployment\pcd\com.sap.portal.runtime.logon.par.bak
2) Remove the .bak by the file com.sap.portal.runtime.logon.par.bak (just rename)
3) Copy the files com.sap.portal.runtime.logon_api.jar and umelogonbase.jar
<J2EE_Engine_Instance>\j2ee\cluster\server<X>\apps\sap.com\irj\servlet_jsp\irj\root\WEB-INF\portal\portalapps\com.sap.portal.runtime.logon\lib\
4) Open the NWDS
5) Import the .PAR file (com.sap.portal.runtime.logon.par)
File --> Import --> PAR file --> Button Next
Achive file name: (looking for the file com.sap.portal.runtime.logon.par)
Project Name: com.<companyname>.portal.runtime.logon
Click Button Finish
6) Put the files com.sap.portal.runtime.logon_api.jar and umelogonbase.jar into your application.
com.<companyname>.portal.runtime.logon\dist\PORTAL-INF\lib\
7) Right Button inside your app --> Export --> PAR File --> Next (Button) --> select your app --> Next (Button) --> Configure servers settings (Button) --> Add.. (Button) --> set the information and OK (Button) --> Apply (Button) --> OK (Button)
Enable the Include the source code of the portal application and Deploy PAR
put the password --> Finish (Button).
Now the application was deployed in portal.
8) Open the Configtools
<J2EE_Engine_Instance>\j2ee\configtool\configtool.bat
9) Click in button "Switch to configuration editor mode.
10) Configuration --> cluster_data --> server --> persistent --> com.sap.security.core.ume.service
11) Download the file authschemes.xml
12) Rename the file authschemes.xml to authschemes_<yourcompany>.xml
13) Open the file authschemes_<yourcompany>.xml
14) Change all string "com.sap.portal.runtime.logon" to "com.<yourcompany>.portal.runtime.logon"
This is the name of your application.
15) Upload the file authschemes_<yourcompany>.xml in the same path.
Set to Edit Node --> Right mouse Button inside the com.sap.security.core.ume.service --> Create sub-node --> File Entry (ListBox) --> Upload (Button) --> find the file authschemes_<yourcompany>.xml --> Open (Button) --> Create (Button).
16) Click in button Switch config tool mode
17) Global Server configuration --> Services --> com.sap.security.core.ume.service
18) Change the parameter login.authschemes.definition.file to authschemes_<yourcompany>.xml
19) Click Set (Button) and Save.
20) Restart the Portal.
For check just Rigth Mouse Button inside the image in Logon Page --> Properties
Look the parameter Address (URL)
http://<Hostaname>:<port>/irj/portalapps/com.yourcompany.portal.runtime.logon/layout/branding-image.jpg
Good Luck
Eduardo -
I often access published papers from our university library. Since I updated Firefox, the QuickTime Player icon displays on my Mac, the papers load properly, but only the first page is displayed. If I copy the full URL from the Mozilla address line into another browser, the full article is loaded with that browser. Can you help, please. Firefox is my FAVORITE browser, but lately is causing me problems. Thank you.
Totally agree with this post. I like my swr30 a lot less now. Some ideas of the updates are good, but the execution is poorly and unusable. How do you do a roll back as you mentioned?
-
Calling a page without the portal wrap
I have a portlet with a form in it.
The form:
<netui:form action="toggleFavourite" onSubmit="return toggleFavourite(this)">
If the user has JavaScript DISABLED, the form works like an ordinary form - the page submits itself.
If the user has JavaScript ENABLED, the "toggleFavourite()" function is called, which submits the form entirely in JavaScript by extracting the target of the form, and calling it in script. This means that the page doesn't have to be reloaded.
When using the non-JavaScript method, I obviously need the form to submit, and come back with my portal page, including the portlet I submitted from (i.e. exactly as it normally does in WebLogic portals).
Whe submitting using JavaScript, I don't need the response to include any of the header/footer/pages/other portlets - I just want to return the single page referenced by the Page Flow (i.e. the page specified in the Forward action).
Is there anything I can add/change in the URL that's submitted in JavaScript to specifically tell the portal server to ONLY return the content within the specific JSP referenced in the Forward action?
The reason I'm asking this, is that it's a lot slower pulling down the entire portal page, than it would be to just return that single portlet content.
I hope I've explained this clear enough, but feel free to ask questions.Nearly there.
I can now generate a URL to the portlet, along with parameters to pass in. All that's left to do is trigger the action to make use of the parameters.
It's beginning to sound very much like a bodge job - like we're trying to do something that hasn't been catered for. I've actually managed to get something working now, using a different bodge. I want to call the current portlet, calling the action "toggleFavourite". I therefore now do this:
PortletPresentationContext portCtx = PortletPresentationContext.getPortletPresentationContext(request);
String paramName = portCtx.getInstanceLabel();
paramName += "_actionOverride";
String paramValue = portCtx.getPortletUri();
paramValue = paramValue.substring(0, paramValue.lastIndexOf("/")+1);
paramValue += "toggleFavourite";
StandalonePortletURL url = StandalonePortletURL.createStandalonePortletURL(request,response);
url.addParameter("_nfpb","true");
url.addParameter(paramName, paramValue);
String postbackURL = url.toString();
I then have a form elsewhere in the page, and use JavaScript to take the parameters from the form, and append them to the URL generated above.
It's working, but it's not pretty!
Sounds like 9.2 will be the only clean option. -
Display of budget in the portal
Hi,
I have an organizational structure in place with a chief position. An employee occupies the chief position and all the necessary comp plans are configured. In addition, i have the budget configured and rolled-up for the comp planning, but am not able to see the budget in the portal. Also, when i access the comp planning iview, it tells me that the users in that org structure don't have a budget assigned.
1.) Is there any configuration that needs to be done from the portal side to make sure that the budget is displayed in the portal ?
2.) Is there a reason i get the errors about the employees not being assigned the budget. My assumption is that once you created a budget based on an org structure and release it, it automatically reflects in the portal.
Any help is appreciated.
Thanks,
Bhushan.Hi Nazeer,
I am not sure there is any out of box solution for this from SAP. I did this by coding a AbstractPortalComponent in NWDS.
part of the code which can be of help is
IUserFactory userfactory = UMFactory.getUserFactory();
String unique_user = (String) users.next();
IUser user = userfactory.getUser(unique_user);
IUserAccount account[] = user.getUserAccounts();
response.write(" <TR class=\""cls"\"> <td>" + account[0].getLogonUid() + "</td></tr>\n" );
Now this out put can be printed in jsp or can be downloaded in excel.
Regards,
Vishal
PS: Reward points for helpful answers. -
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 -
Displaying 2 pages on the printpreview(smart forms)
I would like to see 2 pages (if the size exceeds the main window) on the output screen by clicking on printpreview button. What I have to do for this to acieve? Please let me the detail procedure.
Thanking you very much.Hai Balakrishna
Table control will draw lines till last record only.
You can do like this... Use table control but do not use the lines of table control... Make all the borders invisible... and use a overlap window in that draw a template...
Thanks & Regards
Sreenivasulu P -
To Hide Page in the portal based on the requirement
Hi All ,
AM newbie to portal environment and have been doing a research for quite some time on portlets and inter communication between portlets(IPC). Am stuck with a scenario in which i have two pages created in a portal and each page has a portlet. Say for example
Page1 has Portlet A
Page 2 has Portlet B
This application is about sending flash cards to end users and viewing it.
So when the application gets loaded initially , i need Page 1 to be visible and to hide Page 2 ..
and then the end user will receive a mail in which there will be a link to page 2.. So when the user clicks on the link, only Page 2 should be visible and Page 1 should be hidden..
Have gone through the concept of backing files but still am not sure about the implementation..
So i thought the experts here could help me out.. Kindly provide me with the sample code
Regards,Hi,
Anyone has a solution for this ???? -
Displaying a page in the same window
Hi,
I have a submit button in the jsp page. When I click on that button the jsp page should be displayed in the same window. And also the page shouldn't have the toolbar and the menu bar displayed i.e., it should be full screen in the same window.
I am able to to the full screen portion but, it is appearing in a new window. It's a java scipt code:
code]
<script>
<!--
/*Full screen window opener script: Written by JavaScript Kit (www.javascriptkit.com) More free scripts here*/
function winopen(){
var targeturl="start.jsp"
newwin=window.open("start.jsp","","scrollbars")
newwin.moveTo(0,0)
newwin.resizeTo(screen.width,screen.height)
parent.exit()
return false;
newwin.location=targeturl
//-->
</script>
<form>
<input type="button" onClick="winopen()" value="Open window">
</form>
How will I do this?
Shipf1.Hi,
I have a submit button in the jsp page. When I click on that button the jsp page should be displayed in the same window. And also the page shouldn't have the toolbar and the menu bar displayed i.e., it should be full screen in the same window.
I am able to to the full screen portion but, it is appearing in a new window. It's a java scipt code:
code]
<script>
<!--
/*Full screen window opener script: Written by JavaScript Kit (www.javascriptkit.com) More free scripts here*/
function winopen(){
var targeturl="start.jsp"
newwin=window.open("start.jsp","","scrollbars")
newwin.moveTo(0,0)
newwin.resizeTo(screen.width,screen.height)
parent.exit()
return false;
newwin.location=targeturl
//-->
</script>
<form>
<input type="button" onClick="winopen()" value="Open window">
</form>
How will I do this?
Shipf1. -
Calling another page in the portal
Hi,
I have created two pages p1 & p2 in Portal.
I want to access p2 form p1 ,is there any way for that.if it is possible programitically ,I would appreciate some sample code.
Thanks
RaviHie
You can do this bye placing a url component created in your DB provider or using the go method (go('Address');)in success event of your form portlet on the page or use the <a href="page address">Link Text</a> as your field in your sql report which you will place it in your page as a portlet.
Maybe you are looking for
-
How do I transfer my iTunes purchases from one user to another user on my pc?
I have all of my itunes purchases on my brothers settings(user) and now I made my own settings(user) and I am wondering how I can transfer my purchases from my brothers to my new itunes(the users are on the same computer).
-
Ipad2 to appletv to LCD projector wireless
I teach and would like to mirror my iPad through my projector. I purchased AppleTV to connect wirelessly with the iPad; the projector only has VGA, and possibly DVI connection. Will this work if I get an HDMI to VGA cable to use with AppleTV to proje
-
Unhandled win32 exception on adding button
When trying to add a button to a slide, I'm getting the following error: An unhandled win32 exception occurred with AdobeCaptivate.exe [2768] And then when I click on No for the debugger, Captivate closes. If I click on Yes, then Visual Studio comes
-
The below error occurs when are opening group policy management editor kindly suggest me what to do
Problem signature: Problem Event Name: APPCRASH Application Name: mmc.exe Application Version: 6.3.9600.16384 Application Timestamp: 5215ef8f F
-
Hello! Lemme explain my cenario: I've got this structure, in my infocube DAD SON 1 1 1 2 1 3 2 1 2 2 TOTAL: X 5 I have the total for my sons but not for my dads(which X = 2 in th