Duplicate header in Portal framework...
Hi,
Header.jsp is displayed by default without mentioning its location in shell file.
This is my shell and not specified any header.jsp
<?xml version="1.0" encoding="UTF-8"?>
<netuix:markupDefinition xmlns:netuix="http://www.bea.com/servers/netuix/xsd/controls/netuix/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.bea.com/servers/netuix/xsd/controls/netuix/1.0.0 markup-netuix-1_0_0.xsd">
<netuix:locale language="en"/>
<netuix:markup>
<netuix:shell
title="Visitor Tools Shell" description="A header with a link to the contentUri for the edit mode of the main book." markupType="Shell" markupName="visitorToolsShell">
<netuix:head/>
<netuix:body>
<netuix:header>
</netuix:header>
<netuix:break/>
<netuix:footer/>
</netuix:body>
</netuix:shell>
</netuix:markup>
</netuix:markupDefinition>
but it is taking the header.jsp as default from the location \framework\skeletons\default\header.jsp
and if I update the same shell file with header1.jsp as...
<?xml version="1.0" encoding="UTF-8"?>
<netuix:markupDefinition xmlns:netuix="http://www.bea.com/servers/netuix/xsd/controls/netuix/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.bea.com/servers/netuix/xsd/controls/netuix/1.0.0 markup-netuix-1_0_0.xsd">
<netuix:locale language="en"/>
<netuix:markup>
<netuix:shell
title="Visitor Tools Shell" description="A header with a link to the contentUri for the edit mode of the main book." markupType="Shell" markupName="visitorToolsShell">
<netuix:head/>
<netuix:body>
<netuix:header>
<netuix:jspContent contentUri="/framework/skeletons/default/header1.jsp"/>
</netuix:header>
<netuix:break/>
<netuix:footer/>
</netuix:body>
</netuix:shell>
</netuix:markup>
</netuix:markupDefinition>
then it is displaying header.jsp and header1.jsp. I didn't mention the location of header.jsp but still it is taking.
Could anyone have any idea of this problem. If yes can u please help me.
Thanks.
Pradeep Peddi.
header.jsp is the skeleton file for the <netuix:header> control. It's a part of WLP's Look and Feel feature, described here: http://download.oracle.com/docs/cd/E13155_01/wlp/docs103/portals/develop_ui_lookfeel.html.
If you want to change what is displayed by your <netuix:header> control in regards to its skeleton, you can set its skeletonUri attribute. For example: <netuix:header skeletonUri="/framework/skeletons/default/header1.jsp">
George
Similar Messages
-
How to change the start up page in Portal Framework..
Hii guys...
I have created a webcenter portal framework application, with two new pages - a myLogin page and a Document page(which will display content from webcenter content).
The pages are working fine.
I simply want to display the myLogin page when i run the application as startup page.
For this i have made changes into the index.html fine by changing the url to the "webcenter/portalapp/pages/myLogin"
When i run the application for the first time its working fine..
But when i am running it for the second time the page is automatically redirecting to some login.jsp and keep getting refresh.
I also tried running myLogin page directly by making changes in the welcome file option in web.xml.
I have deleted index.html from welcome file list and instead added the myLogin page.
But when i run the application it automatically load the index.html and the same problem continues.
Do anyone knows where i am making mistake or what changes should i make to simply display the myLogin page when i run the application..!!
Thanks..Hi,
WebCenter has its own forum: WebCenter Portal
Frank -
Hi,
Am using default pagination with in the table for portlet application using Jdev(11.1.1.7.0),when I run portlet application it is working properly.
When I run the same portlet application with in webcenter portal framework application, I could not find page number navigation and count of total number of records.
Thanks,
Santoshi.Thanks a lot,Its working fine when I moved adfp into Panel Group Layout and one more important point is am using "default globe page template" which comes with webcenter framework application with content facetRef in Panel Group Layout which uses some inline style so changed its styleClass to "AFStrechWidth".
-
I've got a portlet with an edit JSP that allows the user to set some portlet settings. The edit JSP uses a form defined with the tag <portlet:form event="bea.portal.framework.internal.refresh" >. This in essence allowed the edit JSP to submit the form to itself, so it could then process (store) the settings.
This tag is no longer supported in 8.1. I haven't been able to find what the equivalent is. Am I going to be able to do the same thing, or am I going to have to rewrite the Edit piece as a page flow?I've already tried that and it's not working in my current portal.
The other things I've tried are <render:postBackUrl/> and <render:windowUrl> for the form action, and they weren't working, either. But since then I've discovered that in a new vanilla portal installation, the <render:postBackUrl/> action works fine (I assume the controller would, too, but I didn't try it).
It seems I now have a different problem to work through to figure out why <render:postBackUrl/> works in a new installation, but not in my current one. The same goes for the controller. -
Dont want then NavigationTarget to open an entirely new portal framework
Hi All,
when i tried with Navigationtarget from webdynpro Linktourl element(target=_main) to open the page which has webdynpro iview opening the page but its coming with whole new portal framework which i dont want . how to avoid that.I just want the page to display in the content area without the whole portal framework with tabs and
String URL1="/irj/index.html?NavigationTarget=ROLES://portal_content/org.test.dev.folder.test_development/test/Worksets/CustomApplications/ManagersFMLAApproval";
wdContext.currentContextElement().setUrl1(URL1);
Thanks,
pkvHi Pkv,
If you want to open the new window without the portal framework page then instead of using a LinktoURL UI Element you use a LinktoAction UI element and in the action handler of the LinktoAction you can use the navigateAbsolute portal API. [http://help.sap.com/javadocs/NW04S/current/wd/com/sap/tc/webdynpro/clientserver/navigation/api/WDPortalNavigation.html]
The code should look like this.
WDPortalNavigation.
navigateAbsolute("ROLES://portal_content/org.test.dev.folder.test_development/test/Worksets/CustomApplications/ManagersFMLAApproval",
WDPortalNavigationMode.SHOW_EXTERNAL,
WDPortalNavigationHistoryMode.NO_HISTORY,
null);
Regards,
Sanyev -
How to add the model view controller in webcenter portal framework application
i create a webcenter portal framework application.how to create a model class in my application..please help me.
What you mean by this. You mean having model layer in webcenter portal framework application? Whats the exact requirement.? You want to create ADF BC in portal app.
If you want to use adf taskflow application , i will recommend you to make separate adf application and use as shared lib in portal. -
Hi,
I am using .Net PDK 1.0. I am often getting the error
[NullReferenceException: Object reference not set to an instance of an object.]
SAP.Portal.Framework.Core.PortalWorkerRequest.ReadEntityBody(Byte[] buffer, Int32 size) +119
System.Web.HttpRequest.GetEntireRawContent() +327
System.Web.HttpRequest.GetMultipartContent() +57
System.Web.HttpRequest.FillInFormCollection() +244
System.Web.HttpRequest.get_Form() +50
System.Web.UI.Page.GetCollectionBasedOnMethod() +70
System.Web.UI.Page.DeterminePostBackMode() +128
System.Web.UI.Page.ProcessRequestMain() +63
It is very errartic, sometimes the page gets loaded and at times I get this error. Could someone please tell me what causes this error?
Thanks
SwethaHi,
This error occurred in the page where I used the file upload control. The control was working fine before. We tried installing entire PDK again and then applying the hotfix-1, but nothing worked and then I had to use an URL iview to invoke an ASP .Net application just for uploading the files.
Thanks
Swetha -
Calling portal framework page from non portal page
Hi,
We are having some difficulty in passing control from the non portal pages to
the Portal Pages.
To explain you more elaborately, I am writing down the scenario:
Both our portal and non portal pages reside under the same web application folder.
We have a Portal Page containing one portlet.Clicking on one of the hyperlink
on this portlet page takes us out of the portal environment where we are doing
some processing.
(Why we are going out of the portal environment is because we want to call the
existing pages as it is and our intention is not to make the existing pages portal
enabled to start with).
Somewhere down the journey on the non portal page, there is a requirement to call
the Portal Framework page.
We can call the portal Framework page from the non portal page by hard coding
the URL of the Portal page by writing something like this in href:
http://localhost:7501/application?origin=content.jsp&event=bea.portal.framework.internal.portlet.event&pageid=home&portletid=bachome_carsearchlink&wfevent=link.next
But this is not what we want. We want to call the portal page without hard coding
the URL.
If we use portlet tag in non portal page to call the Portal Framework page ( <a
href="<portlet:createWebflowURL event="link.next"/>">Next Page</a>), it throws
us error "Could not find current Portlet State" which is quite understandable,
because portlet state is now lost.
Is there any way we can achieve this .
Any suggestions or ideas?
Thanks
AjayHi
i think you should use portal:createPortalPageChangeURL (you are effectively changing
your portal page) .
if you want to invoke a specific event in your portlet webflow you can either
write a RefreshControllerIP or use WebflowJSPHelper.createWebflowURL.
bear in mind if you have urls that directly go to an intermediate event in the
portlets webflow you may need
http://dev2dev.bea.com/codelibrary/code/portlet_pp.jsp
regards
deepak
"Ajay" <[email protected]> wrote:
>
Hi,
We are having some difficulty in passing control from the non portal
pages to
the Portal Pages.
To explain you more elaborately, I am writing down the scenario:
Both our portal and non portal pages reside under the same web application
folder.
We have a Portal Page containing one portlet.Clicking on one of the
hyperlink
on this portlet page takes us out of the portal environment where we
are doing
some processing.
(Why we are going out of the portal environment is because we want to
call the
existing pages as it is and our intention is not to make the existing
pages portal
enabled to start with).
Somewhere down the journey on the non portal page, there is a requirement
to call
the Portal Framework page.
We can call the portal Framework page from the non portal page by hard
coding
the URL of the Portal page by writing something like this in href:
http://localhost:7501/application?origin=content.jsp&event=bea.portal.framework.internal.portlet.event&pageid=home&portletid=bachome_carsearchlink&wfevent=link.next
But this is not what we want. We want to call the portal page without
hard coding
the URL.
If we use portlet tag in non portal page to call the Portal Framework
page ( <a
href="<portlet:createWebflowURL event="link.next"/>">Next Page</a>),
it throws
us error "Could not find current Portlet State" which is quite understandable,
because portlet state is now lost.
Is there any way we can achieve this .
Any suggestions or ideas?
Thanks
Ajay -
Portal framework when using bookmarks
Hi
When we use bookmarks to run reports, the portal framework does not show (the portal menu). It is only the BI template that is shown just like when you run a template from WAD. Is it possible to direct the user to the report with the portal framework around the WAD template when using bookmarks?
ErikHi,
I do not want to create confusion but PFCG would not be helpful. If users want to run the report for different variables and different drilldowns. It would not be possible to keep record of their each bookmark and adding it to the Role.
Ravi: I did understand what your solution but How to do it is not clear to me.
they can save the bookmark of report in portal
Could you please elaborate on this one if you know how to do it. Per my understanding the Bookmark is saved in terms of Web template id.
~abhijit -
Forcing attachments to download from content outside portal framework
We are having an issue with binary content which resides outside portal framework in a separate system being downloaded by users. Whenever a page flow action is submitted and the binary data(xls, pdf, doc files etc) is returned by the system(documentum in this case) and we try to get the download option it shows data as garbage on the jsp but does not prompt to download the file. Here is the code for 2 options tried
Option 1 - Trying to write binary content from Page Flow
Code in Page Flow
byte[] binaryData = document.getBinaryDocument(); //'document' is the data object here
HttpServletResponse response = getResponse();
response.setContentType("application/ms-excel");
response.setContentLength(binaryData.length);
response.setHeader("Content-disposition", "attachment; filename=\"" + document.getFileName() + ".xls\""); //document does not return file extension
response.getOutputStream().write(binaryData);Option 2 - Trying to write binary content from Servlet Context outside portal framework
Code in Page Flow
getRequest().setAttribute("binarydoc", document); Code in JSP
com.jeni.DocumentumData doc = (com.jeni.DocumentumData)request.getAttribute("binarydoc");
byte[] binaryData = doc.getBinaryDocument();
response.setContentType("application/ms-excel");
response.setContentLength(binaryData.length);
response.setHeader("Content-disposition", "attachment; filename=\"" + doc.getFileName() + ".xls\""); //document does not return file extension
response.getOutputStream().write(binaryData);
response.getOutputStream().flush();Both options produce garbage on the jsp page.
Please respond soon
ThanksYes. It did not work here's the changed code in the JSP page in Option 2 that produced the same result.
com.jeni.DocumentumData doc = (com.jeni.DocumentumData)request.getAttribute("binarydoc");
byte[] binaryData = doc.getBinaryDocument();
response.reset();
response.setContentType("application/ms-excel");
response.setContentLength(binaryData.length);
response.setHeader("Content-disposition", "attachment; filename=\"" + doc.getFileName() + ".xls\""); //document does not return file extension
response.getOutputStream().write(binaryData);
response.getOutputStream().flush();
response.flushBuffer(); -
Duplicate Header on pagination error?
Hi guys,
I am running into an issue and maybe one of you has a solution.
I need to have the header stick to items when paginating and not show on first page or duplicate headers on the second page.
The table is made of subforms.
When the table is at the bottom of the page and the content is sent on the next page:
1. if I set the header as Keep With: Next, I'll see two headers on the second page. Not good.
2. If I uncheck the Keep With: Next, the header is shown on the first page without any items underneath, and all is ok on the second page. i.e. items body has only one header. I don't want to show an empty header on the first page.
It's probably obvious but I just can't see it.
Thanks,
PaulStill trying without success.
Here's an image of how things look:
[http://i56.tinypic.com/xcj5tx.jpg|http://i56.tinypic.com/xcj5tx.jpg]
I tried all possible permutations I could think of, but either I get the above result, or only one header, or a duplicate header on the second page.
Thanks,
Paul -
Hello all,
the standard Portal Framework scrollbars do not include the entire page, but deals with the frames (innerpage and navigation) separately. Now i would like to get a framework page done similar to the current SDN one, where you have just one main vertical scrollbar.
I have figured if you change the isolationmode of various pages (e.g. innerpage) from url to embedded, you get rid of the iframe and the page gets embedded into the entire page. This results in one main vertical scroolbar which does inlcude the TLN and Mastead. So far so good, but unfortunatelly the TLN then starts to show some weired behaviour. It jumps around, just when the page is loaded it jumps back to the correct position. Pretty strange.
So obviously this isnt the right approach to get done what i have in mind.
Has anyone else tried this or something similar before and has some valueable hints?
regards,
MarkusHi Markus,
I can give you a hint.
There is a par file called com.sap.portal.layouts.framework.par
This is the par file with which the Default/Light frameworks are created.
You will find in here the entire HTML in the form of Layout/Framework/Navigation tag libraries whose help you can easily get on help.sap.com
You can modify this to suit your needs.
Then upload this par file (after re naming it only !!).
Make a new Layout from PAR in the Content Administrator role.
You can then procees by assigning this layout to your page.
I've not tried this but I guess it will work. -
Portal Framework Application - Administrator Console - Move Page Option
Can we restrict "Move Page" option in Portal Framework Application.
Currently anyone who has access to Administrator Link seems to be able to move the pages even if they don't have Grant privilege.
ThanksHi,
WebCenter has its own forum: WebCenter Portal
Frank -
Launch Portal iView without Portal Framework
We would have a requirement to send emails from our ERP backend system containing a link to say, release a purchase order. However, because we use single sign-on to the ABAP systems we can't just send a link to the BSP in the ERP system because no one would know their password. So instead I thought I would send a link to an iview in the Portal as everyone knows thier Portal password and we have SSO from the Portal to the backend systems.
My question is: How do I do this and get a window without all the Portal framework around it that could be viewed on a Blackberry? I've tried a URL like "http://portal_server/irj/portal?NavigationTarget=ROLES://portal_content ..." but still get a standard Portal window. Setting options for the iview like "Display in separate window" or "Display in separate, headerless Portal window" doesn't seem to come into play using this approach.
Does anyone have any suggestions?
Regards,
Tom MaggsHi,
1. Instead of using role navigation url you can use the static url of page or iview...
check this. [https://forums.sdn.sap.com/thread.jspa?threadID=1374857]
2. If you have to use navigation url then add &NavMode=3 to existing url.
http://portal_server/irj/portal?NavigationTarget=ROLES://portal_content ...&NavMode=3
This will open iview in headerless window
Regards
Baby -
Hello,
We are on NW EP 7.3 and trying to make the following changes as part of Look and feel/Portal Framework :
1) Change the Text 'Options' which appears as a dropdown on the Top right location of the iview next to 'Full Screen'.
2) Change the Text 'Related Links' which appears on the Detailed Navigation Panel for all the Related iviews below the actual iview.
3) Masthead - Hovering on the 'New Session' and 'Logoff' Links shows a Border/Box around the Links , how can we change that? didn't find anything in the Theme for it.
4) Looking for a way to create a Top Spacing/Padding in the 2nd Level of the Top-Level Navigation right below the 1st level Navigation to move the text in the 2nd Level down.
How can we achieve the above tasks?
Any help would be highly Appreciated.
ThanksHi,
The screenshot looks like SAP ECC content.You may need to check the corresponding iview type, If it is a WDA iview, Find the application name from iview, Then you may have to change the the WD ABAP application in the backend.
For the theme related UI changes in Ajax framework page,Check this SAP document, If you have not come across this already.
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a03ead25-4288-2e10-57ae-c70b8c412629?overridelayout=true
Regards
Veera
Maybe you are looking for
-
TS1702 Keep being told my apple I'd is disabled?? Can not update any apps.
I go to update my apps on my iPad and I get a warning that my account has been disabled. Funny thing I'd that when I use the same password to log into ITunes store or anything other then the apps it works. Why am I getting this message and unable to
-
Greetings I am using Apex Version 4.2 At first, I had created an item P31_JOB_CATEGORY that was a radio button. Upon selecting a value for the radio button, a report was generated. The query is as follows select a, b, c from Table A where A.Job_Categ
-
Count(*) in a analytic situation with group by order by
Hello every body, I have a count(*) problem in an sql with analytics function on a table when I want to have all his column in the result Say I have a table mytable1 CREATE TABLE MYTABLE1 MY_TIME TIMESTAMP(3), PRICE NUMBER, VOLUME NUMBER insert into
-
Fix For Slow Safari On Windows
A number of people reported that Safari was running very slow for them on Windows. I was someone who was also seeing the same behavior. Web pages that would open up in 2 seconds under IE7 could take literally minutes to fully draw in Safari. Someone
-
Terminate: Invalid read mode
After checking query, system show me the error message - Terminate: Invalid read mode, the detailed information as below, please help to solve this issue. Thanks a lot! Terminate: Invalid read mode [A017(BRAIN)] Diagnosis If queries (often unintentio